Allow building wxGTK under Windows with MSVC.
[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_1
750 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
751 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
752 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
753 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
754 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
755 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
756 COND_TOOLKIT_GTK
757 COND_TOOLKIT_DFB_USE_GUI_1
758 COND_TOOLKIT_DFB
759 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
760 COND_TOOLKIT_COCOA_USE_GUI_1
761 COND_TOOLKIT_COCOA
762 COND_TOOLKIT_
763 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
764 COND_SHARED_1
765 COND_SHARED_0_wxUSE_ZLIB_builtin
766 COND_SHARED_0_wxUSE_REGEX_builtin
767 COND_SHARED_0_wxUSE_EXPAT_builtin
768 COND_SHARED_0_USE_STC_1
769 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
770 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
771 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
772 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
773 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
774 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
775 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
776 COND_SHARED_0
777 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
778 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
779 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
780 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
781 COND_PLATFORM_WIN32_1_SHARED_0
782 COND_PLATFORM_WIN32_1
783 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
784 COND_PLATFORM_WIN32_0
785 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
786 COND_PLATFORM_UNIX_1_USE_GUI_1
787 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
788 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
789 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
790 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
791 COND_PLATFORM_UNIX_1
792 COND_PLATFORM_UNIX_0
793 COND_PLATFORM_OS2_1
794 COND_PLATFORM_MSDOS_1
795 COND_PLATFORM_MSDOS_0
796 COND_PLATFORM_MAC_1
797 COND_PLATFORM_MAC_0
798 COND_PLATFORM_MACOS_1
799 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
800 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
801 COND_PLATFORM_MACOSX_1_USE_GUI_1
802 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
803 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
804 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
805 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
806 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
807 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
808 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
809 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
810 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
811 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
812 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
813 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
814 COND_PLATFORM_MACOSX_1
815 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
816 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
817 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
818 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
819 COND_MONOLITHIC_1_SHARED_1
820 COND_MONOLITHIC_1_SHARED_0
821 COND_MONOLITHIC_1
822 COND_MONOLITHIC_0_USE_XRC_1
823 COND_MONOLITHIC_0_USE_WEBVIEW_1
824 COND_MONOLITHIC_0_USE_STC_1
825 COND_MONOLITHIC_0_USE_RICHTEXT_1
826 COND_MONOLITHIC_0_USE_RIBBON_1
827 COND_MONOLITHIC_0_USE_QA_1
828 COND_MONOLITHIC_0_USE_PROPGRID_1
829 COND_MONOLITHIC_0_USE_MEDIA_1
830 COND_MONOLITHIC_0_USE_HTML_1
831 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
832 COND_MONOLITHIC_0_USE_GUI_1
833 COND_MONOLITHIC_0_USE_AUI_1
834 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
835 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
838 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
844 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
845 COND_MONOLITHIC_0_SHARED_1
846 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
847 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
848 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
849 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
850 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
852 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
853 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
854 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
855 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
856 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
857 COND_MONOLITHIC_0_SHARED_0
858 COND_MONOLITHIC_0
859 COND_ICC_PCH_1
860 COND_GCC_PCH_1
861 COND_DEPS_TRACKING_1
862 COND_DEPS_TRACKING_0
863 COND_DEBUG_INFO_1
864 COND_DEBUG_INFO_0
865 COND_DEBUG_FLAG_1
866 COND_DEBUG_FLAG_0
867 COND_BUILD_release_UNICODE_1
868 COND_BUILD_release_UNICODE_0
869 COND_BUILD_release_DEBUG_INFO_default
870 COND_BUILD_release
871 COND_BUILD_debug_UNICODE_1
872 COND_BUILD_debug_UNICODE_0
873 COND_BUILD_debug_DEBUG_INFO_default
874 COND_BUILD_debug_DEBUG_FLAG_default
875 COND_BUILD_debug
876 COND_BUILD_RELEASE_UNICODE_1
877 COND_BUILD_RELEASE_UNICODE_0
878 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
879 COND_BUILD_RELEASE
880 COND_BUILD_DEBUG_UNICODE_1
881 COND_BUILD_DEBUG_UNICODE_0
882 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
883 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
884 COND_BUILD_DEBUG
885 BK_MAKE_PCH
886 ICC_PCH_USE_SWITCH
887 ICC_PCH_CREATE_SWITCH
888 ICC_PCH
889 GCC_PCH
890 OBJCXXFLAGS
891 SETFILE
892 REZ
893 WINDRES
894 BK_DEPS
895 DEPS_TRACKING
896 SONAME_FLAG
897 USE_SOTWOSYMLINKS
898 USE_MACVERSION
899 USE_SOVERCYGWIN
900 USE_SOVERSOLARIS
901 USE_SOVERLINUX
902 USE_SOVERSION
903 WINDOWS_IMPLIB
904 PIC_FLAG
905 SHARED_LD_MODULE_CXX
906 SHARED_LD_MODULE_CC
907 SHARED_LD_CXX
908 SHARED_LD_CC
909 AIX_CXX_LD
910 dlldir
911 DLLPREFIX_MODULE
912 DLLPREFIX
913 LIBEXT
914 LIBPREFIX
915 DLLIMP_SUFFIX
916 SO_SUFFIX_MODULE
917 SO_SUFFIX
918 PLATFORM_BEOS
919 PLATFORM_OS2
920 PLATFORM_MACOSX
921 PLATFORM_MACOS
922 PLATFORM_MAC
923 PLATFORM_MSDOS
924 PLATFORM_WIN32
925 PLATFORM_UNIX
926 IF_GNU_MAKE
927 LDFLAGS_GUI
928 INSTALL_DIR
929 NM
930 STRIP
931 AROPTIONS
932 MAKE_SET
933 SET_MAKE
934 LN_S
935 INSTALL_DATA
936 INSTALL_SCRIPT
937 INSTALL_PROGRAM
938 RANLIB
939 CPPUNIT_LIBS
940 CPPUNIT_CFLAGS
941 HOST_SUFFIX
942 HEADER_PAD_OPTION
943 SAMPLES_RPATH_FLAG
944 DYLIB_RPATH_POSTLINK
945 DYLIB_RPATH_INSTALL
946 TOOLKIT_VERSION
947 TOOLKIT_LOWERCASE
948 DEBUG_FLAG
949 DEBUG_INFO
950 UNICODE
951 WITH_PLUGIN_SDL
952 EXTRALIBS_STC
953 EXTRALIBS_SDL
954 EXTRALIBS_OPENGL
955 EXTRALIBS_GUI
956 EXTRALIBS_MEDIA
957 EXTRALIBS_HTML
958 EXTRALIBS_XML
959 EXTRALIBS
960 CXXWARNINGS
961 USE_PLUGINS
962 MONOLITHIC
963 WXUNIV
964 WX_LIB_FLAVOUR
965 WX_FLAVOUR
966 OFFICIAL_BUILD
967 VENDOR
968 wxUSE_LIBTIFF
969 wxUSE_LIBPNG
970 wxUSE_LIBJPEG
971 wxUSE_EXPAT
972 wxUSE_REGEX
973 wxUSE_ZLIB
974 STD_GUI_LIBS
975 STD_BASE_LIBS
976 BUILT_WX_LIBS
977 ALL_WX_LIBS
978 GST_LIBS
979 GST_CFLAGS
980 CAIRO_LIBS
981 CAIRO_CFLAGS
982 WEBKIT_LIBS
983 WEBKIT_CFLAGS
984 COND_PYTHON
985 PYTHON
986 HILDON2_LIBS
987 HILDON2_CFLAGS
988 HILDON_LIBS
989 HILDON_CFLAGS
990 LIBNOTIFY_LIBS
991 LIBNOTIFY_CFLAGS
992 GNOMEVFS_LIBS
993 GNOMEVFS_CFLAGS
994 LIBGNOMEPRINTUI_LIBS
995 LIBGNOMEPRINTUI_CFLAGS
996 GTKPRINT_LIBS
997 GTKPRINT_CFLAGS
998 SDL_LIBS
999 SDL_CFLAGS
1000 SDL_CONFIG
1001 GXX_VERSION
1002 LIBICONV
1003 CXXFLAGS_VISIBILITY
1004 CFLAGS_VISIBILITY
1005 MesaGL_LIBS
1006 MesaGL_CFLAGS
1007 GLU_LIBS
1008 GLU_CFLAGS
1009 GL_LIBS
1010 GL_CFLAGS
1011 SM_LIBS
1012 SM_CFLAGS
1013 Xxf86vm_LIBS
1014 Xxf86vm_CFLAGS
1015 Xinerama_LIBS
1016 Xinerama_CFLAGS
1017 PANGOXFT_LIBS
1018 PANGOXFT_CFLAGS
1019 PANGOFT2_LIBS
1020 PANGOFT2_CFLAGS
1021 PANGOX_LIBS
1022 PANGOX_CFLAGS
1023 X_EXTRA_LIBS
1024 X_LIBS
1025 X_PRE_LIBS
1026 X_CFLAGS
1027 XMKMF
1028 DIRECTFB_LIBS
1029 DIRECTFB_CFLAGS
1030 GTK_CONFIG
1031 GTK_LIBS
1032 GTK_CFLAGS
1033 PKG_CONFIG
1034 subdirs
1035 CXXCPP
1036 AR
1037 ac_ct_CXX
1038 CXXFLAGS
1039 CXX
1040 EGREP
1041 GREP
1042 CPP
1043 OBJEXT
1044 EXEEXT
1045 ac_ct_CC
1046 CPPFLAGS
1047 LDFLAGS
1048 CFLAGS
1049 CC
1050 wx_top_builddir
1051 host_os
1052 host_vendor
1053 host_cpu
1054 host
1055 build_os
1056 build_vendor
1057 build_cpu
1058 build
1059 target_alias
1060 host_alias
1061 build_alias
1062 LIBS
1063 ECHO_T
1064 ECHO_N
1065 ECHO_C
1066 DEFS
1067 mandir
1068 localedir
1069 libdir
1070 psdir
1071 pdfdir
1072 dvidir
1073 htmldir
1074 infodir
1075 docdir
1076 oldincludedir
1077 includedir
1078 localstatedir
1079 sharedstatedir
1080 sysconfdir
1081 datadir
1082 datarootdir
1083 libexecdir
1084 sbindir
1085 bindir
1086 program_transform_name
1087 prefix
1088 exec_prefix
1089 PACKAGE_URL
1090 PACKAGE_BUGREPORT
1091 PACKAGE_STRING
1092 PACKAGE_VERSION
1093 PACKAGE_TARNAME
1094 PACKAGE_NAME
1095 PATH_SEPARATOR
1096 SHELL'
1097 ac_subst_files=''
1098 ac_user_opts='
1099 enable_option_checking
1100 enable_gui
1101 enable_monolithic
1102 enable_plugins
1103 with_subdirs
1104 with_flavour
1105 enable_official_build
1106 enable_vendor
1107 enable_all_features
1108 enable_universal
1109 with_themes
1110 with_gtk
1111 with_motif
1112 with_osx_carbon
1113 with_osx_cocoa
1114 with_osx_iphone
1115 with_osx
1116 with_carbon
1117 with_cocoa
1118 with_iphone
1119 with_mac
1120 with_old_cocoa
1121 with_wine
1122 with_msw
1123 with_pm
1124 with_directfb
1125 with_microwin
1126 with_x11
1127 enable_nanox
1128 enable_gpe
1129 with_libpng
1130 with_libjpeg
1131 with_libtiff
1132 with_libxpm
1133 with_libiconv
1134 with_libmspack
1135 with_gtkprint
1136 with_gnomeprint
1137 with_gnomevfs
1138 with_libnotify
1139 with_hildon
1140 with_opengl
1141 with_dmalloc
1142 with_sdl
1143 with_regex
1144 with_zlib
1145 with_expat
1146 with_macosx_sdk
1147 with_macosx_version_min
1148 enable_debug
1149 enable_debug_flag
1150 enable_debug_info
1151 enable_debug_gdb
1152 enable_debug_cntxt
1153 enable_mem_tracing
1154 enable_shared
1155 enable_stl
1156 enable_std_containers
1157 enable_std_iostreams
1158 enable_std_string
1159 enable_std_string_conv_in_wxstring
1160 enable_unicode
1161 enable_mslu
1162 enable_utf8
1163 enable_utf8only
1164 enable_extended_rtti
1165 enable_omf
1166 enable_optimise
1167 enable_profile
1168 enable_no_rtti
1169 enable_no_exceptions
1170 enable_permissive
1171 enable_no_deps
1172 enable_vararg_macros
1173 enable_universal_binary
1174 enable_macosx_arch
1175 enable_compat26
1176 enable_compat28
1177 enable_rpath
1178 enable_objc_uniquifying
1179 enable_visibility
1180 enable_tls
1181 enable_intl
1182 enable_xlocale
1183 enable_config
1184 enable_protocols
1185 enable_ftp
1186 enable_http
1187 enable_fileproto
1188 enable_sockets
1189 enable_ipv6
1190 enable_ole
1191 enable_dataobj
1192 enable_ipc
1193 enable_baseevtloop
1194 enable_epollloop
1195 enable_selectloop
1196 enable_any
1197 enable_apple_ieee
1198 enable_arcstream
1199 enable_base64
1200 enable_backtrace
1201 enable_catch_segvs
1202 enable_cmdline
1203 enable_datetime
1204 enable_debugreport
1205 enable_dialupman
1206 enable_dynlib
1207 enable_dynamicloader
1208 enable_exceptions
1209 enable_ffile
1210 enable_file
1211 enable_filehistory
1212 enable_filesystem
1213 enable_fontenum
1214 enable_fontmap
1215 enable_fs_archive
1216 enable_fs_inet
1217 enable_fs_zip
1218 enable_fswatcher
1219 enable_geometry
1220 enable_log
1221 enable_longlong
1222 enable_mimetype
1223 enable_printfposparam
1224 enable_snglinst
1225 enable_sound
1226 enable_stdpaths
1227 enable_stopwatch
1228 enable_streams
1229 enable_sysoptions
1230 enable_tarstream
1231 enable_textbuf
1232 enable_textfile
1233 enable_timer
1234 enable_variant
1235 enable_zipstream
1236 enable_url
1237 enable_protocol
1238 enable_protocol_http
1239 enable_protocol_ftp
1240 enable_protocol_file
1241 enable_threads
1242 enable_iniconf
1243 enable_regkey
1244 enable_docview
1245 enable_help
1246 enable_mshtmlhelp
1247 enable_html
1248 enable_htmlhelp
1249 enable_xrc
1250 enable_aui
1251 enable_propgrid
1252 enable_ribbon
1253 enable_stc
1254 enable_constraints
1255 enable_loggui
1256 enable_logwin
1257 enable_logdialog
1258 enable_mdi
1259 enable_mdidoc
1260 enable_mediactrl
1261 enable_gstreamer8
1262 enable_richtext
1263 enable_postscript
1264 enable_printarch
1265 enable_svg
1266 enable_webkit
1267 enable_webview
1268 enable_graphics_ctx
1269 enable_clipboard
1270 enable_dnd
1271 enable_controls
1272 enable_markup
1273 enable_accel
1274 enable_animatectrl
1275 enable_bannerwindow
1276 enable_artstd
1277 enable_arttango
1278 enable_bmpbutton
1279 enable_bmpcombobox
1280 enable_button
1281 enable_calendar
1282 enable_caret
1283 enable_checkbox
1284 enable_checklst
1285 enable_choice
1286 enable_choicebook
1287 enable_collpane
1288 enable_colourpicker
1289 enable_combobox
1290 enable_comboctrl
1291 enable_commandlinkbutton
1292 enable_dataviewctrl
1293 enable_datepick
1294 enable_detect_sm
1295 enable_dirpicker
1296 enable_display
1297 enable_editablebox
1298 enable_filectrl
1299 enable_filepicker
1300 enable_fontpicker
1301 enable_gauge
1302 enable_grid
1303 enable_headerctrl
1304 enable_hyperlink
1305 enable_imaglist
1306 enable_infobar
1307 enable_listbook
1308 enable_listbox
1309 enable_listctrl
1310 enable_notebook
1311 enable_notifmsg
1312 enable_odcombobox
1313 enable_popupwin
1314 enable_radiobox
1315 enable_radiobtn
1316 enable_richmsgdlg
1317 enable_richtooltip
1318 enable_rearrangectrl
1319 enable_sash
1320 enable_scrollbar
1321 enable_searchctrl
1322 enable_slider
1323 enable_spinbtn
1324 enable_spinctrl
1325 enable_splitter
1326 enable_statbmp
1327 enable_statbox
1328 enable_statline
1329 enable_stattext
1330 enable_statusbar
1331 enable_taskbaricon
1332 enable_tbarnative
1333 enable_textctrl
1334 enable_tipwindow
1335 enable_togglebtn
1336 enable_toolbar
1337 enable_toolbook
1338 enable_treebook
1339 enable_treectrl
1340 enable_treelist
1341 enable_commondlg
1342 enable_aboutdlg
1343 enable_choicedlg
1344 enable_coldlg
1345 enable_filedlg
1346 enable_finddlg
1347 enable_fontdlg
1348 enable_dirdlg
1349 enable_msgdlg
1350 enable_numberdlg
1351 enable_splash
1352 enable_textdlg
1353 enable_tipdlg
1354 enable_progressdlg
1355 enable_wizarddlg
1356 enable_menus
1357 enable_miniframe
1358 enable_tooltips
1359 enable_splines
1360 enable_mousewheel
1361 enable_validators
1362 enable_busyinfo
1363 enable_hotkey
1364 enable_joystick
1365 enable_metafile
1366 enable_dragimage
1367 enable_accessibility
1368 enable_uiactionsim
1369 enable_dctransform
1370 enable_webviewwebkit
1371 enable_palette
1372 enable_image
1373 enable_gif
1374 enable_pcx
1375 enable_tga
1376 enable_iff
1377 enable_pnm
1378 enable_xpm
1379 enable_ico_cur
1380 enable_dccache
1381 enable_ps_in_msw
1382 enable_ownerdrawn
1383 enable_uxtheme
1384 enable_wxdib
1385 enable_webviewie
1386 enable_autoidman
1387 enable_largefile
1388 enable_gtktest
1389 with_gtk_prefix
1390 with_gtk_exec_prefix
1391 with_x
1392 with_libiconv_prefix
1393 with_sdl_prefix
1394 with_sdl_exec_prefix
1395 enable_sdltest
1396 enable_dependency_tracking
1397 enable_precomp_headers
1398 with_cppunit_prefix
1399 with_cppunit_exec_prefix
1400 '
1401       ac_precious_vars='build_alias
1402 host_alias
1403 target_alias
1404 CC
1405 CFLAGS
1406 LDFLAGS
1407 LIBS
1408 CPPFLAGS
1409 CPP
1410 CXX
1411 CXXFLAGS
1412 CCC
1413 CXXCPP
1414 PKG_CONFIG
1415 DIRECTFB_CFLAGS
1416 DIRECTFB_LIBS
1417 XMKMF
1418 PANGOX_CFLAGS
1419 PANGOX_LIBS
1420 PANGOFT2_CFLAGS
1421 PANGOFT2_LIBS
1422 PANGOXFT_CFLAGS
1423 PANGOXFT_LIBS
1424 Xinerama_CFLAGS
1425 Xinerama_LIBS
1426 Xxf86vm_CFLAGS
1427 Xxf86vm_LIBS
1428 SM_CFLAGS
1429 SM_LIBS
1430 GL_CFLAGS
1431 GL_LIBS
1432 GLU_CFLAGS
1433 GLU_LIBS
1434 MesaGL_CFLAGS
1435 MesaGL_LIBS
1436 GTKPRINT_CFLAGS
1437 GTKPRINT_LIBS
1438 LIBGNOMEPRINTUI_CFLAGS
1439 LIBGNOMEPRINTUI_LIBS
1440 GNOMEVFS_CFLAGS
1441 GNOMEVFS_LIBS
1442 LIBNOTIFY_CFLAGS
1443 LIBNOTIFY_LIBS
1444 HILDON_CFLAGS
1445 HILDON_LIBS
1446 HILDON2_CFLAGS
1447 HILDON2_LIBS
1448 WEBKIT_CFLAGS
1449 WEBKIT_LIBS
1450 CAIRO_CFLAGS
1451 CAIRO_LIBS
1452 GST_CFLAGS
1453 GST_LIBS'
1454 ac_subdirs_all='src/tiff
1455 src/expat'
1456
1457 # Initialize some variables set by options.
1458 ac_init_help=
1459 ac_init_version=false
1460 ac_unrecognized_opts=
1461 ac_unrecognized_sep=
1462 # The variables have the same names as the options, with
1463 # dashes changed to underlines.
1464 cache_file=/dev/null
1465 exec_prefix=NONE
1466 no_create=
1467 no_recursion=
1468 prefix=NONE
1469 program_prefix=NONE
1470 program_suffix=NONE
1471 program_transform_name=s,x,x,
1472 silent=
1473 site=
1474 srcdir=
1475 verbose=
1476 x_includes=NONE
1477 x_libraries=NONE
1478
1479 # Installation directory options.
1480 # These are left unexpanded so users can "make install exec_prefix=/foo"
1481 # and all the variables that are supposed to be based on exec_prefix
1482 # by default will actually change.
1483 # Use braces instead of parens because sh, perl, etc. also accept them.
1484 # (The list follows the same order as the GNU Coding Standards.)
1485 bindir='${exec_prefix}/bin'
1486 sbindir='${exec_prefix}/sbin'
1487 libexecdir='${exec_prefix}/libexec'
1488 datarootdir='${prefix}/share'
1489 datadir='${datarootdir}'
1490 sysconfdir='${prefix}/etc'
1491 sharedstatedir='${prefix}/com'
1492 localstatedir='${prefix}/var'
1493 includedir='${prefix}/include'
1494 oldincludedir='/usr/include'
1495 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1496 infodir='${datarootdir}/info'
1497 htmldir='${docdir}'
1498 dvidir='${docdir}'
1499 pdfdir='${docdir}'
1500 psdir='${docdir}'
1501 libdir='${exec_prefix}/lib'
1502 localedir='${datarootdir}/locale'
1503 mandir='${datarootdir}/man'
1504
1505 ac_prev=
1506 ac_dashdash=
1507 for ac_option
1508 do
1509   # If the previous option needs an argument, assign it.
1510   if test -n "$ac_prev"; then
1511     eval $ac_prev=\$ac_option
1512     ac_prev=
1513     continue
1514   fi
1515
1516   case $ac_option in
1517   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1518   *=)   ac_optarg= ;;
1519   *)    ac_optarg=yes ;;
1520   esac
1521
1522   # Accept the important Cygnus configure options, so we can diagnose typos.
1523
1524   case $ac_dashdash$ac_option in
1525   --)
1526     ac_dashdash=yes ;;
1527
1528   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1529     ac_prev=bindir ;;
1530   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1531     bindir=$ac_optarg ;;
1532
1533   -build | --build | --buil | --bui | --bu)
1534     ac_prev=build_alias ;;
1535   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1536     build_alias=$ac_optarg ;;
1537
1538   -cache-file | --cache-file | --cache-fil | --cache-fi \
1539   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1540     ac_prev=cache_file ;;
1541   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1542   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1543     cache_file=$ac_optarg ;;
1544
1545   --config-cache | -C)
1546     cache_file=config.cache ;;
1547
1548   -datadir | --datadir | --datadi | --datad)
1549     ac_prev=datadir ;;
1550   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1551     datadir=$ac_optarg ;;
1552
1553   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1554   | --dataroo | --dataro | --datar)
1555     ac_prev=datarootdir ;;
1556   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1557   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1558     datarootdir=$ac_optarg ;;
1559
1560   -disable-* | --disable-*)
1561     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1562     # Reject names that are not valid shell variable names.
1563     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1564       as_fn_error $? "invalid feature name: $ac_useropt"
1565     ac_useropt_orig=$ac_useropt
1566     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1567     case $ac_user_opts in
1568       *"
1569 "enable_$ac_useropt"
1570 "*) ;;
1571       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1572          ac_unrecognized_sep=', ';;
1573     esac
1574     eval enable_$ac_useropt=no ;;
1575
1576   -docdir | --docdir | --docdi | --doc | --do)
1577     ac_prev=docdir ;;
1578   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1579     docdir=$ac_optarg ;;
1580
1581   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1582     ac_prev=dvidir ;;
1583   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1584     dvidir=$ac_optarg ;;
1585
1586   -enable-* | --enable-*)
1587     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1588     # Reject names that are not valid shell variable names.
1589     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1590       as_fn_error $? "invalid feature name: $ac_useropt"
1591     ac_useropt_orig=$ac_useropt
1592     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1593     case $ac_user_opts in
1594       *"
1595 "enable_$ac_useropt"
1596 "*) ;;
1597       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1598          ac_unrecognized_sep=', ';;
1599     esac
1600     eval enable_$ac_useropt=\$ac_optarg ;;
1601
1602   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1603   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1604   | --exec | --exe | --ex)
1605     ac_prev=exec_prefix ;;
1606   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1607   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1608   | --exec=* | --exe=* | --ex=*)
1609     exec_prefix=$ac_optarg ;;
1610
1611   -gas | --gas | --ga | --g)
1612     # Obsolete; use --with-gas.
1613     with_gas=yes ;;
1614
1615   -help | --help | --hel | --he | -h)
1616     ac_init_help=long ;;
1617   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1618     ac_init_help=recursive ;;
1619   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1620     ac_init_help=short ;;
1621
1622   -host | --host | --hos | --ho)
1623     ac_prev=host_alias ;;
1624   -host=* | --host=* | --hos=* | --ho=*)
1625     host_alias=$ac_optarg ;;
1626
1627   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1628     ac_prev=htmldir ;;
1629   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1630   | --ht=*)
1631     htmldir=$ac_optarg ;;
1632
1633   -includedir | --includedir | --includedi | --included | --include \
1634   | --includ | --inclu | --incl | --inc)
1635     ac_prev=includedir ;;
1636   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1637   | --includ=* | --inclu=* | --incl=* | --inc=*)
1638     includedir=$ac_optarg ;;
1639
1640   -infodir | --infodir | --infodi | --infod | --info | --inf)
1641     ac_prev=infodir ;;
1642   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1643     infodir=$ac_optarg ;;
1644
1645   -libdir | --libdir | --libdi | --libd)
1646     ac_prev=libdir ;;
1647   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1648     libdir=$ac_optarg ;;
1649
1650   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1651   | --libexe | --libex | --libe)
1652     ac_prev=libexecdir ;;
1653   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1654   | --libexe=* | --libex=* | --libe=*)
1655     libexecdir=$ac_optarg ;;
1656
1657   -localedir | --localedir | --localedi | --localed | --locale)
1658     ac_prev=localedir ;;
1659   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1660     localedir=$ac_optarg ;;
1661
1662   -localstatedir | --localstatedir | --localstatedi | --localstated \
1663   | --localstate | --localstat | --localsta | --localst | --locals)
1664     ac_prev=localstatedir ;;
1665   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1666   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1667     localstatedir=$ac_optarg ;;
1668
1669   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1670     ac_prev=mandir ;;
1671   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1672     mandir=$ac_optarg ;;
1673
1674   -nfp | --nfp | --nf)
1675     # Obsolete; use --without-fp.
1676     with_fp=no ;;
1677
1678   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1679   | --no-cr | --no-c | -n)
1680     no_create=yes ;;
1681
1682   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1683   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1684     no_recursion=yes ;;
1685
1686   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1687   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1688   | --oldin | --oldi | --old | --ol | --o)
1689     ac_prev=oldincludedir ;;
1690   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1691   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1692   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1693     oldincludedir=$ac_optarg ;;
1694
1695   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1696     ac_prev=prefix ;;
1697   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1698     prefix=$ac_optarg ;;
1699
1700   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1701   | --program-pre | --program-pr | --program-p)
1702     ac_prev=program_prefix ;;
1703   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1704   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1705     program_prefix=$ac_optarg ;;
1706
1707   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1708   | --program-suf | --program-su | --program-s)
1709     ac_prev=program_suffix ;;
1710   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1711   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1712     program_suffix=$ac_optarg ;;
1713
1714   -program-transform-name | --program-transform-name \
1715   | --program-transform-nam | --program-transform-na \
1716   | --program-transform-n | --program-transform- \
1717   | --program-transform | --program-transfor \
1718   | --program-transfo | --program-transf \
1719   | --program-trans | --program-tran \
1720   | --progr-tra | --program-tr | --program-t)
1721     ac_prev=program_transform_name ;;
1722   -program-transform-name=* | --program-transform-name=* \
1723   | --program-transform-nam=* | --program-transform-na=* \
1724   | --program-transform-n=* | --program-transform-=* \
1725   | --program-transform=* | --program-transfor=* \
1726   | --program-transfo=* | --program-transf=* \
1727   | --program-trans=* | --program-tran=* \
1728   | --progr-tra=* | --program-tr=* | --program-t=*)
1729     program_transform_name=$ac_optarg ;;
1730
1731   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1732     ac_prev=pdfdir ;;
1733   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1734     pdfdir=$ac_optarg ;;
1735
1736   -psdir | --psdir | --psdi | --psd | --ps)
1737     ac_prev=psdir ;;
1738   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1739     psdir=$ac_optarg ;;
1740
1741   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1742   | -silent | --silent | --silen | --sile | --sil)
1743     silent=yes ;;
1744
1745   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1746     ac_prev=sbindir ;;
1747   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1748   | --sbi=* | --sb=*)
1749     sbindir=$ac_optarg ;;
1750
1751   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1752   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1753   | --sharedst | --shareds | --shared | --share | --shar \
1754   | --sha | --sh)
1755     ac_prev=sharedstatedir ;;
1756   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1757   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1758   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1759   | --sha=* | --sh=*)
1760     sharedstatedir=$ac_optarg ;;
1761
1762   -site | --site | --sit)
1763     ac_prev=site ;;
1764   -site=* | --site=* | --sit=*)
1765     site=$ac_optarg ;;
1766
1767   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1768     ac_prev=srcdir ;;
1769   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1770     srcdir=$ac_optarg ;;
1771
1772   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1773   | --syscon | --sysco | --sysc | --sys | --sy)
1774     ac_prev=sysconfdir ;;
1775   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1776   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1777     sysconfdir=$ac_optarg ;;
1778
1779   -target | --target | --targe | --targ | --tar | --ta | --t)
1780     ac_prev=target_alias ;;
1781   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1782     target_alias=$ac_optarg ;;
1783
1784   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1785     verbose=yes ;;
1786
1787   -version | --version | --versio | --versi | --vers | -V)
1788     ac_init_version=: ;;
1789
1790   -with-* | --with-*)
1791     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1792     # Reject names that are not valid shell variable names.
1793     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1794       as_fn_error $? "invalid package name: $ac_useropt"
1795     ac_useropt_orig=$ac_useropt
1796     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1797     case $ac_user_opts in
1798       *"
1799 "with_$ac_useropt"
1800 "*) ;;
1801       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1802          ac_unrecognized_sep=', ';;
1803     esac
1804     eval with_$ac_useropt=\$ac_optarg ;;
1805
1806   -without-* | --without-*)
1807     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1808     # Reject names that are not valid shell variable names.
1809     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1810       as_fn_error $? "invalid package name: $ac_useropt"
1811     ac_useropt_orig=$ac_useropt
1812     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1813     case $ac_user_opts in
1814       *"
1815 "with_$ac_useropt"
1816 "*) ;;
1817       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1818          ac_unrecognized_sep=', ';;
1819     esac
1820     eval with_$ac_useropt=no ;;
1821
1822   --x)
1823     # Obsolete; use --with-x.
1824     with_x=yes ;;
1825
1826   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1827   | --x-incl | --x-inc | --x-in | --x-i)
1828     ac_prev=x_includes ;;
1829   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1830   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1831     x_includes=$ac_optarg ;;
1832
1833   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1834   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1835     ac_prev=x_libraries ;;
1836   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1837   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1838     x_libraries=$ac_optarg ;;
1839
1840   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1841 Try \`$0 --help' for more information"
1842     ;;
1843
1844   *=*)
1845     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1846     # Reject names that are not valid shell variable names.
1847     case $ac_envvar in #(
1848       '' | [0-9]* | *[!_$as_cr_alnum]* )
1849       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1850     esac
1851     eval $ac_envvar=\$ac_optarg
1852     export $ac_envvar ;;
1853
1854   *)
1855     # FIXME: should be removed in autoconf 3.0.
1856     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1857     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1858       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1859     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1860     ;;
1861
1862   esac
1863 done
1864
1865 if test -n "$ac_prev"; then
1866   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1867   as_fn_error $? "missing argument to $ac_option"
1868 fi
1869
1870 if test -n "$ac_unrecognized_opts"; then
1871   case $enable_option_checking in
1872     no) ;;
1873     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1874     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1875   esac
1876 fi
1877
1878 # Check all directory arguments for consistency.
1879 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1880                 datadir sysconfdir sharedstatedir localstatedir includedir \
1881                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1882                 libdir localedir mandir
1883 do
1884   eval ac_val=\$$ac_var
1885   # Remove trailing slashes.
1886   case $ac_val in
1887     */ )
1888       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1889       eval $ac_var=\$ac_val;;
1890   esac
1891   # Be sure to have absolute directory names.
1892   case $ac_val in
1893     [\\/$]* | ?:[\\/]* )  continue;;
1894     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1895   esac
1896   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1897 done
1898
1899 # There might be people who depend on the old broken behavior: `$host'
1900 # used to hold the argument of --host etc.
1901 # FIXME: To remove some day.
1902 build=$build_alias
1903 host=$host_alias
1904 target=$target_alias
1905
1906 # FIXME: To remove some day.
1907 if test "x$host_alias" != x; then
1908   if test "x$build_alias" = x; then
1909     cross_compiling=maybe
1910   elif test "x$build_alias" != "x$host_alias"; then
1911     cross_compiling=yes
1912   fi
1913 fi
1914
1915 ac_tool_prefix=
1916 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1917
1918 test "$silent" = yes && exec 6>/dev/null
1919
1920
1921 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1922 ac_ls_di=`ls -di .` &&
1923 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1924   as_fn_error $? "working directory cannot be determined"
1925 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1926   as_fn_error $? "pwd does not report name of working directory"
1927
1928
1929 # Find the source files, if location was not specified.
1930 if test -z "$srcdir"; then
1931   ac_srcdir_defaulted=yes
1932   # Try the directory containing this script, then the parent directory.
1933   ac_confdir=`$as_dirname -- "$as_myself" ||
1934 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1935          X"$as_myself" : 'X\(//\)[^/]' \| \
1936          X"$as_myself" : 'X\(//\)$' \| \
1937          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1938 $as_echo X"$as_myself" |
1939     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1940             s//\1/
1941             q
1942           }
1943           /^X\(\/\/\)[^/].*/{
1944             s//\1/
1945             q
1946           }
1947           /^X\(\/\/\)$/{
1948             s//\1/
1949             q
1950           }
1951           /^X\(\/\).*/{
1952             s//\1/
1953             q
1954           }
1955           s/.*/./; q'`
1956   srcdir=$ac_confdir
1957   if test ! -r "$srcdir/$ac_unique_file"; then
1958     srcdir=..
1959   fi
1960 else
1961   ac_srcdir_defaulted=no
1962 fi
1963 if test ! -r "$srcdir/$ac_unique_file"; then
1964   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1965   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1966 fi
1967 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1968 ac_abs_confdir=`(
1969         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1970         pwd)`
1971 # When building in place, set srcdir=.
1972 if test "$ac_abs_confdir" = "$ac_pwd"; then
1973   srcdir=.
1974 fi
1975 # Remove unnecessary trailing slashes from srcdir.
1976 # Double slashes in file names in object file debugging info
1977 # mess up M-x gdb in Emacs.
1978 case $srcdir in
1979 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1980 esac
1981 for ac_var in $ac_precious_vars; do
1982   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1983   eval ac_env_${ac_var}_value=\$${ac_var}
1984   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1985   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1986 done
1987
1988 #
1989 # Report the --help message.
1990 #
1991 if test "$ac_init_help" = "long"; then
1992   # Omit some internal or obsolete options to make the list less imposing.
1993   # This message is too long to be a string in the A/UX 3.1 sh.
1994   cat <<_ACEOF
1995 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1996
1997 Usage: $0 [OPTION]... [VAR=VALUE]...
1998
1999 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2000 VAR=VALUE.  See below for descriptions of some of the useful variables.
2001
2002 Defaults for the options are specified in brackets.
2003
2004 Configuration:
2005   -h, --help              display this help and exit
2006       --help=short        display options specific to this package
2007       --help=recursive    display the short help of all the included packages
2008   -V, --version           display version information and exit
2009   -q, --quiet, --silent   do not print \`checking ...' messages
2010       --cache-file=FILE   cache test results in FILE [disabled]
2011   -C, --config-cache      alias for \`--cache-file=config.cache'
2012   -n, --no-create         do not create output files
2013       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
2014
2015 Installation directories:
2016   --prefix=PREFIX         install architecture-independent files in PREFIX
2017                           [$ac_default_prefix]
2018   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
2019                           [PREFIX]
2020
2021 By default, \`make install' will install all the files in
2022 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
2023 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2024 for instance \`--prefix=\$HOME'.
2025
2026 For better control, use the options below.
2027
2028 Fine tuning of the installation directories:
2029   --bindir=DIR            user executables [EPREFIX/bin]
2030   --sbindir=DIR           system admin executables [EPREFIX/sbin]
2031   --libexecdir=DIR        program executables [EPREFIX/libexec]
2032   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
2033   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
2034   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
2035   --libdir=DIR            object code libraries [EPREFIX/lib]
2036   --includedir=DIR        C header files [PREFIX/include]
2037   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
2038   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
2039   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
2040   --infodir=DIR           info documentation [DATAROOTDIR/info]
2041   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
2042   --mandir=DIR            man documentation [DATAROOTDIR/man]
2043   --docdir=DIR            documentation root [DATAROOTDIR/doc/wxwidgets]
2044   --htmldir=DIR           html documentation [DOCDIR]
2045   --dvidir=DIR            dvi documentation [DOCDIR]
2046   --pdfdir=DIR            pdf documentation [DOCDIR]
2047   --psdir=DIR             ps documentation [DOCDIR]
2048 _ACEOF
2049
2050   cat <<\_ACEOF
2051
2052 X features:
2053   --x-includes=DIR    X include files are in DIR
2054   --x-libraries=DIR   X library files are in DIR
2055
2056 System types:
2057   --build=BUILD     configure for building on BUILD [guessed]
2058   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
2059 _ACEOF
2060 fi
2061
2062 if test -n "$ac_init_help"; then
2063   case $ac_init_help in
2064      short | recursive ) echo "Configuration of wxWidgets 2.9.5:";;
2065    esac
2066   cat <<\_ACEOF
2067
2068 Optional Features:
2069   --disable-option-checking  ignore unrecognized --enable/--with options
2070   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
2071   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
2072   --disable-gui           don't build GUI parts of the library
2073   --enable-monolithic     build wxWidgets as single library
2074   --enable-plugins        build parts of wxWidgets as loadable components
2075   --enable-official_build official build of wxWidgets (win32 DLL only)
2076   --enable-vendor=VENDOR  vendor name (win32 DLL only)
2077   --disable-all-features  disable all optional features to build minimal library
2078   --enable-universal      use wxWidgets GUI controls instead of native ones
2079   --enable-nanox          use NanoX
2080   --enable-gpe            use GNOME PDA Environment features if possible
2081   --enable-debug          build library for debugging
2082   --disable-debug_flag    disable all debugging support
2083   --enable-debug_info     generate debug information
2084   --enable-debug_gdb      create code with extra GDB debugging information
2085   --enable-debug_cntxt    obsolete, don't use: use wxDebugContext
2086   --enable-mem_tracing    obsolete, don't use: create code with memory tracing
2087   --disable-shared        create static library instead of shared
2088   --enable-stl            use standard C++ classes for everything
2089   --enable-std_containers use standard C++ container classes
2090   --enable-std_iostreams  use standard C++ stream classes
2091   --enable-std_string     use standard C++ string classes
2092  --enable-std_string_conv_in_wxstring     provide implicit conversion to std::string in wxString
2093   --disable-unicode       compile without Unicode support
2094   --enable-mslu           use MS Layer for Unicode on Windows 9x (Win32 only)
2095   --enable-utf8           use UTF-8 representation for strings (Unix only)
2096   --enable-utf8only       only support UTF-8 locales in UTF-8 build (Unix only)
2097   --enable-extended_rtti  use extended RTTI (XTI)
2098   --enable-omf            use OMF object format
2099   --disable-optimise      compile without optimisations
2100   --enable-profile        create code with profiling information
2101   --enable-no_rtti        create code without RTTI information
2102   --enable-no_exceptions  create code without C++ exceptions handling
2103   --enable-permissive     compile code disregarding strict ANSI
2104   --enable-no_deps        create code without dependency information
2105   --disable-vararg_macros don't use vararg macros, even if they are supported
2106   --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2107   --enable-macosx_arch=ARCH  build for just the specified architecture
2108   --enable-compat26       enable wxWidgets 2.6 compatibility
2109   --disable-compat28      disable wxWidgets 2.8 compatibility
2110   --disable-rpath         disable use of rpath for uninstalled builds
2111   --enable-objc_uniquifying enable Objective-C class name uniquifying
2112   --disable-visibility    disable use of ELF symbols visibility even if supported
2113   --disable-tls           disable use of compiler TLS support
2114   --enable-intl           use internationalization system
2115   --enable-xlocale        use x-locale support (requires wxLocale)
2116   --enable-config         use wxConfig (and derived) classes
2117   --enable-protocols      use wxProtocol and derived classes
2118   --enable-ftp            use wxFTP (requires wxProtocol
2119   --enable-http           use wxHTTP (requires wxProtocol
2120   --enable-fileproto      use wxFileProto class (requires wxProtocol
2121   --enable-sockets        use socket/network classes
2122   --enable-ipv6           enable IPv6 support in wxSocket
2123   --enable-ole            use OLE classes (Win32 only)
2124   --enable-dataobj        use data object classes
2125   --enable-ipc            use interprocess communication (wxSocket etc.)
2126   --enable-baseevtloop    use event loop in console programs too
2127   --enable-epollloop      use wxEpollDispatcher class (Linux only)
2128   --enable-selectloop     use wxSelectDispatcher class
2129   --enable-any            use wxAny class
2130   --enable-apple_ieee     use the Apple IEEE codec
2131   --enable-arcstream      use wxArchive streams
2132   --enable-base64         use base64 encoding/decoding functions
2133   --enable-backtrace      use wxStackWalker class for getting backtraces
2134   --enable-catch_segvs    catch signals in wxApp::OnFatalException (Unix only)
2135   --enable-cmdline        use wxCmdLineParser class
2136   --enable-datetime       use wxDateTime class
2137   --enable-debugreport    use wxDebugReport class
2138   --enable-dialupman      use dialup network classes
2139   --enable-dynlib         use wxLibrary class for DLL loading
2140   --enable-dynamicloader  use (new) wxDynamicLibrary class
2141   --enable-exceptions     build exception-safe library
2142   --enable-ffile          use wxFFile class
2143   --enable-file           use wxFile class
2144   --enable-filehistory    use wxFileHistory class
2145   --enable-filesystem     use virtual file systems classes
2146   --enable-fontenum       use wxFontEnumerator class
2147   --enable-fontmap        use font encodings conversion classes
2148   --enable-fs_archive     use virtual archive filesystems
2149   --enable-fs_inet        use virtual HTTP/FTP filesystems
2150   --enable-fs_zip         now replaced by fs_archive
2151   --enable-fswatcher      use wxFileSystemWatcher class
2152   --enable-geometry       use geometry class
2153   --enable-log            use logging system
2154   --enable-longlong       use wxLongLong class
2155   --enable-mimetype       use wxMimeTypesManager
2156   --enable-printfposparam use wxVsnprintf() which supports positional parameters
2157   --enable-snglinst       use wxSingleInstanceChecker class
2158   --enable-sound          use wxSound class
2159   --enable-stdpaths       use wxStandardPaths class
2160   --enable-stopwatch      use wxStopWatch class
2161   --enable-streams        use wxStream etc classes
2162   --enable-sysoptions     use wxSystemOptions
2163   --enable-tarstream      use wxTar streams
2164   --enable-textbuf        use wxTextBuffer class
2165   --enable-textfile       use wxTextFile class
2166   --enable-timer          use wxTimer class
2167   --enable-variant        use wxVariant class
2168   --enable-zipstream      use wxZip streams
2169   --enable-url            use wxURL class
2170   --enable-protocol       use wxProtocol class
2171   --enable-protocol-http  HTTP support in wxProtocol
2172   --enable-protocol-ftp   FTP support in wxProtocol
2173   --enable-protocol-file  FILE support in wxProtocol
2174   --enable-threads        use threads
2175   --enable-iniconf        use wxIniConfig (Win32 only)
2176   --enable-regkey         use wxRegKey class (Win32 only)
2177   --enable-docview        use document view architecture
2178   --enable-help           use help subsystem
2179   --enable-mshtmlhelp     use MS HTML Help (win32)
2180   --enable-html           use wxHTML sub-library
2181   --enable-htmlhelp       use wxHTML-based help
2182   --enable-xrc            use XRC resources sub-library
2183   --enable-aui            use AUI docking library
2184   --enable-propgrid       use wxPropertyGrid library
2185   --enable-ribbon         use wxRibbon library
2186   --enable-stc            use wxStyledTextCtrl library
2187   --enable-constraints    use layout-constraints system
2188   --enable-loggui         use standard GUI logger
2189   --enable-logwin         use wxLogWindow
2190   --enable-logdialog      use wxLogDialog
2191   --enable-mdi            use multiple document interface architecture
2192   --enable-mdidoc         use docview architecture with MDI
2193   --enable-mediactrl      use wxMediaCtrl class
2194   --enable-gstreamer8     force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2195   --enable-richtext       use wxRichTextCtrl
2196   --enable-postscript     use wxPostscriptDC device context (default for gtk+)
2197   --enable-printarch      use printing architecture
2198   --enable-svg            use wxSVGFileDC device context
2199   --enable-webkit         use wxWebKitCtrl (Mac-only, use wxWebView instead)
2200   --enable-webview        use wxWebView library
2201   --enable-graphics_ctx   use graphics context 2D drawing API
2202   --enable-clipboard      use wxClipboard class
2203   --enable-dnd            use Drag'n'Drop classes
2204   --disable-controls      disable compilation of all standard controls
2205   --enable-markup         support wxControl::SetLabelMarkup
2206   --enable-accel          use accelerators
2207   --enable-animatectrl    use wxAnimationCtrl class
2208   --enable-bannerwindow   use wxBannerWindow class
2209   --enable-artstd         use standard XPM icons in wxArtProvider
2210   --enable-arttango       use Tango icons in wxArtProvider
2211   --enable-bmpbutton      use wxBitmapButton class
2212   --enable-bmpcombobox    use wxBitmapComboBox class
2213   --enable-button         use wxButton class
2214   --enable-calendar       use wxCalendarCtrl class
2215   --enable-caret          use wxCaret class
2216   --enable-checkbox       use wxCheckBox class
2217   --enable-checklst       use wxCheckListBox (listbox with checkboxes) class
2218   --enable-choice         use wxChoice class
2219   --enable-choicebook     use wxChoicebook class
2220   --enable-collpane       use wxCollapsiblePane class
2221   --enable-colourpicker   use wxColourPickerCtrl class
2222   --enable-combobox       use wxComboBox class
2223   --enable-comboctrl      use wxComboCtrl class
2224   --enable-commandlinkbutton      use wxCommmandLinkButton class
2225   --enable-dataviewctrl   use wxDataViewCtrl class
2226   --enable-datepick       use wxDatePickerCtrl class
2227   --enable-detect_sm      use code to detect X11 session manager
2228   --enable-dirpicker      use wxDirPickerCtrl class
2229   --enable-display        use wxDisplay class
2230   --enable-editablebox    use wxEditableListBox class
2231   --enable-filectrl       use wxFileCtrl class
2232   --enable-filepicker     use wxFilePickerCtrl class
2233   --enable-fontpicker     use wxFontPickerCtrl class
2234   --enable-gauge          use wxGauge class
2235   --enable-grid           use wxGrid class
2236   --enable-headerctrl     use wxHeaderCtrl class
2237   --enable-hyperlink      use wxHyperlinkCtrl class
2238   --enable-imaglist       use wxImageList class
2239   --enable-infobar        use wxInfoBar class
2240   --enable-listbook       use wxListbook class
2241   --enable-listbox        use wxListBox class
2242   --enable-listctrl       use wxListCtrl class
2243   --enable-notebook       use wxNotebook class
2244   --enable-notifmsg       use wxNotificationMessage class
2245   --enable-odcombobox     use wxOwnerDrawnComboBox class
2246   --enable-popupwin       use wxPopUpWindow class
2247   --enable-radiobox       use wxRadioBox class
2248   --enable-radiobtn       use wxRadioButton class
2249   --enable-richmsgdlg     use wxRichMessageDialog class
2250   --enable-richtooltip    use wxRichToolTip class
2251   --enable-rearrangectrl  use wxRearrangeList/Ctrl/Dialog
2252   --enable-sash           use wxSashWindow class
2253   --enable-scrollbar      use wxScrollBar class and scrollable windows
2254   --enable-searchctrl     use wxSearchCtrl class
2255   --enable-slider         use wxSlider class
2256   --enable-spinbtn        use wxSpinButton class
2257   --enable-spinctrl       use wxSpinCtrl class
2258   --enable-splitter       use wxSplitterWindow class
2259   --enable-statbmp        use wxStaticBitmap class
2260   --enable-statbox        use wxStaticBox class
2261   --enable-statline       use wxStaticLine class
2262   --enable-stattext       use wxStaticText class
2263   --enable-statusbar      use wxStatusBar class
2264   --enable-taskbaricon    use wxTaskBarIcon class
2265   --enable-tbarnative     use native wxToolBar class
2266   --enable-textctrl       use wxTextCtrl class
2267   --enable-timepick       use wxTimePickerCtrl class
2268   --enable-tipwindow      use wxTipWindow class
2269   --enable-togglebtn      use wxToggleButton class
2270   --enable-toolbar        use wxToolBar class
2271   --enable-toolbook       use wxToolbook class
2272   --enable-treebook       use wxTreebook class
2273   --enable-treectrl       use wxTreeCtrl class
2274   --enable-treelist       use wxTreeListCtrl class
2275   --enable-commondlg      use all common dialogs
2276   --enable-aboutdlg       use wxAboutBox
2277   --enable-choicedlg      use wxChoiceDialog
2278   --enable-coldlg         use wxColourDialog
2279   --enable-filedlg        use wxFileDialog
2280   --enable-finddlg        use wxFindReplaceDialog
2281   --enable-fontdlg        use wxFontDialog
2282   --enable-dirdlg         use wxDirDialog
2283   --enable-msgdlg         use wxMessageDialog
2284   --enable-numberdlg      use wxNumberEntryDialog
2285   --enable-splash         use wxSplashScreen
2286   --enable-textdlg        use wxTextDialog
2287   --enable-tipdlg         use startup tips
2288   --enable-progressdlg    use wxProgressDialog
2289   --enable-wizarddlg      use wxWizard
2290   --enable-menus          use wxMenu/wxMenuBar/wxMenuItem classes
2291   --enable-miniframe      use wxMiniFrame class
2292   --enable-tooltips       use wxToolTip class
2293   --enable-splines        use spline drawing code
2294   --enable-mousewheel     use mousewheel
2295   --enable-validators     use wxValidator and derived classes
2296   --enable-busyinfo       use wxBusyInfo
2297   --enable-hotkey         use wxWindow::RegisterHotKey()
2298   --enable-joystick       use wxJoystick
2299   --enable-metafiles      use wxMetaFile
2300   --enable-dragimage      use wxDragImage
2301   --enable-accessibility  enable accessibility support
2302   --enable-uiactionsim    use wxUIActionSimulator (experimental)
2303   --enable-dctransform    use wxDC::SetTransformMatrix and related
2304   --enable-webviewwebkit  use wxWebView WebKit backend
2305   --enable-palette        use wxPalette class
2306   --enable-image          use wxImage class
2307   --enable-gif            use gif images (GIF file format)
2308   --enable-pcx            use pcx images (PCX file format)
2309   --enable-tga            use tga images (TGA file format)
2310   --enable-iff            use iff images (IFF file format)
2311   --enable-pnm            use pnm images (PNM file format)
2312   --enable-xpm            use xpm images (XPM file format)
2313   --enable-ico_cur        use Windows ICO and CUR formats
2314   --enable-dccache        cache temporary wxDC objects (Win32 only)
2315   --enable-ps-in-msw      use PS printing in wxMSW (Win32 only)
2316   --enable-ownerdrawn     use owner drawn controls (Win32 and OS/2 only)
2317   --enable-uxtheme        enable support for Windows XP themed look (Win32 only)
2318   --enable-wxdib          use wxDIB class (Win32 only)
2319   --enable-webviewie      use wxWebView IE backend (Win32 only)
2320   --enable-autoidman      use automatic ids management
2321   --disable-largefile     omit support for large files
2322   --disable-gtktest       do not try to compile and run a test GTK+ program
2323   --disable-gtktest       Do not try to compile and run a test GTK program
2324   --disable-sdltest       Do not try to compile and run a test SDL program
2325   --enable-omf            use OMF object format (OS/2)
2326   --disable-dependency-tracking
2327                           don't use dependency tracking even if the compiler
2328                           can
2329   --disable-precomp-headers
2330                           don't use precompiled headers even if compiler can
2331
2332 Optional Packages:
2333   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2334   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2335   --without-subdirs       don't generate makefiles for samples/demos/...
2336   --with-flavour=NAME     specify a name to identify this build
2337   --with-themes=all|list  use only the specified comma-separated list of wxUniversal themes
2338   --with-gtk[=VERSION]    use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2339   --with-motif            use Motif/Lesstif
2340   --with-osx_carbon       use Mac OS X (Carbon)
2341   --with-osx_cocoa        use Mac OS X (Cocoa)
2342   --with-osx_iphone       use iPhone OS X port
2343   --with-osx              use Mac OS X (default port, currently Carbon)
2344   --with-carbon           same as --with-osx_carbon
2345   --with-cocoa            same as --with-osx_cocoa
2346   --with-iphone           same as --with-osx_iphone
2347   --with-mac              same as --with-osx
2348   --with-old_cocoa        use old, deprecated, Cocoa port
2349   --with-wine             use Wine
2350   --with-msw              use MS-Windows
2351   --with-pm               use OS/2 Presentation Manager
2352   --with-directfb         use DirectFB
2353   --with-microwin         use MicroWindows
2354   --with-x11              use X11
2355   --with-libpng           use libpng (PNG image format)
2356   --with-libjpeg          use libjpeg (JPEG file format)
2357   --with-libtiff          use libtiff (TIFF file format)
2358   --with-libxpm           use libxpm (XPM file format)
2359   --with-libiconv         use libiconv (character conversion)
2360   --with-libmspack        use libmspack (CHM help files loading)
2361   --without-gtkprint      don't use GTK printing support
2362   --without-gnomeprint    don't use GNOME printing libraries
2363   --with-gnomevfs         use GNOME VFS for associating MIME types
2364   --with-libnotify        use libnotify for notifications
2365   --with-hildon           use Hildon framework for Nokia 770/800/810
2366   --with-opengl           use OpenGL (or Mesa)
2367   --with-dmalloc          use dmalloc library (http://dmalloc.com/)
2368   --with-sdl              use SDL for audio on Unix
2369   --with-regex            enable support for wxRegEx class
2370   --with-zlib             use zlib for LZW compression
2371   --with-expat            enable XML support using expat parser
2372   --with-macosx-sdk=PATH  use an OS X SDK at PATH
2373   --with-macosx-version-min=VER   build binaries which require at least this OS X version
2374   --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)
2375   --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2376   --with-x                use the X Window System
2377   --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
2378   --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
2379   --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2380   --with-cppunit-prefix=PFX   Prefix where CppUnit is installed (optional)
2381   --with-cppunit-exec-prefix=PFX  Exec prefix where CppUnit is installed (optional)
2382
2383 Some influential environment variables:
2384   CC          C compiler command
2385   CFLAGS      C compiler flags
2386   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
2387               nonstandard directory <lib dir>
2388   LIBS        libraries to pass to the linker, e.g. -l<library>
2389   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2390               you have headers in a nonstandard directory <include dir>
2391   CPP         C preprocessor
2392   CXX         C++ compiler command
2393   CXXFLAGS    C++ compiler flags
2394   CXXCPP      C++ preprocessor
2395   PKG_CONFIG  path to pkg-config utility
2396   DIRECTFB_CFLAGS
2397               C compiler flags for DIRECTFB, overriding pkg-config
2398   DIRECTFB_LIBS
2399               linker flags for DIRECTFB, overriding pkg-config
2400   XMKMF       Path to xmkmf, Makefile generator for X Window System
2401   PANGOX_CFLAGS
2402               C compiler flags for PANGOX, overriding pkg-config
2403   PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2404   PANGOFT2_CFLAGS
2405               C compiler flags for PANGOFT2, overriding pkg-config
2406   PANGOFT2_LIBS
2407               linker flags for PANGOFT2, overriding pkg-config
2408   PANGOXFT_CFLAGS
2409               C compiler flags for PANGOXFT, overriding pkg-config
2410   PANGOXFT_LIBS
2411               linker flags for PANGOXFT, overriding pkg-config
2412   Xinerama_CFLAGS
2413               C compiler flags for Xinerama, overriding pkg-config
2414   Xinerama_LIBS
2415               linker flags for Xinerama, overriding pkg-config
2416   Xxf86vm_CFLAGS
2417               C compiler flags for Xxf86vm, overriding pkg-config
2418   Xxf86vm_LIBS
2419               linker flags for Xxf86vm, overriding pkg-config
2420   SM_CFLAGS   C compiler flags for SM, overriding pkg-config
2421   SM_LIBS     linker flags for SM, overriding pkg-config
2422   GL_CFLAGS   C compiler flags for GL, overriding pkg-config
2423   GL_LIBS     linker flags for GL, overriding pkg-config
2424   GLU_CFLAGS  C compiler flags for GLU, overriding pkg-config
2425   GLU_LIBS    linker flags for GLU, overriding pkg-config
2426   MesaGL_CFLAGS
2427               C compiler flags for MesaGL, overriding pkg-config
2428   MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2429   GTKPRINT_CFLAGS
2430               C compiler flags for GTKPRINT, overriding pkg-config
2431   GTKPRINT_LIBS
2432               linker flags for GTKPRINT, overriding pkg-config
2433   LIBGNOMEPRINTUI_CFLAGS
2434               C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2435   LIBGNOMEPRINTUI_LIBS
2436               linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2437   GNOMEVFS_CFLAGS
2438               C compiler flags for GNOMEVFS, overriding pkg-config
2439   GNOMEVFS_LIBS
2440               linker flags for GNOMEVFS, overriding pkg-config
2441   LIBNOTIFY_CFLAGS
2442               C compiler flags for LIBNOTIFY, overriding pkg-config
2443   LIBNOTIFY_LIBS
2444               linker flags for LIBNOTIFY, overriding pkg-config
2445   HILDON_CFLAGS
2446               C compiler flags for HILDON, overriding pkg-config
2447   HILDON_LIBS linker flags for HILDON, overriding pkg-config
2448   HILDON2_CFLAGS
2449               C compiler flags for HILDON2, overriding pkg-config
2450   HILDON2_LIBS
2451               linker flags for HILDON2, overriding pkg-config
2452   WEBKIT_CFLAGS
2453               C compiler flags for WEBKIT, overriding pkg-config
2454   WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2455   CAIRO_CFLAGS
2456               C compiler flags for CAIRO, overriding pkg-config
2457   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
2458   GST_CFLAGS  C compiler flags for GST, overriding pkg-config
2459   GST_LIBS    linker flags for GST, overriding pkg-config
2460
2461 Use these variables to override the choices made by `configure' or to help
2462 it to find libraries and programs with nonstandard names/locations.
2463
2464 Report bugs to <wx-dev@lists.wxwidgets.org>.
2465 _ACEOF
2466 ac_status=$?
2467 fi
2468
2469 if test "$ac_init_help" = "recursive"; then
2470   # If there are subdirs, report their specific --help.
2471   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2472     test -d "$ac_dir" ||
2473       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2474       continue
2475     ac_builddir=.
2476
2477 case "$ac_dir" in
2478 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2479 *)
2480   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2481   # A ".." for each directory in $ac_dir_suffix.
2482   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2483   case $ac_top_builddir_sub in
2484   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2485   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2486   esac ;;
2487 esac
2488 ac_abs_top_builddir=$ac_pwd
2489 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2490 # for backward compatibility:
2491 ac_top_builddir=$ac_top_build_prefix
2492
2493 case $srcdir in
2494   .)  # We are building in place.
2495     ac_srcdir=.
2496     ac_top_srcdir=$ac_top_builddir_sub
2497     ac_abs_top_srcdir=$ac_pwd ;;
2498   [\\/]* | ?:[\\/]* )  # Absolute name.
2499     ac_srcdir=$srcdir$ac_dir_suffix;
2500     ac_top_srcdir=$srcdir
2501     ac_abs_top_srcdir=$srcdir ;;
2502   *) # Relative name.
2503     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2504     ac_top_srcdir=$ac_top_build_prefix$srcdir
2505     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2506 esac
2507 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2508
2509     cd "$ac_dir" || { ac_status=$?; continue; }
2510     # Check for guested configure.
2511     if test -f "$ac_srcdir/configure.gnu"; then
2512       echo &&
2513       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2514     elif test -f "$ac_srcdir/configure"; then
2515       echo &&
2516       $SHELL "$ac_srcdir/configure" --help=recursive
2517     else
2518       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2519     fi || ac_status=$?
2520     cd "$ac_pwd" || { ac_status=$?; break; }
2521   done
2522 fi
2523
2524 test -n "$ac_init_help" && exit $ac_status
2525 if $ac_init_version; then
2526   cat <<\_ACEOF
2527 wxWidgets configure 2.9.5
2528 generated by GNU Autoconf 2.69
2529
2530 Copyright (C) 2012 Free Software Foundation, Inc.
2531 This configure script is free software; the Free Software Foundation
2532 gives unlimited permission to copy, distribute and modify it.
2533 _ACEOF
2534   exit
2535 fi
2536
2537 ## ------------------------ ##
2538 ## Autoconf initialization. ##
2539 ## ------------------------ ##
2540
2541 # ac_fn_c_try_compile LINENO
2542 # --------------------------
2543 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2544 ac_fn_c_try_compile ()
2545 {
2546   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2547   rm -f conftest.$ac_objext
2548   if { { ac_try="$ac_compile"
2549 case "(($ac_try" in
2550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2551   *) ac_try_echo=$ac_try;;
2552 esac
2553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2554 $as_echo "$ac_try_echo"; } >&5
2555   (eval "$ac_compile") 2>conftest.err
2556   ac_status=$?
2557   if test -s conftest.err; then
2558     grep -v '^ *+' conftest.err >conftest.er1
2559     cat conftest.er1 >&5
2560     mv -f conftest.er1 conftest.err
2561   fi
2562   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2563   test $ac_status = 0; } && {
2564          test -z "$ac_c_werror_flag" ||
2565          test ! -s conftest.err
2566        } && test -s conftest.$ac_objext; then :
2567   ac_retval=0
2568 else
2569   $as_echo "$as_me: failed program was:" >&5
2570 sed 's/^/| /' conftest.$ac_ext >&5
2571
2572         ac_retval=1
2573 fi
2574   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2575   as_fn_set_status $ac_retval
2576
2577 } # ac_fn_c_try_compile
2578
2579 # ac_fn_c_try_cpp LINENO
2580 # ----------------------
2581 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2582 ac_fn_c_try_cpp ()
2583 {
2584   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2585   if { { ac_try="$ac_cpp conftest.$ac_ext"
2586 case "(($ac_try" in
2587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2588   *) ac_try_echo=$ac_try;;
2589 esac
2590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2591 $as_echo "$ac_try_echo"; } >&5
2592   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2593   ac_status=$?
2594   if test -s conftest.err; then
2595     grep -v '^ *+' conftest.err >conftest.er1
2596     cat conftest.er1 >&5
2597     mv -f conftest.er1 conftest.err
2598   fi
2599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2600   test $ac_status = 0; } > conftest.i && {
2601          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2602          test ! -s conftest.err
2603        }; then :
2604   ac_retval=0
2605 else
2606   $as_echo "$as_me: failed program was:" >&5
2607 sed 's/^/| /' conftest.$ac_ext >&5
2608
2609     ac_retval=1
2610 fi
2611   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2612   as_fn_set_status $ac_retval
2613
2614 } # ac_fn_c_try_cpp
2615
2616 # ac_fn_cxx_try_compile LINENO
2617 # ----------------------------
2618 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2619 ac_fn_cxx_try_compile ()
2620 {
2621   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2622   rm -f conftest.$ac_objext
2623   if { { ac_try="$ac_compile"
2624 case "(($ac_try" in
2625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2626   *) ac_try_echo=$ac_try;;
2627 esac
2628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2629 $as_echo "$ac_try_echo"; } >&5
2630   (eval "$ac_compile") 2>conftest.err
2631   ac_status=$?
2632   if test -s conftest.err; then
2633     grep -v '^ *+' conftest.err >conftest.er1
2634     cat conftest.er1 >&5
2635     mv -f conftest.er1 conftest.err
2636   fi
2637   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2638   test $ac_status = 0; } && {
2639          test -z "$ac_cxx_werror_flag" ||
2640          test ! -s conftest.err
2641        } && test -s conftest.$ac_objext; then :
2642   ac_retval=0
2643 else
2644   $as_echo "$as_me: failed program was:" >&5
2645 sed 's/^/| /' conftest.$ac_ext >&5
2646
2647         ac_retval=1
2648 fi
2649   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2650   as_fn_set_status $ac_retval
2651
2652 } # ac_fn_cxx_try_compile
2653
2654 # ac_fn_c_try_link LINENO
2655 # -----------------------
2656 # Try to link conftest.$ac_ext, and return whether this succeeded.
2657 ac_fn_c_try_link ()
2658 {
2659   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2660   rm -f conftest.$ac_objext conftest$ac_exeext
2661   if { { ac_try="$ac_link"
2662 case "(($ac_try" in
2663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2664   *) ac_try_echo=$ac_try;;
2665 esac
2666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2667 $as_echo "$ac_try_echo"; } >&5
2668   (eval "$ac_link") 2>conftest.err
2669   ac_status=$?
2670   if test -s conftest.err; then
2671     grep -v '^ *+' conftest.err >conftest.er1
2672     cat conftest.er1 >&5
2673     mv -f conftest.er1 conftest.err
2674   fi
2675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2676   test $ac_status = 0; } && {
2677          test -z "$ac_c_werror_flag" ||
2678          test ! -s conftest.err
2679        } && test -s conftest$ac_exeext && {
2680          test "$cross_compiling" = yes ||
2681          test -x conftest$ac_exeext
2682        }; then :
2683   ac_retval=0
2684 else
2685   $as_echo "$as_me: failed program was:" >&5
2686 sed 's/^/| /' conftest.$ac_ext >&5
2687
2688         ac_retval=1
2689 fi
2690   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2691   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2692   # interfere with the next link command; also delete a directory that is
2693   # left behind by Apple's compiler.  We do this before executing the actions.
2694   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2695   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2696   as_fn_set_status $ac_retval
2697
2698 } # ac_fn_c_try_link
2699
2700 # ac_fn_cxx_try_link LINENO
2701 # -------------------------
2702 # Try to link conftest.$ac_ext, and return whether this succeeded.
2703 ac_fn_cxx_try_link ()
2704 {
2705   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2706   rm -f conftest.$ac_objext conftest$ac_exeext
2707   if { { ac_try="$ac_link"
2708 case "(($ac_try" in
2709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2710   *) ac_try_echo=$ac_try;;
2711 esac
2712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2713 $as_echo "$ac_try_echo"; } >&5
2714   (eval "$ac_link") 2>conftest.err
2715   ac_status=$?
2716   if test -s conftest.err; then
2717     grep -v '^ *+' conftest.err >conftest.er1
2718     cat conftest.er1 >&5
2719     mv -f conftest.er1 conftest.err
2720   fi
2721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2722   test $ac_status = 0; } && {
2723          test -z "$ac_cxx_werror_flag" ||
2724          test ! -s conftest.err
2725        } && test -s conftest$ac_exeext && {
2726          test "$cross_compiling" = yes ||
2727          test -x conftest$ac_exeext
2728        }; then :
2729   ac_retval=0
2730 else
2731   $as_echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2733
2734         ac_retval=1
2735 fi
2736   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2737   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2738   # interfere with the next link command; also delete a directory that is
2739   # left behind by Apple's compiler.  We do this before executing the actions.
2740   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2741   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2742   as_fn_set_status $ac_retval
2743
2744 } # ac_fn_cxx_try_link
2745
2746 # ac_fn_c_try_run LINENO
2747 # ----------------------
2748 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2749 # that executables *can* be run.
2750 ac_fn_c_try_run ()
2751 {
2752   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2753   if { { ac_try="$ac_link"
2754 case "(($ac_try" in
2755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756   *) ac_try_echo=$ac_try;;
2757 esac
2758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2759 $as_echo "$ac_try_echo"; } >&5
2760   (eval "$ac_link") 2>&5
2761   ac_status=$?
2762   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2763   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2764   { { case "(($ac_try" in
2765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2766   *) ac_try_echo=$ac_try;;
2767 esac
2768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2769 $as_echo "$ac_try_echo"; } >&5
2770   (eval "$ac_try") 2>&5
2771   ac_status=$?
2772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2773   test $ac_status = 0; }; }; then :
2774   ac_retval=0
2775 else
2776   $as_echo "$as_me: program exited with status $ac_status" >&5
2777        $as_echo "$as_me: failed program was:" >&5
2778 sed 's/^/| /' conftest.$ac_ext >&5
2779
2780        ac_retval=$ac_status
2781 fi
2782   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2783   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2784   as_fn_set_status $ac_retval
2785
2786 } # ac_fn_c_try_run
2787
2788 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2789 # -------------------------------------------------------
2790 # Tests whether HEADER exists and can be compiled using the include files in
2791 # INCLUDES, setting the cache variable VAR accordingly.
2792 ac_fn_c_check_header_compile ()
2793 {
2794   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2796 $as_echo_n "checking for $2... " >&6; }
2797 if eval \${$3+:} false; then :
2798   $as_echo_n "(cached) " >&6
2799 else
2800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2801 /* end confdefs.h.  */
2802 $4
2803 #include <$2>
2804 _ACEOF
2805 if ac_fn_c_try_compile "$LINENO"; then :
2806   eval "$3=yes"
2807 else
2808   eval "$3=no"
2809 fi
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2811 fi
2812 eval ac_res=\$$3
2813                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2814 $as_echo "$ac_res" >&6; }
2815   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2816
2817 } # ac_fn_c_check_header_compile
2818
2819 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2820 # ---------------------------------------------------------
2821 # Tests whether HEADER exists and can be compiled using the include files in
2822 # INCLUDES, setting the cache variable VAR accordingly.
2823 ac_fn_cxx_check_header_compile ()
2824 {
2825   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2827 $as_echo_n "checking for $2... " >&6; }
2828 if eval \${$3+:} false; then :
2829   $as_echo_n "(cached) " >&6
2830 else
2831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2832 /* end confdefs.h.  */
2833 $4
2834 #include <$2>
2835 _ACEOF
2836 if ac_fn_cxx_try_compile "$LINENO"; then :
2837   eval "$3=yes"
2838 else
2839   eval "$3=no"
2840 fi
2841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2842 fi
2843 eval ac_res=\$$3
2844                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2845 $as_echo "$ac_res" >&6; }
2846   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2847
2848 } # ac_fn_cxx_check_header_compile
2849
2850 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2851 # --------------------------------------------
2852 # Tries to find the compile-time value of EXPR in a program that includes
2853 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2854 # computed
2855 ac_fn_c_compute_int ()
2856 {
2857   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2858   if test "$cross_compiling" = yes; then
2859     # Depending upon the size, compute the lo and hi bounds.
2860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2861 /* end confdefs.h.  */
2862 $4
2863 int
2864 main ()
2865 {
2866 static int test_array [1 - 2 * !(($2) >= 0)];
2867 test_array [0] = 0;
2868 return test_array [0];
2869
2870   ;
2871   return 0;
2872 }
2873 _ACEOF
2874 if ac_fn_c_try_compile "$LINENO"; then :
2875   ac_lo=0 ac_mid=0
2876   while :; do
2877     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2878 /* end confdefs.h.  */
2879 $4
2880 int
2881 main ()
2882 {
2883 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2884 test_array [0] = 0;
2885 return test_array [0];
2886
2887   ;
2888   return 0;
2889 }
2890 _ACEOF
2891 if ac_fn_c_try_compile "$LINENO"; then :
2892   ac_hi=$ac_mid; break
2893 else
2894   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2895                         if test $ac_lo -le $ac_mid; then
2896                           ac_lo= ac_hi=
2897                           break
2898                         fi
2899                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2900 fi
2901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2902   done
2903 else
2904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2905 /* end confdefs.h.  */
2906 $4
2907 int
2908 main ()
2909 {
2910 static int test_array [1 - 2 * !(($2) < 0)];
2911 test_array [0] = 0;
2912 return test_array [0];
2913
2914   ;
2915   return 0;
2916 }
2917 _ACEOF
2918 if ac_fn_c_try_compile "$LINENO"; then :
2919   ac_hi=-1 ac_mid=-1
2920   while :; do
2921     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2922 /* end confdefs.h.  */
2923 $4
2924 int
2925 main ()
2926 {
2927 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2928 test_array [0] = 0;
2929 return test_array [0];
2930
2931   ;
2932   return 0;
2933 }
2934 _ACEOF
2935 if ac_fn_c_try_compile "$LINENO"; then :
2936   ac_lo=$ac_mid; break
2937 else
2938   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2939                         if test $ac_mid -le $ac_hi; then
2940                           ac_lo= ac_hi=
2941                           break
2942                         fi
2943                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2944 fi
2945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2946   done
2947 else
2948   ac_lo= ac_hi=
2949 fi
2950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2951 fi
2952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2953 # Binary search between lo and hi bounds.
2954 while test "x$ac_lo" != "x$ac_hi"; do
2955   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2957 /* end confdefs.h.  */
2958 $4
2959 int
2960 main ()
2961 {
2962 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2963 test_array [0] = 0;
2964 return test_array [0];
2965
2966   ;
2967   return 0;
2968 }
2969 _ACEOF
2970 if ac_fn_c_try_compile "$LINENO"; then :
2971   ac_hi=$ac_mid
2972 else
2973   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2974 fi
2975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2976 done
2977 case $ac_lo in #((
2978 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2979 '') ac_retval=1 ;;
2980 esac
2981   else
2982     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h.  */
2984 $4
2985 static long int longval () { return $2; }
2986 static unsigned long int ulongval () { return $2; }
2987 #include <stdio.h>
2988 #include <stdlib.h>
2989 int
2990 main ()
2991 {
2992
2993   FILE *f = fopen ("conftest.val", "w");
2994   if (! f)
2995     return 1;
2996   if (($2) < 0)
2997     {
2998       long int i = longval ();
2999       if (i != ($2))
3000         return 1;
3001       fprintf (f, "%ld", i);
3002     }
3003   else
3004     {
3005       unsigned long int i = ulongval ();
3006       if (i != ($2))
3007         return 1;
3008       fprintf (f, "%lu", i);
3009     }
3010   /* Do not output a trailing newline, as this causes \r\n confusion
3011      on some platforms.  */
3012   return ferror (f) || fclose (f) != 0;
3013
3014   ;
3015   return 0;
3016 }
3017 _ACEOF
3018 if ac_fn_c_try_run "$LINENO"; then :
3019   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3020 else
3021   ac_retval=1
3022 fi
3023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3024   conftest.$ac_objext conftest.beam conftest.$ac_ext
3025 rm -f conftest.val
3026
3027   fi
3028   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3029   as_fn_set_status $ac_retval
3030
3031 } # ac_fn_c_compute_int
3032
3033 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3034 # ---------------------------------------------
3035 # Tests whether TYPE exists after having included INCLUDES, setting cache
3036 # variable VAR accordingly.
3037 ac_fn_cxx_check_type ()
3038 {
3039   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3041 $as_echo_n "checking for $2... " >&6; }
3042 if eval \${$3+:} false; then :
3043   $as_echo_n "(cached) " >&6
3044 else
3045   eval "$3=no"
3046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3047 /* end confdefs.h.  */
3048 $4
3049 int
3050 main ()
3051 {
3052 if (sizeof ($2))
3053          return 0;
3054   ;
3055   return 0;
3056 }
3057 _ACEOF
3058 if ac_fn_cxx_try_compile "$LINENO"; then :
3059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3060 /* end confdefs.h.  */
3061 $4
3062 int
3063 main ()
3064 {
3065 if (sizeof (($2)))
3066             return 0;
3067   ;
3068   return 0;
3069 }
3070 _ACEOF
3071 if ac_fn_cxx_try_compile "$LINENO"; then :
3072
3073 else
3074   eval "$3=yes"
3075 fi
3076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3077 fi
3078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3079 fi
3080 eval ac_res=\$$3
3081                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3082 $as_echo "$ac_res" >&6; }
3083   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3084
3085 } # ac_fn_cxx_check_type
3086
3087 # ac_fn_cxx_try_cpp LINENO
3088 # ------------------------
3089 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3090 ac_fn_cxx_try_cpp ()
3091 {
3092   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3093   if { { ac_try="$ac_cpp conftest.$ac_ext"
3094 case "(($ac_try" in
3095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3096   *) ac_try_echo=$ac_try;;
3097 esac
3098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3099 $as_echo "$ac_try_echo"; } >&5
3100   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3101   ac_status=$?
3102   if test -s conftest.err; then
3103     grep -v '^ *+' conftest.err >conftest.er1
3104     cat conftest.er1 >&5
3105     mv -f conftest.er1 conftest.err
3106   fi
3107   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3108   test $ac_status = 0; } > conftest.i && {
3109          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3110          test ! -s conftest.err
3111        }; then :
3112   ac_retval=0
3113 else
3114   $as_echo "$as_me: failed program was:" >&5
3115 sed 's/^/| /' conftest.$ac_ext >&5
3116
3117     ac_retval=1
3118 fi
3119   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3120   as_fn_set_status $ac_retval
3121
3122 } # ac_fn_cxx_try_cpp
3123
3124 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3125 # ---------------------------------------------------------
3126 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3127 # the include files in INCLUDES and setting the cache variable VAR
3128 # accordingly.
3129 ac_fn_cxx_check_header_mongrel ()
3130 {
3131   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3132   if eval \${$3+:} false; then :
3133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3134 $as_echo_n "checking for $2... " >&6; }
3135 if eval \${$3+:} false; then :
3136   $as_echo_n "(cached) " >&6
3137 fi
3138 eval ac_res=\$$3
3139                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3140 $as_echo "$ac_res" >&6; }
3141 else
3142   # Is the header compilable?
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3144 $as_echo_n "checking $2 usability... " >&6; }
3145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3146 /* end confdefs.h.  */
3147 $4
3148 #include <$2>
3149 _ACEOF
3150 if ac_fn_cxx_try_compile "$LINENO"; then :
3151   ac_header_compiler=yes
3152 else
3153   ac_header_compiler=no
3154 fi
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3157 $as_echo "$ac_header_compiler" >&6; }
3158
3159 # Is the header present?
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3161 $as_echo_n "checking $2 presence... " >&6; }
3162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3163 /* end confdefs.h.  */
3164 #include <$2>
3165 _ACEOF
3166 if ac_fn_cxx_try_cpp "$LINENO"; then :
3167   ac_header_preproc=yes
3168 else
3169   ac_header_preproc=no
3170 fi
3171 rm -f conftest.err conftest.i conftest.$ac_ext
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3173 $as_echo "$ac_header_preproc" >&6; }
3174
3175 # So?  What about this header?
3176 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3177   yes:no: )
3178     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3179 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3180     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3181 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3182     ;;
3183   no:yes:* )
3184     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3185 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3186     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
3187 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
3188     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3189 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3190     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
3191 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
3192     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3193 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3194 ( $as_echo "## ----------------------------------------- ##
3195 ## Report this to wx-dev@lists.wxwidgets.org ##
3196 ## ----------------------------------------- ##"
3197      ) | sed "s/^/$as_me: WARNING:     /" >&2
3198     ;;
3199 esac
3200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3201 $as_echo_n "checking for $2... " >&6; }
3202 if eval \${$3+:} false; then :
3203   $as_echo_n "(cached) " >&6
3204 else
3205   eval "$3=\$ac_header_compiler"
3206 fi
3207 eval ac_res=\$$3
3208                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3209 $as_echo "$ac_res" >&6; }
3210 fi
3211   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3212
3213 } # ac_fn_cxx_check_header_mongrel
3214
3215 # ac_fn_c_check_func LINENO FUNC VAR
3216 # ----------------------------------
3217 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3218 ac_fn_c_check_func ()
3219 {
3220   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3222 $as_echo_n "checking for $2... " >&6; }
3223 if eval \${$3+:} false; then :
3224   $as_echo_n "(cached) " >&6
3225 else
3226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3227 /* end confdefs.h.  */
3228 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3229    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3230 #define $2 innocuous_$2
3231
3232 /* System header to define __stub macros and hopefully few prototypes,
3233     which can conflict with char $2 (); below.
3234     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3235     <limits.h> exists even on freestanding compilers.  */
3236
3237 #ifdef __STDC__
3238 # include <limits.h>
3239 #else
3240 # include <assert.h>
3241 #endif
3242
3243 #undef $2
3244
3245 /* Override any GCC internal prototype to avoid an error.
3246    Use char because int might match the return type of a GCC
3247    builtin and then its argument prototype would still apply.  */
3248 #ifdef __cplusplus
3249 extern "C"
3250 #endif
3251 char $2 ();
3252 /* The GNU C library defines this for functions which it implements
3253     to always fail with ENOSYS.  Some functions are actually named
3254     something starting with __ and the normal name is an alias.  */
3255 #if defined __stub_$2 || defined __stub___$2
3256 choke me
3257 #endif
3258
3259 int
3260 main ()
3261 {
3262 return $2 ();
3263   ;
3264   return 0;
3265 }
3266 _ACEOF
3267 if ac_fn_c_try_link "$LINENO"; then :
3268   eval "$3=yes"
3269 else
3270   eval "$3=no"
3271 fi
3272 rm -f core conftest.err conftest.$ac_objext \
3273     conftest$ac_exeext conftest.$ac_ext
3274 fi
3275 eval ac_res=\$$3
3276                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3277 $as_echo "$ac_res" >&6; }
3278   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3279
3280 } # ac_fn_c_check_func
3281
3282 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3283 # -------------------------------------------
3284 # Tests whether TYPE exists after having included INCLUDES, setting cache
3285 # variable VAR accordingly.
3286 ac_fn_c_check_type ()
3287 {
3288   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3290 $as_echo_n "checking for $2... " >&6; }
3291 if eval \${$3+:} false; then :
3292   $as_echo_n "(cached) " >&6
3293 else
3294   eval "$3=no"
3295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h.  */
3297 $4
3298 int
3299 main ()
3300 {
3301 if (sizeof ($2))
3302          return 0;
3303   ;
3304   return 0;
3305 }
3306 _ACEOF
3307 if ac_fn_c_try_compile "$LINENO"; then :
3308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3309 /* end confdefs.h.  */
3310 $4
3311 int
3312 main ()
3313 {
3314 if (sizeof (($2)))
3315             return 0;
3316   ;
3317   return 0;
3318 }
3319 _ACEOF
3320 if ac_fn_c_try_compile "$LINENO"; then :
3321
3322 else
3323   eval "$3=yes"
3324 fi
3325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3326 fi
3327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3328 fi
3329 eval ac_res=\$$3
3330                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3331 $as_echo "$ac_res" >&6; }
3332   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3333
3334 } # ac_fn_c_check_type
3335
3336 # ac_fn_cxx_try_run LINENO
3337 # ------------------------
3338 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3339 # that executables *can* be run.
3340 ac_fn_cxx_try_run ()
3341 {
3342   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3343   if { { ac_try="$ac_link"
3344 case "(($ac_try" in
3345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346   *) ac_try_echo=$ac_try;;
3347 esac
3348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3349 $as_echo "$ac_try_echo"; } >&5
3350   (eval "$ac_link") 2>&5
3351   ac_status=$?
3352   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3353   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3354   { { case "(($ac_try" in
3355   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3356   *) ac_try_echo=$ac_try;;
3357 esac
3358 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3359 $as_echo "$ac_try_echo"; } >&5
3360   (eval "$ac_try") 2>&5
3361   ac_status=$?
3362   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3363   test $ac_status = 0; }; }; then :
3364   ac_retval=0
3365 else
3366   $as_echo "$as_me: program exited with status $ac_status" >&5
3367        $as_echo "$as_me: failed program was:" >&5
3368 sed 's/^/| /' conftest.$ac_ext >&5
3369
3370        ac_retval=$ac_status
3371 fi
3372   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3373   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3374   as_fn_set_status $ac_retval
3375
3376 } # ac_fn_cxx_try_run
3377 cat >config.log <<_ACEOF
3378 This file contains any messages produced by compilers while
3379 running configure, to aid debugging if configure makes a mistake.
3380
3381 It was created by wxWidgets $as_me 2.9.5, which was
3382 generated by GNU Autoconf 2.69.  Invocation command line was
3383
3384   $ $0 $@
3385
3386 _ACEOF
3387 exec 5>>config.log
3388 {
3389 cat <<_ASUNAME
3390 ## --------- ##
3391 ## Platform. ##
3392 ## --------- ##
3393
3394 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3395 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3396 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3397 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3398 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3399
3400 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3401 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
3402
3403 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
3404 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
3405 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3406 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
3407 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
3408 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
3409 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
3410
3411 _ASUNAME
3412
3413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3414 for as_dir in $PATH
3415 do
3416   IFS=$as_save_IFS
3417   test -z "$as_dir" && as_dir=.
3418     $as_echo "PATH: $as_dir"
3419   done
3420 IFS=$as_save_IFS
3421
3422 } >&5
3423
3424 cat >&5 <<_ACEOF
3425
3426
3427 ## ----------- ##
3428 ## Core tests. ##
3429 ## ----------- ##
3430
3431 _ACEOF
3432
3433
3434 # Keep a trace of the command line.
3435 # Strip out --no-create and --no-recursion so they do not pile up.
3436 # Strip out --silent because we don't want to record it for future runs.
3437 # Also quote any args containing shell meta-characters.
3438 # Make two passes to allow for proper duplicate-argument suppression.
3439 ac_configure_args=
3440 ac_configure_args0=
3441 ac_configure_args1=
3442 ac_must_keep_next=false
3443 for ac_pass in 1 2
3444 do
3445   for ac_arg
3446   do
3447     case $ac_arg in
3448     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3449     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3450     | -silent | --silent | --silen | --sile | --sil)
3451       continue ;;
3452     *\'*)
3453       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3454     esac
3455     case $ac_pass in
3456     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3457     2)
3458       as_fn_append ac_configure_args1 " '$ac_arg'"
3459       if test $ac_must_keep_next = true; then
3460         ac_must_keep_next=false # Got value, back to normal.
3461       else
3462         case $ac_arg in
3463           *=* | --config-cache | -C | -disable-* | --disable-* \
3464           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3465           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3466           | -with-* | --with-* | -without-* | --without-* | --x)
3467             case "$ac_configure_args0 " in
3468               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3469             esac
3470             ;;
3471           -* ) ac_must_keep_next=true ;;
3472         esac
3473       fi
3474       as_fn_append ac_configure_args " '$ac_arg'"
3475       ;;
3476     esac
3477   done
3478 done
3479 { ac_configure_args0=; unset ac_configure_args0;}
3480 { ac_configure_args1=; unset ac_configure_args1;}
3481
3482 # When interrupted or exit'd, cleanup temporary files, and complete
3483 # config.log.  We remove comments because anyway the quotes in there
3484 # would cause problems or look ugly.
3485 # WARNING: Use '\'' to represent an apostrophe within the trap.
3486 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3487 trap 'exit_status=$?
3488   # Save into config.log some information that might help in debugging.
3489   {
3490     echo
3491
3492     $as_echo "## ---------------- ##
3493 ## Cache variables. ##
3494 ## ---------------- ##"
3495     echo
3496     # The following way of writing the cache mishandles newlines in values,
3497 (
3498   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3499     eval ac_val=\$$ac_var
3500     case $ac_val in #(
3501     *${as_nl}*)
3502       case $ac_var in #(
3503       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3504 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3505       esac
3506       case $ac_var in #(
3507       _ | IFS | as_nl) ;; #(
3508       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3509       *) { eval $ac_var=; unset $ac_var;} ;;
3510       esac ;;
3511     esac
3512   done
3513   (set) 2>&1 |
3514     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3515     *${as_nl}ac_space=\ *)
3516       sed -n \
3517         "s/'\''/'\''\\\\'\'''\''/g;
3518           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3519       ;; #(
3520     *)
3521       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3522       ;;
3523     esac |
3524     sort
3525 )
3526     echo
3527
3528     $as_echo "## ----------------- ##
3529 ## Output variables. ##
3530 ## ----------------- ##"
3531     echo
3532     for ac_var in $ac_subst_vars
3533     do
3534       eval ac_val=\$$ac_var
3535       case $ac_val in
3536       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3537       esac
3538       $as_echo "$ac_var='\''$ac_val'\''"
3539     done | sort
3540     echo
3541
3542     if test -n "$ac_subst_files"; then
3543       $as_echo "## ------------------- ##
3544 ## File substitutions. ##
3545 ## ------------------- ##"
3546       echo
3547       for ac_var in $ac_subst_files
3548       do
3549         eval ac_val=\$$ac_var
3550         case $ac_val in
3551         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3552         esac
3553         $as_echo "$ac_var='\''$ac_val'\''"
3554       done | sort
3555       echo
3556     fi
3557
3558     if test -s confdefs.h; then
3559       $as_echo "## ----------- ##
3560 ## confdefs.h. ##
3561 ## ----------- ##"
3562       echo
3563       cat confdefs.h
3564       echo
3565     fi
3566     test "$ac_signal" != 0 &&
3567       $as_echo "$as_me: caught signal $ac_signal"
3568     $as_echo "$as_me: exit $exit_status"
3569   } >&5
3570   rm -f core *.core core.conftest.* &&
3571     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3572     exit $exit_status
3573 ' 0
3574 for ac_signal in 1 2 13 15; do
3575   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3576 done
3577 ac_signal=0
3578
3579 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3580 rm -f -r conftest* confdefs.h
3581
3582 $as_echo "/* confdefs.h */" > confdefs.h
3583
3584 # Predefined preprocessor variables.
3585
3586 cat >>confdefs.h <<_ACEOF
3587 #define PACKAGE_NAME "$PACKAGE_NAME"
3588 _ACEOF
3589
3590 cat >>confdefs.h <<_ACEOF
3591 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3592 _ACEOF
3593
3594 cat >>confdefs.h <<_ACEOF
3595 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3596 _ACEOF
3597
3598 cat >>confdefs.h <<_ACEOF
3599 #define PACKAGE_STRING "$PACKAGE_STRING"
3600 _ACEOF
3601
3602 cat >>confdefs.h <<_ACEOF
3603 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3604 _ACEOF
3605
3606 cat >>confdefs.h <<_ACEOF
3607 #define PACKAGE_URL "$PACKAGE_URL"
3608 _ACEOF
3609
3610
3611 # Let the site file select an alternate cache file if it wants to.
3612 # Prefer an explicitly selected file to automatically selected ones.
3613 ac_site_file1=NONE
3614 ac_site_file2=NONE
3615 if test -n "$CONFIG_SITE"; then
3616   # We do not want a PATH search for config.site.
3617   case $CONFIG_SITE in #((
3618     -*)  ac_site_file1=./$CONFIG_SITE;;
3619     */*) ac_site_file1=$CONFIG_SITE;;
3620     *)   ac_site_file1=./$CONFIG_SITE;;
3621   esac
3622 elif test "x$prefix" != xNONE; then
3623   ac_site_file1=$prefix/share/config.site
3624   ac_site_file2=$prefix/etc/config.site
3625 else
3626   ac_site_file1=$ac_default_prefix/share/config.site
3627   ac_site_file2=$ac_default_prefix/etc/config.site
3628 fi
3629 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3630 do
3631   test "x$ac_site_file" = xNONE && continue
3632   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3633     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3634 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3635     sed 's/^/| /' "$ac_site_file" >&5
3636     . "$ac_site_file" \
3637       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3639 as_fn_error $? "failed to load site script $ac_site_file
3640 See \`config.log' for more details" "$LINENO" 5; }
3641   fi
3642 done
3643
3644 if test -r "$cache_file"; then
3645   # Some versions of bash will fail to source /dev/null (special files
3646   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3647   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3648     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3649 $as_echo "$as_me: loading cache $cache_file" >&6;}
3650     case $cache_file in
3651       [\\/]* | ?:[\\/]* ) . "$cache_file";;
3652       *)                      . "./$cache_file";;
3653     esac
3654   fi
3655 else
3656   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3657 $as_echo "$as_me: creating cache $cache_file" >&6;}
3658   >$cache_file
3659 fi
3660
3661 # Check that the precious variables saved in the cache have kept the same
3662 # value.
3663 ac_cache_corrupted=false
3664 for ac_var in $ac_precious_vars; do
3665   eval ac_old_set=\$ac_cv_env_${ac_var}_set
3666   eval ac_new_set=\$ac_env_${ac_var}_set
3667   eval ac_old_val=\$ac_cv_env_${ac_var}_value
3668   eval ac_new_val=\$ac_env_${ac_var}_value
3669   case $ac_old_set,$ac_new_set in
3670     set,)
3671       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3672 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3673       ac_cache_corrupted=: ;;
3674     ,set)
3675       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3676 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3677       ac_cache_corrupted=: ;;
3678     ,);;
3679     *)
3680       if test "x$ac_old_val" != "x$ac_new_val"; then
3681         # differences in whitespace do not lead to failure.
3682         ac_old_val_w=`echo x $ac_old_val`
3683         ac_new_val_w=`echo x $ac_new_val`
3684         if test "$ac_old_val_w" != "$ac_new_val_w"; then
3685           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3686 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3687           ac_cache_corrupted=:
3688         else
3689           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3690 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3691           eval $ac_var=\$ac_old_val
3692         fi
3693         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3694 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3695         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3696 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3697       fi;;
3698   esac
3699   # Pass precious variables to config.status.
3700   if test "$ac_new_set" = set; then
3701     case $ac_new_val in
3702     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3703     *) ac_arg=$ac_var=$ac_new_val ;;
3704     esac
3705     case " $ac_configure_args " in
3706       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3707       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3708     esac
3709   fi
3710 done
3711 if $ac_cache_corrupted; then
3712   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3714   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3715 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3716   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3717 fi
3718 ## -------------------- ##
3719 ## Main body of script. ##
3720 ## -------------------- ##
3721
3722 ac_ext=c
3723 ac_cpp='$CPP $CPPFLAGS'
3724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3727
3728
3729
3730
3731
3732 ac_aux_dir=
3733 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3734   if test -f "$ac_dir/install-sh"; then
3735     ac_aux_dir=$ac_dir
3736     ac_install_sh="$ac_aux_dir/install-sh -c"
3737     break
3738   elif test -f "$ac_dir/install.sh"; then
3739     ac_aux_dir=$ac_dir
3740     ac_install_sh="$ac_aux_dir/install.sh -c"
3741     break
3742   elif test -f "$ac_dir/shtool"; then
3743     ac_aux_dir=$ac_dir
3744     ac_install_sh="$ac_aux_dir/shtool install -c"
3745     break
3746   fi
3747 done
3748 if test -z "$ac_aux_dir"; then
3749   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3750 fi
3751
3752 # These three variables are undocumented and unsupported,
3753 # and are intended to be withdrawn in a future Autoconf release.
3754 # They can cause serious problems if a builder's source tree is in a directory
3755 # whose full name contains unusual characters.
3756 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3757 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3758 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3759
3760
3761 # Make sure we can run config.sub.
3762 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3763   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3764
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3766 $as_echo_n "checking build system type... " >&6; }
3767 if ${ac_cv_build+:} false; then :
3768   $as_echo_n "(cached) " >&6
3769 else
3770   ac_build_alias=$build_alias
3771 test "x$ac_build_alias" = x &&
3772   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3773 test "x$ac_build_alias" = x &&
3774   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3775 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3776   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3777
3778 fi
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3780 $as_echo "$ac_cv_build" >&6; }
3781 case $ac_cv_build in
3782 *-*-*) ;;
3783 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3784 esac
3785 build=$ac_cv_build
3786 ac_save_IFS=$IFS; IFS='-'
3787 set x $ac_cv_build
3788 shift
3789 build_cpu=$1
3790 build_vendor=$2
3791 shift; shift
3792 # Remember, the first character of IFS is used to create $*,
3793 # except with old shells:
3794 build_os=$*
3795 IFS=$ac_save_IFS
3796 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3797
3798
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3800 $as_echo_n "checking host system type... " >&6; }
3801 if ${ac_cv_host+:} false; then :
3802   $as_echo_n "(cached) " >&6
3803 else
3804   if test "x$host_alias" = x; then
3805   ac_cv_host=$ac_cv_build
3806 else
3807   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3808     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3809 fi
3810
3811 fi
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3813 $as_echo "$ac_cv_host" >&6; }
3814 case $ac_cv_host in
3815 *-*-*) ;;
3816 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3817 esac
3818 host=$ac_cv_host
3819 ac_save_IFS=$IFS; IFS='-'
3820 set x $ac_cv_host
3821 shift
3822 host_cpu=$1
3823 host_vendor=$2
3824 shift; shift
3825 # Remember, the first character of IFS is used to create $*,
3826 # except with old shells:
3827 host_os=$*
3828 IFS=$ac_save_IFS
3829 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3830
3831
3832
3833 if test "$cross_compiling" != "no"; then
3834     HOST_PREFIX="${host_alias}-"
3835     HOST_SUFFIX="-$host_alias"
3836 else
3837     HOST_PREFIX=
3838     HOST_SUFFIX=
3839 fi
3840
3841
3842 wx_major_version_number=2
3843 wx_minor_version_number=9
3844 wx_release_number=5
3845 wx_subrelease_number=0
3846
3847 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3848 WX_VERSION=$WX_RELEASE.$wx_release_number
3849 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3850
3851 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3852
3853
3854 wx_top_builddir="`pwd`"
3855
3856
3857
3858
3859 USE_UNIX=1
3860 USE_OS2=0
3861 USE_WIN32=0
3862 USE_DOS=0
3863 USE_BEOS=0
3864 USE_MAC=0
3865
3866 USE_AIX=
3867 USE_BSD=                            USE_DARWIN=                         USE_FREEBSD=
3868 USE_GNU=                            USE_HPUX=
3869 USE_LINUX=
3870 USE_NETBSD=
3871 USE_OPENBSD=
3872 USE_OSF=                            USE_SGI=
3873 USE_SOLARIS=                        USE_SUN=                            USE_SUNOS=                          USE_SVR4=                           USE_SYSV=                           USE_VMS=
3874 USE_ULTRIX=
3875 USE_UNIXWARE=
3876
3877 USE_ALPHA=
3878
3879 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3880
3881 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3882
3883 DEFAULT_wxUSE_OLD_COCOA=0
3884 DEFAULT_wxUSE_GTK=0
3885 DEFAULT_wxUSE_OSX_CARBON=0
3886 DEFAULT_wxUSE_OSX_COCOA=0
3887 DEFAULT_wxUSE_OSX_IPHONE=0
3888 DEFAULT_wxUSE_MICROWIN=0
3889 DEFAULT_wxUSE_MOTIF=0
3890 DEFAULT_wxUSE_MSW=0
3891 DEFAULT_wxUSE_PM=0
3892 DEFAULT_wxUSE_X11=0
3893 DEFAULT_wxUSE_DFB=0
3894
3895 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3896 DEFAULT_DEFAULT_wxUSE_GTK=0
3897 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3898 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3899 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3900 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3901 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3902 DEFAULT_DEFAULT_wxUSE_MSW=0
3903 DEFAULT_DEFAULT_wxUSE_PM=0
3904 DEFAULT_DEFAULT_wxUSE_X11=0
3905 DEFAULT_DEFAULT_wxUSE_DFB=0
3906
3907 PROGRAM_EXT=
3908 SAMPLES_RPATH_FLAG=
3909 DYLIB_RPATH_INSTALL=
3910 DYLIB_RPATH_POSTLINK=
3911
3912 DEFAULT_STD_FLAG=yes
3913
3914 case "${host}" in
3915   *-hp-hpux* )
3916     USE_HPUX=1
3917     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3918     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3919     $as_echo "#define __HPUX__ 1" >>confdefs.h
3920
3921
3922             CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3923   ;;
3924   *-*-linux* )
3925     USE_LINUX=1
3926     $as_echo "#define __LINUX__ 1" >>confdefs.h
3927
3928     TMP=`uname -m`
3929     if test "x$TMP" = "xalpha"; then
3930       USE_ALPHA=1
3931       $as_echo "#define __ALPHA__ 1" >>confdefs.h
3932
3933     fi
3934     DEFAULT_DEFAULT_wxUSE_GTK=1
3935   ;;
3936   *-*-gnu* | *-*-k*bsd*-gnu )
3937     USE_GNU=1
3938     TMP=`uname -m`
3939     if test "x$TMP" = "xalpha"; then
3940       USE_ALPHA=1
3941       $as_echo "#define __ALPHA__ 1" >>confdefs.h
3942
3943     fi
3944     DEFAULT_DEFAULT_wxUSE_GTK=1
3945   ;;
3946   *-*-irix5* | *-*-irix6* )
3947     USE_SGI=1
3948     USE_SVR4=1
3949     $as_echo "#define __SGI__ 1" >>confdefs.h
3950
3951     $as_echo "#define __SVR4__ 1" >>confdefs.h
3952
3953     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3954   ;;
3955   *-*-qnx*)
3956     USE_QNX=1
3957     $as_echo "#define __QNX__ 1" >>confdefs.h
3958
3959     DEFAULT_DEFAULT_wxUSE_X11=1
3960   ;;
3961   *-*-solaris2* )
3962     USE_SUN=1
3963     USE_SOLARIS=1
3964     USE_SVR4=1
3965     $as_echo "#define __SUN__ 1" >>confdefs.h
3966
3967     $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3968
3969     $as_echo "#define __SVR4__ 1" >>confdefs.h
3970
3971     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3972     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3973   ;;
3974   *-*-sunos4* )
3975     USE_SUN=1
3976     USE_SUNOS=1
3977     USE_BSD=1
3978     $as_echo "#define __SUN__ 1" >>confdefs.h
3979
3980     $as_echo "#define __SUNOS__ 1" >>confdefs.h
3981
3982     $as_echo "#define __BSD__ 1" >>confdefs.h
3983
3984     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3985   ;;
3986   *-*-freebsd*)
3987     USE_BSD=1
3988     USE_FREEBSD=1
3989     $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3990
3991     $as_echo "#define __BSD__ 1" >>confdefs.h
3992
3993     DEFAULT_DEFAULT_wxUSE_GTK=1
3994   ;;
3995   *-*-openbsd*|*-*-mirbsd*)
3996     USE_BSD=1
3997     USE_OPENBSD=1
3998     $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3999
4000     $as_echo "#define __BSD__ 1" >>confdefs.h
4001
4002     DEFAULT_DEFAULT_wxUSE_GTK=1
4003   ;;
4004   *-*-netbsd*)
4005     USE_BSD=1
4006     USE_NETBSD=1
4007     $as_echo "#define __NETBSD__ 1" >>confdefs.h
4008
4009     $as_echo "#define __BSD__ 1" >>confdefs.h
4010
4011     DEFAULT_DEFAULT_wxUSE_GTK=1
4012     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
4013
4014             CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
4015   ;;
4016   *-*-osf* )
4017     USE_ALPHA=1
4018     USE_OSF=1
4019     $as_echo "#define __ALPHA__ 1" >>confdefs.h
4020
4021     $as_echo "#define __OSF__ 1" >>confdefs.h
4022
4023     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4024     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
4025   ;;
4026   *-*-dgux5* )
4027     USE_ALPHA=1
4028     USE_SVR4=1
4029     $as_echo "#define __ALPHA__ 1" >>confdefs.h
4030
4031     $as_echo "#define __SVR4__ 1" >>confdefs.h
4032
4033     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4034   ;;
4035   *-*-sysv5* )
4036     USE_SYSV=1
4037     USE_SVR4=1
4038     $as_echo "#define __SYSV__ 1" >>confdefs.h
4039
4040     $as_echo "#define __SVR4__ 1" >>confdefs.h
4041
4042     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4043   ;;
4044   *-*-aix* )
4045     USE_AIX=1
4046     USE_SYSV=1
4047     USE_SVR4=1
4048     $as_echo "#define __AIX__ 1" >>confdefs.h
4049
4050     $as_echo "#define __SYSV__ 1" >>confdefs.h
4051
4052     $as_echo "#define __SVR4__ 1" >>confdefs.h
4053
4054     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4055   ;;
4056
4057   *-*-*UnixWare*)
4058     USE_SYSV=1
4059     USE_SVR4=1
4060     USE_UNIXWARE=1
4061     $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4062
4063   ;;
4064
4065   *-*-cygwin* | *-*-mingw32* )
4066                 PROGRAM_EXT=".exe"
4067     DEFAULT_DEFAULT_wxUSE_MSW=1
4068   ;;
4069
4070   *-pc-msdosdjgpp )
4071     USE_UNIX=0
4072     USE_DOS=1
4073     $as_echo "#define __DOS__ 1" >>confdefs.h
4074
4075     PROGRAM_EXT=".exe"
4076   ;;
4077
4078   *-pc-os2_emx | *-pc-os2-emx )
4079     $as_echo "#define __EMX__ 1" >>confdefs.h
4080
4081     USE_OS2=1
4082     $as_echo "#define __OS2__ 1" >>confdefs.h
4083
4084     PROGRAM_EXT=".exe"
4085     DEFAULT_DEFAULT_wxUSE_PM=1
4086         CXX=gcc
4087     LDFLAGS="$LDFLAGS -Zcrtdll"
4088                         ac_executable_extensions=".exe"
4089     export ac_executable_extensions
4090             ac_save_IFS="$IFS"
4091     IFS='\\'
4092     ac_TEMP_PATH=
4093     for ac_dir in $PATH; do
4094       IFS=$ac_save_IFS
4095       if test -z "$ac_TEMP_PATH"; then
4096         ac_TEMP_PATH="$ac_dir"
4097       else
4098         ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4099       fi
4100     done
4101     export PATH="$ac_TEMP_PATH"
4102     unset ac_TEMP_PATH
4103     DEFAULT_STD_FLAG=no
4104   ;;
4105
4106   arm-apple-darwin*)
4107         USE_BSD=1
4108     USE_DARWIN=1
4109     $as_echo "#define __BSD__ 1" >>confdefs.h
4110
4111     $as_echo "#define __DARWIN__ 1" >>confdefs.h
4112
4113     DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4114   ;;
4115
4116   *-*-darwin* )
4117         USE_BSD=1
4118     USE_DARWIN=1
4119     $as_echo "#define __BSD__ 1" >>confdefs.h
4120
4121     $as_echo "#define __DARWIN__ 1" >>confdefs.h
4122
4123     $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4124
4125     DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
4126   ;;
4127
4128   *-*-beos* )
4129         USE_BEOS=1
4130     $as_echo "#define __BEOS__ 1" >>confdefs.h
4131
4132   ;;
4133
4134   *)
4135     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4136 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4137     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4138 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4139
4140     DEFAULT_DEFAULT_wxUSE_X11=1
4141     DEFAULT_wxUSE_SHARED=no
4142 esac
4143
4144
4145
4146 DEFAULT_wxUSE_ALL_FEATURES=yes
4147
4148 DEFAULT_wxUSE_STD_CONTAINERS=no
4149 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4150 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4151
4152 DEFAULT_wxUSE_DMALLOC=no
4153 DEFAULT_wxUSE_LIBGNOMEVFS=no
4154 DEFAULT_wxUSE_LIBHILDON=no
4155 DEFAULT_wxUSE_LIBHILDON2=no
4156 DEFAULT_wxUSE_LIBMSPACK=no
4157 DEFAULT_wxUSE_LIBSDL=no
4158
4159 DEFAULT_wxUSE_ACCESSIBILITY=no
4160 DEFAULT_wxUSE_IPV6=no
4161 DEFAULT_wxUSE_GSTREAMER8=no
4162 DEFAULT_wxUSE_UNICODE_UTF8=no
4163 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4164
4165 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4166 DEFAULT_wxUSE_OPENGL=auto
4167 DEFAULT_wxUSE_MEDIACTRL=auto
4168 DEFAULT_wxUSE_COMPILER_TLS=auto
4169 DEFAULT_wxUSE_HOTKEY=auto
4170 DEFAULT_wxUSE_METAFILE=auto
4171
4172 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4173 DEFAULT_wxUSE_MAC_ARCH=no
4174
4175 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4176
4177 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4178
4179
4180
4181
4182
4183           enablestring=disable
4184           defaultval=
4185           if test -z "$defaultval"; then
4186               if test x"$enablestring" = xdisable; then
4187                   defaultval=yes
4188               else
4189                   defaultval=no
4190               fi
4191           fi
4192
4193           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4194 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4195           # Check whether --enable-gui was given.
4196 if test "${enable_gui+set}" = set; then :
4197   enableval=$enable_gui;
4198                           if test "$enableval" = yes; then
4199                             wx_cv_use_gui='wxUSE_GUI=yes'
4200                           else
4201                             wx_cv_use_gui='wxUSE_GUI=no'
4202                           fi
4203
4204 else
4205
4206                           wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4207
4208 fi
4209
4210
4211           eval "$wx_cv_use_gui"
4212
4213           if test x"$enablestring" = xdisable; then
4214             if test $wxUSE_GUI = no; then
4215               result=yes
4216             else
4217               result=no
4218             fi
4219           else
4220             result=$wxUSE_GUI
4221           fi
4222
4223           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4224 $as_echo "$result" >&6; }
4225
4226
4227           enablestring=
4228           defaultval=
4229           if test -z "$defaultval"; then
4230               if test x"$enablestring" = xdisable; then
4231                   defaultval=yes
4232               else
4233                   defaultval=no
4234               fi
4235           fi
4236
4237           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4238 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4239           # Check whether --enable-monolithic was given.
4240 if test "${enable_monolithic+set}" = set; then :
4241   enableval=$enable_monolithic;
4242                           if test "$enableval" = yes; then
4243                             wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4244                           else
4245                             wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4246                           fi
4247
4248 else
4249
4250                           wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4251
4252 fi
4253
4254
4255           eval "$wx_cv_use_monolithic"
4256
4257           if test x"$enablestring" = xdisable; then
4258             if test $wxUSE_MONOLITHIC = no; then
4259               result=yes
4260             else
4261               result=no
4262             fi
4263           else
4264             result=$wxUSE_MONOLITHIC
4265           fi
4266
4267           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4268 $as_echo "$result" >&6; }
4269
4270
4271           enablestring=
4272           defaultval=
4273           if test -z "$defaultval"; then
4274               if test x"$enablestring" = xdisable; then
4275                   defaultval=yes
4276               else
4277                   defaultval=no
4278               fi
4279           fi
4280
4281           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4282 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4283           # Check whether --enable-plugins was given.
4284 if test "${enable_plugins+set}" = set; then :
4285   enableval=$enable_plugins;
4286                           if test "$enableval" = yes; then
4287                             wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4288                           else
4289                             wx_cv_use_plugins='wxUSE_PLUGINS=no'
4290                           fi
4291
4292 else
4293
4294                           wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4295
4296 fi
4297
4298
4299           eval "$wx_cv_use_plugins"
4300
4301           if test x"$enablestring" = xdisable; then
4302             if test $wxUSE_PLUGINS = no; then
4303               result=yes
4304             else
4305               result=no
4306             fi
4307           else
4308             result=$wxUSE_PLUGINS
4309           fi
4310
4311           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4312 $as_echo "$result" >&6; }
4313
4314
4315           withstring=without
4316           defaultval=$wxUSE_ALL_FEATURES
4317           if test -z "$defaultval"; then
4318               if test x"$withstring" = xwithout; then
4319                   defaultval=yes
4320               else
4321                   defaultval=no
4322               fi
4323           fi
4324           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4325 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4326
4327 # Check whether --with-subdirs was given.
4328 if test "${with_subdirs+set}" = set; then :
4329   withval=$with_subdirs;
4330                         if test "$withval" = yes; then
4331                           wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4332                         else
4333                           wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4334                         fi
4335
4336 else
4337
4338                         wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4339
4340 fi
4341
4342
4343           eval "$wx_cv_use_subdirs"
4344
4345           if test x"$withstring" = xwithout; then
4346             if test $wxWITH_SUBDIRS = yes; then
4347               result=no
4348             else
4349               result=yes
4350             fi
4351           else
4352             result=$wxWITH_SUBDIRS
4353           fi
4354
4355           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4356 $as_echo "$result" >&6; }
4357
4358
4359 # Check whether --with-flavour was given.
4360 if test "${with_flavour+set}" = set; then :
4361   withval=$with_flavour; WX_FLAVOUR="$withval"
4362 fi
4363
4364
4365           enablestring=
4366           defaultval=
4367           if test -z "$defaultval"; then
4368               if test x"$enablestring" = xdisable; then
4369                   defaultval=yes
4370               else
4371                   defaultval=no
4372               fi
4373           fi
4374
4375           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4376 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4377           # Check whether --enable-official_build was given.
4378 if test "${enable_official_build+set}" = set; then :
4379   enableval=$enable_official_build;
4380                           if test "$enableval" = yes; then
4381                             wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4382                           else
4383                             wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4384                           fi
4385
4386 else
4387
4388                           wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4389
4390 fi
4391
4392
4393           eval "$wx_cv_use_official_build"
4394
4395           if test x"$enablestring" = xdisable; then
4396             if test $wxUSE_OFFICIAL_BUILD = no; then
4397               result=yes
4398             else
4399               result=no
4400             fi
4401           else
4402             result=$wxUSE_OFFICIAL_BUILD
4403           fi
4404
4405           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4406 $as_echo "$result" >&6; }
4407
4408 # Check whether --enable-vendor was given.
4409 if test "${enable_vendor+set}" = set; then :
4410   enableval=$enable_vendor; VENDOR="$enableval"
4411 fi
4412
4413 if test "x$VENDOR" = "x"; then
4414     VENDOR="custom"
4415 fi
4416
4417
4418           enablestring=disable
4419           defaultval=
4420           if test -z "$defaultval"; then
4421               if test x"$enablestring" = xdisable; then
4422                   defaultval=yes
4423               else
4424                   defaultval=no
4425               fi
4426           fi
4427
4428           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4429 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4430           # Check whether --enable-all-features was given.
4431 if test "${enable_all_features+set}" = set; then :
4432   enableval=$enable_all_features;
4433                           if test "$enableval" = yes; then
4434                             wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4435                           else
4436                             wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4437                           fi
4438
4439 else
4440
4441                           wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4442
4443 fi
4444
4445
4446           eval "$wx_cv_use_all_features"
4447
4448           if test x"$enablestring" = xdisable; then
4449             if test $wxUSE_ALL_FEATURES = no; then
4450               result=yes
4451             else
4452               result=no
4453             fi
4454           else
4455             result=$wxUSE_ALL_FEATURES
4456           fi
4457
4458           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4459 $as_echo "$result" >&6; }
4460
4461
4462 if test "$wxUSE_ALL_FEATURES" = "no"; then
4463                     DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4464     DEFAULT_wxUSE_MEDIACTRL=no
4465 fi
4466
4467
4468 if test "$wxUSE_GUI" = "yes"; then
4469
4470
4471           enablestring=
4472           defaultval=
4473           if test -z "$defaultval"; then
4474               if test x"$enablestring" = xdisable; then
4475                   defaultval=yes
4476               else
4477                   defaultval=no
4478               fi
4479           fi
4480
4481           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4482 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4483           # Check whether --enable-universal was given.
4484 if test "${enable_universal+set}" = set; then :
4485   enableval=$enable_universal;
4486                           if test "$enableval" = yes; then
4487                             wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4488                           else
4489                             wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4490                           fi
4491
4492 else
4493
4494                           wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4495
4496 fi
4497
4498
4499           eval "$wx_cv_use_universal"
4500
4501           if test x"$enablestring" = xdisable; then
4502             if test $wxUSE_UNIVERSAL = no; then
4503               result=yes
4504             else
4505               result=no
4506             fi
4507           else
4508             result=$wxUSE_UNIVERSAL
4509           fi
4510
4511           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4512 $as_echo "$result" >&6; }
4513
4514 if test "$wxUSE_UNIVERSAL" = "yes"; then
4515
4516 # Check whether --with-themes was given.
4517 if test "${with_themes+set}" = set; then :
4518   withval=$with_themes; wxUNIV_THEMES="$withval"
4519 fi
4520
4521 fi
4522
4523
4524 # Check whether --with-gtk was given.
4525 if test "${with_gtk+set}" = set; then :
4526   withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4527 fi
4528
4529
4530 # Check whether --with-motif was given.
4531 if test "${with_motif+set}" = set; then :
4532   withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4533 fi
4534
4535
4536 # Check whether --with-osx_carbon was given.
4537 if test "${with_osx_carbon+set}" = set; then :
4538   withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4539 fi
4540
4541
4542 # Check whether --with-osx_cocoa was given.
4543 if test "${with_osx_cocoa+set}" = set; then :
4544   withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4545 fi
4546
4547
4548 # Check whether --with-osx_iphone was given.
4549 if test "${with_osx_iphone+set}" = set; then :
4550   withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4551 fi
4552
4553
4554 # Check whether --with-osx was given.
4555 if test "${with_osx+set}" = set; then :
4556   withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4557 fi
4558
4559
4560 # Check whether --with-carbon was given.
4561 if test "${with_carbon+set}" = set; then :
4562   withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4563 fi
4564
4565
4566 # Check whether --with-cocoa was given.
4567 if test "${with_cocoa+set}" = set; then :
4568   withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4569 fi
4570
4571
4572 # Check whether --with-iphone was given.
4573 if test "${with_iphone+set}" = set; then :
4574   withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4575 fi
4576
4577
4578 # Check whether --with-mac was given.
4579 if test "${with_mac+set}" = set; then :
4580   withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4581 fi
4582
4583
4584 # Check whether --with-old_cocoa was given.
4585 if test "${with_old_cocoa+set}" = set; then :
4586   withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4587 fi
4588
4589
4590 # Check whether --with-wine was given.
4591 if test "${with_wine+set}" = set; then :
4592   withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4593 fi
4594
4595
4596 # Check whether --with-msw was given.
4597 if test "${with_msw+set}" = set; then :
4598   withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4599 fi
4600
4601
4602 # Check whether --with-pm was given.
4603 if test "${with_pm+set}" = set; then :
4604   withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4605 fi
4606
4607
4608 # Check whether --with-directfb was given.
4609 if test "${with_directfb+set}" = set; then :
4610   withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4611 fi
4612
4613
4614 # Check whether --with-microwin was given.
4615 if test "${with_microwin+set}" = set; then :
4616   withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4617 fi
4618
4619
4620 # Check whether --with-x11 was given.
4621 if test "${with_x11+set}" = set; then :
4622   withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4623 fi
4624
4625
4626           enablestring=
4627           defaultval=
4628           if test -z "$defaultval"; then
4629               if test x"$enablestring" = xdisable; then
4630                   defaultval=yes
4631               else
4632                   defaultval=no
4633               fi
4634           fi
4635
4636           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4637 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4638           # Check whether --enable-nanox was given.
4639 if test "${enable_nanox+set}" = set; then :
4640   enableval=$enable_nanox;
4641                           if test "$enableval" = yes; then
4642                             wx_cv_use_nanox='wxUSE_NANOX=yes'
4643                           else
4644                             wx_cv_use_nanox='wxUSE_NANOX=no'
4645                           fi
4646
4647 else
4648
4649                           wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4650
4651 fi
4652
4653
4654           eval "$wx_cv_use_nanox"
4655
4656           if test x"$enablestring" = xdisable; then
4657             if test $wxUSE_NANOX = no; then
4658               result=yes
4659             else
4660               result=no
4661             fi
4662           else
4663             result=$wxUSE_NANOX
4664           fi
4665
4666           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4667 $as_echo "$result" >&6; }
4668
4669
4670           enablestring=
4671           defaultval=
4672           if test -z "$defaultval"; then
4673               if test x"$enablestring" = xdisable; then
4674                   defaultval=yes
4675               else
4676                   defaultval=no
4677               fi
4678           fi
4679
4680           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4681 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4682           # Check whether --enable-gpe was given.
4683 if test "${enable_gpe+set}" = set; then :
4684   enableval=$enable_gpe;
4685                           if test "$enableval" = yes; then
4686                             wx_cv_use_gpe='wxUSE_GPE=yes'
4687                           else
4688                             wx_cv_use_gpe='wxUSE_GPE=no'
4689                           fi
4690
4691 else
4692
4693                           wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4694
4695 fi
4696
4697
4698           eval "$wx_cv_use_gpe"
4699
4700           if test x"$enablestring" = xdisable; then
4701             if test $wxUSE_GPE = no; then
4702               result=yes
4703             else
4704               result=no
4705             fi
4706           else
4707             result=$wxUSE_GPE
4708           fi
4709
4710           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4711 $as_echo "$result" >&6; }
4712
4713
4714
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4716 $as_echo_n "checking for toolkit... " >&6; }
4717
4718
4719
4720 # In Wine, we need to default to MSW, not GTK or MOTIF
4721 if test "$wxUSE_WINE" = "yes"; then
4722     DEFAULT_DEFAULT_wxUSE_GTK=0
4723     DEFAULT_DEFAULT_wxUSE_MOTIF=0
4724     DEFAULT_DEFAULT_wxUSE_MSW=1
4725     wxUSE_SHARED=no
4726     CC=${CC:-winegcc}
4727     CXX=${CXX:-wineg++}
4728 fi
4729
4730
4731 if test "$wxUSE_GUI" = "yes"; then
4732
4733     if test "$USE_BEOS" = 1; then
4734         as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4735     fi
4736
4737     if test "$TOOLKIT_GIVEN" = 1; then
4738             for toolkit in $ALL_TOOLKITS; do
4739         var=wxUSE_$toolkit
4740         eval "value=\$${var}"
4741         if test "x$value" = "xno"; then
4742           eval "$var=0"
4743         elif test "x$value" != "x"; then
4744           eval "$var=1"
4745         fi
4746
4747         if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4748           eval "wx${toolkit}_VERSION=$value"
4749         fi
4750       done
4751     else
4752             for toolkit in $ALL_TOOLKITS; do
4753         var=DEFAULT_DEFAULT_wxUSE_$toolkit
4754         eval "wxUSE_$toolkit=\$${var}"
4755       done
4756     fi
4757
4758             NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4759                   + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4760                   + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4761
4762         case "${host}" in
4763       *-pc-os2_emx | *-pc-os2-emx )
4764         NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4765     esac
4766
4767     case "$NUM_TOOLKITS" in
4768       1)
4769       ;;
4770       0)
4771         as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4772       ;;
4773       *)
4774         as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4775     esac
4776
4777     for toolkit in $ALL_TOOLKITS; do
4778         var=wxUSE_$toolkit
4779         eval "value=\$${var}"
4780         if test "$value" = 1; then
4781           toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4782           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4783 $as_echo "$toolkit_echo" >&6; }
4784         fi
4785     done
4786 else
4787     if test "x$host_alias" != "x"; then
4788         { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4789 $as_echo "base ($host_alias hosted) only" >&6; }
4790     else
4791         { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4792 $as_echo "base only" >&6; }
4793     fi
4794 fi
4795
4796 wxUSE_MAC=0
4797 if test "$wxUSE_OSX_CARBON" = 1 \
4798        -o "$wxUSE_OSX_COCOA" = 1 \
4799        -o "$wxUSE_OSX_IPHONE" = 1; then
4800     wxUSE_MAC=1
4801 fi
4802
4803
4804
4805           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4806 $as_echo_n "checking for --with-libpng... " >&6; }
4807
4808 # Check whether --with-libpng was given.
4809 if test "${with_libpng+set}" = set; then :
4810   withval=$with_libpng;
4811                         if test "$withval" = yes; then
4812                           wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4813                         elif test "$withval" = no; then
4814                           wx_cv_use_libpng='wxUSE_LIBPNG=no'
4815                         elif test "$withval" = sys; then
4816                           wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4817                         elif test "$withval" = builtin; then
4818                           wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4819                         else
4820                           as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4821                         fi
4822
4823 else
4824
4825                         wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4826
4827 fi
4828
4829
4830           eval "$wx_cv_use_libpng"
4831
4832           if test "$wxUSE_LIBPNG" = yes; then
4833             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4834 $as_echo "yes" >&6; }
4835           elif test "$wxUSE_LIBPNG" = no; then
4836             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4837 $as_echo "no" >&6; }
4838           elif test "$wxUSE_LIBPNG" = sys; then
4839             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4840 $as_echo "system version" >&6; }
4841           elif test "$wxUSE_LIBPNG" = builtin; then
4842             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4843 $as_echo "builtin version" >&6; }
4844           else
4845             as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4846           fi
4847
4848
4849           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4850 $as_echo_n "checking for --with-libjpeg... " >&6; }
4851
4852 # Check whether --with-libjpeg was given.
4853 if test "${with_libjpeg+set}" = set; then :
4854   withval=$with_libjpeg;
4855                         if test "$withval" = yes; then
4856                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4857                         elif test "$withval" = no; then
4858                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4859                         elif test "$withval" = sys; then
4860                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4861                         elif test "$withval" = builtin; then
4862                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4863                         else
4864                           as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4865                         fi
4866
4867 else
4868
4869                         wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4870
4871 fi
4872
4873
4874           eval "$wx_cv_use_libjpeg"
4875
4876           if test "$wxUSE_LIBJPEG" = yes; then
4877             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4878 $as_echo "yes" >&6; }
4879           elif test "$wxUSE_LIBJPEG" = no; then
4880             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4881 $as_echo "no" >&6; }
4882           elif test "$wxUSE_LIBJPEG" = sys; then
4883             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4884 $as_echo "system version" >&6; }
4885           elif test "$wxUSE_LIBJPEG" = builtin; then
4886             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4887 $as_echo "builtin version" >&6; }
4888           else
4889             as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4890           fi
4891
4892
4893           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4894 $as_echo_n "checking for --with-libtiff... " >&6; }
4895
4896 # Check whether --with-libtiff was given.
4897 if test "${with_libtiff+set}" = set; then :
4898   withval=$with_libtiff;
4899                         if test "$withval" = yes; then
4900                           wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4901                         elif test "$withval" = no; then
4902                           wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4903                         elif test "$withval" = sys; then
4904                           wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4905                         elif test "$withval" = builtin; then
4906                           wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4907                         else
4908                           as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4909                         fi
4910
4911 else
4912
4913                         wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4914
4915 fi
4916
4917
4918           eval "$wx_cv_use_libtiff"
4919
4920           if test "$wxUSE_LIBTIFF" = yes; then
4921             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4922 $as_echo "yes" >&6; }
4923           elif test "$wxUSE_LIBTIFF" = no; then
4924             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4925 $as_echo "no" >&6; }
4926           elif test "$wxUSE_LIBTIFF" = sys; then
4927             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4928 $as_echo "system version" >&6; }
4929           elif test "$wxUSE_LIBTIFF" = builtin; then
4930             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4931 $as_echo "builtin version" >&6; }
4932           else
4933             as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4934           fi
4935
4936
4937           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4938 $as_echo_n "checking for --with-libxpm... " >&6; }
4939
4940 # Check whether --with-libxpm was given.
4941 if test "${with_libxpm+set}" = set; then :
4942   withval=$with_libxpm;
4943                         if test "$withval" = yes; then
4944                           wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
4945                         elif test "$withval" = no; then
4946                           wx_cv_use_libxpm='wxUSE_LIBXPM=no'
4947                         elif test "$withval" = sys; then
4948                           wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
4949                         elif test "$withval" = builtin; then
4950                           wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
4951                         else
4952                           as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4953                         fi
4954
4955 else
4956
4957                         wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4958
4959 fi
4960
4961
4962           eval "$wx_cv_use_libxpm"
4963
4964           if test "$wxUSE_LIBXPM" = yes; then
4965             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4966 $as_echo "yes" >&6; }
4967           elif test "$wxUSE_LIBXPM" = no; then
4968             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4970           elif test "$wxUSE_LIBXPM" = sys; then
4971             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4972 $as_echo "system version" >&6; }
4973           elif test "$wxUSE_LIBXPM" = builtin; then
4974             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4975 $as_echo "builtin version" >&6; }
4976           else
4977             as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4978           fi
4979
4980
4981           withstring=
4982           defaultval=$wxUSE_ALL_FEATURES
4983           if test -z "$defaultval"; then
4984               if test x"$withstring" = xwithout; then
4985                   defaultval=yes
4986               else
4987                   defaultval=no
4988               fi
4989           fi
4990           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4991 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4992
4993 # Check whether --with-libiconv was given.
4994 if test "${with_libiconv+set}" = set; then :
4995   withval=$with_libiconv;
4996                         if test "$withval" = yes; then
4997                           wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
4998                         else
4999                           wx_cv_use_libiconv='wxUSE_LIBICONV=no'
5000                         fi
5001
5002 else
5003
5004                         wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
5005
5006 fi
5007
5008
5009           eval "$wx_cv_use_libiconv"
5010
5011           if test x"$withstring" = xwithout; then
5012             if test $wxUSE_LIBICONV = yes; then
5013               result=no
5014             else
5015               result=yes
5016             fi
5017           else
5018             result=$wxUSE_LIBICONV
5019           fi
5020
5021           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5022 $as_echo "$result" >&6; }
5023
5024
5025           withstring=
5026           defaultval=$wxUSE_ALL_FEATURES
5027           if test -z "$defaultval"; then
5028               if test x"$withstring" = xwithout; then
5029                   defaultval=yes
5030               else
5031                   defaultval=no
5032               fi
5033           fi
5034           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5035 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5036
5037 # Check whether --with-libmspack was given.
5038 if test "${with_libmspack+set}" = set; then :
5039   withval=$with_libmspack;
5040                         if test "$withval" = yes; then
5041                           wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5042                         else
5043                           wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5044                         fi
5045
5046 else
5047
5048                         wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5049
5050 fi
5051
5052
5053           eval "$wx_cv_use_libmspack"
5054
5055           if test x"$withstring" = xwithout; then
5056             if test $wxUSE_LIBMSPACK = yes; then
5057               result=no
5058             else
5059               result=yes
5060             fi
5061           else
5062             result=$wxUSE_LIBMSPACK
5063           fi
5064
5065           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5066 $as_echo "$result" >&6; }
5067
5068
5069           withstring=without
5070           defaultval=$wxUSE_ALL_FEATURES
5071           if test -z "$defaultval"; then
5072               if test x"$withstring" = xwithout; then
5073                   defaultval=yes
5074               else
5075                   defaultval=no
5076               fi
5077           fi
5078           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5079 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5080
5081 # Check whether --with-gtkprint was given.
5082 if test "${with_gtkprint+set}" = set; then :
5083   withval=$with_gtkprint;
5084                         if test "$withval" = yes; then
5085                           wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5086                         else
5087                           wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5088                         fi
5089
5090 else
5091
5092                         wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5093
5094 fi
5095
5096
5097           eval "$wx_cv_use_gtkprint"
5098
5099           if test x"$withstring" = xwithout; then
5100             if test $wxUSE_GTKPRINT = yes; then
5101               result=no
5102             else
5103               result=yes
5104             fi
5105           else
5106             result=$wxUSE_GTKPRINT
5107           fi
5108
5109           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5110 $as_echo "$result" >&6; }
5111
5112
5113           withstring=without
5114           defaultval=$wxUSE_ALL_FEATURES
5115           if test -z "$defaultval"; then
5116               if test x"$withstring" = xwithout; then
5117                   defaultval=yes
5118               else
5119                   defaultval=no
5120               fi
5121           fi
5122           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5123 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5124
5125 # Check whether --with-gnomeprint was given.
5126 if test "${with_gnomeprint+set}" = set; then :
5127   withval=$with_gnomeprint;
5128                         if test "$withval" = yes; then
5129                           wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
5130                         else
5131                           wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
5132                         fi
5133
5134 else
5135
5136                         wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5137
5138 fi
5139
5140
5141           eval "$wx_cv_use_gnomeprint"
5142
5143           if test x"$withstring" = xwithout; then
5144             if test $wxUSE_LIBGNOMEPRINT = yes; then
5145               result=no
5146             else
5147               result=yes
5148             fi
5149           else
5150             result=$wxUSE_LIBGNOMEPRINT
5151           fi
5152
5153           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5154 $as_echo "$result" >&6; }
5155
5156
5157           withstring=
5158           defaultval=$wxUSE_ALL_FEATURES
5159           if test -z "$defaultval"; then
5160               if test x"$withstring" = xwithout; then
5161                   defaultval=yes
5162               else
5163                   defaultval=no
5164               fi
5165           fi
5166           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5167 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5168
5169 # Check whether --with-gnomevfs was given.
5170 if test "${with_gnomevfs+set}" = set; then :
5171   withval=$with_gnomevfs;
5172                         if test "$withval" = yes; then
5173                           wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5174                         else
5175                           wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5176                         fi
5177
5178 else
5179
5180                         wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5181
5182 fi
5183
5184
5185           eval "$wx_cv_use_gnomevfs"
5186
5187           if test x"$withstring" = xwithout; then
5188             if test $wxUSE_LIBGNOMEVFS = yes; then
5189               result=no
5190             else
5191               result=yes
5192             fi
5193           else
5194             result=$wxUSE_LIBGNOMEVFS
5195           fi
5196
5197           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5198 $as_echo "$result" >&6; }
5199
5200
5201           withstring=
5202           defaultval=$wxUSE_ALL_FEATURES
5203           if test -z "$defaultval"; then
5204               if test x"$withstring" = xwithout; then
5205                   defaultval=yes
5206               else
5207                   defaultval=no
5208               fi
5209           fi
5210           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libnotify" >&5
5211 $as_echo_n "checking for --${withstring:-with}-libnotify... " >&6; }
5212
5213 # Check whether --with-libnotify was given.
5214 if test "${with_libnotify+set}" = set; then :
5215   withval=$with_libnotify;
5216                         if test "$withval" = yes; then
5217                           wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes'
5218                         else
5219                           wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no'
5220                         fi
5221
5222 else
5223
5224                         wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5225
5226 fi
5227
5228
5229           eval "$wx_cv_use_libnotify"
5230
5231           if test x"$withstring" = xwithout; then
5232             if test $wxUSE_LIBNOTIFY = yes; then
5233               result=no
5234             else
5235               result=yes
5236             fi
5237           else
5238             result=$wxUSE_LIBNOTIFY
5239           fi
5240
5241           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5242 $as_echo "$result" >&6; }
5243
5244
5245           withstring=
5246           defaultval=$wxUSE_ALL_FEATURES
5247           if test -z "$defaultval"; then
5248               if test x"$withstring" = xwithout; then
5249                   defaultval=yes
5250               else
5251                   defaultval=no
5252               fi
5253           fi
5254           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5255 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5256
5257 # Check whether --with-hildon was given.
5258 if test "${with_hildon+set}" = set; then :
5259   withval=$with_hildon;
5260                         if test "$withval" = yes; then
5261                           wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5262                         else
5263                           wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5264                         fi
5265
5266 else
5267
5268                         wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5269
5270 fi
5271
5272
5273           eval "$wx_cv_use_hildon"
5274
5275           if test x"$withstring" = xwithout; then
5276             if test $wxUSE_LIBHILDON = yes; then
5277               result=no
5278             else
5279               result=yes
5280             fi
5281           else
5282             result=$wxUSE_LIBHILDON
5283           fi
5284
5285           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5286 $as_echo "$result" >&6; }
5287
5288
5289           withstring=
5290           defaultval=$wxUSE_ALL_FEATURES
5291           if test -z "$defaultval"; then
5292               if test x"$withstring" = xwithout; then
5293                   defaultval=yes
5294               else
5295                   defaultval=no
5296               fi
5297           fi
5298           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5299 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5300
5301 # Check whether --with-opengl was given.
5302 if test "${with_opengl+set}" = set; then :
5303   withval=$with_opengl;
5304                         if test "$withval" = yes; then
5305                           wx_cv_use_opengl='wxUSE_OPENGL=yes'
5306                         else
5307                           wx_cv_use_opengl='wxUSE_OPENGL=no'
5308                         fi
5309
5310 else
5311
5312                         wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5313
5314 fi
5315
5316
5317           eval "$wx_cv_use_opengl"
5318
5319           if test x"$withstring" = xwithout; then
5320             if test $wxUSE_OPENGL = yes; then
5321               result=no
5322             else
5323               result=yes
5324             fi
5325           else
5326             result=$wxUSE_OPENGL
5327           fi
5328
5329           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5330 $as_echo "$result" >&6; }
5331
5332
5333 fi
5334
5335
5336           withstring=
5337           defaultval=$wxUSE_ALL_FEATURES
5338           if test -z "$defaultval"; then
5339               if test x"$withstring" = xwithout; then
5340                   defaultval=yes
5341               else
5342                   defaultval=no
5343               fi
5344           fi
5345           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5346 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5347
5348 # Check whether --with-dmalloc was given.
5349 if test "${with_dmalloc+set}" = set; then :
5350   withval=$with_dmalloc;
5351                         if test "$withval" = yes; then
5352                           wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5353                         else
5354                           wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5355                         fi
5356
5357 else
5358
5359                         wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5360
5361 fi
5362
5363
5364           eval "$wx_cv_use_dmalloc"
5365
5366           if test x"$withstring" = xwithout; then
5367             if test $wxUSE_DMALLOC = yes; then
5368               result=no
5369             else
5370               result=yes
5371             fi
5372           else
5373             result=$wxUSE_DMALLOC
5374           fi
5375
5376           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5377 $as_echo "$result" >&6; }
5378
5379
5380           withstring=
5381           defaultval=$wxUSE_ALL_FEATURES
5382           if test -z "$defaultval"; then
5383               if test x"$withstring" = xwithout; then
5384                   defaultval=yes
5385               else
5386                   defaultval=no
5387               fi
5388           fi
5389           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5390 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5391
5392 # Check whether --with-sdl was given.
5393 if test "${with_sdl+set}" = set; then :
5394   withval=$with_sdl;
5395                         if test "$withval" = yes; then
5396                           wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5397                         else
5398                           wx_cv_use_sdl='wxUSE_LIBSDL=no'
5399                         fi
5400
5401 else
5402
5403                         wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5404
5405 fi
5406
5407
5408           eval "$wx_cv_use_sdl"
5409
5410           if test x"$withstring" = xwithout; then
5411             if test $wxUSE_LIBSDL = yes; then
5412               result=no
5413             else
5414               result=yes
5415             fi
5416           else
5417             result=$wxUSE_LIBSDL
5418           fi
5419
5420           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5421 $as_echo "$result" >&6; }
5422
5423
5424           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5425 $as_echo_n "checking for --with-regex... " >&6; }
5426
5427 # Check whether --with-regex was given.
5428 if test "${with_regex+set}" = set; then :
5429   withval=$with_regex;
5430                         if test "$withval" = yes; then
5431                           wx_cv_use_regex='wxUSE_REGEX=yes'
5432                         elif test "$withval" = no; then
5433                           wx_cv_use_regex='wxUSE_REGEX=no'
5434                         elif test "$withval" = sys; then
5435                           wx_cv_use_regex='wxUSE_REGEX=sys'
5436                         elif test "$withval" = builtin; then
5437                           wx_cv_use_regex='wxUSE_REGEX=builtin'
5438                         else
5439                           as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5440                         fi
5441
5442 else
5443
5444                         wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5445
5446 fi
5447
5448
5449           eval "$wx_cv_use_regex"
5450
5451           if test "$wxUSE_REGEX" = yes; then
5452             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5453 $as_echo "yes" >&6; }
5454           elif test "$wxUSE_REGEX" = no; then
5455             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5456 $as_echo "no" >&6; }
5457           elif test "$wxUSE_REGEX" = sys; then
5458             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5459 $as_echo "system version" >&6; }
5460           elif test "$wxUSE_REGEX" = builtin; then
5461             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5462 $as_echo "builtin version" >&6; }
5463           else
5464             as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5465           fi
5466
5467
5468           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5469 $as_echo_n "checking for --with-zlib... " >&6; }
5470
5471 # Check whether --with-zlib was given.
5472 if test "${with_zlib+set}" = set; then :
5473   withval=$with_zlib;
5474                         if test "$withval" = yes; then
5475                           wx_cv_use_zlib='wxUSE_ZLIB=yes'
5476                         elif test "$withval" = no; then
5477                           wx_cv_use_zlib='wxUSE_ZLIB=no'
5478                         elif test "$withval" = sys; then
5479                           wx_cv_use_zlib='wxUSE_ZLIB=sys'
5480                         elif test "$withval" = builtin; then
5481                           wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5482                         else
5483                           as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5484                         fi
5485
5486 else
5487
5488                         wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5489
5490 fi
5491
5492
5493           eval "$wx_cv_use_zlib"
5494
5495           if test "$wxUSE_ZLIB" = yes; then
5496             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5497 $as_echo "yes" >&6; }
5498           elif test "$wxUSE_ZLIB" = no; then
5499             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5500 $as_echo "no" >&6; }
5501           elif test "$wxUSE_ZLIB" = sys; then
5502             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5503 $as_echo "system version" >&6; }
5504           elif test "$wxUSE_ZLIB" = builtin; then
5505             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5506 $as_echo "builtin version" >&6; }
5507           else
5508             as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5509           fi
5510
5511
5512           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5513 $as_echo_n "checking for --with-expat... " >&6; }
5514
5515 # Check whether --with-expat was given.
5516 if test "${with_expat+set}" = set; then :
5517   withval=$with_expat;
5518                         if test "$withval" = yes; then
5519                           wx_cv_use_expat='wxUSE_EXPAT=yes'
5520                         elif test "$withval" = no; then
5521                           wx_cv_use_expat='wxUSE_EXPAT=no'
5522                         elif test "$withval" = sys; then
5523                           wx_cv_use_expat='wxUSE_EXPAT=sys'
5524                         elif test "$withval" = builtin; then
5525                           wx_cv_use_expat='wxUSE_EXPAT=builtin'
5526                         else
5527                           as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5528                         fi
5529
5530 else
5531
5532                         wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5533
5534 fi
5535
5536
5537           eval "$wx_cv_use_expat"
5538
5539           if test "$wxUSE_EXPAT" = yes; then
5540             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5541 $as_echo "yes" >&6; }
5542           elif test "$wxUSE_EXPAT" = no; then
5543             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544 $as_echo "no" >&6; }
5545           elif test "$wxUSE_EXPAT" = sys; then
5546             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5547 $as_echo "system version" >&6; }
5548           elif test "$wxUSE_EXPAT" = builtin; then
5549             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5550 $as_echo "builtin version" >&6; }
5551           else
5552             as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5553           fi
5554
5555
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5557 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5558
5559 # Check whether --with-macosx-sdk was given.
5560 if test "${with_macosx_sdk+set}" = set; then :
5561   withval=$with_macosx_sdk;
5562         wxUSE_MACOSX_SDK=$withval
5563         wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5564
5565 fi
5566
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5568 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5569
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5571 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5572
5573 # Check whether --with-macosx-version-min was given.
5574 if test "${with_macosx_version_min+set}" = set; then :
5575   withval=$with_macosx_version_min;
5576         wxUSE_MACOSX_VERSION_MIN=$withval
5577         wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5578
5579 fi
5580
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5582 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5583
5584
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5586 $as_echo_n "checking for --enable-debug... " >&6; }
5587 # Check whether --enable-debug was given.
5588 if test "${enable_debug+set}" = set; then :
5589   enableval=$enable_debug;
5590         if test "$enableval" = yes; then
5591             wxUSE_DEBUG=yes
5592         elif test "$enableval" = no; then
5593             wxUSE_DEBUG=no
5594         elif test "$enableval" = max; then
5595             wxUSE_DEBUG=yes
5596             WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5597         else
5598             as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5599         fi
5600
5601 else
5602   wxUSE_DEBUG=default
5603
5604 fi
5605
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5607 $as_echo "${enable_debug-default}" >&6; }
5608
5609 case "$wxUSE_DEBUG" in
5610     yes)
5611                         DEFAULT_wxUSE_DEBUG_FLAG=yes
5612         DEFAULT_wxUSE_DEBUG_INFO=yes
5613
5614                         DEFAULT_wxUSE_OPTIMISE=no
5615         ;;
5616
5617     no)
5618                         DEFAULT_wxUSE_DEBUG_FLAG=no
5619         DEFAULT_wxUSE_DEBUG_INFO=no
5620         ;;
5621
5622     default)
5623                         DEFAULT_wxUSE_DEBUG_FLAG=yes
5624         DEFAULT_wxUSE_DEBUG_INFO=no
5625         ;;
5626 esac
5627
5628
5629           enablestring=disable
5630           defaultval=
5631           if test -z "$defaultval"; then
5632               if test x"$enablestring" = xdisable; then
5633                   defaultval=yes
5634               else
5635                   defaultval=no
5636               fi
5637           fi
5638
5639           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5640 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5641           # Check whether --enable-debug_flag was given.
5642 if test "${enable_debug_flag+set}" = set; then :
5643   enableval=$enable_debug_flag;
5644                           if test "$enableval" = yes; then
5645                             wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5646                           else
5647                             wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5648                           fi
5649
5650 else
5651
5652                           wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5653
5654 fi
5655
5656
5657           eval "$wx_cv_use_debug_flag"
5658
5659           if test x"$enablestring" = xdisable; then
5660             if test $wxUSE_DEBUG_FLAG = no; then
5661               result=yes
5662             else
5663               result=no
5664             fi
5665           else
5666             result=$wxUSE_DEBUG_FLAG
5667           fi
5668
5669           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5670 $as_echo "$result" >&6; }
5671
5672
5673           enablestring=
5674           defaultval=
5675           if test -z "$defaultval"; then
5676               if test x"$enablestring" = xdisable; then
5677                   defaultval=yes
5678               else
5679                   defaultval=no
5680               fi
5681           fi
5682
5683           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5684 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5685           # Check whether --enable-debug_info was given.
5686 if test "${enable_debug_info+set}" = set; then :
5687   enableval=$enable_debug_info;
5688                           if test "$enableval" = yes; then
5689                             wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5690                           else
5691                             wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5692                           fi
5693
5694 else
5695
5696                           wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5697
5698 fi
5699
5700
5701           eval "$wx_cv_use_debug_info"
5702
5703           if test x"$enablestring" = xdisable; then
5704             if test $wxUSE_DEBUG_INFO = no; then
5705               result=yes
5706             else
5707               result=no
5708             fi
5709           else
5710             result=$wxUSE_DEBUG_INFO
5711           fi
5712
5713           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5714 $as_echo "$result" >&6; }
5715
5716
5717
5718
5719           enablestring=
5720           defaultval=
5721           if test -z "$defaultval"; then
5722               if test x"$enablestring" = xdisable; then
5723                   defaultval=yes
5724               else
5725                   defaultval=no
5726               fi
5727           fi
5728
5729           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5730 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5731           # Check whether --enable-debug_gdb was given.
5732 if test "${enable_debug_gdb+set}" = set; then :
5733   enableval=$enable_debug_gdb;
5734                           if test "$enableval" = yes; then
5735                             wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5736                           else
5737                             wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5738                           fi
5739
5740 else
5741
5742                           wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5743
5744 fi
5745
5746
5747           eval "$wx_cv_use_debug_gdb"
5748
5749           if test x"$enablestring" = xdisable; then
5750             if test $wxUSE_DEBUG_GDB = no; then
5751               result=yes
5752             else
5753               result=no
5754             fi
5755           else
5756             result=$wxUSE_DEBUG_GDB
5757           fi
5758
5759           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5760 $as_echo "$result" >&6; }
5761
5762
5763           enablestring=
5764           defaultval=
5765           if test -z "$defaultval"; then
5766               if test x"$enablestring" = xdisable; then
5767                   defaultval=yes
5768               else
5769                   defaultval=no
5770               fi
5771           fi
5772
5773           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5774 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5775           # Check whether --enable-debug_cntxt was given.
5776 if test "${enable_debug_cntxt+set}" = set; then :
5777   enableval=$enable_debug_cntxt;
5778                           if test "$enableval" = yes; then
5779                             wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5780                           else
5781                             wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5782                           fi
5783
5784 else
5785
5786                           wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5787
5788 fi
5789
5790
5791           eval "$wx_cv_use_debug_cntxt"
5792
5793           if test x"$enablestring" = xdisable; then
5794             if test $wxUSE_DEBUG_CONTEXT = no; then
5795               result=yes
5796             else
5797               result=no
5798             fi
5799           else
5800             result=$wxUSE_DEBUG_CONTEXT
5801           fi
5802
5803           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5804 $as_echo "$result" >&6; }
5805
5806
5807           enablestring=
5808           defaultval=
5809           if test -z "$defaultval"; then
5810               if test x"$enablestring" = xdisable; then
5811                   defaultval=yes
5812               else
5813                   defaultval=no
5814               fi
5815           fi
5816
5817           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5818 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5819           # Check whether --enable-mem_tracing was given.
5820 if test "${enable_mem_tracing+set}" = set; then :
5821   enableval=$enable_mem_tracing;
5822                           if test "$enableval" = yes; then
5823                             wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5824                           else
5825                             wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5826                           fi
5827
5828 else
5829
5830                           wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5831
5832 fi
5833
5834
5835           eval "$wx_cv_use_mem_tracing"
5836
5837           if test x"$enablestring" = xdisable; then
5838             if test $wxUSE_MEM_TRACING = no; then
5839               result=yes
5840             else
5841               result=no
5842             fi
5843           else
5844             result=$wxUSE_MEM_TRACING
5845           fi
5846
5847           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5848 $as_echo "$result" >&6; }
5849
5850
5851
5852
5853           enablestring=disable
5854           defaultval=
5855           if test -z "$defaultval"; then
5856               if test x"$enablestring" = xdisable; then
5857                   defaultval=yes
5858               else
5859                   defaultval=no
5860               fi
5861           fi
5862
5863           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5864 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5865           # Check whether --enable-shared was given.
5866 if test "${enable_shared+set}" = set; then :
5867   enableval=$enable_shared;
5868                           if test "$enableval" = yes; then
5869                             wx_cv_use_shared='wxUSE_SHARED=yes'
5870                           else
5871                             wx_cv_use_shared='wxUSE_SHARED=no'
5872                           fi
5873
5874 else
5875
5876                           wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5877
5878 fi
5879
5880
5881           eval "$wx_cv_use_shared"
5882
5883           if test x"$enablestring" = xdisable; then
5884             if test $wxUSE_SHARED = no; then
5885               result=yes
5886             else
5887               result=no
5888             fi
5889           else
5890             result=$wxUSE_SHARED
5891           fi
5892
5893           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5894 $as_echo "$result" >&6; }
5895
5896
5897           enablestring=
5898           defaultval=
5899           if test -z "$defaultval"; then
5900               if test x"$enablestring" = xdisable; then
5901                   defaultval=yes
5902               else
5903                   defaultval=no
5904               fi
5905           fi
5906
5907           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5908 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5909           # Check whether --enable-stl was given.
5910 if test "${enable_stl+set}" = set; then :
5911   enableval=$enable_stl;
5912                           if test "$enableval" = yes; then
5913                             wx_cv_use_stl='wxUSE_STL=yes'
5914                           else
5915                             wx_cv_use_stl='wxUSE_STL=no'
5916                           fi
5917
5918 else
5919
5920                           wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5921
5922 fi
5923
5924
5925           eval "$wx_cv_use_stl"
5926
5927           if test x"$enablestring" = xdisable; then
5928             if test $wxUSE_STL = no; then
5929               result=yes
5930             else
5931               result=no
5932             fi
5933           else
5934             result=$wxUSE_STL
5935           fi
5936
5937           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5938 $as_echo "$result" >&6; }
5939
5940 if test "$wxUSE_STL" = "yes"; then
5941     DEFAULT_wxUSE_STD_CONTAINERS=yes
5942     DEFAULT_wxUSE_STD_IOSTREAM=yes
5943     DEFAULT_wxUSE_STD_STRING=yes
5944 fi
5945
5946           enablestring=
5947           defaultval=
5948           if test -z "$defaultval"; then
5949               if test x"$enablestring" = xdisable; then
5950                   defaultval=yes
5951               else
5952                   defaultval=no
5953               fi
5954           fi
5955
5956           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
5957 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
5958           # Check whether --enable-std_containers was given.
5959 if test "${enable_std_containers+set}" = set; then :
5960   enableval=$enable_std_containers;
5961                           if test "$enableval" = yes; then
5962                             wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5963                           else
5964                             wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5965                           fi
5966
5967 else
5968
5969                           wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5970
5971 fi
5972
5973
5974           eval "$wx_cv_use_std_containers"
5975
5976           if test x"$enablestring" = xdisable; then
5977             if test $wxUSE_STD_CONTAINERS = no; then
5978               result=yes
5979             else
5980               result=no
5981             fi
5982           else
5983             result=$wxUSE_STD_CONTAINERS
5984           fi
5985
5986           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5987 $as_echo "$result" >&6; }
5988
5989
5990           enablestring=
5991           defaultval=
5992           if test -z "$defaultval"; then
5993               if test x"$enablestring" = xdisable; then
5994                   defaultval=yes
5995               else
5996                   defaultval=no
5997               fi
5998           fi
5999
6000           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
6001 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
6002           # Check whether --enable-std_iostreams was given.
6003 if test "${enable_std_iostreams+set}" = set; then :
6004   enableval=$enable_std_iostreams;
6005                           if test "$enableval" = yes; then
6006                             wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6007                           else
6008                             wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6009                           fi
6010
6011 else
6012
6013                           wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
6014
6015 fi
6016
6017
6018           eval "$wx_cv_use_std_iostreams"
6019
6020           if test x"$enablestring" = xdisable; then
6021             if test $wxUSE_STD_IOSTREAM = no; then
6022               result=yes
6023             else
6024               result=no
6025             fi
6026           else
6027             result=$wxUSE_STD_IOSTREAM
6028           fi
6029
6030           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6031 $as_echo "$result" >&6; }
6032
6033
6034           enablestring=
6035           defaultval=
6036           if test -z "$defaultval"; then
6037               if test x"$enablestring" = xdisable; then
6038                   defaultval=yes
6039               else
6040                   defaultval=no
6041               fi
6042           fi
6043
6044           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
6045 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
6046           # Check whether --enable-std_string was given.
6047 if test "${enable_std_string+set}" = set; then :
6048   enableval=$enable_std_string;
6049                           if test "$enableval" = yes; then
6050                             wx_cv_use_std_string='wxUSE_STD_STRING=yes'
6051                           else
6052                             wx_cv_use_std_string='wxUSE_STD_STRING=no'
6053                           fi
6054
6055 else
6056
6057                           wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6058
6059 fi
6060
6061
6062           eval "$wx_cv_use_std_string"
6063
6064           if test x"$enablestring" = xdisable; then
6065             if test $wxUSE_STD_STRING = no; then
6066               result=yes
6067             else
6068               result=no
6069             fi
6070           else
6071             result=$wxUSE_STD_STRING
6072           fi
6073
6074           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6075 $as_echo "$result" >&6; }
6076
6077
6078           enablestring=
6079           defaultval=
6080           if test -z "$defaultval"; then
6081               if test x"$enablestring" = xdisable; then
6082                   defaultval=yes
6083               else
6084                   defaultval=no
6085               fi
6086           fi
6087
6088           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6089 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6090           # Check whether --enable-std_string_conv_in_wxstring was given.
6091 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6092   enableval=$enable_std_string_conv_in_wxstring;
6093                           if test "$enableval" = yes; then
6094                             wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6095                           else
6096                             wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6097                           fi
6098
6099 else
6100
6101                           wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6102
6103 fi
6104
6105
6106           eval "$wx_cv_use_std_string_conv_in_wxstring"
6107
6108           if test x"$enablestring" = xdisable; then
6109             if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6110               result=yes
6111             else
6112               result=no
6113             fi
6114           else
6115             result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6116           fi
6117
6118           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6119 $as_echo "$result" >&6; }
6120
6121
6122           enablestring=disable
6123           defaultval=
6124           if test -z "$defaultval"; then
6125               if test x"$enablestring" = xdisable; then
6126                   defaultval=yes
6127               else
6128                   defaultval=no
6129               fi
6130           fi
6131
6132           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6133 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6134           # Check whether --enable-unicode was given.
6135 if test "${enable_unicode+set}" = set; then :
6136   enableval=$enable_unicode;
6137                           if test "$enableval" = yes; then
6138                             wx_cv_use_unicode='wxUSE_UNICODE=yes'
6139                           else
6140                             wx_cv_use_unicode='wxUSE_UNICODE=no'
6141                           fi
6142
6143 else
6144
6145                           wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6146
6147 fi
6148
6149
6150           eval "$wx_cv_use_unicode"
6151
6152           if test x"$enablestring" = xdisable; then
6153             if test $wxUSE_UNICODE = no; then
6154               result=yes
6155             else
6156               result=no
6157             fi
6158           else
6159             result=$wxUSE_UNICODE
6160           fi
6161
6162           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6163 $as_echo "$result" >&6; }
6164
6165
6166           enablestring=
6167           defaultval=
6168           if test -z "$defaultval"; then
6169               if test x"$enablestring" = xdisable; then
6170                   defaultval=yes
6171               else
6172                   defaultval=no
6173               fi
6174           fi
6175
6176           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6177 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6178           # Check whether --enable-mslu was given.
6179 if test "${enable_mslu+set}" = set; then :
6180   enableval=$enable_mslu;
6181                           if test "$enableval" = yes; then
6182                             wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6183                           else
6184                             wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6185                           fi
6186
6187 else
6188
6189                           wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6190
6191 fi
6192
6193
6194           eval "$wx_cv_use_mslu"
6195
6196           if test x"$enablestring" = xdisable; then
6197             if test $wxUSE_UNICODE_MSLU = no; then
6198               result=yes
6199             else
6200               result=no
6201             fi
6202           else
6203             result=$wxUSE_UNICODE_MSLU
6204           fi
6205
6206           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6207 $as_echo "$result" >&6; }
6208
6209
6210           enablestring=
6211           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6212 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6213           # Check whether --enable-utf8 was given.
6214 if test "${enable_utf8+set}" = set; then :
6215   enableval=$enable_utf8;
6216                           wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6217
6218 else
6219
6220                           wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6221
6222 fi
6223
6224
6225           eval "$wx_cv_use_utf8"
6226
6227           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6228 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6229
6230
6231           enablestring=
6232           defaultval=
6233           if test -z "$defaultval"; then
6234               if test x"$enablestring" = xdisable; then
6235                   defaultval=yes
6236               else
6237                   defaultval=no
6238               fi
6239           fi
6240
6241           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6242 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6243           # Check whether --enable-utf8only was given.
6244 if test "${enable_utf8only+set}" = set; then :
6245   enableval=$enable_utf8only;
6246                           if test "$enableval" = yes; then
6247                             wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6248                           else
6249                             wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6250                           fi
6251
6252 else
6253
6254                           wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6255
6256 fi
6257
6258
6259           eval "$wx_cv_use_utf8only"
6260
6261           if test x"$enablestring" = xdisable; then
6262             if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6263               result=yes
6264             else
6265               result=no
6266             fi
6267           else
6268             result=$wxUSE_UNICODE_UTF8_LOCALE
6269           fi
6270
6271           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6272 $as_echo "$result" >&6; }
6273
6274
6275           enablestring=
6276           defaultval=
6277           if test -z "$defaultval"; then
6278               if test x"$enablestring" = xdisable; then
6279                   defaultval=yes
6280               else
6281                   defaultval=no
6282               fi
6283           fi
6284
6285           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6286 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6287           # Check whether --enable-extended_rtti was given.
6288 if test "${enable_extended_rtti+set}" = set; then :
6289   enableval=$enable_extended_rtti;
6290                           if test "$enableval" = yes; then
6291                             wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6292                           else
6293                             wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6294                           fi
6295
6296 else
6297
6298                           wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6299
6300 fi
6301
6302
6303           eval "$wx_cv_use_extended_rtti"
6304
6305           if test x"$enablestring" = xdisable; then
6306             if test $wxUSE_EXTENDED_RTTI = no; then
6307               result=yes
6308             else
6309               result=no
6310             fi
6311           else
6312             result=$wxUSE_EXTENDED_RTTI
6313           fi
6314
6315           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6316 $as_echo "$result" >&6; }
6317
6318 if test "$USE_OS2" = 1; then
6319     DEFAULT_wxUSE_OMF=no
6320
6321           enablestring=
6322           defaultval=
6323           if test -z "$defaultval"; then
6324               if test x"$enablestring" = xdisable; then
6325                   defaultval=yes
6326               else
6327                   defaultval=no
6328               fi
6329           fi
6330
6331           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6332 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6333           # Check whether --enable-omf was given.
6334 if test "${enable_omf+set}" = set; then :
6335   enableval=$enable_omf;
6336                           if test "$enableval" = yes; then
6337                             wx_cv_use_omf='wxUSE_OMF=yes'
6338                           else
6339                             wx_cv_use_omf='wxUSE_OMF=no'
6340                           fi
6341
6342 else
6343
6344                           wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6345
6346 fi
6347
6348
6349           eval "$wx_cv_use_omf"
6350
6351           if test x"$enablestring" = xdisable; then
6352             if test $wxUSE_OMF = no; then
6353               result=yes
6354             else
6355               result=no
6356             fi
6357           else
6358             result=$wxUSE_OMF
6359           fi
6360
6361           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6362 $as_echo "$result" >&6; }
6363
6364 fi
6365
6366
6367           enablestring=disable
6368           defaultval=
6369           if test -z "$defaultval"; then
6370               if test x"$enablestring" = xdisable; then
6371                   defaultval=yes
6372               else
6373                   defaultval=no
6374               fi
6375           fi
6376
6377           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6378 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6379           # Check whether --enable-optimise was given.
6380 if test "${enable_optimise+set}" = set; then :
6381   enableval=$enable_optimise;
6382                           if test "$enableval" = yes; then
6383                             wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6384                           else
6385                             wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6386                           fi
6387
6388 else
6389
6390                           wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6391
6392 fi
6393
6394
6395           eval "$wx_cv_use_optimise"
6396
6397           if test x"$enablestring" = xdisable; then
6398             if test $wxUSE_OPTIMISE = no; then
6399               result=yes
6400             else
6401               result=no
6402             fi
6403           else
6404             result=$wxUSE_OPTIMISE
6405           fi
6406
6407           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6408 $as_echo "$result" >&6; }
6409
6410
6411
6412           enablestring=
6413           defaultval=
6414           if test -z "$defaultval"; then
6415               if test x"$enablestring" = xdisable; then
6416                   defaultval=yes
6417               else
6418                   defaultval=no
6419               fi
6420           fi
6421
6422           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6423 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6424           # Check whether --enable-profile was given.
6425 if test "${enable_profile+set}" = set; then :
6426   enableval=$enable_profile;
6427                           if test "$enableval" = yes; then
6428                             wx_cv_use_profile='wxUSE_PROFILE=yes'
6429                           else
6430                             wx_cv_use_profile='wxUSE_PROFILE=no'
6431                           fi
6432
6433 else
6434
6435                           wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6436
6437 fi
6438
6439
6440           eval "$wx_cv_use_profile"
6441
6442           if test x"$enablestring" = xdisable; then
6443             if test $wxUSE_PROFILE = no; then
6444               result=yes
6445             else
6446               result=no
6447             fi
6448           else
6449             result=$wxUSE_PROFILE
6450           fi
6451
6452           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6453 $as_echo "$result" >&6; }
6454
6455
6456           enablestring=
6457           defaultval=
6458           if test -z "$defaultval"; then
6459               if test x"$enablestring" = xdisable; then
6460                   defaultval=yes
6461               else
6462                   defaultval=no
6463               fi
6464           fi
6465
6466           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6467 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6468           # Check whether --enable-no_rtti was given.
6469 if test "${enable_no_rtti+set}" = set; then :
6470   enableval=$enable_no_rtti;
6471                           if test "$enableval" = yes; then
6472                             wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6473                           else
6474                             wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6475                           fi
6476
6477 else
6478
6479                           wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6480
6481 fi
6482
6483
6484           eval "$wx_cv_use_no_rtti"
6485
6486           if test x"$enablestring" = xdisable; then
6487             if test $wxUSE_NO_RTTI = no; then
6488               result=yes
6489             else
6490               result=no
6491             fi
6492           else
6493             result=$wxUSE_NO_RTTI
6494           fi
6495
6496           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6497 $as_echo "$result" >&6; }
6498
6499
6500           enablestring=
6501           defaultval=
6502           if test -z "$defaultval"; then
6503               if test x"$enablestring" = xdisable; then
6504                   defaultval=yes
6505               else
6506                   defaultval=no
6507               fi
6508           fi
6509
6510           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6511 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6512           # Check whether --enable-no_exceptions was given.
6513 if test "${enable_no_exceptions+set}" = set; then :
6514   enableval=$enable_no_exceptions;
6515                           if test "$enableval" = yes; then
6516                             wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6517                           else
6518                             wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6519                           fi
6520
6521 else
6522
6523                           wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6524
6525 fi
6526
6527
6528           eval "$wx_cv_use_no_exceptions"
6529
6530           if test x"$enablestring" = xdisable; then
6531             if test $wxUSE_NO_EXCEPTIONS = no; then
6532               result=yes
6533             else
6534               result=no
6535             fi
6536           else
6537             result=$wxUSE_NO_EXCEPTIONS
6538           fi
6539
6540           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6541 $as_echo "$result" >&6; }
6542
6543
6544           enablestring=
6545           defaultval=
6546           if test -z "$defaultval"; then
6547               if test x"$enablestring" = xdisable; then
6548                   defaultval=yes
6549               else
6550                   defaultval=no
6551               fi
6552           fi
6553
6554           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6555 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6556           # Check whether --enable-permissive was given.
6557 if test "${enable_permissive+set}" = set; then :
6558   enableval=$enable_permissive;
6559                           if test "$enableval" = yes; then
6560                             wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6561                           else
6562                             wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6563                           fi
6564
6565 else
6566
6567                           wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6568
6569 fi
6570
6571
6572           eval "$wx_cv_use_permissive"
6573
6574           if test x"$enablestring" = xdisable; then
6575             if test $wxUSE_PERMISSIVE = no; then
6576               result=yes
6577             else
6578               result=no
6579             fi
6580           else
6581             result=$wxUSE_PERMISSIVE
6582           fi
6583
6584           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6585 $as_echo "$result" >&6; }
6586
6587
6588           enablestring=
6589           defaultval=
6590           if test -z "$defaultval"; then
6591               if test x"$enablestring" = xdisable; then
6592                   defaultval=yes
6593               else
6594                   defaultval=no
6595               fi
6596           fi
6597
6598           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6599 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6600           # Check whether --enable-no_deps was given.
6601 if test "${enable_no_deps+set}" = set; then :
6602   enableval=$enable_no_deps;
6603                           if test "$enableval" = yes; then
6604                             wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6605                           else
6606                             wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6607                           fi
6608
6609 else
6610
6611                           wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6612
6613 fi
6614
6615
6616           eval "$wx_cv_use_no_deps"
6617
6618           if test x"$enablestring" = xdisable; then
6619             if test $wxUSE_NO_DEPS = no; then
6620               result=yes
6621             else
6622               result=no
6623             fi
6624           else
6625             result=$wxUSE_NO_DEPS
6626           fi
6627
6628           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6629 $as_echo "$result" >&6; }
6630
6631
6632           enablestring=disable
6633           defaultval=
6634           if test -z "$defaultval"; then
6635               if test x"$enablestring" = xdisable; then
6636                   defaultval=yes
6637               else
6638                   defaultval=no
6639               fi
6640           fi
6641
6642           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6643 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6644           # Check whether --enable-vararg_macros was given.
6645 if test "${enable_vararg_macros+set}" = set; then :
6646   enableval=$enable_vararg_macros;
6647                           if test "$enableval" = yes; then
6648                             wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6649                           else
6650                             wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6651                           fi
6652
6653 else
6654
6655                           wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6656
6657 fi
6658
6659
6660           eval "$wx_cv_use_vararg_macros"
6661
6662           if test x"$enablestring" = xdisable; then
6663             if test $wxUSE_VARARG_MACROS = no; then
6664               result=yes
6665             else
6666               result=no
6667             fi
6668           else
6669             result=$wxUSE_VARARG_MACROS
6670           fi
6671
6672           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6673 $as_echo "$result" >&6; }
6674
6675
6676
6677           enablestring=
6678           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6679 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6680           # Check whether --enable-universal_binary was given.
6681 if test "${enable_universal_binary+set}" = set; then :
6682   enableval=$enable_universal_binary;
6683                           wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6684
6685 else
6686
6687                           wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6688
6689 fi
6690
6691
6692           eval "$wx_cv_use_universal_binary"
6693
6694           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6695 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6696
6697
6698           enablestring=
6699           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6700 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6701           # Check whether --enable-macosx_arch was given.
6702 if test "${enable_macosx_arch+set}" = set; then :
6703   enableval=$enable_macosx_arch;
6704                           wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6705
6706 else
6707
6708                           wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6709
6710 fi
6711
6712
6713           eval "$wx_cv_use_macosx_arch"
6714
6715           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6716 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6717
6718
6719
6720           enablestring=
6721           defaultval=
6722           if test -z "$defaultval"; then
6723               if test x"$enablestring" = xdisable; then
6724                   defaultval=yes
6725               else
6726                   defaultval=no
6727               fi
6728           fi
6729
6730           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6731 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6732           # Check whether --enable-compat26 was given.
6733 if test "${enable_compat26+set}" = set; then :
6734   enableval=$enable_compat26;
6735                           if test "$enableval" = yes; then
6736                             wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6737                           else
6738                             wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6739                           fi
6740
6741 else
6742
6743                           wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6744
6745 fi
6746
6747
6748           eval "$wx_cv_use_compat26"
6749
6750           if test x"$enablestring" = xdisable; then
6751             if test $WXWIN_COMPATIBILITY_2_6 = no; then
6752               result=yes
6753             else
6754               result=no
6755             fi
6756           else
6757             result=$WXWIN_COMPATIBILITY_2_6
6758           fi
6759
6760           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6761 $as_echo "$result" >&6; }
6762
6763
6764           enablestring=disable
6765           defaultval=
6766           if test -z "$defaultval"; then
6767               if test x"$enablestring" = xdisable; then
6768                   defaultval=yes
6769               else
6770                   defaultval=no
6771               fi
6772           fi
6773
6774           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6775 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6776           # Check whether --enable-compat28 was given.
6777 if test "${enable_compat28+set}" = set; then :
6778   enableval=$enable_compat28;
6779                           if test "$enableval" = yes; then
6780                             wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6781                           else
6782                             wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6783                           fi
6784
6785 else
6786
6787                           wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6788
6789 fi
6790
6791
6792           eval "$wx_cv_use_compat28"
6793
6794           if test x"$enablestring" = xdisable; then
6795             if test $WXWIN_COMPATIBILITY_2_8 = no; then
6796               result=yes
6797             else
6798               result=no
6799             fi
6800           else
6801             result=$WXWIN_COMPATIBILITY_2_8
6802           fi
6803
6804           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6805 $as_echo "$result" >&6; }
6806
6807
6808
6809           enablestring=disable
6810           defaultval=
6811           if test -z "$defaultval"; then
6812               if test x"$enablestring" = xdisable; then
6813                   defaultval=yes
6814               else
6815                   defaultval=no
6816               fi
6817           fi
6818
6819           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6820 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6821           # Check whether --enable-rpath was given.
6822 if test "${enable_rpath+set}" = set; then :
6823   enableval=$enable_rpath;
6824                           if test "$enableval" = yes; then
6825                             wx_cv_use_rpath='wxUSE_RPATH=yes'
6826                           else
6827                             wx_cv_use_rpath='wxUSE_RPATH=no'
6828                           fi
6829
6830 else
6831
6832                           wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6833
6834 fi
6835
6836
6837           eval "$wx_cv_use_rpath"
6838
6839           if test x"$enablestring" = xdisable; then
6840             if test $wxUSE_RPATH = no; then
6841               result=yes
6842             else
6843               result=no
6844             fi
6845           else
6846             result=$wxUSE_RPATH
6847           fi
6848
6849           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6850 $as_echo "$result" >&6; }
6851
6852
6853
6854           enablestring=
6855           defaultval=
6856           if test -z "$defaultval"; then
6857               if test x"$enablestring" = xdisable; then
6858                   defaultval=yes
6859               else
6860                   defaultval=no
6861               fi
6862           fi
6863
6864           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6865 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6866           # Check whether --enable-objc_uniquifying was given.
6867 if test "${enable_objc_uniquifying+set}" = set; then :
6868   enableval=$enable_objc_uniquifying;
6869                           if test "$enableval" = yes; then
6870                             wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6871                           else
6872                             wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6873                           fi
6874
6875 else
6876
6877                           wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6878
6879 fi
6880
6881
6882           eval "$wx_cv_use_objc_uniquifying"
6883
6884           if test x"$enablestring" = xdisable; then
6885             if test $wxUSE_OBJC_UNIQUIFYING = no; then
6886               result=yes
6887             else
6888               result=no
6889             fi
6890           else
6891             result=$wxUSE_OBJC_UNIQUIFYING
6892           fi
6893
6894           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6895 $as_echo "$result" >&6; }
6896
6897
6898
6899           enablestring=disable
6900           defaultval=
6901           if test -z "$defaultval"; then
6902               if test x"$enablestring" = xdisable; then
6903                   defaultval=yes
6904               else
6905                   defaultval=no
6906               fi
6907           fi
6908
6909           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6910 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6911           # Check whether --enable-visibility was given.
6912 if test "${enable_visibility+set}" = set; then :
6913   enableval=$enable_visibility;
6914                           if test "$enableval" = yes; then
6915                             wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6916                           else
6917                             wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6918                           fi
6919
6920 else
6921
6922                           wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6923
6924 fi
6925
6926
6927           eval "$wx_cv_use_visibility"
6928
6929           if test x"$enablestring" = xdisable; then
6930             if test $wxUSE_VISIBILITY = no; then
6931               result=yes
6932             else
6933               result=no
6934             fi
6935           else
6936             result=$wxUSE_VISIBILITY
6937           fi
6938
6939           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6940 $as_echo "$result" >&6; }
6941
6942
6943           enablestring=disable
6944           defaultval=
6945           if test -z "$defaultval"; then
6946               if test x"$enablestring" = xdisable; then
6947                   defaultval=yes
6948               else
6949                   defaultval=no
6950               fi
6951           fi
6952
6953           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
6954 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
6955           # Check whether --enable-tls was given.
6956 if test "${enable_tls+set}" = set; then :
6957   enableval=$enable_tls;
6958                           if test "$enableval" = yes; then
6959                             wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6960                           else
6961                             wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6962                           fi
6963
6964 else
6965
6966                           wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6967
6968 fi
6969
6970
6971           eval "$wx_cv_use_tls"
6972
6973           if test x"$enablestring" = xdisable; then
6974             if test $wxUSE_COMPILER_TLS = no; then
6975               result=yes
6976             else
6977               result=no
6978             fi
6979           else
6980             result=$wxUSE_COMPILER_TLS
6981           fi
6982
6983           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6984 $as_echo "$result" >&6; }
6985
6986
6987
6988
6989           enablestring=
6990           defaultval=$wxUSE_ALL_FEATURES
6991           if test -z "$defaultval"; then
6992               if test x"$enablestring" = xdisable; then
6993                   defaultval=yes
6994               else
6995                   defaultval=no
6996               fi
6997           fi
6998
6999           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
7000 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
7001           # Check whether --enable-intl was given.
7002 if test "${enable_intl+set}" = set; then :
7003   enableval=$enable_intl;
7004                           if test "$enableval" = yes; then
7005                             wx_cv_use_intl='wxUSE_INTL=yes'
7006                           else
7007                             wx_cv_use_intl='wxUSE_INTL=no'
7008                           fi
7009
7010 else
7011
7012                           wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
7013
7014 fi
7015
7016
7017           eval "$wx_cv_use_intl"
7018
7019           if test x"$enablestring" = xdisable; then
7020             if test $wxUSE_INTL = no; then
7021               result=yes
7022             else
7023               result=no
7024             fi
7025           else
7026             result=$wxUSE_INTL
7027           fi
7028
7029           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7030 $as_echo "$result" >&6; }
7031
7032
7033           enablestring=
7034           defaultval=$wxUSE_ALL_FEATURES
7035           if test -z "$defaultval"; then
7036               if test x"$enablestring" = xdisable; then
7037                   defaultval=yes
7038               else
7039                   defaultval=no
7040               fi
7041           fi
7042
7043           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
7044 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
7045           # Check whether --enable-xlocale was given.
7046 if test "${enable_xlocale+set}" = set; then :
7047   enableval=$enable_xlocale;
7048                           if test "$enableval" = yes; then
7049                             wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
7050                           else
7051                             wx_cv_use_xlocale='wxUSE_XLOCALE=no'
7052                           fi
7053
7054 else
7055
7056                           wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7057
7058 fi
7059
7060
7061           eval "$wx_cv_use_xlocale"
7062
7063           if test x"$enablestring" = xdisable; then
7064             if test $wxUSE_XLOCALE = no; then
7065               result=yes
7066             else
7067               result=no
7068             fi
7069           else
7070             result=$wxUSE_XLOCALE
7071           fi
7072
7073           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7074 $as_echo "$result" >&6; }
7075
7076
7077           enablestring=
7078           defaultval=$wxUSE_ALL_FEATURES
7079           if test -z "$defaultval"; then
7080               if test x"$enablestring" = xdisable; then
7081                   defaultval=yes
7082               else
7083                   defaultval=no
7084               fi
7085           fi
7086
7087           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7088 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7089           # Check whether --enable-config was given.
7090 if test "${enable_config+set}" = set; then :
7091   enableval=$enable_config;
7092                           if test "$enableval" = yes; then
7093                             wx_cv_use_config='wxUSE_CONFIG=yes'
7094                           else
7095                             wx_cv_use_config='wxUSE_CONFIG=no'
7096                           fi
7097
7098 else
7099
7100                           wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7101
7102 fi
7103
7104
7105           eval "$wx_cv_use_config"
7106
7107           if test x"$enablestring" = xdisable; then
7108             if test $wxUSE_CONFIG = no; then
7109               result=yes
7110             else
7111               result=no
7112             fi
7113           else
7114             result=$wxUSE_CONFIG
7115           fi
7116
7117           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7118 $as_echo "$result" >&6; }
7119
7120
7121
7122           enablestring=
7123           defaultval=$wxUSE_ALL_FEATURES
7124           if test -z "$defaultval"; then
7125               if test x"$enablestring" = xdisable; then
7126                   defaultval=yes
7127               else
7128                   defaultval=no
7129               fi
7130           fi
7131
7132           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7133 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7134           # Check whether --enable-protocols was given.
7135 if test "${enable_protocols+set}" = set; then :
7136   enableval=$enable_protocols;
7137                           if test "$enableval" = yes; then
7138                             wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7139                           else
7140                             wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7141                           fi
7142
7143 else
7144
7145                           wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7146
7147 fi
7148
7149
7150           eval "$wx_cv_use_protocols"
7151
7152           if test x"$enablestring" = xdisable; then
7153             if test $wxUSE_PROTOCOL = no; then
7154               result=yes
7155             else
7156               result=no
7157             fi
7158           else
7159             result=$wxUSE_PROTOCOL
7160           fi
7161
7162           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7163 $as_echo "$result" >&6; }
7164
7165
7166           enablestring=
7167           defaultval=$wxUSE_ALL_FEATURES
7168           if test -z "$defaultval"; then
7169               if test x"$enablestring" = xdisable; then
7170                   defaultval=yes
7171               else
7172                   defaultval=no
7173               fi
7174           fi
7175
7176           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7177 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7178           # Check whether --enable-ftp was given.
7179 if test "${enable_ftp+set}" = set; then :
7180   enableval=$enable_ftp;
7181                           if test "$enableval" = yes; then
7182                             wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7183                           else
7184                             wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7185                           fi
7186
7187 else
7188
7189                           wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7190
7191 fi
7192
7193
7194           eval "$wx_cv_use_ftp"
7195
7196           if test x"$enablestring" = xdisable; then
7197             if test $wxUSE_PROTOCOL_FTP = no; then
7198               result=yes
7199             else
7200               result=no
7201             fi
7202           else
7203             result=$wxUSE_PROTOCOL_FTP
7204           fi
7205
7206           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7207 $as_echo "$result" >&6; }
7208
7209
7210           enablestring=
7211           defaultval=$wxUSE_ALL_FEATURES
7212           if test -z "$defaultval"; then
7213               if test x"$enablestring" = xdisable; then
7214                   defaultval=yes
7215               else
7216                   defaultval=no
7217               fi
7218           fi
7219
7220           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7221 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7222           # Check whether --enable-http was given.
7223 if test "${enable_http+set}" = set; then :
7224   enableval=$enable_http;
7225                           if test "$enableval" = yes; then
7226                             wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7227                           else
7228                             wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7229                           fi
7230
7231 else
7232
7233                           wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7234
7235 fi
7236
7237
7238           eval "$wx_cv_use_http"
7239
7240           if test x"$enablestring" = xdisable; then
7241             if test $wxUSE_PROTOCOL_HTTP = no; then
7242               result=yes
7243             else
7244               result=no
7245             fi
7246           else
7247             result=$wxUSE_PROTOCOL_HTTP
7248           fi
7249
7250           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7251 $as_echo "$result" >&6; }
7252
7253
7254           enablestring=
7255           defaultval=$wxUSE_ALL_FEATURES
7256           if test -z "$defaultval"; then
7257               if test x"$enablestring" = xdisable; then
7258                   defaultval=yes
7259               else
7260                   defaultval=no
7261               fi
7262           fi
7263
7264           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7265 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7266           # Check whether --enable-fileproto was given.
7267 if test "${enable_fileproto+set}" = set; then :
7268   enableval=$enable_fileproto;
7269                           if test "$enableval" = yes; then
7270                             wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7271                           else
7272                             wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7273                           fi
7274
7275 else
7276
7277                           wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7278
7279 fi
7280
7281
7282           eval "$wx_cv_use_fileproto"
7283
7284           if test x"$enablestring" = xdisable; then
7285             if test $wxUSE_PROTOCOL_FILE = no; then
7286               result=yes
7287             else
7288               result=no
7289             fi
7290           else
7291             result=$wxUSE_PROTOCOL_FILE
7292           fi
7293
7294           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7295 $as_echo "$result" >&6; }
7296
7297
7298           enablestring=
7299           defaultval=$wxUSE_ALL_FEATURES
7300           if test -z "$defaultval"; then
7301               if test x"$enablestring" = xdisable; then
7302                   defaultval=yes
7303               else
7304                   defaultval=no
7305               fi
7306           fi
7307
7308           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7309 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7310           # Check whether --enable-sockets was given.
7311 if test "${enable_sockets+set}" = set; then :
7312   enableval=$enable_sockets;
7313                           if test "$enableval" = yes; then
7314                             wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7315                           else
7316                             wx_cv_use_sockets='wxUSE_SOCKETS=no'
7317                           fi
7318
7319 else
7320
7321                           wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7322
7323 fi
7324
7325
7326           eval "$wx_cv_use_sockets"
7327
7328           if test x"$enablestring" = xdisable; then
7329             if test $wxUSE_SOCKETS = no; then
7330               result=yes
7331             else
7332               result=no
7333             fi
7334           else
7335             result=$wxUSE_SOCKETS
7336           fi
7337
7338           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7339 $as_echo "$result" >&6; }
7340
7341
7342           enablestring=
7343           defaultval=$wxUSE_ALL_FEATURES
7344           if test -z "$defaultval"; then
7345               if test x"$enablestring" = xdisable; then
7346                   defaultval=yes
7347               else
7348                   defaultval=no
7349               fi
7350           fi
7351
7352           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7353 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7354           # Check whether --enable-ipv6 was given.
7355 if test "${enable_ipv6+set}" = set; then :
7356   enableval=$enable_ipv6;
7357                           if test "$enableval" = yes; then
7358                             wx_cv_use_ipv6='wxUSE_IPV6=yes'
7359                           else
7360                             wx_cv_use_ipv6='wxUSE_IPV6=no'
7361                           fi
7362
7363 else
7364
7365                           wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7366
7367 fi
7368
7369
7370           eval "$wx_cv_use_ipv6"
7371
7372           if test x"$enablestring" = xdisable; then
7373             if test $wxUSE_IPV6 = no; then
7374               result=yes
7375             else
7376               result=no
7377             fi
7378           else
7379             result=$wxUSE_IPV6
7380           fi
7381
7382           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7383 $as_echo "$result" >&6; }
7384
7385
7386           enablestring=
7387           defaultval=$wxUSE_ALL_FEATURES
7388           if test -z "$defaultval"; then
7389               if test x"$enablestring" = xdisable; then
7390                   defaultval=yes
7391               else
7392                   defaultval=no
7393               fi
7394           fi
7395
7396           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7397 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7398           # Check whether --enable-ole was given.
7399 if test "${enable_ole+set}" = set; then :
7400   enableval=$enable_ole;
7401                           if test "$enableval" = yes; then
7402                             wx_cv_use_ole='wxUSE_OLE=yes'
7403                           else
7404                             wx_cv_use_ole='wxUSE_OLE=no'
7405                           fi
7406
7407 else
7408
7409                           wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7410
7411 fi
7412
7413
7414           eval "$wx_cv_use_ole"
7415
7416           if test x"$enablestring" = xdisable; then
7417             if test $wxUSE_OLE = no; then
7418               result=yes
7419             else
7420               result=no
7421             fi
7422           else
7423             result=$wxUSE_OLE
7424           fi
7425
7426           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7427 $as_echo "$result" >&6; }
7428
7429
7430           enablestring=
7431           defaultval=$wxUSE_ALL_FEATURES
7432           if test -z "$defaultval"; then
7433               if test x"$enablestring" = xdisable; then
7434                   defaultval=yes
7435               else
7436                   defaultval=no
7437               fi
7438           fi
7439
7440           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7441 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7442           # Check whether --enable-dataobj was given.
7443 if test "${enable_dataobj+set}" = set; then :
7444   enableval=$enable_dataobj;
7445                           if test "$enableval" = yes; then
7446                             wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7447                           else
7448                             wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7449                           fi
7450
7451 else
7452
7453                           wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7454
7455 fi
7456
7457
7458           eval "$wx_cv_use_dataobj"
7459
7460           if test x"$enablestring" = xdisable; then
7461             if test $wxUSE_DATAOBJ = no; then
7462               result=yes
7463             else
7464               result=no
7465             fi
7466           else
7467             result=$wxUSE_DATAOBJ
7468           fi
7469
7470           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7471 $as_echo "$result" >&6; }
7472
7473
7474
7475           enablestring=
7476           defaultval=$wxUSE_ALL_FEATURES
7477           if test -z "$defaultval"; then
7478               if test x"$enablestring" = xdisable; then
7479                   defaultval=yes
7480               else
7481                   defaultval=no
7482               fi
7483           fi
7484
7485           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7486 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7487           # Check whether --enable-ipc was given.
7488 if test "${enable_ipc+set}" = set; then :
7489   enableval=$enable_ipc;
7490                           if test "$enableval" = yes; then
7491                             wx_cv_use_ipc='wxUSE_IPC=yes'
7492                           else
7493                             wx_cv_use_ipc='wxUSE_IPC=no'
7494                           fi
7495
7496 else
7497
7498                           wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7499
7500 fi
7501
7502
7503           eval "$wx_cv_use_ipc"
7504
7505           if test x"$enablestring" = xdisable; then
7506             if test $wxUSE_IPC = no; then
7507               result=yes
7508             else
7509               result=no
7510             fi
7511           else
7512             result=$wxUSE_IPC
7513           fi
7514
7515           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7516 $as_echo "$result" >&6; }
7517
7518
7519
7520           enablestring=
7521           defaultval=$wxUSE_ALL_FEATURES
7522           if test -z "$defaultval"; then
7523               if test x"$enablestring" = xdisable; then
7524                   defaultval=yes
7525               else
7526                   defaultval=no
7527               fi
7528           fi
7529
7530           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7531 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7532           # Check whether --enable-baseevtloop was given.
7533 if test "${enable_baseevtloop+set}" = set; then :
7534   enableval=$enable_baseevtloop;
7535                           if test "$enableval" = yes; then
7536                             wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7537                           else
7538                             wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7539                           fi
7540
7541 else
7542
7543                           wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7544
7545 fi
7546
7547
7548           eval "$wx_cv_use_baseevtloop"
7549
7550           if test x"$enablestring" = xdisable; then
7551             if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7552               result=yes
7553             else
7554               result=no
7555             fi
7556           else
7557             result=$wxUSE_CONSOLE_EVENTLOOP
7558           fi
7559
7560           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7561 $as_echo "$result" >&6; }
7562
7563
7564           enablestring=
7565           defaultval=$wxUSE_ALL_FEATURES
7566           if test -z "$defaultval"; then
7567               if test x"$enablestring" = xdisable; then
7568                   defaultval=yes
7569               else
7570                   defaultval=no
7571               fi
7572           fi
7573
7574           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7575 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7576           # Check whether --enable-epollloop was given.
7577 if test "${enable_epollloop+set}" = set; then :
7578   enableval=$enable_epollloop;
7579                           if test "$enableval" = yes; then
7580                             wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7581                           else
7582                             wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7583                           fi
7584
7585 else
7586
7587                           wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7588
7589 fi
7590
7591
7592           eval "$wx_cv_use_epollloop"
7593
7594           if test x"$enablestring" = xdisable; then
7595             if test $wxUSE_EPOLL_DISPATCHER = no; then
7596               result=yes
7597             else
7598               result=no
7599             fi
7600           else
7601             result=$wxUSE_EPOLL_DISPATCHER
7602           fi
7603
7604           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7605 $as_echo "$result" >&6; }
7606
7607
7608           enablestring=
7609           defaultval=$wxUSE_ALL_FEATURES
7610           if test -z "$defaultval"; then
7611               if test x"$enablestring" = xdisable; then
7612                   defaultval=yes
7613               else
7614                   defaultval=no
7615               fi
7616           fi
7617
7618           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7619 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7620           # Check whether --enable-selectloop was given.
7621 if test "${enable_selectloop+set}" = set; then :
7622   enableval=$enable_selectloop;
7623                           if test "$enableval" = yes; then
7624                             wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7625                           else
7626                             wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7627                           fi
7628
7629 else
7630
7631                           wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7632
7633 fi
7634
7635
7636           eval "$wx_cv_use_selectloop"
7637
7638           if test x"$enablestring" = xdisable; then
7639             if test $wxUSE_SELECT_DISPATCHER = no; then
7640               result=yes
7641             else
7642               result=no
7643             fi
7644           else
7645             result=$wxUSE_SELECT_DISPATCHER
7646           fi
7647
7648           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7649 $as_echo "$result" >&6; }
7650
7651
7652
7653           enablestring=
7654           defaultval=$wxUSE_ALL_FEATURES
7655           if test -z "$defaultval"; then
7656               if test x"$enablestring" = xdisable; then
7657                   defaultval=yes
7658               else
7659                   defaultval=no
7660               fi
7661           fi
7662
7663           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7664 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7665           # Check whether --enable-any was given.
7666 if test "${enable_any+set}" = set; then :
7667   enableval=$enable_any;
7668                           if test "$enableval" = yes; then
7669                             wx_cv_use_any='wxUSE_ANY=yes'
7670                           else
7671                             wx_cv_use_any='wxUSE_ANY=no'
7672                           fi
7673
7674 else
7675
7676                           wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7677
7678 fi
7679
7680
7681           eval "$wx_cv_use_any"
7682
7683           if test x"$enablestring" = xdisable; then
7684             if test $wxUSE_ANY = no; then
7685               result=yes
7686             else
7687               result=no
7688             fi
7689           else
7690             result=$wxUSE_ANY
7691           fi
7692
7693           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7694 $as_echo "$result" >&6; }
7695
7696
7697           enablestring=
7698           defaultval=$wxUSE_ALL_FEATURES
7699           if test -z "$defaultval"; then
7700               if test x"$enablestring" = xdisable; then
7701                   defaultval=yes
7702               else
7703                   defaultval=no
7704               fi
7705           fi
7706
7707           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7708 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7709           # Check whether --enable-apple_ieee was given.
7710 if test "${enable_apple_ieee+set}" = set; then :
7711   enableval=$enable_apple_ieee;
7712                           if test "$enableval" = yes; then
7713                             wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7714                           else
7715                             wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7716                           fi
7717
7718 else
7719
7720                           wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7721
7722 fi
7723
7724
7725           eval "$wx_cv_use_apple_ieee"
7726
7727           if test x"$enablestring" = xdisable; then
7728             if test $wxUSE_APPLE_IEEE = no; then
7729               result=yes
7730             else
7731               result=no
7732             fi
7733           else
7734             result=$wxUSE_APPLE_IEEE
7735           fi
7736
7737           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7738 $as_echo "$result" >&6; }
7739
7740
7741           enablestring=
7742           defaultval=$wxUSE_ALL_FEATURES
7743           if test -z "$defaultval"; then
7744               if test x"$enablestring" = xdisable; then
7745                   defaultval=yes
7746               else
7747                   defaultval=no
7748               fi
7749           fi
7750
7751           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7752 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7753           # Check whether --enable-arcstream was given.
7754 if test "${enable_arcstream+set}" = set; then :
7755   enableval=$enable_arcstream;
7756                           if test "$enableval" = yes; then
7757                             wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7758                           else
7759                             wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7760                           fi
7761
7762 else
7763
7764                           wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7765
7766 fi
7767
7768
7769           eval "$wx_cv_use_arcstream"
7770
7771           if test x"$enablestring" = xdisable; then
7772             if test $wxUSE_ARCHIVE_STREAMS = no; then
7773               result=yes
7774             else
7775               result=no
7776             fi
7777           else
7778             result=$wxUSE_ARCHIVE_STREAMS
7779           fi
7780
7781           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7782 $as_echo "$result" >&6; }
7783
7784
7785           enablestring=
7786           defaultval=$wxUSE_ALL_FEATURES
7787           if test -z "$defaultval"; then
7788               if test x"$enablestring" = xdisable; then
7789                   defaultval=yes
7790               else
7791                   defaultval=no
7792               fi
7793           fi
7794
7795           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7796 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7797           # Check whether --enable-base64 was given.
7798 if test "${enable_base64+set}" = set; then :
7799   enableval=$enable_base64;
7800                           if test "$enableval" = yes; then
7801                             wx_cv_use_base64='wxUSE_BASE64=yes'
7802                           else
7803                             wx_cv_use_base64='wxUSE_BASE64=no'
7804                           fi
7805
7806 else
7807
7808                           wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7809
7810 fi
7811
7812
7813           eval "$wx_cv_use_base64"
7814
7815           if test x"$enablestring" = xdisable; then
7816             if test $wxUSE_BASE64 = no; then
7817               result=yes
7818             else
7819               result=no
7820             fi
7821           else
7822             result=$wxUSE_BASE64
7823           fi
7824
7825           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7826 $as_echo "$result" >&6; }
7827
7828
7829           enablestring=
7830           defaultval=$wxUSE_ALL_FEATURES
7831           if test -z "$defaultval"; then
7832               if test x"$enablestring" = xdisable; then
7833                   defaultval=yes
7834               else
7835                   defaultval=no
7836               fi
7837           fi
7838
7839           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7840 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7841           # Check whether --enable-backtrace was given.
7842 if test "${enable_backtrace+set}" = set; then :
7843   enableval=$enable_backtrace;
7844                           if test "$enableval" = yes; then
7845                             wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7846                           else
7847                             wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7848                           fi
7849
7850 else
7851
7852                           wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7853
7854 fi
7855
7856
7857           eval "$wx_cv_use_backtrace"
7858
7859           if test x"$enablestring" = xdisable; then
7860             if test $wxUSE_STACKWALKER = no; then
7861               result=yes
7862             else
7863               result=no
7864             fi
7865           else
7866             result=$wxUSE_STACKWALKER
7867           fi
7868
7869           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7870 $as_echo "$result" >&6; }
7871
7872
7873           enablestring=
7874           defaultval=$wxUSE_ALL_FEATURES
7875           if test -z "$defaultval"; then
7876               if test x"$enablestring" = xdisable; then
7877                   defaultval=yes
7878               else
7879                   defaultval=no
7880               fi
7881           fi
7882
7883           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7884 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7885           # Check whether --enable-catch_segvs was given.
7886 if test "${enable_catch_segvs+set}" = set; then :
7887   enableval=$enable_catch_segvs;
7888                           if test "$enableval" = yes; then
7889                             wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7890                           else
7891                             wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7892                           fi
7893
7894 else
7895
7896                           wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7897
7898 fi
7899
7900
7901           eval "$wx_cv_use_catch_segvs"
7902
7903           if test x"$enablestring" = xdisable; then
7904             if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7905               result=yes
7906             else
7907               result=no
7908             fi
7909           else
7910             result=$wxUSE_ON_FATAL_EXCEPTION
7911           fi
7912
7913           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7914 $as_echo "$result" >&6; }
7915
7916
7917           enablestring=
7918           defaultval=$wxUSE_ALL_FEATURES
7919           if test -z "$defaultval"; then
7920               if test x"$enablestring" = xdisable; then
7921                   defaultval=yes
7922               else
7923                   defaultval=no
7924               fi
7925           fi
7926
7927           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7928 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7929           # Check whether --enable-cmdline was given.
7930 if test "${enable_cmdline+set}" = set; then :
7931   enableval=$enable_cmdline;
7932                           if test "$enableval" = yes; then
7933                             wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7934                           else
7935                             wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7936                           fi
7937
7938 else
7939
7940                           wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7941
7942 fi
7943
7944
7945           eval "$wx_cv_use_cmdline"
7946
7947           if test x"$enablestring" = xdisable; then
7948             if test $wxUSE_CMDLINE_PARSER = no; then
7949               result=yes
7950             else
7951               result=no
7952             fi
7953           else
7954             result=$wxUSE_CMDLINE_PARSER
7955           fi
7956
7957           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7958 $as_echo "$result" >&6; }
7959
7960
7961           enablestring=
7962           defaultval=$wxUSE_ALL_FEATURES
7963           if test -z "$defaultval"; then
7964               if test x"$enablestring" = xdisable; then
7965                   defaultval=yes
7966               else
7967                   defaultval=no
7968               fi
7969           fi
7970
7971           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7972 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7973           # Check whether --enable-datetime was given.
7974 if test "${enable_datetime+set}" = set; then :
7975   enableval=$enable_datetime;
7976                           if test "$enableval" = yes; then
7977                             wx_cv_use_datetime='wxUSE_DATETIME=yes'
7978                           else
7979                             wx_cv_use_datetime='wxUSE_DATETIME=no'
7980                           fi
7981
7982 else
7983
7984                           wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7985
7986 fi
7987
7988
7989           eval "$wx_cv_use_datetime"
7990
7991           if test x"$enablestring" = xdisable; then
7992             if test $wxUSE_DATETIME = no; then
7993               result=yes
7994             else
7995               result=no
7996             fi
7997           else
7998             result=$wxUSE_DATETIME
7999           fi
8000
8001           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8002 $as_echo "$result" >&6; }
8003
8004
8005           enablestring=
8006           defaultval=$wxUSE_ALL_FEATURES
8007           if test -z "$defaultval"; then
8008               if test x"$enablestring" = xdisable; then
8009                   defaultval=yes
8010               else
8011                   defaultval=no
8012               fi
8013           fi
8014
8015           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
8016 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
8017           # Check whether --enable-debugreport was given.
8018 if test "${enable_debugreport+set}" = set; then :
8019   enableval=$enable_debugreport;
8020                           if test "$enableval" = yes; then
8021                             wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
8022                           else
8023                             wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
8024                           fi
8025
8026 else
8027
8028                           wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8029
8030 fi
8031
8032
8033           eval "$wx_cv_use_debugreport"
8034
8035           if test x"$enablestring" = xdisable; then
8036             if test $wxUSE_DEBUGREPORT = no; then
8037               result=yes
8038             else
8039               result=no
8040             fi
8041           else
8042             result=$wxUSE_DEBUGREPORT
8043           fi
8044
8045           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8046 $as_echo "$result" >&6; }
8047
8048
8049           enablestring=
8050           defaultval=$wxUSE_ALL_FEATURES
8051           if test -z "$defaultval"; then
8052               if test x"$enablestring" = xdisable; then
8053                   defaultval=yes
8054               else
8055                   defaultval=no
8056               fi
8057           fi
8058
8059           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8060 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8061           # Check whether --enable-dialupman was given.
8062 if test "${enable_dialupman+set}" = set; then :
8063   enableval=$enable_dialupman;
8064                           if test "$enableval" = yes; then
8065                             wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
8066                           else
8067                             wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
8068                           fi
8069
8070 else
8071
8072                           wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8073
8074 fi
8075
8076
8077           eval "$wx_cv_use_dialupman"
8078
8079           if test x"$enablestring" = xdisable; then
8080             if test $wxUSE_DIALUP_MANAGER = no; then
8081               result=yes
8082             else
8083               result=no
8084             fi
8085           else
8086             result=$wxUSE_DIALUP_MANAGER
8087           fi
8088
8089           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8090 $as_echo "$result" >&6; }
8091
8092
8093           enablestring=
8094           defaultval=$wxUSE_ALL_FEATURES
8095           if test -z "$defaultval"; then
8096               if test x"$enablestring" = xdisable; then
8097                   defaultval=yes
8098               else
8099                   defaultval=no
8100               fi
8101           fi
8102
8103           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8104 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8105           # Check whether --enable-dynlib was given.
8106 if test "${enable_dynlib+set}" = set; then :
8107   enableval=$enable_dynlib;
8108                           if test "$enableval" = yes; then
8109                             wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8110                           else
8111                             wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8112                           fi
8113
8114 else
8115
8116                           wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8117
8118 fi
8119
8120
8121           eval "$wx_cv_use_dynlib"
8122
8123           if test x"$enablestring" = xdisable; then
8124             if test $wxUSE_DYNLIB_CLASS = no; then
8125               result=yes
8126             else
8127               result=no
8128             fi
8129           else
8130             result=$wxUSE_DYNLIB_CLASS
8131           fi
8132
8133           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8134 $as_echo "$result" >&6; }
8135
8136
8137           enablestring=
8138           defaultval=$wxUSE_ALL_FEATURES
8139           if test -z "$defaultval"; then
8140               if test x"$enablestring" = xdisable; then
8141                   defaultval=yes
8142               else
8143                   defaultval=no
8144               fi
8145           fi
8146
8147           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8148 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8149           # Check whether --enable-dynamicloader was given.
8150 if test "${enable_dynamicloader+set}" = set; then :
8151   enableval=$enable_dynamicloader;
8152                           if test "$enableval" = yes; then
8153                             wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8154                           else
8155                             wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8156                           fi
8157
8158 else
8159
8160                           wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8161
8162 fi
8163
8164
8165           eval "$wx_cv_use_dynamicloader"
8166
8167           if test x"$enablestring" = xdisable; then
8168             if test $wxUSE_DYNAMIC_LOADER = no; then
8169               result=yes
8170             else
8171               result=no
8172             fi
8173           else
8174             result=$wxUSE_DYNAMIC_LOADER
8175           fi
8176
8177           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8178 $as_echo "$result" >&6; }
8179
8180
8181           enablestring=
8182           defaultval=$wxUSE_ALL_FEATURES
8183           if test -z "$defaultval"; then
8184               if test x"$enablestring" = xdisable; then
8185                   defaultval=yes
8186               else
8187                   defaultval=no
8188               fi
8189           fi
8190
8191           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8192 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8193           # Check whether --enable-exceptions was given.
8194 if test "${enable_exceptions+set}" = set; then :
8195   enableval=$enable_exceptions;
8196                           if test "$enableval" = yes; then
8197                             wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8198                           else
8199                             wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8200                           fi
8201
8202 else
8203
8204                           wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8205
8206 fi
8207
8208
8209           eval "$wx_cv_use_exceptions"
8210
8211           if test x"$enablestring" = xdisable; then
8212             if test $wxUSE_EXCEPTIONS = no; then
8213               result=yes
8214             else
8215               result=no
8216             fi
8217           else
8218             result=$wxUSE_EXCEPTIONS
8219           fi
8220
8221           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8222 $as_echo "$result" >&6; }
8223
8224
8225           enablestring=
8226           defaultval=$wxUSE_ALL_FEATURES
8227           if test -z "$defaultval"; then
8228               if test x"$enablestring" = xdisable; then
8229                   defaultval=yes
8230               else
8231                   defaultval=no
8232               fi
8233           fi
8234
8235           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8236 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8237           # Check whether --enable-ffile was given.
8238 if test "${enable_ffile+set}" = set; then :
8239   enableval=$enable_ffile;
8240                           if test "$enableval" = yes; then
8241                             wx_cv_use_ffile='wxUSE_FFILE=yes'
8242                           else
8243                             wx_cv_use_ffile='wxUSE_FFILE=no'
8244                           fi
8245
8246 else
8247
8248                           wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8249
8250 fi
8251
8252
8253           eval "$wx_cv_use_ffile"
8254
8255           if test x"$enablestring" = xdisable; then
8256             if test $wxUSE_FFILE = no; then
8257               result=yes
8258             else
8259               result=no
8260             fi
8261           else
8262             result=$wxUSE_FFILE
8263           fi
8264
8265           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8266 $as_echo "$result" >&6; }
8267
8268
8269           enablestring=
8270           defaultval=$wxUSE_ALL_FEATURES
8271           if test -z "$defaultval"; then
8272               if test x"$enablestring" = xdisable; then
8273                   defaultval=yes
8274               else
8275                   defaultval=no
8276               fi
8277           fi
8278
8279           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8280 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8281           # Check whether --enable-file was given.
8282 if test "${enable_file+set}" = set; then :
8283   enableval=$enable_file;
8284                           if test "$enableval" = yes; then
8285                             wx_cv_use_file='wxUSE_FILE=yes'
8286                           else
8287                             wx_cv_use_file='wxUSE_FILE=no'
8288                           fi
8289
8290 else
8291
8292                           wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8293
8294 fi
8295
8296
8297           eval "$wx_cv_use_file"
8298
8299           if test x"$enablestring" = xdisable; then
8300             if test $wxUSE_FILE = no; then
8301               result=yes
8302             else
8303               result=no
8304             fi
8305           else
8306             result=$wxUSE_FILE
8307           fi
8308
8309           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8310 $as_echo "$result" >&6; }
8311
8312
8313           enablestring=
8314           defaultval=$wxUSE_ALL_FEATURES
8315           if test -z "$defaultval"; then
8316               if test x"$enablestring" = xdisable; then
8317                   defaultval=yes
8318               else
8319                   defaultval=no
8320               fi
8321           fi
8322
8323           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8324 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8325           # Check whether --enable-filehistory was given.
8326 if test "${enable_filehistory+set}" = set; then :
8327   enableval=$enable_filehistory;
8328                           if test "$enableval" = yes; then
8329                             wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8330                           else
8331                             wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8332                           fi
8333
8334 else
8335
8336                           wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8337
8338 fi
8339
8340
8341           eval "$wx_cv_use_filehistory"
8342
8343           if test x"$enablestring" = xdisable; then
8344             if test $wxUSE_FILE_HISTORY = no; then
8345               result=yes
8346             else
8347               result=no
8348             fi
8349           else
8350             result=$wxUSE_FILE_HISTORY
8351           fi
8352
8353           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8354 $as_echo "$result" >&6; }
8355
8356
8357           enablestring=
8358           defaultval=$wxUSE_ALL_FEATURES
8359           if test -z "$defaultval"; then
8360               if test x"$enablestring" = xdisable; then
8361                   defaultval=yes
8362               else
8363                   defaultval=no
8364               fi
8365           fi
8366
8367           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8368 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8369           # Check whether --enable-filesystem was given.
8370 if test "${enable_filesystem+set}" = set; then :
8371   enableval=$enable_filesystem;
8372                           if test "$enableval" = yes; then
8373                             wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8374                           else
8375                             wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8376                           fi
8377
8378 else
8379
8380                           wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8381
8382 fi
8383
8384
8385           eval "$wx_cv_use_filesystem"
8386
8387           if test x"$enablestring" = xdisable; then
8388             if test $wxUSE_FILESYSTEM = no; then
8389               result=yes
8390             else
8391               result=no
8392             fi
8393           else
8394             result=$wxUSE_FILESYSTEM
8395           fi
8396
8397           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8398 $as_echo "$result" >&6; }
8399
8400
8401           enablestring=
8402           defaultval=$wxUSE_ALL_FEATURES
8403           if test -z "$defaultval"; then
8404               if test x"$enablestring" = xdisable; then
8405                   defaultval=yes
8406               else
8407                   defaultval=no
8408               fi
8409           fi
8410
8411           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8412 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8413           # Check whether --enable-fontenum was given.
8414 if test "${enable_fontenum+set}" = set; then :
8415   enableval=$enable_fontenum;
8416                           if test "$enableval" = yes; then
8417                             wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8418                           else
8419                             wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8420                           fi
8421
8422 else
8423
8424                           wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8425
8426 fi
8427
8428
8429           eval "$wx_cv_use_fontenum"
8430
8431           if test x"$enablestring" = xdisable; then
8432             if test $wxUSE_FONTENUM = no; then
8433               result=yes
8434             else
8435               result=no
8436             fi
8437           else
8438             result=$wxUSE_FONTENUM
8439           fi
8440
8441           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8442 $as_echo "$result" >&6; }
8443
8444
8445           enablestring=
8446           defaultval=$wxUSE_ALL_FEATURES
8447           if test -z "$defaultval"; then
8448               if test x"$enablestring" = xdisable; then
8449                   defaultval=yes
8450               else
8451                   defaultval=no
8452               fi
8453           fi
8454
8455           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8456 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8457           # Check whether --enable-fontmap was given.
8458 if test "${enable_fontmap+set}" = set; then :
8459   enableval=$enable_fontmap;
8460                           if test "$enableval" = yes; then
8461                             wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8462                           else
8463                             wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8464                           fi
8465
8466 else
8467
8468                           wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8469
8470 fi
8471
8472
8473           eval "$wx_cv_use_fontmap"
8474
8475           if test x"$enablestring" = xdisable; then
8476             if test $wxUSE_FONTMAP = no; then
8477               result=yes
8478             else
8479               result=no
8480             fi
8481           else
8482             result=$wxUSE_FONTMAP
8483           fi
8484
8485           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8486 $as_echo "$result" >&6; }
8487
8488
8489           enablestring=
8490           defaultval=$wxUSE_ALL_FEATURES
8491           if test -z "$defaultval"; then
8492               if test x"$enablestring" = xdisable; then
8493                   defaultval=yes
8494               else
8495                   defaultval=no
8496               fi
8497           fi
8498
8499           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8500 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8501           # Check whether --enable-fs_archive was given.
8502 if test "${enable_fs_archive+set}" = set; then :
8503   enableval=$enable_fs_archive;
8504                           if test "$enableval" = yes; then
8505                             wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8506                           else
8507                             wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8508                           fi
8509
8510 else
8511
8512                           wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8513
8514 fi
8515
8516
8517           eval "$wx_cv_use_fs_archive"
8518
8519           if test x"$enablestring" = xdisable; then
8520             if test $wxUSE_FS_ARCHIVE = no; then
8521               result=yes
8522             else
8523               result=no
8524             fi
8525           else
8526             result=$wxUSE_FS_ARCHIVE
8527           fi
8528
8529           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8530 $as_echo "$result" >&6; }
8531
8532
8533           enablestring=
8534           defaultval=$wxUSE_ALL_FEATURES
8535           if test -z "$defaultval"; then
8536               if test x"$enablestring" = xdisable; then
8537                   defaultval=yes
8538               else
8539                   defaultval=no
8540               fi
8541           fi
8542
8543           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8544 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8545           # Check whether --enable-fs_inet was given.
8546 if test "${enable_fs_inet+set}" = set; then :
8547   enableval=$enable_fs_inet;
8548                           if test "$enableval" = yes; then
8549                             wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8550                           else
8551                             wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8552                           fi
8553
8554 else
8555
8556                           wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8557
8558 fi
8559
8560
8561           eval "$wx_cv_use_fs_inet"
8562
8563           if test x"$enablestring" = xdisable; then
8564             if test $wxUSE_FS_INET = no; then
8565               result=yes
8566             else
8567               result=no
8568             fi
8569           else
8570             result=$wxUSE_FS_INET
8571           fi
8572
8573           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8574 $as_echo "$result" >&6; }
8575
8576
8577           enablestring=
8578           defaultval=$wxUSE_ALL_FEATURES
8579           if test -z "$defaultval"; then
8580               if test x"$enablestring" = xdisable; then
8581                   defaultval=yes
8582               else
8583                   defaultval=no
8584               fi
8585           fi
8586
8587           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8588 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8589           # Check whether --enable-fs_zip was given.
8590 if test "${enable_fs_zip+set}" = set; then :
8591   enableval=$enable_fs_zip;
8592                           if test "$enableval" = yes; then
8593                             wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8594                           else
8595                             wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8596                           fi
8597
8598 else
8599
8600                           wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8601
8602 fi
8603
8604
8605           eval "$wx_cv_use_fs_zip"
8606
8607           if test x"$enablestring" = xdisable; then
8608             if test $wxUSE_FS_ZIP = no; then
8609               result=yes
8610             else
8611               result=no
8612             fi
8613           else
8614             result=$wxUSE_FS_ZIP
8615           fi
8616
8617           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8618 $as_echo "$result" >&6; }
8619
8620
8621           enablestring=
8622           defaultval=$wxUSE_ALL_FEATURES
8623           if test -z "$defaultval"; then
8624               if test x"$enablestring" = xdisable; then
8625                   defaultval=yes
8626               else
8627                   defaultval=no
8628               fi
8629           fi
8630
8631           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8632 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8633           # Check whether --enable-fswatcher was given.
8634 if test "${enable_fswatcher+set}" = set; then :
8635   enableval=$enable_fswatcher;
8636                           if test "$enableval" = yes; then
8637                             wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8638                           else
8639                             wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8640                           fi
8641
8642 else
8643
8644                           wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8645
8646 fi
8647
8648
8649           eval "$wx_cv_use_fswatcher"
8650
8651           if test x"$enablestring" = xdisable; then
8652             if test $wxUSE_FSWATCHER = no; then
8653               result=yes
8654             else
8655               result=no
8656             fi
8657           else
8658             result=$wxUSE_FSWATCHER
8659           fi
8660
8661           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8662 $as_echo "$result" >&6; }
8663
8664
8665           enablestring=
8666           defaultval=$wxUSE_ALL_FEATURES
8667           if test -z "$defaultval"; then
8668               if test x"$enablestring" = xdisable; then
8669                   defaultval=yes
8670               else
8671                   defaultval=no
8672               fi
8673           fi
8674
8675           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8676 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8677           # Check whether --enable-geometry was given.
8678 if test "${enable_geometry+set}" = set; then :
8679   enableval=$enable_geometry;
8680                           if test "$enableval" = yes; then
8681                             wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8682                           else
8683                             wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8684                           fi
8685
8686 else
8687
8688                           wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8689
8690 fi
8691
8692
8693           eval "$wx_cv_use_geometry"
8694
8695           if test x"$enablestring" = xdisable; then
8696             if test $wxUSE_GEOMETRY = no; then
8697               result=yes
8698             else
8699               result=no
8700             fi
8701           else
8702             result=$wxUSE_GEOMETRY
8703           fi
8704
8705           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8706 $as_echo "$result" >&6; }
8707
8708
8709           enablestring=
8710           defaultval=$wxUSE_ALL_FEATURES
8711           if test -z "$defaultval"; then
8712               if test x"$enablestring" = xdisable; then
8713                   defaultval=yes
8714               else
8715                   defaultval=no
8716               fi
8717           fi
8718
8719           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8720 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8721           # Check whether --enable-log was given.
8722 if test "${enable_log+set}" = set; then :
8723   enableval=$enable_log;
8724                           if test "$enableval" = yes; then
8725                             wx_cv_use_log='wxUSE_LOG=yes'
8726                           else
8727                             wx_cv_use_log='wxUSE_LOG=no'
8728                           fi
8729
8730 else
8731
8732                           wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8733
8734 fi
8735
8736
8737           eval "$wx_cv_use_log"
8738
8739           if test x"$enablestring" = xdisable; then
8740             if test $wxUSE_LOG = no; then
8741               result=yes
8742             else
8743               result=no
8744             fi
8745           else
8746             result=$wxUSE_LOG
8747           fi
8748
8749           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8750 $as_echo "$result" >&6; }
8751
8752
8753           enablestring=
8754           defaultval=$wxUSE_ALL_FEATURES
8755           if test -z "$defaultval"; then
8756               if test x"$enablestring" = xdisable; then
8757                   defaultval=yes
8758               else
8759                   defaultval=no
8760               fi
8761           fi
8762
8763           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8764 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8765           # Check whether --enable-longlong was given.
8766 if test "${enable_longlong+set}" = set; then :
8767   enableval=$enable_longlong;
8768                           if test "$enableval" = yes; then
8769                             wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8770                           else
8771                             wx_cv_use_longlong='wxUSE_LONGLONG=no'
8772                           fi
8773
8774 else
8775
8776                           wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8777
8778 fi
8779
8780
8781           eval "$wx_cv_use_longlong"
8782
8783           if test x"$enablestring" = xdisable; then
8784             if test $wxUSE_LONGLONG = no; then
8785               result=yes
8786             else
8787               result=no
8788             fi
8789           else
8790             result=$wxUSE_LONGLONG
8791           fi
8792
8793           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8794 $as_echo "$result" >&6; }
8795
8796
8797           enablestring=
8798           defaultval=$wxUSE_ALL_FEATURES
8799           if test -z "$defaultval"; then
8800               if test x"$enablestring" = xdisable; then
8801                   defaultval=yes
8802               else
8803                   defaultval=no
8804               fi
8805           fi
8806
8807           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8808 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8809           # Check whether --enable-mimetype was given.
8810 if test "${enable_mimetype+set}" = set; then :
8811   enableval=$enable_mimetype;
8812                           if test "$enableval" = yes; then
8813                             wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8814                           else
8815                             wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8816                           fi
8817
8818 else
8819
8820                           wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8821
8822 fi
8823
8824
8825           eval "$wx_cv_use_mimetype"
8826
8827           if test x"$enablestring" = xdisable; then
8828             if test $wxUSE_MIMETYPE = no; then
8829               result=yes
8830             else
8831               result=no
8832             fi
8833           else
8834             result=$wxUSE_MIMETYPE
8835           fi
8836
8837           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8838 $as_echo "$result" >&6; }
8839
8840
8841           enablestring=
8842           defaultval=$wxUSE_ALL_FEATURES
8843           if test -z "$defaultval"; then
8844               if test x"$enablestring" = xdisable; then
8845                   defaultval=yes
8846               else
8847                   defaultval=no
8848               fi
8849           fi
8850
8851           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8852 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8853           # Check whether --enable-printfposparam was given.
8854 if test "${enable_printfposparam+set}" = set; then :
8855   enableval=$enable_printfposparam;
8856                           if test "$enableval" = yes; then
8857                             wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8858                           else
8859                             wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8860                           fi
8861
8862 else
8863
8864                           wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8865
8866 fi
8867
8868
8869           eval "$wx_cv_use_printfposparam"
8870
8871           if test x"$enablestring" = xdisable; then
8872             if test $wxUSE_PRINTF_POS_PARAMS = no; then
8873               result=yes
8874             else
8875               result=no
8876             fi
8877           else
8878             result=$wxUSE_PRINTF_POS_PARAMS
8879           fi
8880
8881           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8882 $as_echo "$result" >&6; }
8883
8884
8885           enablestring=
8886           defaultval=$wxUSE_ALL_FEATURES
8887           if test -z "$defaultval"; then
8888               if test x"$enablestring" = xdisable; then
8889                   defaultval=yes
8890               else
8891                   defaultval=no
8892               fi
8893           fi
8894
8895           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8896 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8897           # Check whether --enable-snglinst was given.
8898 if test "${enable_snglinst+set}" = set; then :
8899   enableval=$enable_snglinst;
8900                           if test "$enableval" = yes; then
8901                             wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8902                           else
8903                             wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8904                           fi
8905
8906 else
8907
8908                           wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8909
8910 fi
8911
8912
8913           eval "$wx_cv_use_snglinst"
8914
8915           if test x"$enablestring" = xdisable; then
8916             if test $wxUSE_SNGLINST_CHECKER = no; then
8917               result=yes
8918             else
8919               result=no
8920             fi
8921           else
8922             result=$wxUSE_SNGLINST_CHECKER
8923           fi
8924
8925           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8926 $as_echo "$result" >&6; }
8927
8928
8929           enablestring=
8930           defaultval=$wxUSE_ALL_FEATURES
8931           if test -z "$defaultval"; then
8932               if test x"$enablestring" = xdisable; then
8933                   defaultval=yes
8934               else
8935                   defaultval=no
8936               fi
8937           fi
8938
8939           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
8940 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
8941           # Check whether --enable-sound was given.
8942 if test "${enable_sound+set}" = set; then :
8943   enableval=$enable_sound;
8944                           if test "$enableval" = yes; then
8945                             wx_cv_use_sound='wxUSE_SOUND=yes'
8946                           else
8947                             wx_cv_use_sound='wxUSE_SOUND=no'
8948                           fi
8949
8950 else
8951
8952                           wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8953
8954 fi
8955
8956
8957           eval "$wx_cv_use_sound"
8958
8959           if test x"$enablestring" = xdisable; then
8960             if test $wxUSE_SOUND = no; then
8961               result=yes
8962             else
8963               result=no
8964             fi
8965           else
8966             result=$wxUSE_SOUND
8967           fi
8968
8969           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8970 $as_echo "$result" >&6; }
8971
8972
8973           enablestring=
8974           defaultval=$wxUSE_ALL_FEATURES
8975           if test -z "$defaultval"; then
8976               if test x"$enablestring" = xdisable; then
8977                   defaultval=yes
8978               else
8979                   defaultval=no
8980               fi
8981           fi
8982
8983           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
8984 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
8985           # Check whether --enable-stdpaths was given.
8986 if test "${enable_stdpaths+set}" = set; then :
8987   enableval=$enable_stdpaths;
8988                           if test "$enableval" = yes; then
8989                             wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8990                           else
8991                             wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8992                           fi
8993
8994 else
8995
8996                           wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8997
8998 fi
8999
9000
9001           eval "$wx_cv_use_stdpaths"
9002
9003           if test x"$enablestring" = xdisable; then
9004             if test $wxUSE_STDPATHS = no; then
9005               result=yes
9006             else
9007               result=no
9008             fi
9009           else
9010             result=$wxUSE_STDPATHS
9011           fi
9012
9013           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9014 $as_echo "$result" >&6; }
9015
9016
9017           enablestring=
9018           defaultval=$wxUSE_ALL_FEATURES
9019           if test -z "$defaultval"; then
9020               if test x"$enablestring" = xdisable; then
9021                   defaultval=yes
9022               else
9023                   defaultval=no
9024               fi
9025           fi
9026
9027           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
9028 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
9029           # Check whether --enable-stopwatch was given.
9030 if test "${enable_stopwatch+set}" = set; then :
9031   enableval=$enable_stopwatch;
9032                           if test "$enableval" = yes; then
9033                             wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
9034                           else
9035                             wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
9036                           fi
9037
9038 else
9039
9040                           wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9041
9042 fi
9043
9044
9045           eval "$wx_cv_use_stopwatch"
9046
9047           if test x"$enablestring" = xdisable; then
9048             if test $wxUSE_STOPWATCH = no; then
9049               result=yes
9050             else
9051               result=no
9052             fi
9053           else
9054             result=$wxUSE_STOPWATCH
9055           fi
9056
9057           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9058 $as_echo "$result" >&6; }
9059
9060
9061           enablestring=
9062           defaultval=$wxUSE_ALL_FEATURES
9063           if test -z "$defaultval"; then
9064               if test x"$enablestring" = xdisable; then
9065                   defaultval=yes
9066               else
9067                   defaultval=no
9068               fi
9069           fi
9070
9071           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9072 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9073           # Check whether --enable-streams was given.
9074 if test "${enable_streams+set}" = set; then :
9075   enableval=$enable_streams;
9076                           if test "$enableval" = yes; then
9077                             wx_cv_use_streams='wxUSE_STREAMS=yes'
9078                           else
9079                             wx_cv_use_streams='wxUSE_STREAMS=no'
9080                           fi
9081
9082 else
9083
9084                           wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9085
9086 fi
9087
9088
9089           eval "$wx_cv_use_streams"
9090
9091           if test x"$enablestring" = xdisable; then
9092             if test $wxUSE_STREAMS = no; then
9093               result=yes
9094             else
9095               result=no
9096             fi
9097           else
9098             result=$wxUSE_STREAMS
9099           fi
9100
9101           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9102 $as_echo "$result" >&6; }
9103
9104
9105           enablestring=
9106           defaultval=$wxUSE_ALL_FEATURES
9107           if test -z "$defaultval"; then
9108               if test x"$enablestring" = xdisable; then
9109                   defaultval=yes
9110               else
9111                   defaultval=no
9112               fi
9113           fi
9114
9115           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9116 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9117           # Check whether --enable-sysoptions was given.
9118 if test "${enable_sysoptions+set}" = set; then :
9119   enableval=$enable_sysoptions;
9120                           if test "$enableval" = yes; then
9121                             wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9122                           else
9123                             wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9124                           fi
9125
9126 else
9127
9128                           wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9129
9130 fi
9131
9132
9133           eval "$wx_cv_use_sysoptions"
9134
9135           if test x"$enablestring" = xdisable; then
9136             if test $wxUSE_SYSTEM_OPTIONS = no; then
9137               result=yes
9138             else
9139               result=no
9140             fi
9141           else
9142             result=$wxUSE_SYSTEM_OPTIONS
9143           fi
9144
9145           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9146 $as_echo "$result" >&6; }
9147
9148
9149           enablestring=
9150           defaultval=$wxUSE_ALL_FEATURES
9151           if test -z "$defaultval"; then
9152               if test x"$enablestring" = xdisable; then
9153                   defaultval=yes
9154               else
9155                   defaultval=no
9156               fi
9157           fi
9158
9159           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9160 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9161           # Check whether --enable-tarstream was given.
9162 if test "${enable_tarstream+set}" = set; then :
9163   enableval=$enable_tarstream;
9164                           if test "$enableval" = yes; then
9165                             wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9166                           else
9167                             wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9168                           fi
9169
9170 else
9171
9172                           wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9173
9174 fi
9175
9176
9177           eval "$wx_cv_use_tarstream"
9178
9179           if test x"$enablestring" = xdisable; then
9180             if test $wxUSE_TARSTREAM = no; then
9181               result=yes
9182             else
9183               result=no
9184             fi
9185           else
9186             result=$wxUSE_TARSTREAM
9187           fi
9188
9189           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9190 $as_echo "$result" >&6; }
9191
9192
9193           enablestring=
9194           defaultval=$wxUSE_ALL_FEATURES
9195           if test -z "$defaultval"; then
9196               if test x"$enablestring" = xdisable; then
9197                   defaultval=yes
9198               else
9199                   defaultval=no
9200               fi
9201           fi
9202
9203           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9204 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9205           # Check whether --enable-textbuf was given.
9206 if test "${enable_textbuf+set}" = set; then :
9207   enableval=$enable_textbuf;
9208                           if test "$enableval" = yes; then
9209                             wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9210                           else
9211                             wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9212                           fi
9213
9214 else
9215
9216                           wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9217
9218 fi
9219
9220
9221           eval "$wx_cv_use_textbuf"
9222
9223           if test x"$enablestring" = xdisable; then
9224             if test $wxUSE_TEXTBUFFER = no; then
9225               result=yes
9226             else
9227               result=no
9228             fi
9229           else
9230             result=$wxUSE_TEXTBUFFER
9231           fi
9232
9233           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9234 $as_echo "$result" >&6; }
9235
9236
9237           enablestring=
9238           defaultval=$wxUSE_ALL_FEATURES
9239           if test -z "$defaultval"; then
9240               if test x"$enablestring" = xdisable; then
9241                   defaultval=yes
9242               else
9243                   defaultval=no
9244               fi
9245           fi
9246
9247           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9248 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9249           # Check whether --enable-textfile was given.
9250 if test "${enable_textfile+set}" = set; then :
9251   enableval=$enable_textfile;
9252                           if test "$enableval" = yes; then
9253                             wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9254                           else
9255                             wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9256                           fi
9257
9258 else
9259
9260                           wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9261
9262 fi
9263
9264
9265           eval "$wx_cv_use_textfile"
9266
9267           if test x"$enablestring" = xdisable; then
9268             if test $wxUSE_TEXTFILE = no; then
9269               result=yes
9270             else
9271               result=no
9272             fi
9273           else
9274             result=$wxUSE_TEXTFILE
9275           fi
9276
9277           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9278 $as_echo "$result" >&6; }
9279
9280
9281           enablestring=
9282           defaultval=$wxUSE_ALL_FEATURES
9283           if test -z "$defaultval"; then
9284               if test x"$enablestring" = xdisable; then
9285                   defaultval=yes
9286               else
9287                   defaultval=no
9288               fi
9289           fi
9290
9291           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9292 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9293           # Check whether --enable-timer was given.
9294 if test "${enable_timer+set}" = set; then :
9295   enableval=$enable_timer;
9296                           if test "$enableval" = yes; then
9297                             wx_cv_use_timer='wxUSE_TIMER=yes'
9298                           else
9299                             wx_cv_use_timer='wxUSE_TIMER=no'
9300                           fi
9301
9302 else
9303
9304                           wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9305
9306 fi
9307
9308
9309           eval "$wx_cv_use_timer"
9310
9311           if test x"$enablestring" = xdisable; then
9312             if test $wxUSE_TIMER = no; then
9313               result=yes
9314             else
9315               result=no
9316             fi
9317           else
9318             result=$wxUSE_TIMER
9319           fi
9320
9321           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9322 $as_echo "$result" >&6; }
9323
9324
9325           enablestring=
9326           defaultval=$wxUSE_ALL_FEATURES
9327           if test -z "$defaultval"; then
9328               if test x"$enablestring" = xdisable; then
9329                   defaultval=yes
9330               else
9331                   defaultval=no
9332               fi
9333           fi
9334
9335           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9336 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9337           # Check whether --enable-variant was given.
9338 if test "${enable_variant+set}" = set; then :
9339   enableval=$enable_variant;
9340                           if test "$enableval" = yes; then
9341                             wx_cv_use_variant='wxUSE_VARIANT=yes'
9342                           else
9343                             wx_cv_use_variant='wxUSE_VARIANT=no'
9344                           fi
9345
9346 else
9347
9348                           wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9349
9350 fi
9351
9352
9353           eval "$wx_cv_use_variant"
9354
9355           if test x"$enablestring" = xdisable; then
9356             if test $wxUSE_VARIANT = no; then
9357               result=yes
9358             else
9359               result=no
9360             fi
9361           else
9362             result=$wxUSE_VARIANT
9363           fi
9364
9365           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9366 $as_echo "$result" >&6; }
9367
9368
9369           enablestring=
9370           defaultval=$wxUSE_ALL_FEATURES
9371           if test -z "$defaultval"; then
9372               if test x"$enablestring" = xdisable; then
9373                   defaultval=yes
9374               else
9375                   defaultval=no
9376               fi
9377           fi
9378
9379           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9380 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9381           # Check whether --enable-zipstream was given.
9382 if test "${enable_zipstream+set}" = set; then :
9383   enableval=$enable_zipstream;
9384                           if test "$enableval" = yes; then
9385                             wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9386                           else
9387                             wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9388                           fi
9389
9390 else
9391
9392                           wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9393
9394 fi
9395
9396
9397           eval "$wx_cv_use_zipstream"
9398
9399           if test x"$enablestring" = xdisable; then
9400             if test $wxUSE_ZIPSTREAM = no; then
9401               result=yes
9402             else
9403               result=no
9404             fi
9405           else
9406             result=$wxUSE_ZIPSTREAM
9407           fi
9408
9409           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9410 $as_echo "$result" >&6; }
9411
9412
9413
9414           enablestring=
9415           defaultval=$wxUSE_ALL_FEATURES
9416           if test -z "$defaultval"; then
9417               if test x"$enablestring" = xdisable; then
9418                   defaultval=yes
9419               else
9420                   defaultval=no
9421               fi
9422           fi
9423
9424           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9425 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9426           # Check whether --enable-url was given.
9427 if test "${enable_url+set}" = set; then :
9428   enableval=$enable_url;
9429                           if test "$enableval" = yes; then
9430                             wx_cv_use_url='wxUSE_URL=yes'
9431                           else
9432                             wx_cv_use_url='wxUSE_URL=no'
9433                           fi
9434
9435 else
9436
9437                           wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9438
9439 fi
9440
9441
9442           eval "$wx_cv_use_url"
9443
9444           if test x"$enablestring" = xdisable; then
9445             if test $wxUSE_URL = no; then
9446               result=yes
9447             else
9448               result=no
9449             fi
9450           else
9451             result=$wxUSE_URL
9452           fi
9453
9454           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9455 $as_echo "$result" >&6; }
9456
9457
9458           enablestring=
9459           defaultval=$wxUSE_ALL_FEATURES
9460           if test -z "$defaultval"; then
9461               if test x"$enablestring" = xdisable; then
9462                   defaultval=yes
9463               else
9464                   defaultval=no
9465               fi
9466           fi
9467
9468           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9469 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9470           # Check whether --enable-protocol was given.
9471 if test "${enable_protocol+set}" = set; then :
9472   enableval=$enable_protocol;
9473                           if test "$enableval" = yes; then
9474                             wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9475                           else
9476                             wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9477                           fi
9478
9479 else
9480
9481                           wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9482
9483 fi
9484
9485
9486           eval "$wx_cv_use_protocol"
9487
9488           if test x"$enablestring" = xdisable; then
9489             if test $wxUSE_PROTOCOL = no; then
9490               result=yes
9491             else
9492               result=no
9493             fi
9494           else
9495             result=$wxUSE_PROTOCOL
9496           fi
9497
9498           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9499 $as_echo "$result" >&6; }
9500
9501
9502           enablestring=
9503           defaultval=$wxUSE_ALL_FEATURES
9504           if test -z "$defaultval"; then
9505               if test x"$enablestring" = xdisable; then
9506                   defaultval=yes
9507               else
9508                   defaultval=no
9509               fi
9510           fi
9511
9512           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9513 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9514           # Check whether --enable-protocol_http was given.
9515 if test "${enable_protocol_http+set}" = set; then :
9516   enableval=$enable_protocol_http;
9517                           if test "$enableval" = yes; then
9518                             wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9519                           else
9520                             wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9521                           fi
9522
9523 else
9524
9525                           wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9526
9527 fi
9528
9529
9530           eval "$wx_cv_use_protocol_http"
9531
9532           if test x"$enablestring" = xdisable; then
9533             if test $wxUSE_PROTOCOL_HTTP = no; then
9534               result=yes
9535             else
9536               result=no
9537             fi
9538           else
9539             result=$wxUSE_PROTOCOL_HTTP
9540           fi
9541
9542           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9543 $as_echo "$result" >&6; }
9544
9545
9546           enablestring=
9547           defaultval=$wxUSE_ALL_FEATURES
9548           if test -z "$defaultval"; then
9549               if test x"$enablestring" = xdisable; then
9550                   defaultval=yes
9551               else
9552                   defaultval=no
9553               fi
9554           fi
9555
9556           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9557 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9558           # Check whether --enable-protocol_ftp was given.
9559 if test "${enable_protocol_ftp+set}" = set; then :
9560   enableval=$enable_protocol_ftp;
9561                           if test "$enableval" = yes; then
9562                             wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9563                           else
9564                             wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9565                           fi
9566
9567 else
9568
9569                           wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9570
9571 fi
9572
9573
9574           eval "$wx_cv_use_protocol_ftp"
9575
9576           if test x"$enablestring" = xdisable; then
9577             if test $wxUSE_PROTOCOL_FTP = no; then
9578               result=yes
9579             else
9580               result=no
9581             fi
9582           else
9583             result=$wxUSE_PROTOCOL_FTP
9584           fi
9585
9586           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9587 $as_echo "$result" >&6; }
9588
9589
9590           enablestring=
9591           defaultval=$wxUSE_ALL_FEATURES
9592           if test -z "$defaultval"; then
9593               if test x"$enablestring" = xdisable; then
9594                   defaultval=yes
9595               else
9596                   defaultval=no
9597               fi
9598           fi
9599
9600           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9601 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9602           # Check whether --enable-protocol_file was given.
9603 if test "${enable_protocol_file+set}" = set; then :
9604   enableval=$enable_protocol_file;
9605                           if test "$enableval" = yes; then
9606                             wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9607                           else
9608                             wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9609                           fi
9610
9611 else
9612
9613                           wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9614
9615 fi
9616
9617
9618           eval "$wx_cv_use_protocol_file"
9619
9620           if test x"$enablestring" = xdisable; then
9621             if test $wxUSE_PROTOCOL_FILE = no; then
9622               result=yes
9623             else
9624               result=no
9625             fi
9626           else
9627             result=$wxUSE_PROTOCOL_FILE
9628           fi
9629
9630           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9631 $as_echo "$result" >&6; }
9632
9633
9634
9635           enablestring=
9636           defaultval=$wxUSE_ALL_FEATURES
9637           if test -z "$defaultval"; then
9638               if test x"$enablestring" = xdisable; then
9639                   defaultval=yes
9640               else
9641                   defaultval=no
9642               fi
9643           fi
9644
9645           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9646 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9647           # Check whether --enable-threads was given.
9648 if test "${enable_threads+set}" = set; then :
9649   enableval=$enable_threads;
9650                           if test "$enableval" = yes; then
9651                             wx_cv_use_threads='wxUSE_THREADS=yes'
9652                           else
9653                             wx_cv_use_threads='wxUSE_THREADS=no'
9654                           fi
9655
9656 else
9657
9658                           wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9659
9660 fi
9661
9662
9663           eval "$wx_cv_use_threads"
9664
9665           if test x"$enablestring" = xdisable; then
9666             if test $wxUSE_THREADS = no; then
9667               result=yes
9668             else
9669               result=no
9670             fi
9671           else
9672             result=$wxUSE_THREADS
9673           fi
9674
9675           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9676 $as_echo "$result" >&6; }
9677
9678
9679
9680           enablestring=
9681           defaultval=
9682           if test -z "$defaultval"; then
9683               if test x"$enablestring" = xdisable; then
9684                   defaultval=yes
9685               else
9686                   defaultval=no
9687               fi
9688           fi
9689
9690           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9691 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9692           # Check whether --enable-iniconf was given.
9693 if test "${enable_iniconf+set}" = set; then :
9694   enableval=$enable_iniconf;
9695                           if test "$enableval" = yes; then
9696                             wx_cv_use_iniconf='wxUSE_INICONF=yes'
9697                           else
9698                             wx_cv_use_iniconf='wxUSE_INICONF=no'
9699                           fi
9700
9701 else
9702
9703                           wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9704
9705 fi
9706
9707
9708           eval "$wx_cv_use_iniconf"
9709
9710           if test x"$enablestring" = xdisable; then
9711             if test $wxUSE_INICONF = no; then
9712               result=yes
9713             else
9714               result=no
9715             fi
9716           else
9717             result=$wxUSE_INICONF
9718           fi
9719
9720           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9721 $as_echo "$result" >&6; }
9722
9723
9724           enablestring=
9725           defaultval=$wxUSE_ALL_FEATURES
9726           if test -z "$defaultval"; then
9727               if test x"$enablestring" = xdisable; then
9728                   defaultval=yes
9729               else
9730                   defaultval=no
9731               fi
9732           fi
9733
9734           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9735 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9736           # Check whether --enable-regkey was given.
9737 if test "${enable_regkey+set}" = set; then :
9738   enableval=$enable_regkey;
9739                           if test "$enableval" = yes; then
9740                             wx_cv_use_regkey='wxUSE_REGKEY=yes'
9741                           else
9742                             wx_cv_use_regkey='wxUSE_REGKEY=no'
9743                           fi
9744
9745 else
9746
9747                           wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9748
9749 fi
9750
9751
9752           eval "$wx_cv_use_regkey"
9753
9754           if test x"$enablestring" = xdisable; then
9755             if test $wxUSE_REGKEY = no; then
9756               result=yes
9757             else
9758               result=no
9759             fi
9760           else
9761             result=$wxUSE_REGKEY
9762           fi
9763
9764           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9765 $as_echo "$result" >&6; }
9766
9767
9768 if test "$wxUSE_GUI" = "yes"; then
9769
9770
9771
9772           enablestring=
9773           defaultval=$wxUSE_ALL_FEATURES
9774           if test -z "$defaultval"; then
9775               if test x"$enablestring" = xdisable; then
9776                   defaultval=yes
9777               else
9778                   defaultval=no
9779               fi
9780           fi
9781
9782           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9783 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9784           # Check whether --enable-docview was given.
9785 if test "${enable_docview+set}" = set; then :
9786   enableval=$enable_docview;
9787                           if test "$enableval" = yes; then
9788                             wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9789                           else
9790                             wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9791                           fi
9792
9793 else
9794
9795                           wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9796
9797 fi
9798
9799
9800           eval "$wx_cv_use_docview"
9801
9802           if test x"$enablestring" = xdisable; then
9803             if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9804               result=yes
9805             else
9806               result=no
9807             fi
9808           else
9809             result=$wxUSE_DOC_VIEW_ARCHITECTURE
9810           fi
9811
9812           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9813 $as_echo "$result" >&6; }
9814
9815
9816           enablestring=
9817           defaultval=$wxUSE_ALL_FEATURES
9818           if test -z "$defaultval"; then
9819               if test x"$enablestring" = xdisable; then
9820                   defaultval=yes
9821               else
9822                   defaultval=no
9823               fi
9824           fi
9825
9826           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9827 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9828           # Check whether --enable-help was given.
9829 if test "${enable_help+set}" = set; then :
9830   enableval=$enable_help;
9831                           if test "$enableval" = yes; then
9832                             wx_cv_use_help='wxUSE_HELP=yes'
9833                           else
9834                             wx_cv_use_help='wxUSE_HELP=no'
9835                           fi
9836
9837 else
9838
9839                           wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9840
9841 fi
9842
9843
9844           eval "$wx_cv_use_help"
9845
9846           if test x"$enablestring" = xdisable; then
9847             if test $wxUSE_HELP = no; then
9848               result=yes
9849             else
9850               result=no
9851             fi
9852           else
9853             result=$wxUSE_HELP
9854           fi
9855
9856           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9857 $as_echo "$result" >&6; }
9858
9859
9860           enablestring=
9861           defaultval=$wxUSE_ALL_FEATURES
9862           if test -z "$defaultval"; then
9863               if test x"$enablestring" = xdisable; then
9864                   defaultval=yes
9865               else
9866                   defaultval=no
9867               fi
9868           fi
9869
9870           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9871 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9872           # Check whether --enable-mshtmlhelp was given.
9873 if test "${enable_mshtmlhelp+set}" = set; then :
9874   enableval=$enable_mshtmlhelp;
9875                           if test "$enableval" = yes; then
9876                             wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9877                           else
9878                             wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9879                           fi
9880
9881 else
9882
9883                           wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9884
9885 fi
9886
9887
9888           eval "$wx_cv_use_mshtmlhelp"
9889
9890           if test x"$enablestring" = xdisable; then
9891             if test $wxUSE_MS_HTML_HELP = no; then
9892               result=yes
9893             else
9894               result=no
9895             fi
9896           else
9897             result=$wxUSE_MS_HTML_HELP
9898           fi
9899
9900           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9901 $as_echo "$result" >&6; }
9902
9903
9904           enablestring=
9905           defaultval=$wxUSE_ALL_FEATURES
9906           if test -z "$defaultval"; then
9907               if test x"$enablestring" = xdisable; then
9908                   defaultval=yes
9909               else
9910                   defaultval=no
9911               fi
9912           fi
9913
9914           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9915 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9916           # Check whether --enable-html was given.
9917 if test "${enable_html+set}" = set; then :
9918   enableval=$enable_html;
9919                           if test "$enableval" = yes; then
9920                             wx_cv_use_html='wxUSE_HTML=yes'
9921                           else
9922                             wx_cv_use_html='wxUSE_HTML=no'
9923                           fi
9924
9925 else
9926
9927                           wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9928
9929 fi
9930
9931
9932           eval "$wx_cv_use_html"
9933
9934           if test x"$enablestring" = xdisable; then
9935             if test $wxUSE_HTML = no; then
9936               result=yes
9937             else
9938               result=no
9939             fi
9940           else
9941             result=$wxUSE_HTML
9942           fi
9943
9944           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9945 $as_echo "$result" >&6; }
9946
9947
9948           enablestring=
9949           defaultval=$wxUSE_ALL_FEATURES
9950           if test -z "$defaultval"; then
9951               if test x"$enablestring" = xdisable; then
9952                   defaultval=yes
9953               else
9954                   defaultval=no
9955               fi
9956           fi
9957
9958           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
9959 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
9960           # Check whether --enable-htmlhelp was given.
9961 if test "${enable_htmlhelp+set}" = set; then :
9962   enableval=$enable_htmlhelp;
9963                           if test "$enableval" = yes; then
9964                             wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9965                           else
9966                             wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9967                           fi
9968
9969 else
9970
9971                           wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9972
9973 fi
9974
9975
9976           eval "$wx_cv_use_htmlhelp"
9977
9978           if test x"$enablestring" = xdisable; then
9979             if test $wxUSE_WXHTML_HELP = no; then
9980               result=yes
9981             else
9982               result=no
9983             fi
9984           else
9985             result=$wxUSE_WXHTML_HELP
9986           fi
9987
9988           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9989 $as_echo "$result" >&6; }
9990
9991
9992           enablestring=
9993           defaultval=$wxUSE_ALL_FEATURES
9994           if test -z "$defaultval"; then
9995               if test x"$enablestring" = xdisable; then
9996                   defaultval=yes
9997               else
9998                   defaultval=no
9999               fi
10000           fi
10001
10002           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
10003 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
10004           # Check whether --enable-xrc was given.
10005 if test "${enable_xrc+set}" = set; then :
10006   enableval=$enable_xrc;
10007                           if test "$enableval" = yes; then
10008                             wx_cv_use_xrc='wxUSE_XRC=yes'
10009                           else
10010                             wx_cv_use_xrc='wxUSE_XRC=no'
10011                           fi
10012
10013 else
10014
10015                           wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10016
10017 fi
10018
10019
10020           eval "$wx_cv_use_xrc"
10021
10022           if test x"$enablestring" = xdisable; then
10023             if test $wxUSE_XRC = no; then
10024               result=yes
10025             else
10026               result=no
10027             fi
10028           else
10029             result=$wxUSE_XRC
10030           fi
10031
10032           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10033 $as_echo "$result" >&6; }
10034
10035
10036           enablestring=
10037           defaultval=$wxUSE_ALL_FEATURES
10038           if test -z "$defaultval"; then
10039               if test x"$enablestring" = xdisable; then
10040                   defaultval=yes
10041               else
10042                   defaultval=no
10043               fi
10044           fi
10045
10046           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
10047 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
10048           # Check whether --enable-aui was given.
10049 if test "${enable_aui+set}" = set; then :
10050   enableval=$enable_aui;
10051                           if test "$enableval" = yes; then
10052                             wx_cv_use_aui='wxUSE_AUI=yes'
10053                           else
10054                             wx_cv_use_aui='wxUSE_AUI=no'
10055                           fi
10056
10057 else
10058
10059                           wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10060
10061 fi
10062
10063
10064           eval "$wx_cv_use_aui"
10065
10066           if test x"$enablestring" = xdisable; then
10067             if test $wxUSE_AUI = no; then
10068               result=yes
10069             else
10070               result=no
10071             fi
10072           else
10073             result=$wxUSE_AUI
10074           fi
10075
10076           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10077 $as_echo "$result" >&6; }
10078
10079
10080           enablestring=
10081           defaultval=$wxUSE_ALL_FEATURES
10082           if test -z "$defaultval"; then
10083               if test x"$enablestring" = xdisable; then
10084                   defaultval=yes
10085               else
10086                   defaultval=no
10087               fi
10088           fi
10089
10090           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10091 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10092           # Check whether --enable-propgrid was given.
10093 if test "${enable_propgrid+set}" = set; then :
10094   enableval=$enable_propgrid;
10095                           if test "$enableval" = yes; then
10096                             wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10097                           else
10098                             wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10099                           fi
10100
10101 else
10102
10103                           wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10104
10105 fi
10106
10107
10108           eval "$wx_cv_use_propgrid"
10109
10110           if test x"$enablestring" = xdisable; then
10111             if test $wxUSE_PROPGRID = no; then
10112               result=yes
10113             else
10114               result=no
10115             fi
10116           else
10117             result=$wxUSE_PROPGRID
10118           fi
10119
10120           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10121 $as_echo "$result" >&6; }
10122
10123
10124           enablestring=
10125           defaultval=$wxUSE_ALL_FEATURES
10126           if test -z "$defaultval"; then
10127               if test x"$enablestring" = xdisable; then
10128                   defaultval=yes
10129               else
10130                   defaultval=no
10131               fi
10132           fi
10133
10134           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10135 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10136           # Check whether --enable-ribbon was given.
10137 if test "${enable_ribbon+set}" = set; then :
10138   enableval=$enable_ribbon;
10139                           if test "$enableval" = yes; then
10140                             wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10141                           else
10142                             wx_cv_use_ribbon='wxUSE_RIBBON=no'
10143                           fi
10144
10145 else
10146
10147                           wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10148
10149 fi
10150
10151
10152           eval "$wx_cv_use_ribbon"
10153
10154           if test x"$enablestring" = xdisable; then
10155             if test $wxUSE_RIBBON = no; then
10156               result=yes
10157             else
10158               result=no
10159             fi
10160           else
10161             result=$wxUSE_RIBBON
10162           fi
10163
10164           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10165 $as_echo "$result" >&6; }
10166
10167
10168           enablestring=
10169           defaultval=$wxUSE_ALL_FEATURES
10170           if test -z "$defaultval"; then
10171               if test x"$enablestring" = xdisable; then
10172                   defaultval=yes
10173               else
10174                   defaultval=no
10175               fi
10176           fi
10177
10178           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10179 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10180           # Check whether --enable-stc was given.
10181 if test "${enable_stc+set}" = set; then :
10182   enableval=$enable_stc;
10183                           if test "$enableval" = yes; then
10184                             wx_cv_use_stc='wxUSE_STC=yes'
10185                           else
10186                             wx_cv_use_stc='wxUSE_STC=no'
10187                           fi
10188
10189 else
10190
10191                           wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10192
10193 fi
10194
10195
10196           eval "$wx_cv_use_stc"
10197
10198           if test x"$enablestring" = xdisable; then
10199             if test $wxUSE_STC = no; then
10200               result=yes
10201             else
10202               result=no
10203             fi
10204           else
10205             result=$wxUSE_STC
10206           fi
10207
10208           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10209 $as_echo "$result" >&6; }
10210
10211
10212           enablestring=
10213           defaultval=$wxUSE_ALL_FEATURES
10214           if test -z "$defaultval"; then
10215               if test x"$enablestring" = xdisable; then
10216                   defaultval=yes
10217               else
10218                   defaultval=no
10219               fi
10220           fi
10221
10222           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10223 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10224           # Check whether --enable-constraints was given.
10225 if test "${enable_constraints+set}" = set; then :
10226   enableval=$enable_constraints;
10227                           if test "$enableval" = yes; then
10228                             wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10229                           else
10230                             wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10231                           fi
10232
10233 else
10234
10235                           wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10236
10237 fi
10238
10239
10240           eval "$wx_cv_use_constraints"
10241
10242           if test x"$enablestring" = xdisable; then
10243             if test $wxUSE_CONSTRAINTS = no; then
10244               result=yes
10245             else
10246               result=no
10247             fi
10248           else
10249             result=$wxUSE_CONSTRAINTS
10250           fi
10251
10252           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10253 $as_echo "$result" >&6; }
10254
10255
10256           enablestring=
10257           defaultval=$wxUSE_ALL_FEATURES
10258           if test -z "$defaultval"; then
10259               if test x"$enablestring" = xdisable; then
10260                   defaultval=yes
10261               else
10262                   defaultval=no
10263               fi
10264           fi
10265
10266           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10267 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10268           # Check whether --enable-loggui was given.
10269 if test "${enable_loggui+set}" = set; then :
10270   enableval=$enable_loggui;
10271                           if test "$enableval" = yes; then
10272                             wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10273                           else
10274                             wx_cv_use_loggui='wxUSE_LOGGUI=no'
10275                           fi
10276
10277 else
10278
10279                           wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10280
10281 fi
10282
10283
10284           eval "$wx_cv_use_loggui"
10285
10286           if test x"$enablestring" = xdisable; then
10287             if test $wxUSE_LOGGUI = no; then
10288               result=yes
10289             else
10290               result=no
10291             fi
10292           else
10293             result=$wxUSE_LOGGUI
10294           fi
10295
10296           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10297 $as_echo "$result" >&6; }
10298
10299
10300           enablestring=
10301           defaultval=$wxUSE_ALL_FEATURES
10302           if test -z "$defaultval"; then
10303               if test x"$enablestring" = xdisable; then
10304                   defaultval=yes
10305               else
10306                   defaultval=no
10307               fi
10308           fi
10309
10310           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10311 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10312           # Check whether --enable-logwin was given.
10313 if test "${enable_logwin+set}" = set; then :
10314   enableval=$enable_logwin;
10315                           if test "$enableval" = yes; then
10316                             wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10317                           else
10318                             wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10319                           fi
10320
10321 else
10322
10323                           wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10324
10325 fi
10326
10327
10328           eval "$wx_cv_use_logwin"
10329
10330           if test x"$enablestring" = xdisable; then
10331             if test $wxUSE_LOGWINDOW = no; then
10332               result=yes
10333             else
10334               result=no
10335             fi
10336           else
10337             result=$wxUSE_LOGWINDOW
10338           fi
10339
10340           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10341 $as_echo "$result" >&6; }
10342
10343
10344           enablestring=
10345           defaultval=$wxUSE_ALL_FEATURES
10346           if test -z "$defaultval"; then
10347               if test x"$enablestring" = xdisable; then
10348                   defaultval=yes
10349               else
10350                   defaultval=no
10351               fi
10352           fi
10353
10354           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10355 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10356           # Check whether --enable-logdialog was given.
10357 if test "${enable_logdialog+set}" = set; then :
10358   enableval=$enable_logdialog;
10359                           if test "$enableval" = yes; then
10360                             wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10361                           else
10362                             wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10363                           fi
10364
10365 else
10366
10367                           wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10368
10369 fi
10370
10371
10372           eval "$wx_cv_use_logdialog"
10373
10374           if test x"$enablestring" = xdisable; then
10375             if test $wxUSE_LOGDIALOG = no; then
10376               result=yes
10377             else
10378               result=no
10379             fi
10380           else
10381             result=$wxUSE_LOGDIALOG
10382           fi
10383
10384           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10385 $as_echo "$result" >&6; }
10386
10387
10388           enablestring=
10389           defaultval=$wxUSE_ALL_FEATURES
10390           if test -z "$defaultval"; then
10391               if test x"$enablestring" = xdisable; then
10392                   defaultval=yes
10393               else
10394                   defaultval=no
10395               fi
10396           fi
10397
10398           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10399 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10400           # Check whether --enable-mdi was given.
10401 if test "${enable_mdi+set}" = set; then :
10402   enableval=$enable_mdi;
10403                           if test "$enableval" = yes; then
10404                             wx_cv_use_mdi='wxUSE_MDI=yes'
10405                           else
10406                             wx_cv_use_mdi='wxUSE_MDI=no'
10407                           fi
10408
10409 else
10410
10411                           wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10412
10413 fi
10414
10415
10416           eval "$wx_cv_use_mdi"
10417
10418           if test x"$enablestring" = xdisable; then
10419             if test $wxUSE_MDI = no; then
10420               result=yes
10421             else
10422               result=no
10423             fi
10424           else
10425             result=$wxUSE_MDI
10426           fi
10427
10428           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10429 $as_echo "$result" >&6; }
10430
10431
10432           enablestring=
10433           defaultval=$wxUSE_ALL_FEATURES
10434           if test -z "$defaultval"; then
10435               if test x"$enablestring" = xdisable; then
10436                   defaultval=yes
10437               else
10438                   defaultval=no
10439               fi
10440           fi
10441
10442           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10443 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10444           # Check whether --enable-mdidoc was given.
10445 if test "${enable_mdidoc+set}" = set; then :
10446   enableval=$enable_mdidoc;
10447                           if test "$enableval" = yes; then
10448                             wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10449                           else
10450                             wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10451                           fi
10452
10453 else
10454
10455                           wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10456
10457 fi
10458
10459
10460           eval "$wx_cv_use_mdidoc"
10461
10462           if test x"$enablestring" = xdisable; then
10463             if test $wxUSE_MDI_ARCHITECTURE = no; then
10464               result=yes
10465             else
10466               result=no
10467             fi
10468           else
10469             result=$wxUSE_MDI_ARCHITECTURE
10470           fi
10471
10472           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10473 $as_echo "$result" >&6; }
10474
10475
10476           enablestring=
10477           defaultval=$wxUSE_ALL_FEATURES
10478           if test -z "$defaultval"; then
10479               if test x"$enablestring" = xdisable; then
10480                   defaultval=yes
10481               else
10482                   defaultval=no
10483               fi
10484           fi
10485
10486           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10487 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10488           # Check whether --enable-mediactrl was given.
10489 if test "${enable_mediactrl+set}" = set; then :
10490   enableval=$enable_mediactrl;
10491                           if test "$enableval" = yes; then
10492                             wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10493                           else
10494                             wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10495                           fi
10496
10497 else
10498
10499                           wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10500
10501 fi
10502
10503
10504           eval "$wx_cv_use_mediactrl"
10505
10506           if test x"$enablestring" = xdisable; then
10507             if test $wxUSE_MEDIACTRL = no; then
10508               result=yes
10509             else
10510               result=no
10511             fi
10512           else
10513             result=$wxUSE_MEDIACTRL
10514           fi
10515
10516           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10517 $as_echo "$result" >&6; }
10518
10519
10520           enablestring=
10521           defaultval=$wxUSE_ALL_FEATURES
10522           if test -z "$defaultval"; then
10523               if test x"$enablestring" = xdisable; then
10524                   defaultval=yes
10525               else
10526                   defaultval=no
10527               fi
10528           fi
10529
10530           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10531 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10532           # Check whether --enable-gstreamer8 was given.
10533 if test "${enable_gstreamer8+set}" = set; then :
10534   enableval=$enable_gstreamer8;
10535                           if test "$enableval" = yes; then
10536                             wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10537                           else
10538                             wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10539                           fi
10540
10541 else
10542
10543                           wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10544
10545 fi
10546
10547
10548           eval "$wx_cv_use_gstreamer8"
10549
10550           if test x"$enablestring" = xdisable; then
10551             if test $wxUSE_GSTREAMER8 = no; then
10552               result=yes
10553             else
10554               result=no
10555             fi
10556           else
10557             result=$wxUSE_GSTREAMER8
10558           fi
10559
10560           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10561 $as_echo "$result" >&6; }
10562
10563
10564           enablestring=
10565           defaultval=$wxUSE_ALL_FEATURES
10566           if test -z "$defaultval"; then
10567               if test x"$enablestring" = xdisable; then
10568                   defaultval=yes
10569               else
10570                   defaultval=no
10571               fi
10572           fi
10573
10574           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10575 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10576           # Check whether --enable-richtext was given.
10577 if test "${enable_richtext+set}" = set; then :
10578   enableval=$enable_richtext;
10579                           if test "$enableval" = yes; then
10580                             wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10581                           else
10582                             wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10583                           fi
10584
10585 else
10586
10587                           wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10588
10589 fi
10590
10591
10592           eval "$wx_cv_use_richtext"
10593
10594           if test x"$enablestring" = xdisable; then
10595             if test $wxUSE_RICHTEXT = no; then
10596               result=yes
10597             else
10598               result=no
10599             fi
10600           else
10601             result=$wxUSE_RICHTEXT
10602           fi
10603
10604           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10605 $as_echo "$result" >&6; }
10606
10607
10608           enablestring=
10609           defaultval=$wxUSE_ALL_FEATURES
10610           if test -z "$defaultval"; then
10611               if test x"$enablestring" = xdisable; then
10612                   defaultval=yes
10613               else
10614                   defaultval=no
10615               fi
10616           fi
10617
10618           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10619 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10620           # Check whether --enable-postscript was given.
10621 if test "${enable_postscript+set}" = set; then :
10622   enableval=$enable_postscript;
10623                           if test "$enableval" = yes; then
10624                             wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10625                           else
10626                             wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10627                           fi
10628
10629 else
10630
10631                           wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10632
10633 fi
10634
10635
10636           eval "$wx_cv_use_postscript"
10637
10638           if test x"$enablestring" = xdisable; then
10639             if test $wxUSE_POSTSCRIPT = no; then
10640               result=yes
10641             else
10642               result=no
10643             fi
10644           else
10645             result=$wxUSE_POSTSCRIPT
10646           fi
10647
10648           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10649 $as_echo "$result" >&6; }
10650
10651
10652           enablestring=
10653           defaultval=$wxUSE_ALL_FEATURES
10654           if test -z "$defaultval"; then
10655               if test x"$enablestring" = xdisable; then
10656                   defaultval=yes
10657               else
10658                   defaultval=no
10659               fi
10660           fi
10661
10662           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10663 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10664           # Check whether --enable-printarch was given.
10665 if test "${enable_printarch+set}" = set; then :
10666   enableval=$enable_printarch;
10667                           if test "$enableval" = yes; then
10668                             wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10669                           else
10670                             wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10671                           fi
10672
10673 else
10674
10675                           wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10676
10677 fi
10678
10679
10680           eval "$wx_cv_use_printarch"
10681
10682           if test x"$enablestring" = xdisable; then
10683             if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10684               result=yes
10685             else
10686               result=no
10687             fi
10688           else
10689             result=$wxUSE_PRINTING_ARCHITECTURE
10690           fi
10691
10692           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10693 $as_echo "$result" >&6; }
10694
10695
10696           enablestring=
10697           defaultval=$wxUSE_ALL_FEATURES
10698           if test -z "$defaultval"; then
10699               if test x"$enablestring" = xdisable; then
10700                   defaultval=yes
10701               else
10702                   defaultval=no
10703               fi
10704           fi
10705
10706           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10707 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10708           # Check whether --enable-svg was given.
10709 if test "${enable_svg+set}" = set; then :
10710   enableval=$enable_svg;
10711                           if test "$enableval" = yes; then
10712                             wx_cv_use_svg='wxUSE_SVG=yes'
10713                           else
10714                             wx_cv_use_svg='wxUSE_SVG=no'
10715                           fi
10716
10717 else
10718
10719                           wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10720
10721 fi
10722
10723
10724           eval "$wx_cv_use_svg"
10725
10726           if test x"$enablestring" = xdisable; then
10727             if test $wxUSE_SVG = no; then
10728               result=yes
10729             else
10730               result=no
10731             fi
10732           else
10733             result=$wxUSE_SVG
10734           fi
10735
10736           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10737 $as_echo "$result" >&6; }
10738
10739
10740           enablestring=
10741           defaultval=$wxUSE_ALL_FEATURES
10742           if test -z "$defaultval"; then
10743               if test x"$enablestring" = xdisable; then
10744                   defaultval=yes
10745               else
10746                   defaultval=no
10747               fi
10748           fi
10749
10750           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10751 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10752           # Check whether --enable-webkit was given.
10753 if test "${enable_webkit+set}" = set; then :
10754   enableval=$enable_webkit;
10755                           if test "$enableval" = yes; then
10756                             wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10757                           else
10758                             wx_cv_use_webkit='wxUSE_WEBKIT=no'
10759                           fi
10760
10761 else
10762
10763                           wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10764
10765 fi
10766
10767
10768           eval "$wx_cv_use_webkit"
10769
10770           if test x"$enablestring" = xdisable; then
10771             if test $wxUSE_WEBKIT = no; then
10772               result=yes
10773             else
10774               result=no
10775             fi
10776           else
10777             result=$wxUSE_WEBKIT
10778           fi
10779
10780           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10781 $as_echo "$result" >&6; }
10782
10783
10784           enablestring=
10785           defaultval=$wxUSE_ALL_FEATURES
10786           if test -z "$defaultval"; then
10787               if test x"$enablestring" = xdisable; then
10788                   defaultval=yes
10789               else
10790                   defaultval=no
10791               fi
10792           fi
10793
10794           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10795 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10796           # Check whether --enable-webview was given.
10797 if test "${enable_webview+set}" = set; then :
10798   enableval=$enable_webview;
10799                           if test "$enableval" = yes; then
10800                             wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10801                           else
10802                             wx_cv_use_webview='wxUSE_WEBVIEW=no'
10803                           fi
10804
10805 else
10806
10807                           wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10808
10809 fi
10810
10811
10812           eval "$wx_cv_use_webview"
10813
10814           if test x"$enablestring" = xdisable; then
10815             if test $wxUSE_WEBVIEW = no; then
10816               result=yes
10817             else
10818               result=no
10819             fi
10820           else
10821             result=$wxUSE_WEBVIEW
10822           fi
10823
10824           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10825 $as_echo "$result" >&6; }
10826
10827
10828 if test "$wxUSE_MAC" != 1; then
10829
10830           enablestring=
10831           defaultval=$wxUSE_ALL_FEATURES
10832           if test -z "$defaultval"; then
10833               if test x"$enablestring" = xdisable; then
10834                   defaultval=yes
10835               else
10836                   defaultval=no
10837               fi
10838           fi
10839
10840           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10841 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10842           # Check whether --enable-graphics_ctx was given.
10843 if test "${enable_graphics_ctx+set}" = set; then :
10844   enableval=$enable_graphics_ctx;
10845                           if test "$enableval" = yes; then
10846                             wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10847                           else
10848                             wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10849                           fi
10850
10851 else
10852
10853                           wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10854
10855 fi
10856
10857
10858           eval "$wx_cv_use_graphics_ctx"
10859
10860           if test x"$enablestring" = xdisable; then
10861             if test $wxUSE_GRAPHICS_CONTEXT = no; then
10862               result=yes
10863             else
10864               result=no
10865             fi
10866           else
10867             result=$wxUSE_GRAPHICS_CONTEXT
10868           fi
10869
10870           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10871 $as_echo "$result" >&6; }
10872
10873 fi
10874
10875
10876
10877           enablestring=
10878           defaultval=$wxUSE_ALL_FEATURES
10879           if test -z "$defaultval"; then
10880               if test x"$enablestring" = xdisable; then
10881                   defaultval=yes
10882               else
10883                   defaultval=no
10884               fi
10885           fi
10886
10887           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10888 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10889           # Check whether --enable-clipboard was given.
10890 if test "${enable_clipboard+set}" = set; then :
10891   enableval=$enable_clipboard;
10892                           if test "$enableval" = yes; then
10893                             wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10894                           else
10895                             wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10896                           fi
10897
10898 else
10899
10900                           wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10901
10902 fi
10903
10904
10905           eval "$wx_cv_use_clipboard"
10906
10907           if test x"$enablestring" = xdisable; then
10908             if test $wxUSE_CLIPBOARD = no; then
10909               result=yes
10910             else
10911               result=no
10912             fi
10913           else
10914             result=$wxUSE_CLIPBOARD
10915           fi
10916
10917           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10918 $as_echo "$result" >&6; }
10919
10920
10921           enablestring=
10922           defaultval=$wxUSE_ALL_FEATURES
10923           if test -z "$defaultval"; then
10924               if test x"$enablestring" = xdisable; then
10925                   defaultval=yes
10926               else
10927                   defaultval=no
10928               fi
10929           fi
10930
10931           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
10932 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
10933           # Check whether --enable-dnd was given.
10934 if test "${enable_dnd+set}" = set; then :
10935   enableval=$enable_dnd;
10936                           if test "$enableval" = yes; then
10937                             wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10938                           else
10939                             wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10940                           fi
10941
10942 else
10943
10944                           wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10945
10946 fi
10947
10948
10949           eval "$wx_cv_use_dnd"
10950
10951           if test x"$enablestring" = xdisable; then
10952             if test $wxUSE_DRAG_AND_DROP = no; then
10953               result=yes
10954             else
10955               result=no
10956             fi
10957           else
10958             result=$wxUSE_DRAG_AND_DROP
10959           fi
10960
10961           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10962 $as_echo "$result" >&6; }
10963
10964
10965
10966 DEFAULT_wxUSE_CONTROLS=none
10967
10968           enablestring=disable
10969           defaultval=
10970           if test -z "$defaultval"; then
10971               if test x"$enablestring" = xdisable; then
10972                   defaultval=yes
10973               else
10974                   defaultval=no
10975               fi
10976           fi
10977
10978           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
10979 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
10980           # Check whether --enable-controls was given.
10981 if test "${enable_controls+set}" = set; then :
10982   enableval=$enable_controls;
10983                           if test "$enableval" = yes; then
10984                             wx_cv_use_controls='wxUSE_CONTROLS=yes'
10985                           else
10986                             wx_cv_use_controls='wxUSE_CONTROLS=no'
10987                           fi
10988
10989 else
10990
10991                           wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10992
10993 fi
10994
10995
10996           eval "$wx_cv_use_controls"
10997
10998           if test x"$enablestring" = xdisable; then
10999             if test $wxUSE_CONTROLS = no; then
11000               result=yes
11001             else
11002               result=no
11003             fi
11004           else
11005             result=$wxUSE_CONTROLS
11006           fi
11007
11008           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11009 $as_echo "$result" >&6; }
11010
11011
11012 if test "$wxUSE_CONTROLS" = "no"; then
11013     DEFAULT_wxUSE_ACCEL=no
11014     DEFAULT_wxUSE_ANIMATIONCTRL=no
11015     DEFAULT_wxUSE_BANNERWINDOW=no
11016     DEFAULT_wxUSE_BMPBUTTON=no
11017     DEFAULT_wxUSE_BUTTON=no
11018     DEFAULT_wxUSE_CALCTRL=no
11019     DEFAULT_wxUSE_CARET=no
11020     DEFAULT_wxUSE_CHECKBOX=no
11021     DEFAULT_wxUSE_CHECKLISTBOX=no
11022     DEFAULT_wxUSE_CHOICE=no
11023     DEFAULT_wxUSE_CHOICEBOOK=no
11024     DEFAULT_wxUSE_COLLPANE=no
11025     DEFAULT_wxUSE_COLOURPICKERCTRL=no
11026     DEFAULT_wxUSE_COMBOBOX=no
11027     DEFAULT_wxUSE_COMBOBOX=no
11028     DEFAULT_wxUSE_COMMANDLINKBUTTON=no
11029     DEFAULT_wxUSE_DATAVIEWCTRL=no
11030     DEFAULT_wxUSE_DATEPICKCTRL=no
11031     DEFAULT_wxUSE_DETECT_SM=no
11032     DEFAULT_wxUSE_DIRPICKERCTRL=no
11033     DEFAULT_wxUSE_DISPLAY=no
11034     DEFAULT_wxUSE_FILECTRL=no
11035     DEFAULT_wxUSE_FILEPICKERCTRL=no
11036     DEFAULT_wxUSE_FONTPICKERCTRL=no
11037     DEFAULT_wxUSE_GAUGE=no
11038     DEFAULT_wxUSE_GRID=no
11039     DEFAULT_wxUSE_HEADERCTRL=no
11040     DEFAULT_wxUSE_HYPERLINKCTRL=no
11041     DEFAULT_wxUSE_IMAGLIST=no
11042     DEFAULT_wxUSE_LISTBOOK=no
11043     DEFAULT_wxUSE_LISTBOX=no
11044     DEFAULT_wxUSE_LISTCTRL=no
11045     DEFAULT_wxUSE_MARKUP=no
11046     DEFAULT_wxUSE_NOTEBOOK=no
11047     DEFAULT_wxUSE_POPUPWIN=no
11048     DEFAULT_wxUSE_RADIOBOX=no
11049     DEFAULT_wxUSE_RADIOBTN=no
11050     DEFAULT_wxUSE_RICHMSGDLG=no
11051     DEFAULT_wxUSE_RICHTOOLTIP=no
11052     DEFAULT_wxUSE_REARRANGECTRL=no
11053     DEFAULT_wxUSE_SASH=no
11054     DEFAULT_wxUSE_SCROLLBAR=no
11055     DEFAULT_wxUSE_SEARCHCTRL=no
11056     DEFAULT_wxUSE_SLIDER=no
11057     DEFAULT_wxUSE_SPINBTN=no
11058     DEFAULT_wxUSE_SPINCTRL=no
11059     DEFAULT_wxUSE_SPLITTER=no
11060     DEFAULT_wxUSE_STATBMP=no
11061     DEFAULT_wxUSE_STATBOX=no
11062     DEFAULT_wxUSE_STATLINE=no
11063     DEFAULT_wxUSE_STATUSBAR=no
11064     DEFAULT_wxUSE_TIMEPICKCTRL=no
11065     DEFAULT_wxUSE_TIPWINDOW=no
11066     DEFAULT_wxUSE_TOGGLEBTN=no
11067     DEFAULT_wxUSE_TOOLBAR=no
11068     DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11069     DEFAULT_wxUSE_TOOLBOOK=no
11070     DEFAULT_wxUSE_TOOLTIPS=no
11071     DEFAULT_wxUSE_TREEBOOK=no
11072     DEFAULT_wxUSE_TREECTRL=no
11073     DEFAULT_wxUSE_TREELISTCTRL=no
11074 fi
11075
11076
11077           enablestring=
11078           defaultval=$wxUSE_ALL_FEATURES
11079           if test -z "$defaultval"; then
11080               if test x"$enablestring" = xdisable; then
11081                   defaultval=yes
11082               else
11083                   defaultval=no
11084               fi
11085           fi
11086
11087           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11088 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11089           # Check whether --enable-markup was given.
11090 if test "${enable_markup+set}" = set; then :
11091   enableval=$enable_markup;
11092                           if test "$enableval" = yes; then
11093                             wx_cv_use_markup='wxUSE_MARKUP=yes'
11094                           else
11095                             wx_cv_use_markup='wxUSE_MARKUP=no'
11096                           fi
11097
11098 else
11099
11100                           wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11101
11102 fi
11103
11104
11105           eval "$wx_cv_use_markup"
11106
11107           if test x"$enablestring" = xdisable; then
11108             if test $wxUSE_MARKUP = no; then
11109               result=yes
11110             else
11111               result=no
11112             fi
11113           else
11114             result=$wxUSE_MARKUP
11115           fi
11116
11117           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11118 $as_echo "$result" >&6; }
11119
11120
11121
11122           enablestring=
11123           defaultval=$wxUSE_ALL_FEATURES
11124           if test -z "$defaultval"; then
11125               if test x"$enablestring" = xdisable; then
11126                   defaultval=yes
11127               else
11128                   defaultval=no
11129               fi
11130           fi
11131
11132           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11133 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11134           # Check whether --enable-accel was given.
11135 if test "${enable_accel+set}" = set; then :
11136   enableval=$enable_accel;
11137                           if test "$enableval" = yes; then
11138                             wx_cv_use_accel='wxUSE_ACCEL=yes'
11139                           else
11140                             wx_cv_use_accel='wxUSE_ACCEL=no'
11141                           fi
11142
11143 else
11144
11145                           wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11146
11147 fi
11148
11149
11150           eval "$wx_cv_use_accel"
11151
11152           if test x"$enablestring" = xdisable; then
11153             if test $wxUSE_ACCEL = no; then
11154               result=yes
11155             else
11156               result=no
11157             fi
11158           else
11159             result=$wxUSE_ACCEL
11160           fi
11161
11162           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11163 $as_echo "$result" >&6; }
11164
11165
11166           enablestring=
11167           defaultval=$wxUSE_ALL_FEATURES
11168           if test -z "$defaultval"; then
11169               if test x"$enablestring" = xdisable; then
11170                   defaultval=yes
11171               else
11172                   defaultval=no
11173               fi
11174           fi
11175
11176           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11177 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11178           # Check whether --enable-animatectrl was given.
11179 if test "${enable_animatectrl+set}" = set; then :
11180   enableval=$enable_animatectrl;
11181                           if test "$enableval" = yes; then
11182                             wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11183                           else
11184                             wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11185                           fi
11186
11187 else
11188
11189                           wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11190
11191 fi
11192
11193
11194           eval "$wx_cv_use_animatectrl"
11195
11196           if test x"$enablestring" = xdisable; then
11197             if test $wxUSE_ANIMATIONCTRL = no; then
11198               result=yes
11199             else
11200               result=no
11201             fi
11202           else
11203             result=$wxUSE_ANIMATIONCTRL
11204           fi
11205
11206           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11207 $as_echo "$result" >&6; }
11208
11209
11210           enablestring=
11211           defaultval=$wxUSE_ALL_FEATURES
11212           if test -z "$defaultval"; then
11213               if test x"$enablestring" = xdisable; then
11214                   defaultval=yes
11215               else
11216                   defaultval=no
11217               fi
11218           fi
11219
11220           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11221 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11222           # Check whether --enable-bannerwindow was given.
11223 if test "${enable_bannerwindow+set}" = set; then :
11224   enableval=$enable_bannerwindow;
11225                           if test "$enableval" = yes; then
11226                             wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11227                           else
11228                             wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11229                           fi
11230
11231 else
11232
11233                           wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11234
11235 fi
11236
11237
11238           eval "$wx_cv_use_bannerwindow"
11239
11240           if test x"$enablestring" = xdisable; then
11241             if test $wxUSE_BANNERWINDOW = no; then
11242               result=yes
11243             else
11244               result=no
11245             fi
11246           else
11247             result=$wxUSE_BANNERWINDOW
11248           fi
11249
11250           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11251 $as_echo "$result" >&6; }
11252
11253
11254           enablestring=
11255           defaultval=$wxUSE_ALL_FEATURES
11256           if test -z "$defaultval"; then
11257               if test x"$enablestring" = xdisable; then
11258                   defaultval=yes
11259               else
11260                   defaultval=no
11261               fi
11262           fi
11263
11264           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11265 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11266           # Check whether --enable-artstd was given.
11267 if test "${enable_artstd+set}" = set; then :
11268   enableval=$enable_artstd;
11269                           if test "$enableval" = yes; then
11270                             wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11271                           else
11272                             wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11273                           fi
11274
11275 else
11276
11277                           wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11278
11279 fi
11280
11281
11282           eval "$wx_cv_use_artstd"
11283
11284           if test x"$enablestring" = xdisable; then
11285             if test $wxUSE_ARTPROVIDER_STD = no; then
11286               result=yes
11287             else
11288               result=no
11289             fi
11290           else
11291             result=$wxUSE_ARTPROVIDER_STD
11292           fi
11293
11294           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11295 $as_echo "$result" >&6; }
11296
11297
11298           enablestring=
11299           defaultval=$wxUSE_ALL_FEATURES
11300           if test -z "$defaultval"; then
11301               if test x"$enablestring" = xdisable; then
11302                   defaultval=yes
11303               else
11304                   defaultval=no
11305               fi
11306           fi
11307
11308           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11309 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11310           # Check whether --enable-arttango was given.
11311 if test "${enable_arttango+set}" = set; then :
11312   enableval=$enable_arttango;
11313                           if test "$enableval" = yes; then
11314                             wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11315                           else
11316                             wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11317                           fi
11318
11319 else
11320
11321                           wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11322
11323 fi
11324
11325
11326           eval "$wx_cv_use_arttango"
11327
11328           if test x"$enablestring" = xdisable; then
11329             if test $wxUSE_ARTPROVIDER_TANGO = no; then
11330               result=yes
11331             else
11332               result=no
11333             fi
11334           else
11335             result=$wxUSE_ARTPROVIDER_TANGO
11336           fi
11337
11338           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11339 $as_echo "$result" >&6; }
11340
11341
11342           enablestring=
11343           defaultval=$wxUSE_ALL_FEATURES
11344           if test -z "$defaultval"; then
11345               if test x"$enablestring" = xdisable; then
11346                   defaultval=yes
11347               else
11348                   defaultval=no
11349               fi
11350           fi
11351
11352           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11353 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11354           # Check whether --enable-bmpbutton was given.
11355 if test "${enable_bmpbutton+set}" = set; then :
11356   enableval=$enable_bmpbutton;
11357                           if test "$enableval" = yes; then
11358                             wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11359                           else
11360                             wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11361                           fi
11362
11363 else
11364
11365                           wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11366
11367 fi
11368
11369
11370           eval "$wx_cv_use_bmpbutton"
11371
11372           if test x"$enablestring" = xdisable; then
11373             if test $wxUSE_BMPBUTTON = no; then
11374               result=yes
11375             else
11376               result=no
11377             fi
11378           else
11379             result=$wxUSE_BMPBUTTON
11380           fi
11381
11382           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11383 $as_echo "$result" >&6; }
11384
11385
11386           enablestring=
11387           defaultval=$wxUSE_ALL_FEATURES
11388           if test -z "$defaultval"; then
11389               if test x"$enablestring" = xdisable; then
11390                   defaultval=yes
11391               else
11392                   defaultval=no
11393               fi
11394           fi
11395
11396           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11397 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11398           # Check whether --enable-bmpcombobox was given.
11399 if test "${enable_bmpcombobox+set}" = set; then :
11400   enableval=$enable_bmpcombobox;
11401                           if test "$enableval" = yes; then
11402                             wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11403                           else
11404                             wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11405                           fi
11406
11407 else
11408
11409                           wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11410
11411 fi
11412
11413
11414           eval "$wx_cv_use_bmpcombobox"
11415
11416           if test x"$enablestring" = xdisable; then
11417             if test $wxUSE_BITMAPCOMBOBOX = no; then
11418               result=yes
11419             else
11420               result=no
11421             fi
11422           else
11423             result=$wxUSE_BITMAPCOMBOBOX
11424           fi
11425
11426           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11427 $as_echo "$result" >&6; }
11428
11429
11430           enablestring=
11431           defaultval=$wxUSE_ALL_FEATURES
11432           if test -z "$defaultval"; then
11433               if test x"$enablestring" = xdisable; then
11434                   defaultval=yes
11435               else
11436                   defaultval=no
11437               fi
11438           fi
11439
11440           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11441 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11442           # Check whether --enable-button was given.
11443 if test "${enable_button+set}" = set; then :
11444   enableval=$enable_button;
11445                           if test "$enableval" = yes; then
11446                             wx_cv_use_button='wxUSE_BUTTON=yes'
11447                           else
11448                             wx_cv_use_button='wxUSE_BUTTON=no'
11449                           fi
11450
11451 else
11452
11453                           wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11454
11455 fi
11456
11457
11458           eval "$wx_cv_use_button"
11459
11460           if test x"$enablestring" = xdisable; then
11461             if test $wxUSE_BUTTON = no; then
11462               result=yes
11463             else
11464               result=no
11465             fi
11466           else
11467             result=$wxUSE_BUTTON
11468           fi
11469
11470           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11471 $as_echo "$result" >&6; }
11472
11473
11474           enablestring=
11475           defaultval=$wxUSE_ALL_FEATURES
11476           if test -z "$defaultval"; then
11477               if test x"$enablestring" = xdisable; then
11478                   defaultval=yes
11479               else
11480                   defaultval=no
11481               fi
11482           fi
11483
11484           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11485 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11486           # Check whether --enable-calendar was given.
11487 if test "${enable_calendar+set}" = set; then :
11488   enableval=$enable_calendar;
11489                           if test "$enableval" = yes; then
11490                             wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11491                           else
11492                             wx_cv_use_calendar='wxUSE_CALCTRL=no'
11493                           fi
11494
11495 else
11496
11497                           wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11498
11499 fi
11500
11501
11502           eval "$wx_cv_use_calendar"
11503
11504           if test x"$enablestring" = xdisable; then
11505             if test $wxUSE_CALCTRL = no; then
11506               result=yes
11507             else
11508               result=no
11509             fi
11510           else
11511             result=$wxUSE_CALCTRL
11512           fi
11513
11514           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11515 $as_echo "$result" >&6; }
11516
11517
11518           enablestring=
11519           defaultval=$wxUSE_ALL_FEATURES
11520           if test -z "$defaultval"; then
11521               if test x"$enablestring" = xdisable; then
11522                   defaultval=yes
11523               else
11524                   defaultval=no
11525               fi
11526           fi
11527
11528           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11529 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11530           # Check whether --enable-caret was given.
11531 if test "${enable_caret+set}" = set; then :
11532   enableval=$enable_caret;
11533                           if test "$enableval" = yes; then
11534                             wx_cv_use_caret='wxUSE_CARET=yes'
11535                           else
11536                             wx_cv_use_caret='wxUSE_CARET=no'
11537                           fi
11538
11539 else
11540
11541                           wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11542
11543 fi
11544
11545
11546           eval "$wx_cv_use_caret"
11547
11548           if test x"$enablestring" = xdisable; then
11549             if test $wxUSE_CARET = no; then
11550               result=yes
11551             else
11552               result=no
11553             fi
11554           else
11555             result=$wxUSE_CARET
11556           fi
11557
11558           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11559 $as_echo "$result" >&6; }
11560
11561
11562           enablestring=
11563           defaultval=$wxUSE_ALL_FEATURES
11564           if test -z "$defaultval"; then
11565               if test x"$enablestring" = xdisable; then
11566                   defaultval=yes
11567               else
11568                   defaultval=no
11569               fi
11570           fi
11571
11572           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11573 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11574           # Check whether --enable-checkbox was given.
11575 if test "${enable_checkbox+set}" = set; then :
11576   enableval=$enable_checkbox;
11577                           if test "$enableval" = yes; then
11578                             wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11579                           else
11580                             wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11581                           fi
11582
11583 else
11584
11585                           wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11586
11587 fi
11588
11589
11590           eval "$wx_cv_use_checkbox"
11591
11592           if test x"$enablestring" = xdisable; then
11593             if test $wxUSE_CHECKBOX = no; then
11594               result=yes
11595             else
11596               result=no
11597             fi
11598           else
11599             result=$wxUSE_CHECKBOX
11600           fi
11601
11602           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11603 $as_echo "$result" >&6; }
11604
11605
11606           enablestring=
11607           defaultval=$wxUSE_ALL_FEATURES
11608           if test -z "$defaultval"; then
11609               if test x"$enablestring" = xdisable; then
11610                   defaultval=yes
11611               else
11612                   defaultval=no
11613               fi
11614           fi
11615
11616           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11617 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11618           # Check whether --enable-checklst was given.
11619 if test "${enable_checklst+set}" = set; then :
11620   enableval=$enable_checklst;
11621                           if test "$enableval" = yes; then
11622                             wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11623                           else
11624                             wx_cv_use_checklst='wxUSE_CHECKLST=no'
11625                           fi
11626
11627 else
11628
11629                           wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11630
11631 fi
11632
11633
11634           eval "$wx_cv_use_checklst"
11635
11636           if test x"$enablestring" = xdisable; then
11637             if test $wxUSE_CHECKLST = no; then
11638               result=yes
11639             else
11640               result=no
11641             fi
11642           else
11643             result=$wxUSE_CHECKLST
11644           fi
11645
11646           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11647 $as_echo "$result" >&6; }
11648
11649
11650           enablestring=
11651           defaultval=$wxUSE_ALL_FEATURES
11652           if test -z "$defaultval"; then
11653               if test x"$enablestring" = xdisable; then
11654                   defaultval=yes
11655               else
11656                   defaultval=no
11657               fi
11658           fi
11659
11660           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11661 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11662           # Check whether --enable-choice was given.
11663 if test "${enable_choice+set}" = set; then :
11664   enableval=$enable_choice;
11665                           if test "$enableval" = yes; then
11666                             wx_cv_use_choice='wxUSE_CHOICE=yes'
11667                           else
11668                             wx_cv_use_choice='wxUSE_CHOICE=no'
11669                           fi
11670
11671 else
11672
11673                           wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11674
11675 fi
11676
11677
11678           eval "$wx_cv_use_choice"
11679
11680           if test x"$enablestring" = xdisable; then
11681             if test $wxUSE_CHOICE = no; then
11682               result=yes
11683             else
11684               result=no
11685             fi
11686           else
11687             result=$wxUSE_CHOICE
11688           fi
11689
11690           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11691 $as_echo "$result" >&6; }
11692
11693
11694           enablestring=
11695           defaultval=$wxUSE_ALL_FEATURES
11696           if test -z "$defaultval"; then
11697               if test x"$enablestring" = xdisable; then
11698                   defaultval=yes
11699               else
11700                   defaultval=no
11701               fi
11702           fi
11703
11704           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11705 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11706           # Check whether --enable-choicebook was given.
11707 if test "${enable_choicebook+set}" = set; then :
11708   enableval=$enable_choicebook;
11709                           if test "$enableval" = yes; then
11710                             wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11711                           else
11712                             wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11713                           fi
11714
11715 else
11716
11717                           wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11718
11719 fi
11720
11721
11722           eval "$wx_cv_use_choicebook"
11723
11724           if test x"$enablestring" = xdisable; then
11725             if test $wxUSE_CHOICEBOOK = no; then
11726               result=yes
11727             else
11728               result=no
11729             fi
11730           else
11731             result=$wxUSE_CHOICEBOOK
11732           fi
11733
11734           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11735 $as_echo "$result" >&6; }
11736
11737
11738           enablestring=
11739           defaultval=$wxUSE_ALL_FEATURES
11740           if test -z "$defaultval"; then
11741               if test x"$enablestring" = xdisable; then
11742                   defaultval=yes
11743               else
11744                   defaultval=no
11745               fi
11746           fi
11747
11748           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11749 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11750           # Check whether --enable-collpane was given.
11751 if test "${enable_collpane+set}" = set; then :
11752   enableval=$enable_collpane;
11753                           if test "$enableval" = yes; then
11754                             wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11755                           else
11756                             wx_cv_use_collpane='wxUSE_COLLPANE=no'
11757                           fi
11758
11759 else
11760
11761                           wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11762
11763 fi
11764
11765
11766           eval "$wx_cv_use_collpane"
11767
11768           if test x"$enablestring" = xdisable; then
11769             if test $wxUSE_COLLPANE = no; then
11770               result=yes
11771             else
11772               result=no
11773             fi
11774           else
11775             result=$wxUSE_COLLPANE
11776           fi
11777
11778           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11779 $as_echo "$result" >&6; }
11780
11781
11782           enablestring=
11783           defaultval=$wxUSE_ALL_FEATURES
11784           if test -z "$defaultval"; then
11785               if test x"$enablestring" = xdisable; then
11786                   defaultval=yes
11787               else
11788                   defaultval=no
11789               fi
11790           fi
11791
11792           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11793 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11794           # Check whether --enable-colourpicker was given.
11795 if test "${enable_colourpicker+set}" = set; then :
11796   enableval=$enable_colourpicker;
11797                           if test "$enableval" = yes; then
11798                             wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11799                           else
11800                             wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11801                           fi
11802
11803 else
11804
11805                           wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11806
11807 fi
11808
11809
11810           eval "$wx_cv_use_colourpicker"
11811
11812           if test x"$enablestring" = xdisable; then
11813             if test $wxUSE_COLOURPICKERCTRL = no; then
11814               result=yes
11815             else
11816               result=no
11817             fi
11818           else
11819             result=$wxUSE_COLOURPICKERCTRL
11820           fi
11821
11822           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11823 $as_echo "$result" >&6; }
11824
11825
11826           enablestring=
11827           defaultval=$wxUSE_ALL_FEATURES
11828           if test -z "$defaultval"; then
11829               if test x"$enablestring" = xdisable; then
11830                   defaultval=yes
11831               else
11832                   defaultval=no
11833               fi
11834           fi
11835
11836           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11837 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11838           # Check whether --enable-combobox was given.
11839 if test "${enable_combobox+set}" = set; then :
11840   enableval=$enable_combobox;
11841                           if test "$enableval" = yes; then
11842                             wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11843                           else
11844                             wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11845                           fi
11846
11847 else
11848
11849                           wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11850
11851 fi
11852
11853
11854           eval "$wx_cv_use_combobox"
11855
11856           if test x"$enablestring" = xdisable; then
11857             if test $wxUSE_COMBOBOX = no; then
11858               result=yes
11859             else
11860               result=no
11861             fi
11862           else
11863             result=$wxUSE_COMBOBOX
11864           fi
11865
11866           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11867 $as_echo "$result" >&6; }
11868
11869
11870           enablestring=
11871           defaultval=$wxUSE_ALL_FEATURES
11872           if test -z "$defaultval"; then
11873               if test x"$enablestring" = xdisable; then
11874                   defaultval=yes
11875               else
11876                   defaultval=no
11877               fi
11878           fi
11879
11880           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11881 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11882           # Check whether --enable-comboctrl was given.
11883 if test "${enable_comboctrl+set}" = set; then :
11884   enableval=$enable_comboctrl;
11885                           if test "$enableval" = yes; then
11886                             wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11887                           else
11888                             wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11889                           fi
11890
11891 else
11892
11893                           wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11894
11895 fi
11896
11897
11898           eval "$wx_cv_use_comboctrl"
11899
11900           if test x"$enablestring" = xdisable; then
11901             if test $wxUSE_COMBOCTRL = no; then
11902               result=yes
11903             else
11904               result=no
11905             fi
11906           else
11907             result=$wxUSE_COMBOCTRL
11908           fi
11909
11910           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11911 $as_echo "$result" >&6; }
11912
11913
11914           enablestring=
11915           defaultval=$wxUSE_ALL_FEATURES
11916           if test -z "$defaultval"; then
11917               if test x"$enablestring" = xdisable; then
11918                   defaultval=yes
11919               else
11920                   defaultval=no
11921               fi
11922           fi
11923
11924           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
11925 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
11926           # Check whether --enable-commandlinkbutton was given.
11927 if test "${enable_commandlinkbutton+set}" = set; then :
11928   enableval=$enable_commandlinkbutton;
11929                           if test "$enableval" = yes; then
11930                             wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11931                           else
11932                             wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11933                           fi
11934
11935 else
11936
11937                           wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11938
11939 fi
11940
11941
11942           eval "$wx_cv_use_commandlinkbutton"
11943
11944           if test x"$enablestring" = xdisable; then
11945             if test $wxUSE_COMMANDLINKBUTTON = no; then
11946               result=yes
11947             else
11948               result=no
11949             fi
11950           else
11951             result=$wxUSE_COMMANDLINKBUTTON
11952           fi
11953
11954           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11955 $as_echo "$result" >&6; }
11956
11957
11958           enablestring=
11959           defaultval=$wxUSE_ALL_FEATURES
11960           if test -z "$defaultval"; then
11961               if test x"$enablestring" = xdisable; then
11962                   defaultval=yes
11963               else
11964                   defaultval=no
11965               fi
11966           fi
11967
11968           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
11969 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
11970           # Check whether --enable-dataviewctrl was given.
11971 if test "${enable_dataviewctrl+set}" = set; then :
11972   enableval=$enable_dataviewctrl;
11973                           if test "$enableval" = yes; then
11974                             wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11975                           else
11976                             wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11977                           fi
11978
11979 else
11980
11981                           wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11982
11983 fi
11984
11985
11986           eval "$wx_cv_use_dataviewctrl"
11987
11988           if test x"$enablestring" = xdisable; then
11989             if test $wxUSE_DATAVIEWCTRL = no; then
11990               result=yes
11991             else
11992               result=no
11993             fi
11994           else
11995             result=$wxUSE_DATAVIEWCTRL
11996           fi
11997
11998           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11999 $as_echo "$result" >&6; }
12000
12001
12002           enablestring=
12003           defaultval=$wxUSE_ALL_FEATURES
12004           if test -z "$defaultval"; then
12005               if test x"$enablestring" = xdisable; then
12006                   defaultval=yes
12007               else
12008                   defaultval=no
12009               fi
12010           fi
12011
12012           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
12013 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
12014           # Check whether --enable-datepick was given.
12015 if test "${enable_datepick+set}" = set; then :
12016   enableval=$enable_datepick;
12017                           if test "$enableval" = yes; then
12018                             wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
12019                           else
12020                             wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
12021                           fi
12022
12023 else
12024
12025                           wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12026
12027 fi
12028
12029
12030           eval "$wx_cv_use_datepick"
12031
12032           if test x"$enablestring" = xdisable; then
12033             if test $wxUSE_DATEPICKCTRL = no; then
12034               result=yes
12035             else
12036               result=no
12037             fi
12038           else
12039             result=$wxUSE_DATEPICKCTRL
12040           fi
12041
12042           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12043 $as_echo "$result" >&6; }
12044
12045
12046           enablestring=
12047           defaultval=$wxUSE_ALL_FEATURES
12048           if test -z "$defaultval"; then
12049               if test x"$enablestring" = xdisable; then
12050                   defaultval=yes
12051               else
12052                   defaultval=no
12053               fi
12054           fi
12055
12056           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12057 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12058           # Check whether --enable-detect_sm was given.
12059 if test "${enable_detect_sm+set}" = set; then :
12060   enableval=$enable_detect_sm;
12061                           if test "$enableval" = yes; then
12062                             wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12063                           else
12064                             wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12065                           fi
12066
12067 else
12068
12069                           wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12070
12071 fi
12072
12073
12074           eval "$wx_cv_use_detect_sm"
12075
12076           if test x"$enablestring" = xdisable; then
12077             if test $wxUSE_DETECT_SM = no; then
12078               result=yes
12079             else
12080               result=no
12081             fi
12082           else
12083             result=$wxUSE_DETECT_SM
12084           fi
12085
12086           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12087 $as_echo "$result" >&6; }
12088
12089
12090           enablestring=
12091           defaultval=$wxUSE_ALL_FEATURES
12092           if test -z "$defaultval"; then
12093               if test x"$enablestring" = xdisable; then
12094                   defaultval=yes
12095               else
12096                   defaultval=no
12097               fi
12098           fi
12099
12100           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12101 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12102           # Check whether --enable-dirpicker was given.
12103 if test "${enable_dirpicker+set}" = set; then :
12104   enableval=$enable_dirpicker;
12105                           if test "$enableval" = yes; then
12106                             wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12107                           else
12108                             wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12109                           fi
12110
12111 else
12112
12113                           wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12114
12115 fi
12116
12117
12118           eval "$wx_cv_use_dirpicker"
12119
12120           if test x"$enablestring" = xdisable; then
12121             if test $wxUSE_DIRPICKERCTRL = no; then
12122               result=yes
12123             else
12124               result=no
12125             fi
12126           else
12127             result=$wxUSE_DIRPICKERCTRL
12128           fi
12129
12130           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12131 $as_echo "$result" >&6; }
12132
12133
12134           enablestring=
12135           defaultval=$wxUSE_ALL_FEATURES
12136           if test -z "$defaultval"; then
12137               if test x"$enablestring" = xdisable; then
12138                   defaultval=yes
12139               else
12140                   defaultval=no
12141               fi
12142           fi
12143
12144           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12145 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12146           # Check whether --enable-display was given.
12147 if test "${enable_display+set}" = set; then :
12148   enableval=$enable_display;
12149                           if test "$enableval" = yes; then
12150                             wx_cv_use_display='wxUSE_DISPLAY=yes'
12151                           else
12152                             wx_cv_use_display='wxUSE_DISPLAY=no'
12153                           fi
12154
12155 else
12156
12157                           wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12158
12159 fi
12160
12161
12162           eval "$wx_cv_use_display"
12163
12164           if test x"$enablestring" = xdisable; then
12165             if test $wxUSE_DISPLAY = no; then
12166               result=yes
12167             else
12168               result=no
12169             fi
12170           else
12171             result=$wxUSE_DISPLAY
12172           fi
12173
12174           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12175 $as_echo "$result" >&6; }
12176
12177
12178           enablestring=
12179           defaultval=$wxUSE_ALL_FEATURES
12180           if test -z "$defaultval"; then
12181               if test x"$enablestring" = xdisable; then
12182                   defaultval=yes
12183               else
12184                   defaultval=no
12185               fi
12186           fi
12187
12188           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12189 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12190           # Check whether --enable-editablebox was given.
12191 if test "${enable_editablebox+set}" = set; then :
12192   enableval=$enable_editablebox;
12193                           if test "$enableval" = yes; then
12194                             wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12195                           else
12196                             wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12197                           fi
12198
12199 else
12200
12201                           wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12202
12203 fi
12204
12205
12206           eval "$wx_cv_use_editablebox"
12207
12208           if test x"$enablestring" = xdisable; then
12209             if test $wxUSE_EDITABLELISTBOX = no; then
12210               result=yes
12211             else
12212               result=no
12213             fi
12214           else
12215             result=$wxUSE_EDITABLELISTBOX
12216           fi
12217
12218           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12219 $as_echo "$result" >&6; }
12220
12221
12222           enablestring=
12223           defaultval=$wxUSE_ALL_FEATURES
12224           if test -z "$defaultval"; then
12225               if test x"$enablestring" = xdisable; then
12226                   defaultval=yes
12227               else
12228                   defaultval=no
12229               fi
12230           fi
12231
12232           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12233 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12234           # Check whether --enable-filectrl was given.
12235 if test "${enable_filectrl+set}" = set; then :
12236   enableval=$enable_filectrl;
12237                           if test "$enableval" = yes; then
12238                             wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12239                           else
12240                             wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12241                           fi
12242
12243 else
12244
12245                           wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12246
12247 fi
12248
12249
12250           eval "$wx_cv_use_filectrl"
12251
12252           if test x"$enablestring" = xdisable; then
12253             if test $wxUSE_FILECTRL = no; then
12254               result=yes
12255             else
12256               result=no
12257             fi
12258           else
12259             result=$wxUSE_FILECTRL
12260           fi
12261
12262           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12263 $as_echo "$result" >&6; }
12264
12265
12266           enablestring=
12267           defaultval=$wxUSE_ALL_FEATURES
12268           if test -z "$defaultval"; then
12269               if test x"$enablestring" = xdisable; then
12270                   defaultval=yes
12271               else
12272                   defaultval=no
12273               fi
12274           fi
12275
12276           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12277 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12278           # Check whether --enable-filepicker was given.
12279 if test "${enable_filepicker+set}" = set; then :
12280   enableval=$enable_filepicker;
12281                           if test "$enableval" = yes; then
12282                             wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12283                           else
12284                             wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12285                           fi
12286
12287 else
12288
12289                           wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12290
12291 fi
12292
12293
12294           eval "$wx_cv_use_filepicker"
12295
12296           if test x"$enablestring" = xdisable; then
12297             if test $wxUSE_FILEPICKERCTRL = no; then
12298               result=yes
12299             else
12300               result=no
12301             fi
12302           else
12303             result=$wxUSE_FILEPICKERCTRL
12304           fi
12305
12306           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12307 $as_echo "$result" >&6; }
12308
12309
12310           enablestring=
12311           defaultval=$wxUSE_ALL_FEATURES
12312           if test -z "$defaultval"; then
12313               if test x"$enablestring" = xdisable; then
12314                   defaultval=yes
12315               else
12316                   defaultval=no
12317               fi
12318           fi
12319
12320           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12321 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12322           # Check whether --enable-fontpicker was given.
12323 if test "${enable_fontpicker+set}" = set; then :
12324   enableval=$enable_fontpicker;
12325                           if test "$enableval" = yes; then
12326                             wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12327                           else
12328                             wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12329                           fi
12330
12331 else
12332
12333                           wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12334
12335 fi
12336
12337
12338           eval "$wx_cv_use_fontpicker"
12339
12340           if test x"$enablestring" = xdisable; then
12341             if test $wxUSE_FONTPICKERCTRL = no; then
12342               result=yes
12343             else
12344               result=no
12345             fi
12346           else
12347             result=$wxUSE_FONTPICKERCTRL
12348           fi
12349
12350           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12351 $as_echo "$result" >&6; }
12352
12353
12354           enablestring=
12355           defaultval=$wxUSE_ALL_FEATURES
12356           if test -z "$defaultval"; then
12357               if test x"$enablestring" = xdisable; then
12358                   defaultval=yes
12359               else
12360                   defaultval=no
12361               fi
12362           fi
12363
12364           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12365 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12366           # Check whether --enable-gauge was given.
12367 if test "${enable_gauge+set}" = set; then :
12368   enableval=$enable_gauge;
12369                           if test "$enableval" = yes; then
12370                             wx_cv_use_gauge='wxUSE_GAUGE=yes'
12371                           else
12372                             wx_cv_use_gauge='wxUSE_GAUGE=no'
12373                           fi
12374
12375 else
12376
12377                           wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12378
12379 fi
12380
12381
12382           eval "$wx_cv_use_gauge"
12383
12384           if test x"$enablestring" = xdisable; then
12385             if test $wxUSE_GAUGE = no; then
12386               result=yes
12387             else
12388               result=no
12389             fi
12390           else
12391             result=$wxUSE_GAUGE
12392           fi
12393
12394           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12395 $as_echo "$result" >&6; }
12396
12397
12398           enablestring=
12399           defaultval=$wxUSE_ALL_FEATURES
12400           if test -z "$defaultval"; then
12401               if test x"$enablestring" = xdisable; then
12402                   defaultval=yes
12403               else
12404                   defaultval=no
12405               fi
12406           fi
12407
12408           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12409 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12410           # Check whether --enable-grid was given.
12411 if test "${enable_grid+set}" = set; then :
12412   enableval=$enable_grid;
12413                           if test "$enableval" = yes; then
12414                             wx_cv_use_grid='wxUSE_GRID=yes'
12415                           else
12416                             wx_cv_use_grid='wxUSE_GRID=no'
12417                           fi
12418
12419 else
12420
12421                           wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12422
12423 fi
12424
12425
12426           eval "$wx_cv_use_grid"
12427
12428           if test x"$enablestring" = xdisable; then
12429             if test $wxUSE_GRID = no; then
12430               result=yes
12431             else
12432               result=no
12433             fi
12434           else
12435             result=$wxUSE_GRID
12436           fi
12437
12438           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12439 $as_echo "$result" >&6; }
12440
12441
12442           enablestring=
12443           defaultval=$wxUSE_ALL_FEATURES
12444           if test -z "$defaultval"; then
12445               if test x"$enablestring" = xdisable; then
12446                   defaultval=yes
12447               else
12448                   defaultval=no
12449               fi
12450           fi
12451
12452           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12453 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12454           # Check whether --enable-headerctrl was given.
12455 if test "${enable_headerctrl+set}" = set; then :
12456   enableval=$enable_headerctrl;
12457                           if test "$enableval" = yes; then
12458                             wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12459                           else
12460                             wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12461                           fi
12462
12463 else
12464
12465                           wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12466
12467 fi
12468
12469
12470           eval "$wx_cv_use_headerctrl"
12471
12472           if test x"$enablestring" = xdisable; then
12473             if test $wxUSE_HEADERCTRL = no; then
12474               result=yes
12475             else
12476               result=no
12477             fi
12478           else
12479             result=$wxUSE_HEADERCTRL
12480           fi
12481
12482           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12483 $as_echo "$result" >&6; }
12484
12485
12486           enablestring=
12487           defaultval=$wxUSE_ALL_FEATURES
12488           if test -z "$defaultval"; then
12489               if test x"$enablestring" = xdisable; then
12490                   defaultval=yes
12491               else
12492                   defaultval=no
12493               fi
12494           fi
12495
12496           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12497 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12498           # Check whether --enable-hyperlink was given.
12499 if test "${enable_hyperlink+set}" = set; then :
12500   enableval=$enable_hyperlink;
12501                           if test "$enableval" = yes; then
12502                             wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12503                           else
12504                             wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12505                           fi
12506
12507 else
12508
12509                           wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12510
12511 fi
12512
12513
12514           eval "$wx_cv_use_hyperlink"
12515
12516           if test x"$enablestring" = xdisable; then
12517             if test $wxUSE_HYPERLINKCTRL = no; then
12518               result=yes
12519             else
12520               result=no
12521             fi
12522           else
12523             result=$wxUSE_HYPERLINKCTRL
12524           fi
12525
12526           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12527 $as_echo "$result" >&6; }
12528
12529
12530           enablestring=
12531           defaultval=$wxUSE_ALL_FEATURES
12532           if test -z "$defaultval"; then
12533               if test x"$enablestring" = xdisable; then
12534                   defaultval=yes
12535               else
12536                   defaultval=no
12537               fi
12538           fi
12539
12540           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12541 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12542           # Check whether --enable-imaglist was given.
12543 if test "${enable_imaglist+set}" = set; then :
12544   enableval=$enable_imaglist;
12545                           if test "$enableval" = yes; then
12546                             wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12547                           else
12548                             wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12549                           fi
12550
12551 else
12552
12553                           wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12554
12555 fi
12556
12557
12558           eval "$wx_cv_use_imaglist"
12559
12560           if test x"$enablestring" = xdisable; then
12561             if test $wxUSE_IMAGLIST = no; then
12562               result=yes
12563             else
12564               result=no
12565             fi
12566           else
12567             result=$wxUSE_IMAGLIST
12568           fi
12569
12570           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12571 $as_echo "$result" >&6; }
12572
12573
12574           enablestring=
12575           defaultval=$wxUSE_ALL_FEATURES
12576           if test -z "$defaultval"; then
12577               if test x"$enablestring" = xdisable; then
12578                   defaultval=yes
12579               else
12580                   defaultval=no
12581               fi
12582           fi
12583
12584           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12585 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12586           # Check whether --enable-infobar was given.
12587 if test "${enable_infobar+set}" = set; then :
12588   enableval=$enable_infobar;
12589                           if test "$enableval" = yes; then
12590                             wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12591                           else
12592                             wx_cv_use_infobar='wxUSE_INFOBAR=no'
12593                           fi
12594
12595 else
12596
12597                           wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12598
12599 fi
12600
12601
12602           eval "$wx_cv_use_infobar"
12603
12604           if test x"$enablestring" = xdisable; then
12605             if test $wxUSE_INFOBAR = no; then
12606               result=yes
12607             else
12608               result=no
12609             fi
12610           else
12611             result=$wxUSE_INFOBAR
12612           fi
12613
12614           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12615 $as_echo "$result" >&6; }
12616
12617
12618           enablestring=
12619           defaultval=$wxUSE_ALL_FEATURES
12620           if test -z "$defaultval"; then
12621               if test x"$enablestring" = xdisable; then
12622                   defaultval=yes
12623               else
12624                   defaultval=no
12625               fi
12626           fi
12627
12628           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12629 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12630           # Check whether --enable-listbook was given.
12631 if test "${enable_listbook+set}" = set; then :
12632   enableval=$enable_listbook;
12633                           if test "$enableval" = yes; then
12634                             wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12635                           else
12636                             wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12637                           fi
12638
12639 else
12640
12641                           wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12642
12643 fi
12644
12645
12646           eval "$wx_cv_use_listbook"
12647
12648           if test x"$enablestring" = xdisable; then
12649             if test $wxUSE_LISTBOOK = no; then
12650               result=yes
12651             else
12652               result=no
12653             fi
12654           else
12655             result=$wxUSE_LISTBOOK
12656           fi
12657
12658           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12659 $as_echo "$result" >&6; }
12660
12661
12662           enablestring=
12663           defaultval=$wxUSE_ALL_FEATURES
12664           if test -z "$defaultval"; then
12665               if test x"$enablestring" = xdisable; then
12666                   defaultval=yes
12667               else
12668                   defaultval=no
12669               fi
12670           fi
12671
12672           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12673 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12674           # Check whether --enable-listbox was given.
12675 if test "${enable_listbox+set}" = set; then :
12676   enableval=$enable_listbox;
12677                           if test "$enableval" = yes; then
12678                             wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12679                           else
12680                             wx_cv_use_listbox='wxUSE_LISTBOX=no'
12681                           fi
12682
12683 else
12684
12685                           wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12686
12687 fi
12688
12689
12690           eval "$wx_cv_use_listbox"
12691
12692           if test x"$enablestring" = xdisable; then
12693             if test $wxUSE_LISTBOX = no; then
12694               result=yes
12695             else
12696               result=no
12697             fi
12698           else
12699             result=$wxUSE_LISTBOX
12700           fi
12701
12702           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12703 $as_echo "$result" >&6; }
12704
12705
12706           enablestring=
12707           defaultval=$wxUSE_ALL_FEATURES
12708           if test -z "$defaultval"; then
12709               if test x"$enablestring" = xdisable; then
12710                   defaultval=yes
12711               else
12712                   defaultval=no
12713               fi
12714           fi
12715
12716           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12717 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12718           # Check whether --enable-listctrl was given.
12719 if test "${enable_listctrl+set}" = set; then :
12720   enableval=$enable_listctrl;
12721                           if test "$enableval" = yes; then
12722                             wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12723                           else
12724                             wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12725                           fi
12726
12727 else
12728
12729                           wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12730
12731 fi
12732
12733
12734           eval "$wx_cv_use_listctrl"
12735
12736           if test x"$enablestring" = xdisable; then
12737             if test $wxUSE_LISTCTRL = no; then
12738               result=yes
12739             else
12740               result=no
12741             fi
12742           else
12743             result=$wxUSE_LISTCTRL
12744           fi
12745
12746           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12747 $as_echo "$result" >&6; }
12748
12749
12750           enablestring=
12751           defaultval=$wxUSE_ALL_FEATURES
12752           if test -z "$defaultval"; then
12753               if test x"$enablestring" = xdisable; then
12754                   defaultval=yes
12755               else
12756                   defaultval=no
12757               fi
12758           fi
12759
12760           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12761 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12762           # Check whether --enable-notebook was given.
12763 if test "${enable_notebook+set}" = set; then :
12764   enableval=$enable_notebook;
12765                           if test "$enableval" = yes; then
12766                             wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12767                           else
12768                             wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12769                           fi
12770
12771 else
12772
12773                           wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12774
12775 fi
12776
12777
12778           eval "$wx_cv_use_notebook"
12779
12780           if test x"$enablestring" = xdisable; then
12781             if test $wxUSE_NOTEBOOK = no; then
12782               result=yes
12783             else
12784               result=no
12785             fi
12786           else
12787             result=$wxUSE_NOTEBOOK
12788           fi
12789
12790           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12791 $as_echo "$result" >&6; }
12792
12793
12794           enablestring=
12795           defaultval=$wxUSE_ALL_FEATURES
12796           if test -z "$defaultval"; then
12797               if test x"$enablestring" = xdisable; then
12798                   defaultval=yes
12799               else
12800                   defaultval=no
12801               fi
12802           fi
12803
12804           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12805 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12806           # Check whether --enable-notifmsg was given.
12807 if test "${enable_notifmsg+set}" = set; then :
12808   enableval=$enable_notifmsg;
12809                           if test "$enableval" = yes; then
12810                             wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12811                           else
12812                             wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12813                           fi
12814
12815 else
12816
12817                           wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12818
12819 fi
12820
12821
12822           eval "$wx_cv_use_notifmsg"
12823
12824           if test x"$enablestring" = xdisable; then
12825             if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12826               result=yes
12827             else
12828               result=no
12829             fi
12830           else
12831             result=$wxUSE_NOTIFICATION_MESSAGE
12832           fi
12833
12834           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12835 $as_echo "$result" >&6; }
12836
12837
12838           enablestring=
12839           defaultval=$wxUSE_ALL_FEATURES
12840           if test -z "$defaultval"; then
12841               if test x"$enablestring" = xdisable; then
12842                   defaultval=yes
12843               else
12844                   defaultval=no
12845               fi
12846           fi
12847
12848           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12849 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12850           # Check whether --enable-odcombobox was given.
12851 if test "${enable_odcombobox+set}" = set; then :
12852   enableval=$enable_odcombobox;
12853                           if test "$enableval" = yes; then
12854                             wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12855                           else
12856                             wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12857                           fi
12858
12859 else
12860
12861                           wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12862
12863 fi
12864
12865
12866           eval "$wx_cv_use_odcombobox"
12867
12868           if test x"$enablestring" = xdisable; then
12869             if test $wxUSE_ODCOMBOBOX = no; then
12870               result=yes
12871             else
12872               result=no
12873             fi
12874           else
12875             result=$wxUSE_ODCOMBOBOX
12876           fi
12877
12878           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12879 $as_echo "$result" >&6; }
12880
12881
12882           enablestring=
12883           defaultval=$wxUSE_ALL_FEATURES
12884           if test -z "$defaultval"; then
12885               if test x"$enablestring" = xdisable; then
12886                   defaultval=yes
12887               else
12888                   defaultval=no
12889               fi
12890           fi
12891
12892           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12893 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12894           # Check whether --enable-popupwin was given.
12895 if test "${enable_popupwin+set}" = set; then :
12896   enableval=$enable_popupwin;
12897                           if test "$enableval" = yes; then
12898                             wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12899                           else
12900                             wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12901                           fi
12902
12903 else
12904
12905                           wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12906
12907 fi
12908
12909
12910           eval "$wx_cv_use_popupwin"
12911
12912           if test x"$enablestring" = xdisable; then
12913             if test $wxUSE_POPUPWIN = no; then
12914               result=yes
12915             else
12916               result=no
12917             fi
12918           else
12919             result=$wxUSE_POPUPWIN
12920           fi
12921
12922           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12923 $as_echo "$result" >&6; }
12924
12925
12926           enablestring=
12927           defaultval=$wxUSE_ALL_FEATURES
12928           if test -z "$defaultval"; then
12929               if test x"$enablestring" = xdisable; then
12930                   defaultval=yes
12931               else
12932                   defaultval=no
12933               fi
12934           fi
12935
12936           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12937 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12938           # Check whether --enable-radiobox was given.
12939 if test "${enable_radiobox+set}" = set; then :
12940   enableval=$enable_radiobox;
12941                           if test "$enableval" = yes; then
12942                             wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12943                           else
12944                             wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12945                           fi
12946
12947 else
12948
12949                           wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12950
12951 fi
12952
12953
12954           eval "$wx_cv_use_radiobox"
12955
12956           if test x"$enablestring" = xdisable; then
12957             if test $wxUSE_RADIOBOX = no; then
12958               result=yes
12959             else
12960               result=no
12961             fi
12962           else
12963             result=$wxUSE_RADIOBOX
12964           fi
12965
12966           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12967 $as_echo "$result" >&6; }
12968
12969
12970           enablestring=
12971           defaultval=$wxUSE_ALL_FEATURES
12972           if test -z "$defaultval"; then
12973               if test x"$enablestring" = xdisable; then
12974                   defaultval=yes
12975               else
12976                   defaultval=no
12977               fi
12978           fi
12979
12980           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
12981 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
12982           # Check whether --enable-radiobtn was given.
12983 if test "${enable_radiobtn+set}" = set; then :
12984   enableval=$enable_radiobtn;
12985                           if test "$enableval" = yes; then
12986                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12987                           else
12988                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12989                           fi
12990
12991 else
12992
12993                           wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12994
12995 fi
12996
12997
12998           eval "$wx_cv_use_radiobtn"
12999
13000           if test x"$enablestring" = xdisable; then
13001             if test $wxUSE_RADIOBTN = no; then
13002               result=yes
13003             else
13004               result=no
13005             fi
13006           else
13007             result=$wxUSE_RADIOBTN
13008           fi
13009
13010           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13011 $as_echo "$result" >&6; }
13012
13013
13014           enablestring=
13015           defaultval=$wxUSE_ALL_FEATURES
13016           if test -z "$defaultval"; then
13017               if test x"$enablestring" = xdisable; then
13018                   defaultval=yes
13019               else
13020                   defaultval=no
13021               fi
13022           fi
13023
13024           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
13025 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
13026           # Check whether --enable-richmsgdlg was given.
13027 if test "${enable_richmsgdlg+set}" = set; then :
13028   enableval=$enable_richmsgdlg;
13029                           if test "$enableval" = yes; then
13030                             wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
13031                           else
13032                             wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
13033                           fi
13034
13035 else
13036
13037                           wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13038
13039 fi
13040
13041
13042           eval "$wx_cv_use_richmsgdlg"
13043
13044           if test x"$enablestring" = xdisable; then
13045             if test $wxUSE_RICHMSGDLG = no; then
13046               result=yes
13047             else
13048               result=no
13049             fi
13050           else
13051             result=$wxUSE_RICHMSGDLG
13052           fi
13053
13054           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13055 $as_echo "$result" >&6; }
13056
13057
13058           enablestring=
13059           defaultval=$wxUSE_ALL_FEATURES
13060           if test -z "$defaultval"; then
13061               if test x"$enablestring" = xdisable; then
13062                   defaultval=yes
13063               else
13064                   defaultval=no
13065               fi
13066           fi
13067
13068           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13069 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13070           # Check whether --enable-richtooltip was given.
13071 if test "${enable_richtooltip+set}" = set; then :
13072   enableval=$enable_richtooltip;
13073                           if test "$enableval" = yes; then
13074                             wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13075                           else
13076                             wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13077                           fi
13078
13079 else
13080
13081                           wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13082
13083 fi
13084
13085
13086           eval "$wx_cv_use_richtooltip"
13087
13088           if test x"$enablestring" = xdisable; then
13089             if test $wxUSE_RICHTOOLTIP = no; then
13090               result=yes
13091             else
13092               result=no
13093             fi
13094           else
13095             result=$wxUSE_RICHTOOLTIP
13096           fi
13097
13098           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13099 $as_echo "$result" >&6; }
13100
13101
13102           enablestring=
13103           defaultval=$wxUSE_ALL_FEATURES
13104           if test -z "$defaultval"; then
13105               if test x"$enablestring" = xdisable; then
13106                   defaultval=yes
13107               else
13108                   defaultval=no
13109               fi
13110           fi
13111
13112           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13113 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13114           # Check whether --enable-rearrangectrl was given.
13115 if test "${enable_rearrangectrl+set}" = set; then :
13116   enableval=$enable_rearrangectrl;
13117                           if test "$enableval" = yes; then
13118                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13119                           else
13120                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13121                           fi
13122
13123 else
13124
13125                           wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13126
13127 fi
13128
13129
13130           eval "$wx_cv_use_rearrangectrl"
13131
13132           if test x"$enablestring" = xdisable; then
13133             if test $wxUSE_REARRANGECTRL = no; then
13134               result=yes
13135             else
13136               result=no
13137             fi
13138           else
13139             result=$wxUSE_REARRANGECTRL
13140           fi
13141
13142           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13143 $as_echo "$result" >&6; }
13144
13145
13146           enablestring=
13147           defaultval=$wxUSE_ALL_FEATURES
13148           if test -z "$defaultval"; then
13149               if test x"$enablestring" = xdisable; then
13150                   defaultval=yes
13151               else
13152                   defaultval=no
13153               fi
13154           fi
13155
13156           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13157 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13158           # Check whether --enable-sash was given.
13159 if test "${enable_sash+set}" = set; then :
13160   enableval=$enable_sash;
13161                           if test "$enableval" = yes; then
13162                             wx_cv_use_sash='wxUSE_SASH=yes'
13163                           else
13164                             wx_cv_use_sash='wxUSE_SASH=no'
13165                           fi
13166
13167 else
13168
13169                           wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13170
13171 fi
13172
13173
13174           eval "$wx_cv_use_sash"
13175
13176           if test x"$enablestring" = xdisable; then
13177             if test $wxUSE_SASH = no; then
13178               result=yes
13179             else
13180               result=no
13181             fi
13182           else
13183             result=$wxUSE_SASH
13184           fi
13185
13186           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13187 $as_echo "$result" >&6; }
13188
13189
13190           enablestring=
13191           defaultval=$wxUSE_ALL_FEATURES
13192           if test -z "$defaultval"; then
13193               if test x"$enablestring" = xdisable; then
13194                   defaultval=yes
13195               else
13196                   defaultval=no
13197               fi
13198           fi
13199
13200           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13201 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13202           # Check whether --enable-scrollbar was given.
13203 if test "${enable_scrollbar+set}" = set; then :
13204   enableval=$enable_scrollbar;
13205                           if test "$enableval" = yes; then
13206                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13207                           else
13208                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13209                           fi
13210
13211 else
13212
13213                           wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13214
13215 fi
13216
13217
13218           eval "$wx_cv_use_scrollbar"
13219
13220           if test x"$enablestring" = xdisable; then
13221             if test $wxUSE_SCROLLBAR = no; then
13222               result=yes
13223             else
13224               result=no
13225             fi
13226           else
13227             result=$wxUSE_SCROLLBAR
13228           fi
13229
13230           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13231 $as_echo "$result" >&6; }
13232
13233
13234           enablestring=
13235           defaultval=$wxUSE_ALL_FEATURES
13236           if test -z "$defaultval"; then
13237               if test x"$enablestring" = xdisable; then
13238                   defaultval=yes
13239               else
13240                   defaultval=no
13241               fi
13242           fi
13243
13244           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13245 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13246           # Check whether --enable-searchctrl was given.
13247 if test "${enable_searchctrl+set}" = set; then :
13248   enableval=$enable_searchctrl;
13249                           if test "$enableval" = yes; then
13250                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13251                           else
13252                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13253                           fi
13254
13255 else
13256
13257                           wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13258
13259 fi
13260
13261
13262           eval "$wx_cv_use_searchctrl"
13263
13264           if test x"$enablestring" = xdisable; then
13265             if test $wxUSE_SEARCHCTRL = no; then
13266               result=yes
13267             else
13268               result=no
13269             fi
13270           else
13271             result=$wxUSE_SEARCHCTRL
13272           fi
13273
13274           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13275 $as_echo "$result" >&6; }
13276
13277
13278           enablestring=
13279           defaultval=$wxUSE_ALL_FEATURES
13280           if test -z "$defaultval"; then
13281               if test x"$enablestring" = xdisable; then
13282                   defaultval=yes
13283               else
13284                   defaultval=no
13285               fi
13286           fi
13287
13288           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13289 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13290           # Check whether --enable-slider was given.
13291 if test "${enable_slider+set}" = set; then :
13292   enableval=$enable_slider;
13293                           if test "$enableval" = yes; then
13294                             wx_cv_use_slider='wxUSE_SLIDER=yes'
13295                           else
13296                             wx_cv_use_slider='wxUSE_SLIDER=no'
13297                           fi
13298
13299 else
13300
13301                           wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13302
13303 fi
13304
13305
13306           eval "$wx_cv_use_slider"
13307
13308           if test x"$enablestring" = xdisable; then
13309             if test $wxUSE_SLIDER = no; then
13310               result=yes
13311             else
13312               result=no
13313             fi
13314           else
13315             result=$wxUSE_SLIDER
13316           fi
13317
13318           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13319 $as_echo "$result" >&6; }
13320
13321
13322           enablestring=
13323           defaultval=$wxUSE_ALL_FEATURES
13324           if test -z "$defaultval"; then
13325               if test x"$enablestring" = xdisable; then
13326                   defaultval=yes
13327               else
13328                   defaultval=no
13329               fi
13330           fi
13331
13332           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13333 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13334           # Check whether --enable-spinbtn was given.
13335 if test "${enable_spinbtn+set}" = set; then :
13336   enableval=$enable_spinbtn;
13337                           if test "$enableval" = yes; then
13338                             wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13339                           else
13340                             wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13341                           fi
13342
13343 else
13344
13345                           wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13346
13347 fi
13348
13349
13350           eval "$wx_cv_use_spinbtn"
13351
13352           if test x"$enablestring" = xdisable; then
13353             if test $wxUSE_SPINBTN = no; then
13354               result=yes
13355             else
13356               result=no
13357             fi
13358           else
13359             result=$wxUSE_SPINBTN
13360           fi
13361
13362           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13363 $as_echo "$result" >&6; }
13364
13365
13366           enablestring=
13367           defaultval=$wxUSE_ALL_FEATURES
13368           if test -z "$defaultval"; then
13369               if test x"$enablestring" = xdisable; then
13370                   defaultval=yes
13371               else
13372                   defaultval=no
13373               fi
13374           fi
13375
13376           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13377 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13378           # Check whether --enable-spinctrl was given.
13379 if test "${enable_spinctrl+set}" = set; then :
13380   enableval=$enable_spinctrl;
13381                           if test "$enableval" = yes; then
13382                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13383                           else
13384                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13385                           fi
13386
13387 else
13388
13389                           wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13390
13391 fi
13392
13393
13394           eval "$wx_cv_use_spinctrl"
13395
13396           if test x"$enablestring" = xdisable; then
13397             if test $wxUSE_SPINCTRL = no; then
13398               result=yes
13399             else
13400               result=no
13401             fi
13402           else
13403             result=$wxUSE_SPINCTRL
13404           fi
13405
13406           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13407 $as_echo "$result" >&6; }
13408
13409
13410           enablestring=
13411           defaultval=$wxUSE_ALL_FEATURES
13412           if test -z "$defaultval"; then
13413               if test x"$enablestring" = xdisable; then
13414                   defaultval=yes
13415               else
13416                   defaultval=no
13417               fi
13418           fi
13419
13420           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13421 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13422           # Check whether --enable-splitter was given.
13423 if test "${enable_splitter+set}" = set; then :
13424   enableval=$enable_splitter;
13425                           if test "$enableval" = yes; then
13426                             wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13427                           else
13428                             wx_cv_use_splitter='wxUSE_SPLITTER=no'
13429                           fi
13430
13431 else
13432
13433                           wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13434
13435 fi
13436
13437
13438           eval "$wx_cv_use_splitter"
13439
13440           if test x"$enablestring" = xdisable; then
13441             if test $wxUSE_SPLITTER = no; then
13442               result=yes
13443             else
13444               result=no
13445             fi
13446           else
13447             result=$wxUSE_SPLITTER
13448           fi
13449
13450           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13451 $as_echo "$result" >&6; }
13452
13453
13454           enablestring=
13455           defaultval=$wxUSE_ALL_FEATURES
13456           if test -z "$defaultval"; then
13457               if test x"$enablestring" = xdisable; then
13458                   defaultval=yes
13459               else
13460                   defaultval=no
13461               fi
13462           fi
13463
13464           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13465 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13466           # Check whether --enable-statbmp was given.
13467 if test "${enable_statbmp+set}" = set; then :
13468   enableval=$enable_statbmp;
13469                           if test "$enableval" = yes; then
13470                             wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13471                           else
13472                             wx_cv_use_statbmp='wxUSE_STATBMP=no'
13473                           fi
13474
13475 else
13476
13477                           wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13478
13479 fi
13480
13481
13482           eval "$wx_cv_use_statbmp"
13483
13484           if test x"$enablestring" = xdisable; then
13485             if test $wxUSE_STATBMP = no; then
13486               result=yes
13487             else
13488               result=no
13489             fi
13490           else
13491             result=$wxUSE_STATBMP
13492           fi
13493
13494           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13495 $as_echo "$result" >&6; }
13496
13497
13498           enablestring=
13499           defaultval=$wxUSE_ALL_FEATURES
13500           if test -z "$defaultval"; then
13501               if test x"$enablestring" = xdisable; then
13502                   defaultval=yes
13503               else
13504                   defaultval=no
13505               fi
13506           fi
13507
13508           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13509 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13510           # Check whether --enable-statbox was given.
13511 if test "${enable_statbox+set}" = set; then :
13512   enableval=$enable_statbox;
13513                           if test "$enableval" = yes; then
13514                             wx_cv_use_statbox='wxUSE_STATBOX=yes'
13515                           else
13516                             wx_cv_use_statbox='wxUSE_STATBOX=no'
13517                           fi
13518
13519 else
13520
13521                           wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13522
13523 fi
13524
13525
13526           eval "$wx_cv_use_statbox"
13527
13528           if test x"$enablestring" = xdisable; then
13529             if test $wxUSE_STATBOX = no; then
13530               result=yes
13531             else
13532               result=no
13533             fi
13534           else
13535             result=$wxUSE_STATBOX
13536           fi
13537
13538           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13539 $as_echo "$result" >&6; }
13540
13541
13542           enablestring=
13543           defaultval=$wxUSE_ALL_FEATURES
13544           if test -z "$defaultval"; then
13545               if test x"$enablestring" = xdisable; then
13546                   defaultval=yes
13547               else
13548                   defaultval=no
13549               fi
13550           fi
13551
13552           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13553 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13554           # Check whether --enable-statline was given.
13555 if test "${enable_statline+set}" = set; then :
13556   enableval=$enable_statline;
13557                           if test "$enableval" = yes; then
13558                             wx_cv_use_statline='wxUSE_STATLINE=yes'
13559                           else
13560                             wx_cv_use_statline='wxUSE_STATLINE=no'
13561                           fi
13562
13563 else
13564
13565                           wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13566
13567 fi
13568
13569
13570           eval "$wx_cv_use_statline"
13571
13572           if test x"$enablestring" = xdisable; then
13573             if test $wxUSE_STATLINE = no; then
13574               result=yes
13575             else
13576               result=no
13577             fi
13578           else
13579             result=$wxUSE_STATLINE
13580           fi
13581
13582           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13583 $as_echo "$result" >&6; }
13584
13585
13586           enablestring=
13587           defaultval=$wxUSE_ALL_FEATURES
13588           if test -z "$defaultval"; then
13589               if test x"$enablestring" = xdisable; then
13590                   defaultval=yes
13591               else
13592                   defaultval=no
13593               fi
13594           fi
13595
13596           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13597 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13598           # Check whether --enable-stattext was given.
13599 if test "${enable_stattext+set}" = set; then :
13600   enableval=$enable_stattext;
13601                           if test "$enableval" = yes; then
13602                             wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13603                           else
13604                             wx_cv_use_stattext='wxUSE_STATTEXT=no'
13605                           fi
13606
13607 else
13608
13609                           wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13610
13611 fi
13612
13613
13614           eval "$wx_cv_use_stattext"
13615
13616           if test x"$enablestring" = xdisable; then
13617             if test $wxUSE_STATTEXT = no; then
13618               result=yes
13619             else
13620               result=no
13621             fi
13622           else
13623             result=$wxUSE_STATTEXT
13624           fi
13625
13626           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13627 $as_echo "$result" >&6; }
13628
13629
13630           enablestring=
13631           defaultval=$wxUSE_ALL_FEATURES
13632           if test -z "$defaultval"; then
13633               if test x"$enablestring" = xdisable; then
13634                   defaultval=yes
13635               else
13636                   defaultval=no
13637               fi
13638           fi
13639
13640           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13641 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13642           # Check whether --enable-statusbar was given.
13643 if test "${enable_statusbar+set}" = set; then :
13644   enableval=$enable_statusbar;
13645                           if test "$enableval" = yes; then
13646                             wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13647                           else
13648                             wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13649                           fi
13650
13651 else
13652
13653                           wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13654
13655 fi
13656
13657
13658           eval "$wx_cv_use_statusbar"
13659
13660           if test x"$enablestring" = xdisable; then
13661             if test $wxUSE_STATUSBAR = no; then
13662               result=yes
13663             else
13664               result=no
13665             fi
13666           else
13667             result=$wxUSE_STATUSBAR
13668           fi
13669
13670           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13671 $as_echo "$result" >&6; }
13672
13673
13674           enablestring=
13675           defaultval=$wxUSE_ALL_FEATURES
13676           if test -z "$defaultval"; then
13677               if test x"$enablestring" = xdisable; then
13678                   defaultval=yes
13679               else
13680                   defaultval=no
13681               fi
13682           fi
13683
13684           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13685 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13686           # Check whether --enable-taskbaricon was given.
13687 if test "${enable_taskbaricon+set}" = set; then :
13688   enableval=$enable_taskbaricon;
13689                           if test "$enableval" = yes; then
13690                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13691                           else
13692                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13693                           fi
13694
13695 else
13696
13697                           wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13698
13699 fi
13700
13701
13702           eval "$wx_cv_use_taskbaricon"
13703
13704           if test x"$enablestring" = xdisable; then
13705             if test $wxUSE_TASKBARICON = no; then
13706               result=yes
13707             else
13708               result=no
13709             fi
13710           else
13711             result=$wxUSE_TASKBARICON
13712           fi
13713
13714           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13715 $as_echo "$result" >&6; }
13716
13717
13718           enablestring=
13719           defaultval=$wxUSE_ALL_FEATURES
13720           if test -z "$defaultval"; then
13721               if test x"$enablestring" = xdisable; then
13722                   defaultval=yes
13723               else
13724                   defaultval=no
13725               fi
13726           fi
13727
13728           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13729 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13730           # Check whether --enable-tbarnative was given.
13731 if test "${enable_tbarnative+set}" = set; then :
13732   enableval=$enable_tbarnative;
13733                           if test "$enableval" = yes; then
13734                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13735                           else
13736                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13737                           fi
13738
13739 else
13740
13741                           wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13742
13743 fi
13744
13745
13746           eval "$wx_cv_use_tbarnative"
13747
13748           if test x"$enablestring" = xdisable; then
13749             if test $wxUSE_TOOLBAR_NATIVE = no; then
13750               result=yes
13751             else
13752               result=no
13753             fi
13754           else
13755             result=$wxUSE_TOOLBAR_NATIVE
13756           fi
13757
13758           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13759 $as_echo "$result" >&6; }
13760
13761
13762           enablestring=
13763           defaultval=$wxUSE_ALL_FEATURES
13764           if test -z "$defaultval"; then
13765               if test x"$enablestring" = xdisable; then
13766                   defaultval=yes
13767               else
13768                   defaultval=no
13769               fi
13770           fi
13771
13772           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13773 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13774           # Check whether --enable-textctrl was given.
13775 if test "${enable_textctrl+set}" = set; then :
13776   enableval=$enable_textctrl;
13777                           if test "$enableval" = yes; then
13778                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13779                           else
13780                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13781                           fi
13782
13783 else
13784
13785                           wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13786
13787 fi
13788
13789
13790           eval "$wx_cv_use_textctrl"
13791
13792           if test x"$enablestring" = xdisable; then
13793             if test $wxUSE_TEXTCTRL = no; then
13794               result=yes
13795             else
13796               result=no
13797             fi
13798           else
13799             result=$wxUSE_TEXTCTRL
13800           fi
13801
13802           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13803 $as_echo "$result" >&6; }
13804
13805
13806           enablestring=
13807           defaultval=$wxUSE_ALL_FEATURES
13808           if test -z "$defaultval"; then
13809               if test x"$enablestring" = xdisable; then
13810                   defaultval=yes
13811               else
13812                   defaultval=no
13813               fi
13814           fi
13815
13816           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13817 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13818           # Check whether --enable-datepick was given.
13819 if test "${enable_datepick+set}" = set; then :
13820   enableval=$enable_datepick;
13821                           if test "$enableval" = yes; then
13822                             wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13823                           else
13824                             wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13825                           fi
13826
13827 else
13828
13829                           wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13830
13831 fi
13832
13833
13834           eval "$wx_cv_use_datepick"
13835
13836           if test x"$enablestring" = xdisable; then
13837             if test $wxUSE_TIMEPICKCTRL = no; then
13838               result=yes
13839             else
13840               result=no
13841             fi
13842           else
13843             result=$wxUSE_TIMEPICKCTRL
13844           fi
13845
13846           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13847 $as_echo "$result" >&6; }
13848
13849
13850           enablestring=
13851           defaultval=$wxUSE_ALL_FEATURES
13852           if test -z "$defaultval"; then
13853               if test x"$enablestring" = xdisable; then
13854                   defaultval=yes
13855               else
13856                   defaultval=no
13857               fi
13858           fi
13859
13860           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13861 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13862           # Check whether --enable-tipwindow was given.
13863 if test "${enable_tipwindow+set}" = set; then :
13864   enableval=$enable_tipwindow;
13865                           if test "$enableval" = yes; then
13866                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13867                           else
13868                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13869                           fi
13870
13871 else
13872
13873                           wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13874
13875 fi
13876
13877
13878           eval "$wx_cv_use_tipwindow"
13879
13880           if test x"$enablestring" = xdisable; then
13881             if test $wxUSE_TIPWINDOW = no; then
13882               result=yes
13883             else
13884               result=no
13885             fi
13886           else
13887             result=$wxUSE_TIPWINDOW
13888           fi
13889
13890           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13891 $as_echo "$result" >&6; }
13892
13893
13894           enablestring=
13895           defaultval=$wxUSE_ALL_FEATURES
13896           if test -z "$defaultval"; then
13897               if test x"$enablestring" = xdisable; then
13898                   defaultval=yes
13899               else
13900                   defaultval=no
13901               fi
13902           fi
13903
13904           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
13905 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
13906           # Check whether --enable-togglebtn was given.
13907 if test "${enable_togglebtn+set}" = set; then :
13908   enableval=$enable_togglebtn;
13909                           if test "$enableval" = yes; then
13910                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13911                           else
13912                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13913                           fi
13914
13915 else
13916
13917                           wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13918
13919 fi
13920
13921
13922           eval "$wx_cv_use_togglebtn"
13923
13924           if test x"$enablestring" = xdisable; then
13925             if test $wxUSE_TOGGLEBTN = no; then
13926               result=yes
13927             else
13928               result=no
13929             fi
13930           else
13931             result=$wxUSE_TOGGLEBTN
13932           fi
13933
13934           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13935 $as_echo "$result" >&6; }
13936
13937
13938           enablestring=
13939           defaultval=$wxUSE_ALL_FEATURES
13940           if test -z "$defaultval"; then
13941               if test x"$enablestring" = xdisable; then
13942                   defaultval=yes
13943               else
13944                   defaultval=no
13945               fi
13946           fi
13947
13948           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13949 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13950           # Check whether --enable-toolbar was given.
13951 if test "${enable_toolbar+set}" = set; then :
13952   enableval=$enable_toolbar;
13953                           if test "$enableval" = yes; then
13954                             wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13955                           else
13956                             wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13957                           fi
13958
13959 else
13960
13961                           wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13962
13963 fi
13964
13965
13966           eval "$wx_cv_use_toolbar"
13967
13968           if test x"$enablestring" = xdisable; then
13969             if test $wxUSE_TOOLBAR = no; then
13970               result=yes
13971             else
13972               result=no
13973             fi
13974           else
13975             result=$wxUSE_TOOLBAR
13976           fi
13977
13978           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13979 $as_echo "$result" >&6; }
13980
13981
13982           enablestring=
13983           defaultval=$wxUSE_ALL_FEATURES
13984           if test -z "$defaultval"; then
13985               if test x"$enablestring" = xdisable; then
13986                   defaultval=yes
13987               else
13988                   defaultval=no
13989               fi
13990           fi
13991
13992           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
13993 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
13994           # Check whether --enable-toolbook was given.
13995 if test "${enable_toolbook+set}" = set; then :
13996   enableval=$enable_toolbook;
13997                           if test "$enableval" = yes; then
13998                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13999                           else
14000                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
14001                           fi
14002
14003 else
14004
14005                           wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14006
14007 fi
14008
14009
14010           eval "$wx_cv_use_toolbook"
14011
14012           if test x"$enablestring" = xdisable; then
14013             if test $wxUSE_TOOLBOOK = no; then
14014               result=yes
14015             else
14016               result=no
14017             fi
14018           else
14019             result=$wxUSE_TOOLBOOK
14020           fi
14021
14022           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14023 $as_echo "$result" >&6; }
14024
14025
14026           enablestring=
14027           defaultval=$wxUSE_ALL_FEATURES
14028           if test -z "$defaultval"; then
14029               if test x"$enablestring" = xdisable; then
14030                   defaultval=yes
14031               else
14032                   defaultval=no
14033               fi
14034           fi
14035
14036           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14037 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14038           # Check whether --enable-treebook was given.
14039 if test "${enable_treebook+set}" = set; then :
14040   enableval=$enable_treebook;
14041                           if test "$enableval" = yes; then
14042                             wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
14043                           else
14044                             wx_cv_use_treebook='wxUSE_TREEBOOK=no'
14045                           fi
14046
14047 else
14048
14049                           wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14050
14051 fi
14052
14053
14054           eval "$wx_cv_use_treebook"
14055
14056           if test x"$enablestring" = xdisable; then
14057             if test $wxUSE_TREEBOOK = no; then
14058               result=yes
14059             else
14060               result=no
14061             fi
14062           else
14063             result=$wxUSE_TREEBOOK
14064           fi
14065
14066           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14067 $as_echo "$result" >&6; }
14068
14069
14070           enablestring=
14071           defaultval=$wxUSE_ALL_FEATURES
14072           if test -z "$defaultval"; then
14073               if test x"$enablestring" = xdisable; then
14074                   defaultval=yes
14075               else
14076                   defaultval=no
14077               fi
14078           fi
14079
14080           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14081 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14082           # Check whether --enable-treectrl was given.
14083 if test "${enable_treectrl+set}" = set; then :
14084   enableval=$enable_treectrl;
14085                           if test "$enableval" = yes; then
14086                             wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14087                           else
14088                             wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14089                           fi
14090
14091 else
14092
14093                           wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14094
14095 fi
14096
14097
14098           eval "$wx_cv_use_treectrl"
14099
14100           if test x"$enablestring" = xdisable; then
14101             if test $wxUSE_TREECTRL = no; then
14102               result=yes
14103             else
14104               result=no
14105             fi
14106           else
14107             result=$wxUSE_TREECTRL
14108           fi
14109
14110           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14111 $as_echo "$result" >&6; }
14112
14113
14114           enablestring=
14115           defaultval=$wxUSE_ALL_FEATURES
14116           if test -z "$defaultval"; then
14117               if test x"$enablestring" = xdisable; then
14118                   defaultval=yes
14119               else
14120                   defaultval=no
14121               fi
14122           fi
14123
14124           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14125 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14126           # Check whether --enable-treelist was given.
14127 if test "${enable_treelist+set}" = set; then :
14128   enableval=$enable_treelist;
14129                           if test "$enableval" = yes; then
14130                             wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14131                           else
14132                             wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14133                           fi
14134
14135 else
14136
14137                           wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14138
14139 fi
14140
14141
14142           eval "$wx_cv_use_treelist"
14143
14144           if test x"$enablestring" = xdisable; then
14145             if test $wxUSE_TREELISTCTRL = no; then
14146               result=yes
14147             else
14148               result=no
14149             fi
14150           else
14151             result=$wxUSE_TREELISTCTRL
14152           fi
14153
14154           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14155 $as_echo "$result" >&6; }
14156
14157
14158
14159
14160           enablestring=
14161           defaultval=$wxUSE_ALL_FEATURES
14162           if test -z "$defaultval"; then
14163               if test x"$enablestring" = xdisable; then
14164                   defaultval=yes
14165               else
14166                   defaultval=no
14167               fi
14168           fi
14169
14170           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14171 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14172           # Check whether --enable-commondlg was given.
14173 if test "${enable_commondlg+set}" = set; then :
14174   enableval=$enable_commondlg;
14175                           if test "$enableval" = yes; then
14176                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14177                           else
14178                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14179                           fi
14180
14181 else
14182
14183                           wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14184
14185 fi
14186
14187
14188           eval "$wx_cv_use_commondlg"
14189
14190           if test x"$enablestring" = xdisable; then
14191             if test $wxUSE_COMMONDLGS = no; then
14192               result=yes
14193             else
14194               result=no
14195             fi
14196           else
14197             result=$wxUSE_COMMONDLGS
14198           fi
14199
14200           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14201 $as_echo "$result" >&6; }
14202
14203
14204           enablestring=
14205           defaultval=$wxUSE_ALL_FEATURES
14206           if test -z "$defaultval"; then
14207               if test x"$enablestring" = xdisable; then
14208                   defaultval=yes
14209               else
14210                   defaultval=no
14211               fi
14212           fi
14213
14214           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14215 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14216           # Check whether --enable-aboutdlg was given.
14217 if test "${enable_aboutdlg+set}" = set; then :
14218   enableval=$enable_aboutdlg;
14219                           if test "$enableval" = yes; then
14220                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14221                           else
14222                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14223                           fi
14224
14225 else
14226
14227                           wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14228
14229 fi
14230
14231
14232           eval "$wx_cv_use_aboutdlg"
14233
14234           if test x"$enablestring" = xdisable; then
14235             if test $wxUSE_ABOUTDLG = no; then
14236               result=yes
14237             else
14238               result=no
14239             fi
14240           else
14241             result=$wxUSE_ABOUTDLG
14242           fi
14243
14244           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14245 $as_echo "$result" >&6; }
14246
14247
14248           enablestring=
14249           defaultval=$wxUSE_ALL_FEATURES
14250           if test -z "$defaultval"; then
14251               if test x"$enablestring" = xdisable; then
14252                   defaultval=yes
14253               else
14254                   defaultval=no
14255               fi
14256           fi
14257
14258           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14259 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14260           # Check whether --enable-choicedlg was given.
14261 if test "${enable_choicedlg+set}" = set; then :
14262   enableval=$enable_choicedlg;
14263                           if test "$enableval" = yes; then
14264                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14265                           else
14266                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14267                           fi
14268
14269 else
14270
14271                           wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14272
14273 fi
14274
14275
14276           eval "$wx_cv_use_choicedlg"
14277
14278           if test x"$enablestring" = xdisable; then
14279             if test $wxUSE_CHOICEDLG = no; then
14280               result=yes
14281             else
14282               result=no
14283             fi
14284           else
14285             result=$wxUSE_CHOICEDLG
14286           fi
14287
14288           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14289 $as_echo "$result" >&6; }
14290
14291
14292           enablestring=
14293           defaultval=$wxUSE_ALL_FEATURES
14294           if test -z "$defaultval"; then
14295               if test x"$enablestring" = xdisable; then
14296                   defaultval=yes
14297               else
14298                   defaultval=no
14299               fi
14300           fi
14301
14302           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14303 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14304           # Check whether --enable-coldlg was given.
14305 if test "${enable_coldlg+set}" = set; then :
14306   enableval=$enable_coldlg;
14307                           if test "$enableval" = yes; then
14308                             wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14309                           else
14310                             wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14311                           fi
14312
14313 else
14314
14315                           wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14316
14317 fi
14318
14319
14320           eval "$wx_cv_use_coldlg"
14321
14322           if test x"$enablestring" = xdisable; then
14323             if test $wxUSE_COLOURDLG = no; then
14324               result=yes
14325             else
14326               result=no
14327             fi
14328           else
14329             result=$wxUSE_COLOURDLG
14330           fi
14331
14332           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14333 $as_echo "$result" >&6; }
14334
14335
14336           enablestring=
14337           defaultval=$wxUSE_ALL_FEATURES
14338           if test -z "$defaultval"; then
14339               if test x"$enablestring" = xdisable; then
14340                   defaultval=yes
14341               else
14342                   defaultval=no
14343               fi
14344           fi
14345
14346           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14347 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14348           # Check whether --enable-filedlg was given.
14349 if test "${enable_filedlg+set}" = set; then :
14350   enableval=$enable_filedlg;
14351                           if test "$enableval" = yes; then
14352                             wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14353                           else
14354                             wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14355                           fi
14356
14357 else
14358
14359                           wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14360
14361 fi
14362
14363
14364           eval "$wx_cv_use_filedlg"
14365
14366           if test x"$enablestring" = xdisable; then
14367             if test $wxUSE_FILEDLG = no; then
14368               result=yes
14369             else
14370               result=no
14371             fi
14372           else
14373             result=$wxUSE_FILEDLG
14374           fi
14375
14376           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14377 $as_echo "$result" >&6; }
14378
14379
14380           enablestring=
14381           defaultval=$wxUSE_ALL_FEATURES
14382           if test -z "$defaultval"; then
14383               if test x"$enablestring" = xdisable; then
14384                   defaultval=yes
14385               else
14386                   defaultval=no
14387               fi
14388           fi
14389
14390           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14391 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14392           # Check whether --enable-finddlg was given.
14393 if test "${enable_finddlg+set}" = set; then :
14394   enableval=$enable_finddlg;
14395                           if test "$enableval" = yes; then
14396                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14397                           else
14398                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14399                           fi
14400
14401 else
14402
14403                           wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14404
14405 fi
14406
14407
14408           eval "$wx_cv_use_finddlg"
14409
14410           if test x"$enablestring" = xdisable; then
14411             if test $wxUSE_FINDREPLDLG = no; then
14412               result=yes
14413             else
14414               result=no
14415             fi
14416           else
14417             result=$wxUSE_FINDREPLDLG
14418           fi
14419
14420           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14421 $as_echo "$result" >&6; }
14422
14423
14424           enablestring=
14425           defaultval=$wxUSE_ALL_FEATURES
14426           if test -z "$defaultval"; then
14427               if test x"$enablestring" = xdisable; then
14428                   defaultval=yes
14429               else
14430                   defaultval=no
14431               fi
14432           fi
14433
14434           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14435 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14436           # Check whether --enable-fontdlg was given.
14437 if test "${enable_fontdlg+set}" = set; then :
14438   enableval=$enable_fontdlg;
14439                           if test "$enableval" = yes; then
14440                             wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14441                           else
14442                             wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14443                           fi
14444
14445 else
14446
14447                           wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14448
14449 fi
14450
14451
14452           eval "$wx_cv_use_fontdlg"
14453
14454           if test x"$enablestring" = xdisable; then
14455             if test $wxUSE_FONTDLG = no; then
14456               result=yes
14457             else
14458               result=no
14459             fi
14460           else
14461             result=$wxUSE_FONTDLG
14462           fi
14463
14464           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14465 $as_echo "$result" >&6; }
14466
14467
14468           enablestring=
14469           defaultval=$wxUSE_ALL_FEATURES
14470           if test -z "$defaultval"; then
14471               if test x"$enablestring" = xdisable; then
14472                   defaultval=yes
14473               else
14474                   defaultval=no
14475               fi
14476           fi
14477
14478           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14479 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14480           # Check whether --enable-dirdlg was given.
14481 if test "${enable_dirdlg+set}" = set; then :
14482   enableval=$enable_dirdlg;
14483                           if test "$enableval" = yes; then
14484                             wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14485                           else
14486                             wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14487                           fi
14488
14489 else
14490
14491                           wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14492
14493 fi
14494
14495
14496           eval "$wx_cv_use_dirdlg"
14497
14498           if test x"$enablestring" = xdisable; then
14499             if test $wxUSE_DIRDLG = no; then
14500               result=yes
14501             else
14502               result=no
14503             fi
14504           else
14505             result=$wxUSE_DIRDLG
14506           fi
14507
14508           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14509 $as_echo "$result" >&6; }
14510
14511
14512           enablestring=
14513           defaultval=$wxUSE_ALL_FEATURES
14514           if test -z "$defaultval"; then
14515               if test x"$enablestring" = xdisable; then
14516                   defaultval=yes
14517               else
14518                   defaultval=no
14519               fi
14520           fi
14521
14522           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14523 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14524           # Check whether --enable-msgdlg was given.
14525 if test "${enable_msgdlg+set}" = set; then :
14526   enableval=$enable_msgdlg;
14527                           if test "$enableval" = yes; then
14528                             wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14529                           else
14530                             wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14531                           fi
14532
14533 else
14534
14535                           wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14536
14537 fi
14538
14539
14540           eval "$wx_cv_use_msgdlg"
14541
14542           if test x"$enablestring" = xdisable; then
14543             if test $wxUSE_MSGDLG = no; then
14544               result=yes
14545             else
14546               result=no
14547             fi
14548           else
14549             result=$wxUSE_MSGDLG
14550           fi
14551
14552           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14553 $as_echo "$result" >&6; }
14554
14555
14556           enablestring=
14557           defaultval=$wxUSE_ALL_FEATURES
14558           if test -z "$defaultval"; then
14559               if test x"$enablestring" = xdisable; then
14560                   defaultval=yes
14561               else
14562                   defaultval=no
14563               fi
14564           fi
14565
14566           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14567 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14568           # Check whether --enable-numberdlg was given.
14569 if test "${enable_numberdlg+set}" = set; then :
14570   enableval=$enable_numberdlg;
14571                           if test "$enableval" = yes; then
14572                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14573                           else
14574                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14575                           fi
14576
14577 else
14578
14579                           wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14580
14581 fi
14582
14583
14584           eval "$wx_cv_use_numberdlg"
14585
14586           if test x"$enablestring" = xdisable; then
14587             if test $wxUSE_NUMBERDLG = no; then
14588               result=yes
14589             else
14590               result=no
14591             fi
14592           else
14593             result=$wxUSE_NUMBERDLG
14594           fi
14595
14596           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14597 $as_echo "$result" >&6; }
14598
14599
14600           enablestring=
14601           defaultval=$wxUSE_ALL_FEATURES
14602           if test -z "$defaultval"; then
14603               if test x"$enablestring" = xdisable; then
14604                   defaultval=yes
14605               else
14606                   defaultval=no
14607               fi
14608           fi
14609
14610           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14611 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14612           # Check whether --enable-splash was given.
14613 if test "${enable_splash+set}" = set; then :
14614   enableval=$enable_splash;
14615                           if test "$enableval" = yes; then
14616                             wx_cv_use_splash='wxUSE_SPLASH=yes'
14617                           else
14618                             wx_cv_use_splash='wxUSE_SPLASH=no'
14619                           fi
14620
14621 else
14622
14623                           wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14624
14625 fi
14626
14627
14628           eval "$wx_cv_use_splash"
14629
14630           if test x"$enablestring" = xdisable; then
14631             if test $wxUSE_SPLASH = no; then
14632               result=yes
14633             else
14634               result=no
14635             fi
14636           else
14637             result=$wxUSE_SPLASH
14638           fi
14639
14640           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14641 $as_echo "$result" >&6; }
14642
14643
14644           enablestring=
14645           defaultval=$wxUSE_ALL_FEATURES
14646           if test -z "$defaultval"; then
14647               if test x"$enablestring" = xdisable; then
14648                   defaultval=yes
14649               else
14650                   defaultval=no
14651               fi
14652           fi
14653
14654           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14655 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14656           # Check whether --enable-textdlg was given.
14657 if test "${enable_textdlg+set}" = set; then :
14658   enableval=$enable_textdlg;
14659                           if test "$enableval" = yes; then
14660                             wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14661                           else
14662                             wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14663                           fi
14664
14665 else
14666
14667                           wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14668
14669 fi
14670
14671
14672           eval "$wx_cv_use_textdlg"
14673
14674           if test x"$enablestring" = xdisable; then
14675             if test $wxUSE_TEXTDLG = no; then
14676               result=yes
14677             else
14678               result=no
14679             fi
14680           else
14681             result=$wxUSE_TEXTDLG
14682           fi
14683
14684           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14685 $as_echo "$result" >&6; }
14686
14687
14688           enablestring=
14689           defaultval=$wxUSE_ALL_FEATURES
14690           if test -z "$defaultval"; then
14691               if test x"$enablestring" = xdisable; then
14692                   defaultval=yes
14693               else
14694                   defaultval=no
14695               fi
14696           fi
14697
14698           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14699 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14700           # Check whether --enable-tipdlg was given.
14701 if test "${enable_tipdlg+set}" = set; then :
14702   enableval=$enable_tipdlg;
14703                           if test "$enableval" = yes; then
14704                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14705                           else
14706                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14707                           fi
14708
14709 else
14710
14711                           wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14712
14713 fi
14714
14715
14716           eval "$wx_cv_use_tipdlg"
14717
14718           if test x"$enablestring" = xdisable; then
14719             if test $wxUSE_STARTUP_TIPS = no; then
14720               result=yes
14721             else
14722               result=no
14723             fi
14724           else
14725             result=$wxUSE_STARTUP_TIPS
14726           fi
14727
14728           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14729 $as_echo "$result" >&6; }
14730
14731
14732           enablestring=
14733           defaultval=$wxUSE_ALL_FEATURES
14734           if test -z "$defaultval"; then
14735               if test x"$enablestring" = xdisable; then
14736                   defaultval=yes
14737               else
14738                   defaultval=no
14739               fi
14740           fi
14741
14742           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14743 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14744           # Check whether --enable-progressdlg was given.
14745 if test "${enable_progressdlg+set}" = set; then :
14746   enableval=$enable_progressdlg;
14747                           if test "$enableval" = yes; then
14748                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14749                           else
14750                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14751                           fi
14752
14753 else
14754
14755                           wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14756
14757 fi
14758
14759
14760           eval "$wx_cv_use_progressdlg"
14761
14762           if test x"$enablestring" = xdisable; then
14763             if test $wxUSE_PROGRESSDLG = no; then
14764               result=yes
14765             else
14766               result=no
14767             fi
14768           else
14769             result=$wxUSE_PROGRESSDLG
14770           fi
14771
14772           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14773 $as_echo "$result" >&6; }
14774
14775
14776           enablestring=
14777           defaultval=$wxUSE_ALL_FEATURES
14778           if test -z "$defaultval"; then
14779               if test x"$enablestring" = xdisable; then
14780                   defaultval=yes
14781               else
14782                   defaultval=no
14783               fi
14784           fi
14785
14786           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14787 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14788           # Check whether --enable-wizarddlg was given.
14789 if test "${enable_wizarddlg+set}" = set; then :
14790   enableval=$enable_wizarddlg;
14791                           if test "$enableval" = yes; then
14792                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14793                           else
14794                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14795                           fi
14796
14797 else
14798
14799                           wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14800
14801 fi
14802
14803
14804           eval "$wx_cv_use_wizarddlg"
14805
14806           if test x"$enablestring" = xdisable; then
14807             if test $wxUSE_WIZARDDLG = no; then
14808               result=yes
14809             else
14810               result=no
14811             fi
14812           else
14813             result=$wxUSE_WIZARDDLG
14814           fi
14815
14816           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14817 $as_echo "$result" >&6; }
14818
14819
14820
14821
14822           enablestring=
14823           defaultval=$wxUSE_ALL_FEATURES
14824           if test -z "$defaultval"; then
14825               if test x"$enablestring" = xdisable; then
14826                   defaultval=yes
14827               else
14828                   defaultval=no
14829               fi
14830           fi
14831
14832           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14833 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14834           # Check whether --enable-menus was given.
14835 if test "${enable_menus+set}" = set; then :
14836   enableval=$enable_menus;
14837                           if test "$enableval" = yes; then
14838                             wx_cv_use_menus='wxUSE_MENUS=yes'
14839                           else
14840                             wx_cv_use_menus='wxUSE_MENUS=no'
14841                           fi
14842
14843 else
14844
14845                           wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14846
14847 fi
14848
14849
14850           eval "$wx_cv_use_menus"
14851
14852           if test x"$enablestring" = xdisable; then
14853             if test $wxUSE_MENUS = no; then
14854               result=yes
14855             else
14856               result=no
14857             fi
14858           else
14859             result=$wxUSE_MENUS
14860           fi
14861
14862           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14863 $as_echo "$result" >&6; }
14864
14865
14866           enablestring=
14867           defaultval=$wxUSE_ALL_FEATURES
14868           if test -z "$defaultval"; then
14869               if test x"$enablestring" = xdisable; then
14870                   defaultval=yes
14871               else
14872                   defaultval=no
14873               fi
14874           fi
14875
14876           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14877 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14878           # Check whether --enable-miniframe was given.
14879 if test "${enable_miniframe+set}" = set; then :
14880   enableval=$enable_miniframe;
14881                           if test "$enableval" = yes; then
14882                             wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14883                           else
14884                             wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14885                           fi
14886
14887 else
14888
14889                           wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14890
14891 fi
14892
14893
14894           eval "$wx_cv_use_miniframe"
14895
14896           if test x"$enablestring" = xdisable; then
14897             if test $wxUSE_MINIFRAME = no; then
14898               result=yes
14899             else
14900               result=no
14901             fi
14902           else
14903             result=$wxUSE_MINIFRAME
14904           fi
14905
14906           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14907 $as_echo "$result" >&6; }
14908
14909
14910           enablestring=
14911           defaultval=$wxUSE_ALL_FEATURES
14912           if test -z "$defaultval"; then
14913               if test x"$enablestring" = xdisable; then
14914                   defaultval=yes
14915               else
14916                   defaultval=no
14917               fi
14918           fi
14919
14920           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14921 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14922           # Check whether --enable-tooltips was given.
14923 if test "${enable_tooltips+set}" = set; then :
14924   enableval=$enable_tooltips;
14925                           if test "$enableval" = yes; then
14926                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14927                           else
14928                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14929                           fi
14930
14931 else
14932
14933                           wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14934
14935 fi
14936
14937
14938           eval "$wx_cv_use_tooltips"
14939
14940           if test x"$enablestring" = xdisable; then
14941             if test $wxUSE_TOOLTIPS = no; then
14942               result=yes
14943             else
14944               result=no
14945             fi
14946           else
14947             result=$wxUSE_TOOLTIPS
14948           fi
14949
14950           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14951 $as_echo "$result" >&6; }
14952
14953
14954           enablestring=
14955           defaultval=$wxUSE_ALL_FEATURES
14956           if test -z "$defaultval"; then
14957               if test x"$enablestring" = xdisable; then
14958                   defaultval=yes
14959               else
14960                   defaultval=no
14961               fi
14962           fi
14963
14964           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
14965 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
14966           # Check whether --enable-splines was given.
14967 if test "${enable_splines+set}" = set; then :
14968   enableval=$enable_splines;
14969                           if test "$enableval" = yes; then
14970                             wx_cv_use_splines='wxUSE_SPLINES=yes'
14971                           else
14972                             wx_cv_use_splines='wxUSE_SPLINES=no'
14973                           fi
14974
14975 else
14976
14977                           wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14978
14979 fi
14980
14981
14982           eval "$wx_cv_use_splines"
14983
14984           if test x"$enablestring" = xdisable; then
14985             if test $wxUSE_SPLINES = no; then
14986               result=yes
14987             else
14988               result=no
14989             fi
14990           else
14991             result=$wxUSE_SPLINES
14992           fi
14993
14994           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14995 $as_echo "$result" >&6; }
14996
14997
14998           enablestring=
14999           defaultval=$wxUSE_ALL_FEATURES
15000           if test -z "$defaultval"; then
15001               if test x"$enablestring" = xdisable; then
15002                   defaultval=yes
15003               else
15004                   defaultval=no
15005               fi
15006           fi
15007
15008           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
15009 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
15010           # Check whether --enable-mousewheel was given.
15011 if test "${enable_mousewheel+set}" = set; then :
15012   enableval=$enable_mousewheel;
15013                           if test "$enableval" = yes; then
15014                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15015                           else
15016                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15017                           fi
15018
15019 else
15020
15021                           wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15022
15023 fi
15024
15025
15026           eval "$wx_cv_use_mousewheel"
15027
15028           if test x"$enablestring" = xdisable; then
15029             if test $wxUSE_MOUSEWHEEL = no; then
15030               result=yes
15031             else
15032               result=no
15033             fi
15034           else
15035             result=$wxUSE_MOUSEWHEEL
15036           fi
15037
15038           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15039 $as_echo "$result" >&6; }
15040
15041
15042           enablestring=
15043           defaultval=$wxUSE_ALL_FEATURES
15044           if test -z "$defaultval"; then
15045               if test x"$enablestring" = xdisable; then
15046                   defaultval=yes
15047               else
15048                   defaultval=no
15049               fi
15050           fi
15051
15052           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
15053 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
15054           # Check whether --enable-validators was given.
15055 if test "${enable_validators+set}" = set; then :
15056   enableval=$enable_validators;
15057                           if test "$enableval" = yes; then
15058                             wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15059                           else
15060                             wx_cv_use_validators='wxUSE_VALIDATORS=no'
15061                           fi
15062
15063 else
15064
15065                           wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15066
15067 fi
15068
15069
15070           eval "$wx_cv_use_validators"
15071
15072           if test x"$enablestring" = xdisable; then
15073             if test $wxUSE_VALIDATORS = no; then
15074               result=yes
15075             else
15076               result=no
15077             fi
15078           else
15079             result=$wxUSE_VALIDATORS
15080           fi
15081
15082           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15083 $as_echo "$result" >&6; }
15084
15085
15086           enablestring=
15087           defaultval=$wxUSE_ALL_FEATURES
15088           if test -z "$defaultval"; then
15089               if test x"$enablestring" = xdisable; then
15090                   defaultval=yes
15091               else
15092                   defaultval=no
15093               fi
15094           fi
15095
15096           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15097 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15098           # Check whether --enable-busyinfo was given.
15099 if test "${enable_busyinfo+set}" = set; then :
15100   enableval=$enable_busyinfo;
15101                           if test "$enableval" = yes; then
15102                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15103                           else
15104                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15105                           fi
15106
15107 else
15108
15109                           wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15110
15111 fi
15112
15113
15114           eval "$wx_cv_use_busyinfo"
15115
15116           if test x"$enablestring" = xdisable; then
15117             if test $wxUSE_BUSYINFO = no; then
15118               result=yes
15119             else
15120               result=no
15121             fi
15122           else
15123             result=$wxUSE_BUSYINFO
15124           fi
15125
15126           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15127 $as_echo "$result" >&6; }
15128
15129
15130           enablestring=
15131           defaultval=$wxUSE_ALL_FEATURES
15132           if test -z "$defaultval"; then
15133               if test x"$enablestring" = xdisable; then
15134                   defaultval=yes
15135               else
15136                   defaultval=no
15137               fi
15138           fi
15139
15140           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15141 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15142           # Check whether --enable-hotkey was given.
15143 if test "${enable_hotkey+set}" = set; then :
15144   enableval=$enable_hotkey;
15145                           if test "$enableval" = yes; then
15146                             wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15147                           else
15148                             wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15149                           fi
15150
15151 else
15152
15153                           wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15154
15155 fi
15156
15157
15158           eval "$wx_cv_use_hotkey"
15159
15160           if test x"$enablestring" = xdisable; then
15161             if test $wxUSE_HOTKEY = no; then
15162               result=yes
15163             else
15164               result=no
15165             fi
15166           else
15167             result=$wxUSE_HOTKEY
15168           fi
15169
15170           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15171 $as_echo "$result" >&6; }
15172
15173
15174           enablestring=
15175           defaultval=$wxUSE_ALL_FEATURES
15176           if test -z "$defaultval"; then
15177               if test x"$enablestring" = xdisable; then
15178                   defaultval=yes
15179               else
15180                   defaultval=no
15181               fi
15182           fi
15183
15184           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15185 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15186           # Check whether --enable-joystick was given.
15187 if test "${enable_joystick+set}" = set; then :
15188   enableval=$enable_joystick;
15189                           if test "$enableval" = yes; then
15190                             wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15191                           else
15192                             wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15193                           fi
15194
15195 else
15196
15197                           wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15198
15199 fi
15200
15201
15202           eval "$wx_cv_use_joystick"
15203
15204           if test x"$enablestring" = xdisable; then
15205             if test $wxUSE_JOYSTICK = no; then
15206               result=yes
15207             else
15208               result=no
15209             fi
15210           else
15211             result=$wxUSE_JOYSTICK
15212           fi
15213
15214           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15215 $as_echo "$result" >&6; }
15216
15217
15218           enablestring=
15219           defaultval=$wxUSE_ALL_FEATURES
15220           if test -z "$defaultval"; then
15221               if test x"$enablestring" = xdisable; then
15222                   defaultval=yes
15223               else
15224                   defaultval=no
15225               fi
15226           fi
15227
15228           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15229 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15230           # Check whether --enable-metafile was given.
15231 if test "${enable_metafile+set}" = set; then :
15232   enableval=$enable_metafile;
15233                           if test "$enableval" = yes; then
15234                             wx_cv_use_metafile='wxUSE_METAFILE=yes'
15235                           else
15236                             wx_cv_use_metafile='wxUSE_METAFILE=no'
15237                           fi
15238
15239 else
15240
15241                           wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15242
15243 fi
15244
15245
15246           eval "$wx_cv_use_metafile"
15247
15248           if test x"$enablestring" = xdisable; then
15249             if test $wxUSE_METAFILE = no; then
15250               result=yes
15251             else
15252               result=no
15253             fi
15254           else
15255             result=$wxUSE_METAFILE
15256           fi
15257
15258           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15259 $as_echo "$result" >&6; }
15260
15261
15262           enablestring=
15263           defaultval=$wxUSE_ALL_FEATURES
15264           if test -z "$defaultval"; then
15265               if test x"$enablestring" = xdisable; then
15266                   defaultval=yes
15267               else
15268                   defaultval=no
15269               fi
15270           fi
15271
15272           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15273 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15274           # Check whether --enable-dragimage was given.
15275 if test "${enable_dragimage+set}" = set; then :
15276   enableval=$enable_dragimage;
15277                           if test "$enableval" = yes; then
15278                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15279                           else
15280                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15281                           fi
15282
15283 else
15284
15285                           wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15286
15287 fi
15288
15289
15290           eval "$wx_cv_use_dragimage"
15291
15292           if test x"$enablestring" = xdisable; then
15293             if test $wxUSE_DRAGIMAGE = no; then
15294               result=yes
15295             else
15296               result=no
15297             fi
15298           else
15299             result=$wxUSE_DRAGIMAGE
15300           fi
15301
15302           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15303 $as_echo "$result" >&6; }
15304
15305
15306           enablestring=
15307           defaultval=$wxUSE_ALL_FEATURES
15308           if test -z "$defaultval"; then
15309               if test x"$enablestring" = xdisable; then
15310                   defaultval=yes
15311               else
15312                   defaultval=no
15313               fi
15314           fi
15315
15316           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15317 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15318           # Check whether --enable-accessibility was given.
15319 if test "${enable_accessibility+set}" = set; then :
15320   enableval=$enable_accessibility;
15321                           if test "$enableval" = yes; then
15322                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15323                           else
15324                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15325                           fi
15326
15327 else
15328
15329                           wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15330
15331 fi
15332
15333
15334           eval "$wx_cv_use_accessibility"
15335
15336           if test x"$enablestring" = xdisable; then
15337             if test $wxUSE_ACCESSIBILITY = no; then
15338               result=yes
15339             else
15340               result=no
15341             fi
15342           else
15343             result=$wxUSE_ACCESSIBILITY
15344           fi
15345
15346           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15347 $as_echo "$result" >&6; }
15348
15349
15350           enablestring=
15351           defaultval=$wxUSE_ALL_FEATURES
15352           if test -z "$defaultval"; then
15353               if test x"$enablestring" = xdisable; then
15354                   defaultval=yes
15355               else
15356                   defaultval=no
15357               fi
15358           fi
15359
15360           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15361 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15362           # Check whether --enable-uiactionsim was given.
15363 if test "${enable_uiactionsim+set}" = set; then :
15364   enableval=$enable_uiactionsim;
15365                           if test "$enableval" = yes; then
15366                             wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15367                           else
15368                             wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15369                           fi
15370
15371 else
15372
15373                           wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15374
15375 fi
15376
15377
15378           eval "$wx_cv_use_uiactionsim"
15379
15380           if test x"$enablestring" = xdisable; then
15381             if test $wxUSE_UIACTIONSIMULATOR = no; then
15382               result=yes
15383             else
15384               result=no
15385             fi
15386           else
15387             result=$wxUSE_UIACTIONSIMULATOR
15388           fi
15389
15390           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15391 $as_echo "$result" >&6; }
15392
15393
15394           enablestring=
15395           defaultval=$wxUSE_ALL_FEATURES
15396           if test -z "$defaultval"; then
15397               if test x"$enablestring" = xdisable; then
15398                   defaultval=yes
15399               else
15400                   defaultval=no
15401               fi
15402           fi
15403
15404           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15405 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15406           # Check whether --enable-dctransform was given.
15407 if test "${enable_dctransform+set}" = set; then :
15408   enableval=$enable_dctransform;
15409                           if test "$enableval" = yes; then
15410                             wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15411                           else
15412                             wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15413                           fi
15414
15415 else
15416
15417                           wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15418
15419 fi
15420
15421
15422           eval "$wx_cv_use_dctransform"
15423
15424           if test x"$enablestring" = xdisable; then
15425             if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15426               result=yes
15427             else
15428               result=no
15429             fi
15430           else
15431             result=$wxUSE_DC_TRANSFORM_MATRIX
15432           fi
15433
15434           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15435 $as_echo "$result" >&6; }
15436
15437
15438           enablestring=
15439           defaultval=$wxUSE_ALL_FEATURES
15440           if test -z "$defaultval"; then
15441               if test x"$enablestring" = xdisable; then
15442                   defaultval=yes
15443               else
15444                   defaultval=no
15445               fi
15446           fi
15447
15448           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15449 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15450           # Check whether --enable-webviewwebkit was given.
15451 if test "${enable_webviewwebkit+set}" = set; then :
15452   enableval=$enable_webviewwebkit;
15453                           if test "$enableval" = yes; then
15454                             wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15455                           else
15456                             wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15457                           fi
15458
15459 else
15460
15461                           wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15462
15463 fi
15464
15465
15466           eval "$wx_cv_use_webviewwebkit"
15467
15468           if test x"$enablestring" = xdisable; then
15469             if test $wxUSE_WEBVIEW_WEBKIT = no; then
15470               result=yes
15471             else
15472               result=no
15473             fi
15474           else
15475             result=$wxUSE_WEBVIEW_WEBKIT
15476           fi
15477
15478           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15479 $as_echo "$result" >&6; }
15480
15481
15482
15483
15484           enablestring=
15485           defaultval=$wxUSE_ALL_FEATURES
15486           if test -z "$defaultval"; then
15487               if test x"$enablestring" = xdisable; then
15488                   defaultval=yes
15489               else
15490                   defaultval=no
15491               fi
15492           fi
15493
15494           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15495 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15496           # Check whether --enable-palette was given.
15497 if test "${enable_palette+set}" = set; then :
15498   enableval=$enable_palette;
15499                           if test "$enableval" = yes; then
15500                             wx_cv_use_palette='wxUSE_PALETTE=yes'
15501                           else
15502                             wx_cv_use_palette='wxUSE_PALETTE=no'
15503                           fi
15504
15505 else
15506
15507                           wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15508
15509 fi
15510
15511
15512           eval "$wx_cv_use_palette"
15513
15514           if test x"$enablestring" = xdisable; then
15515             if test $wxUSE_PALETTE = no; then
15516               result=yes
15517             else
15518               result=no
15519             fi
15520           else
15521             result=$wxUSE_PALETTE
15522           fi
15523
15524           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15525 $as_echo "$result" >&6; }
15526
15527
15528           enablestring=
15529           defaultval=$wxUSE_ALL_FEATURES
15530           if test -z "$defaultval"; then
15531               if test x"$enablestring" = xdisable; then
15532                   defaultval=yes
15533               else
15534                   defaultval=no
15535               fi
15536           fi
15537
15538           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15539 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15540           # Check whether --enable-image was given.
15541 if test "${enable_image+set}" = set; then :
15542   enableval=$enable_image;
15543                           if test "$enableval" = yes; then
15544                             wx_cv_use_image='wxUSE_IMAGE=yes'
15545                           else
15546                             wx_cv_use_image='wxUSE_IMAGE=no'
15547                           fi
15548
15549 else
15550
15551                           wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15552
15553 fi
15554
15555
15556           eval "$wx_cv_use_image"
15557
15558           if test x"$enablestring" = xdisable; then
15559             if test $wxUSE_IMAGE = no; then
15560               result=yes
15561             else
15562               result=no
15563             fi
15564           else
15565             result=$wxUSE_IMAGE
15566           fi
15567
15568           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15569 $as_echo "$result" >&6; }
15570
15571
15572           enablestring=
15573           defaultval=$wxUSE_ALL_FEATURES
15574           if test -z "$defaultval"; then
15575               if test x"$enablestring" = xdisable; then
15576                   defaultval=yes
15577               else
15578                   defaultval=no
15579               fi
15580           fi
15581
15582           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15583 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15584           # Check whether --enable-gif was given.
15585 if test "${enable_gif+set}" = set; then :
15586   enableval=$enable_gif;
15587                           if test "$enableval" = yes; then
15588                             wx_cv_use_gif='wxUSE_GIF=yes'
15589                           else
15590                             wx_cv_use_gif='wxUSE_GIF=no'
15591                           fi
15592
15593 else
15594
15595                           wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15596
15597 fi
15598
15599
15600           eval "$wx_cv_use_gif"
15601
15602           if test x"$enablestring" = xdisable; then
15603             if test $wxUSE_GIF = no; then
15604               result=yes
15605             else
15606               result=no
15607             fi
15608           else
15609             result=$wxUSE_GIF
15610           fi
15611
15612           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15613 $as_echo "$result" >&6; }
15614
15615
15616           enablestring=
15617           defaultval=$wxUSE_ALL_FEATURES
15618           if test -z "$defaultval"; then
15619               if test x"$enablestring" = xdisable; then
15620                   defaultval=yes
15621               else
15622                   defaultval=no
15623               fi
15624           fi
15625
15626           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15627 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15628           # Check whether --enable-pcx was given.
15629 if test "${enable_pcx+set}" = set; then :
15630   enableval=$enable_pcx;
15631                           if test "$enableval" = yes; then
15632                             wx_cv_use_pcx='wxUSE_PCX=yes'
15633                           else
15634                             wx_cv_use_pcx='wxUSE_PCX=no'
15635                           fi
15636
15637 else
15638
15639                           wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15640
15641 fi
15642
15643
15644           eval "$wx_cv_use_pcx"
15645
15646           if test x"$enablestring" = xdisable; then
15647             if test $wxUSE_PCX = no; then
15648               result=yes
15649             else
15650               result=no
15651             fi
15652           else
15653             result=$wxUSE_PCX
15654           fi
15655
15656           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15657 $as_echo "$result" >&6; }
15658
15659
15660           enablestring=
15661           defaultval=$wxUSE_ALL_FEATURES
15662           if test -z "$defaultval"; then
15663               if test x"$enablestring" = xdisable; then
15664                   defaultval=yes
15665               else
15666                   defaultval=no
15667               fi
15668           fi
15669
15670           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15671 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15672           # Check whether --enable-tga was given.
15673 if test "${enable_tga+set}" = set; then :
15674   enableval=$enable_tga;
15675                           if test "$enableval" = yes; then
15676                             wx_cv_use_tga='wxUSE_TGA=yes'
15677                           else
15678                             wx_cv_use_tga='wxUSE_TGA=no'
15679                           fi
15680
15681 else
15682
15683                           wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15684
15685 fi
15686
15687
15688           eval "$wx_cv_use_tga"
15689
15690           if test x"$enablestring" = xdisable; then
15691             if test $wxUSE_TGA = no; then
15692               result=yes
15693             else
15694               result=no
15695             fi
15696           else
15697             result=$wxUSE_TGA
15698           fi
15699
15700           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15701 $as_echo "$result" >&6; }
15702
15703
15704           enablestring=
15705           defaultval=$wxUSE_ALL_FEATURES
15706           if test -z "$defaultval"; then
15707               if test x"$enablestring" = xdisable; then
15708                   defaultval=yes
15709               else
15710                   defaultval=no
15711               fi
15712           fi
15713
15714           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15715 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15716           # Check whether --enable-iff was given.
15717 if test "${enable_iff+set}" = set; then :
15718   enableval=$enable_iff;
15719                           if test "$enableval" = yes; then
15720                             wx_cv_use_iff='wxUSE_IFF=yes'
15721                           else
15722                             wx_cv_use_iff='wxUSE_IFF=no'
15723                           fi
15724
15725 else
15726
15727                           wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15728
15729 fi
15730
15731
15732           eval "$wx_cv_use_iff"
15733
15734           if test x"$enablestring" = xdisable; then
15735             if test $wxUSE_IFF = no; then
15736               result=yes
15737             else
15738               result=no
15739             fi
15740           else
15741             result=$wxUSE_IFF
15742           fi
15743
15744           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15745 $as_echo "$result" >&6; }
15746
15747
15748           enablestring=
15749           defaultval=$wxUSE_ALL_FEATURES
15750           if test -z "$defaultval"; then
15751               if test x"$enablestring" = xdisable; then
15752                   defaultval=yes
15753               else
15754                   defaultval=no
15755               fi
15756           fi
15757
15758           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15759 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15760           # Check whether --enable-pnm was given.
15761 if test "${enable_pnm+set}" = set; then :
15762   enableval=$enable_pnm;
15763                           if test "$enableval" = yes; then
15764                             wx_cv_use_pnm='wxUSE_PNM=yes'
15765                           else
15766                             wx_cv_use_pnm='wxUSE_PNM=no'
15767                           fi
15768
15769 else
15770
15771                           wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15772
15773 fi
15774
15775
15776           eval "$wx_cv_use_pnm"
15777
15778           if test x"$enablestring" = xdisable; then
15779             if test $wxUSE_PNM = no; then
15780               result=yes
15781             else
15782               result=no
15783             fi
15784           else
15785             result=$wxUSE_PNM
15786           fi
15787
15788           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15789 $as_echo "$result" >&6; }
15790
15791
15792           enablestring=
15793           defaultval=$wxUSE_ALL_FEATURES
15794           if test -z "$defaultval"; then
15795               if test x"$enablestring" = xdisable; then
15796                   defaultval=yes
15797               else
15798                   defaultval=no
15799               fi
15800           fi
15801
15802           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15803 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15804           # Check whether --enable-xpm was given.
15805 if test "${enable_xpm+set}" = set; then :
15806   enableval=$enable_xpm;
15807                           if test "$enableval" = yes; then
15808                             wx_cv_use_xpm='wxUSE_XPM=yes'
15809                           else
15810                             wx_cv_use_xpm='wxUSE_XPM=no'
15811                           fi
15812
15813 else
15814
15815                           wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15816
15817 fi
15818
15819
15820           eval "$wx_cv_use_xpm"
15821
15822           if test x"$enablestring" = xdisable; then
15823             if test $wxUSE_XPM = no; then
15824               result=yes
15825             else
15826               result=no
15827             fi
15828           else
15829             result=$wxUSE_XPM
15830           fi
15831
15832           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15833 $as_echo "$result" >&6; }
15834
15835
15836           enablestring=
15837           defaultval=$wxUSE_ALL_FEATURES
15838           if test -z "$defaultval"; then
15839               if test x"$enablestring" = xdisable; then
15840                   defaultval=yes
15841               else
15842                   defaultval=no
15843               fi
15844           fi
15845
15846           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15847 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15848           # Check whether --enable-ico_cur was given.
15849 if test "${enable_ico_cur+set}" = set; then :
15850   enableval=$enable_ico_cur;
15851                           if test "$enableval" = yes; then
15852                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15853                           else
15854                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15855                           fi
15856
15857 else
15858
15859                           wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15860
15861 fi
15862
15863
15864           eval "$wx_cv_use_ico_cur"
15865
15866           if test x"$enablestring" = xdisable; then
15867             if test $wxUSE_ICO_CUR = no; then
15868               result=yes
15869             else
15870               result=no
15871             fi
15872           else
15873             result=$wxUSE_ICO_CUR
15874           fi
15875
15876           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15877 $as_echo "$result" >&6; }
15878
15879
15880
15881
15882           enablestring=
15883           defaultval=$wxUSE_ALL_FEATURES
15884           if test -z "$defaultval"; then
15885               if test x"$enablestring" = xdisable; then
15886                   defaultval=yes
15887               else
15888                   defaultval=no
15889               fi
15890           fi
15891
15892           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
15893 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
15894           # Check whether --enable-dccache was given.
15895 if test "${enable_dccache+set}" = set; then :
15896   enableval=$enable_dccache;
15897                           if test "$enableval" = yes; then
15898                             wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15899                           else
15900                             wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15901                           fi
15902
15903 else
15904
15905                           wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15906
15907 fi
15908
15909
15910           eval "$wx_cv_use_dccache"
15911
15912           if test x"$enablestring" = xdisable; then
15913             if test $wxUSE_DC_CACHEING = no; then
15914               result=yes
15915             else
15916               result=no
15917             fi
15918           else
15919             result=$wxUSE_DC_CACHEING
15920           fi
15921
15922           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15923 $as_echo "$result" >&6; }
15924
15925
15926           enablestring=
15927           defaultval=$wxUSE_ALL_FEATURES
15928           if test -z "$defaultval"; then
15929               if test x"$enablestring" = xdisable; then
15930                   defaultval=yes
15931               else
15932                   defaultval=no
15933               fi
15934           fi
15935
15936           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15937 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15938           # Check whether --enable-ps-in-msw was given.
15939 if test "${enable_ps_in_msw+set}" = set; then :
15940   enableval=$enable_ps_in_msw;
15941                           if test "$enableval" = yes; then
15942                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15943                           else
15944                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15945                           fi
15946
15947 else
15948
15949                           wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15950
15951 fi
15952
15953
15954           eval "$wx_cv_use_ps_in_msw"
15955
15956           if test x"$enablestring" = xdisable; then
15957             if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
15958               result=yes
15959             else
15960               result=no
15961             fi
15962           else
15963             result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15964           fi
15965
15966           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15967 $as_echo "$result" >&6; }
15968
15969
15970           enablestring=
15971           defaultval=$wxUSE_ALL_FEATURES
15972           if test -z "$defaultval"; then
15973               if test x"$enablestring" = xdisable; then
15974                   defaultval=yes
15975               else
15976                   defaultval=no
15977               fi
15978           fi
15979
15980           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
15981 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
15982           # Check whether --enable-ownerdrawn was given.
15983 if test "${enable_ownerdrawn+set}" = set; then :
15984   enableval=$enable_ownerdrawn;
15985                           if test "$enableval" = yes; then
15986                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15987                           else
15988                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15989                           fi
15990
15991 else
15992
15993                           wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15994
15995 fi
15996
15997
15998           eval "$wx_cv_use_ownerdrawn"
15999
16000           if test x"$enablestring" = xdisable; then
16001             if test $wxUSE_OWNER_DRAWN = no; then
16002               result=yes
16003             else
16004               result=no
16005             fi
16006           else
16007             result=$wxUSE_OWNER_DRAWN
16008           fi
16009
16010           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16011 $as_echo "$result" >&6; }
16012
16013
16014           enablestring=
16015           defaultval=$wxUSE_ALL_FEATURES
16016           if test -z "$defaultval"; then
16017               if test x"$enablestring" = xdisable; then
16018                   defaultval=yes
16019               else
16020                   defaultval=no
16021               fi
16022           fi
16023
16024           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16025 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16026           # Check whether --enable-uxtheme was given.
16027 if test "${enable_uxtheme+set}" = set; then :
16028   enableval=$enable_uxtheme;
16029                           if test "$enableval" = yes; then
16030                             wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16031                           else
16032                             wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16033                           fi
16034
16035 else
16036
16037                           wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16038
16039 fi
16040
16041
16042           eval "$wx_cv_use_uxtheme"
16043
16044           if test x"$enablestring" = xdisable; then
16045             if test $wxUSE_UXTHEME = no; then
16046               result=yes
16047             else
16048               result=no
16049             fi
16050           else
16051             result=$wxUSE_UXTHEME
16052           fi
16053
16054           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16055 $as_echo "$result" >&6; }
16056
16057
16058           enablestring=
16059           defaultval=$wxUSE_ALL_FEATURES
16060           if test -z "$defaultval"; then
16061               if test x"$enablestring" = xdisable; then
16062                   defaultval=yes
16063               else
16064                   defaultval=no
16065               fi
16066           fi
16067
16068           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16069 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16070           # Check whether --enable-wxdib was given.
16071 if test "${enable_wxdib+set}" = set; then :
16072   enableval=$enable_wxdib;
16073                           if test "$enableval" = yes; then
16074                             wx_cv_use_wxdib='wxUSE_DIB=yes'
16075                           else
16076                             wx_cv_use_wxdib='wxUSE_DIB=no'
16077                           fi
16078
16079 else
16080
16081                           wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16082
16083 fi
16084
16085
16086           eval "$wx_cv_use_wxdib"
16087
16088           if test x"$enablestring" = xdisable; then
16089             if test $wxUSE_DIB = no; then
16090               result=yes
16091             else
16092               result=no
16093             fi
16094           else
16095             result=$wxUSE_DIB
16096           fi
16097
16098           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16099 $as_echo "$result" >&6; }
16100
16101
16102           enablestring=
16103           defaultval=$wxUSE_ALL_FEATURES
16104           if test -z "$defaultval"; then
16105               if test x"$enablestring" = xdisable; then
16106                   defaultval=yes
16107               else
16108                   defaultval=no
16109               fi
16110           fi
16111
16112           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16113 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16114           # Check whether --enable-webviewie was given.
16115 if test "${enable_webviewie+set}" = set; then :
16116   enableval=$enable_webviewie;
16117                           if test "$enableval" = yes; then
16118                             wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16119                           else
16120                             wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16121                           fi
16122
16123 else
16124
16125                           wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16126
16127 fi
16128
16129
16130           eval "$wx_cv_use_webviewie"
16131
16132           if test x"$enablestring" = xdisable; then
16133             if test $wxUSE_WEBVIEW_IE = no; then
16134               result=yes
16135             else
16136               result=no
16137             fi
16138           else
16139             result=$wxUSE_WEBVIEW_IE
16140           fi
16141
16142           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16143 $as_echo "$result" >&6; }
16144
16145
16146 if test "$wxUSE_MSW" != 1; then
16147     DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16148 fi
16149
16150
16151           enablestring=
16152           defaultval=$wxUSE_ALL_FEATURES
16153           if test -z "$defaultval"; then
16154               if test x"$enablestring" = xdisable; then
16155                   defaultval=yes
16156               else
16157                   defaultval=no
16158               fi
16159           fi
16160
16161           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16162 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16163           # Check whether --enable-autoidman was given.
16164 if test "${enable_autoidman+set}" = set; then :
16165   enableval=$enable_autoidman;
16166                           if test "$enableval" = yes; then
16167                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16168                           else
16169                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16170                           fi
16171
16172 else
16173
16174                           wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16175
16176 fi
16177
16178
16179           eval "$wx_cv_use_autoidman"
16180
16181           if test x"$enablestring" = xdisable; then
16182             if test $wxUSE_AUTOID_MANAGEMENT = no; then
16183               result=yes
16184             else
16185               result=no
16186             fi
16187           else
16188             result=$wxUSE_AUTOID_MANAGEMENT
16189           fi
16190
16191           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16192 $as_echo "$result" >&6; }
16193
16194
16195 fi
16196
16197
16198 cat >confcache <<\_ACEOF
16199 # This file is a shell script that caches the results of configure
16200 # tests run on this system so they can be shared between configure
16201 # scripts and configure runs, see configure's option --config-cache.
16202 # It is not useful on other systems.  If it contains results you don't
16203 # want to keep, you may remove or edit it.
16204 #
16205 # config.status only pays attention to the cache file if you give it
16206 # the --recheck option to rerun configure.
16207 #
16208 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16209 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16210 # following values.
16211
16212 _ACEOF
16213
16214 # The following way of writing the cache mishandles newlines in values,
16215 # but we know of no workaround that is simple, portable, and efficient.
16216 # So, we kill variables containing newlines.
16217 # Ultrix sh set writes to stderr and can't be redirected directly,
16218 # and sets the high bit in the cache file unless we assign to the vars.
16219 (
16220   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16221     eval ac_val=\$$ac_var
16222     case $ac_val in #(
16223     *${as_nl}*)
16224       case $ac_var in #(
16225       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16226 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16227       esac
16228       case $ac_var in #(
16229       _ | IFS | as_nl) ;; #(
16230       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16231       *) { eval $ac_var=; unset $ac_var;} ;;
16232       esac ;;
16233     esac
16234   done
16235
16236   (set) 2>&1 |
16237     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16238     *${as_nl}ac_space=\ *)
16239       # `set' does not quote correctly, so add quotes: double-quote
16240       # substitution turns \\\\ into \\, and sed turns \\ into \.
16241       sed -n \
16242         "s/'/'\\\\''/g;
16243           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16244       ;; #(
16245     *)
16246       # `set' quotes correctly as required by POSIX, so do not add quotes.
16247       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16248       ;;
16249     esac |
16250     sort
16251 ) |
16252   sed '
16253      /^ac_cv_env_/b end
16254      t clear
16255      :clear
16256      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16257      t end
16258      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16259      :end' >>confcache
16260 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16261   if test -w "$cache_file"; then
16262     if test "x$cache_file" != "x/dev/null"; then
16263       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16264 $as_echo "$as_me: updating cache $cache_file" >&6;}
16265       if test ! -f "$cache_file" || test -h "$cache_file"; then
16266         cat confcache >"$cache_file"
16267       else
16268         case $cache_file in #(
16269         */* | ?:*)
16270           mv -f confcache "$cache_file"$$ &&
16271           mv -f "$cache_file"$$ "$cache_file" ;; #(
16272         *)
16273           mv -f confcache "$cache_file" ;;
16274         esac
16275       fi
16276     fi
16277   else
16278     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16279 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16280   fi
16281 fi
16282 rm -f confcache
16283
16284 CFLAGS=${CFLAGS:=}
16285 ac_ext=c
16286 ac_cpp='$CPP $CPPFLAGS'
16287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16290 if test -n "$ac_tool_prefix"; then
16291   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16292 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16294 $as_echo_n "checking for $ac_word... " >&6; }
16295 if ${ac_cv_prog_CC+:} false; then :
16296   $as_echo_n "(cached) " >&6
16297 else
16298   if test -n "$CC"; then
16299   ac_cv_prog_CC="$CC" # Let the user override the test.
16300 else
16301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16302 for as_dir in $PATH
16303 do
16304   IFS=$as_save_IFS
16305   test -z "$as_dir" && as_dir=.
16306     for ac_exec_ext in '' $ac_executable_extensions; do
16307   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16308     ac_cv_prog_CC="${ac_tool_prefix}gcc"
16309     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16310     break 2
16311   fi
16312 done
16313   done
16314 IFS=$as_save_IFS
16315
16316 fi
16317 fi
16318 CC=$ac_cv_prog_CC
16319 if test -n "$CC"; then
16320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16321 $as_echo "$CC" >&6; }
16322 else
16323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16324 $as_echo "no" >&6; }
16325 fi
16326
16327
16328 fi
16329 if test -z "$ac_cv_prog_CC"; then
16330   ac_ct_CC=$CC
16331   # Extract the first word of "gcc", so it can be a program name with args.
16332 set dummy gcc; ac_word=$2
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16334 $as_echo_n "checking for $ac_word... " >&6; }
16335 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16336   $as_echo_n "(cached) " >&6
16337 else
16338   if test -n "$ac_ct_CC"; then
16339   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16340 else
16341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16342 for as_dir in $PATH
16343 do
16344   IFS=$as_save_IFS
16345   test -z "$as_dir" && as_dir=.
16346     for ac_exec_ext in '' $ac_executable_extensions; do
16347   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16348     ac_cv_prog_ac_ct_CC="gcc"
16349     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16350     break 2
16351   fi
16352 done
16353   done
16354 IFS=$as_save_IFS
16355
16356 fi
16357 fi
16358 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16359 if test -n "$ac_ct_CC"; then
16360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16361 $as_echo "$ac_ct_CC" >&6; }
16362 else
16363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16364 $as_echo "no" >&6; }
16365 fi
16366
16367   if test "x$ac_ct_CC" = x; then
16368     CC=""
16369   else
16370     case $cross_compiling:$ac_tool_warned in
16371 yes:)
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16374 ac_tool_warned=yes ;;
16375 esac
16376     CC=$ac_ct_CC
16377   fi
16378 else
16379   CC="$ac_cv_prog_CC"
16380 fi
16381
16382 if test -z "$CC"; then
16383           if test -n "$ac_tool_prefix"; then
16384     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16385 set dummy ${ac_tool_prefix}cc; ac_word=$2
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16387 $as_echo_n "checking for $ac_word... " >&6; }
16388 if ${ac_cv_prog_CC+:} false; then :
16389   $as_echo_n "(cached) " >&6
16390 else
16391   if test -n "$CC"; then
16392   ac_cv_prog_CC="$CC" # Let the user override the test.
16393 else
16394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16395 for as_dir in $PATH
16396 do
16397   IFS=$as_save_IFS
16398   test -z "$as_dir" && as_dir=.
16399     for ac_exec_ext in '' $ac_executable_extensions; do
16400   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16401     ac_cv_prog_CC="${ac_tool_prefix}cc"
16402     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16403     break 2
16404   fi
16405 done
16406   done
16407 IFS=$as_save_IFS
16408
16409 fi
16410 fi
16411 CC=$ac_cv_prog_CC
16412 if test -n "$CC"; then
16413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16414 $as_echo "$CC" >&6; }
16415 else
16416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16417 $as_echo "no" >&6; }
16418 fi
16419
16420
16421   fi
16422 fi
16423 if test -z "$CC"; then
16424   # Extract the first word of "cc", so it can be a program name with args.
16425 set dummy cc; ac_word=$2
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16427 $as_echo_n "checking for $ac_word... " >&6; }
16428 if ${ac_cv_prog_CC+:} false; then :
16429   $as_echo_n "(cached) " >&6
16430 else
16431   if test -n "$CC"; then
16432   ac_cv_prog_CC="$CC" # Let the user override the test.
16433 else
16434   ac_prog_rejected=no
16435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16436 for as_dir in $PATH
16437 do
16438   IFS=$as_save_IFS
16439   test -z "$as_dir" && as_dir=.
16440     for ac_exec_ext in '' $ac_executable_extensions; do
16441   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16442     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16443        ac_prog_rejected=yes
16444        continue
16445      fi
16446     ac_cv_prog_CC="cc"
16447     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16448     break 2
16449   fi
16450 done
16451   done
16452 IFS=$as_save_IFS
16453
16454 if test $ac_prog_rejected = yes; then
16455   # We found a bogon in the path, so make sure we never use it.
16456   set dummy $ac_cv_prog_CC
16457   shift
16458   if test $# != 0; then
16459     # We chose a different compiler from the bogus one.
16460     # However, it has the same basename, so the bogon will be chosen
16461     # first if we set CC to just the basename; use the full file name.
16462     shift
16463     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16464   fi
16465 fi
16466 fi
16467 fi
16468 CC=$ac_cv_prog_CC
16469 if test -n "$CC"; then
16470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16471 $as_echo "$CC" >&6; }
16472 else
16473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16474 $as_echo "no" >&6; }
16475 fi
16476
16477
16478 fi
16479 if test -z "$CC"; then
16480   if test -n "$ac_tool_prefix"; then
16481   for ac_prog in cl.exe
16482   do
16483     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16484 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16486 $as_echo_n "checking for $ac_word... " >&6; }
16487 if ${ac_cv_prog_CC+:} false; then :
16488   $as_echo_n "(cached) " >&6
16489 else
16490   if test -n "$CC"; then
16491   ac_cv_prog_CC="$CC" # Let the user override the test.
16492 else
16493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16494 for as_dir in $PATH
16495 do
16496   IFS=$as_save_IFS
16497   test -z "$as_dir" && as_dir=.
16498     for ac_exec_ext in '' $ac_executable_extensions; do
16499   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16500     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16501     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16502     break 2
16503   fi
16504 done
16505   done
16506 IFS=$as_save_IFS
16507
16508 fi
16509 fi
16510 CC=$ac_cv_prog_CC
16511 if test -n "$CC"; then
16512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16513 $as_echo "$CC" >&6; }
16514 else
16515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16516 $as_echo "no" >&6; }
16517 fi
16518
16519
16520     test -n "$CC" && break
16521   done
16522 fi
16523 if test -z "$CC"; then
16524   ac_ct_CC=$CC
16525   for ac_prog in cl.exe
16526 do
16527   # Extract the first word of "$ac_prog", so it can be a program name with args.
16528 set dummy $ac_prog; ac_word=$2
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16530 $as_echo_n "checking for $ac_word... " >&6; }
16531 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16532   $as_echo_n "(cached) " >&6
16533 else
16534   if test -n "$ac_ct_CC"; then
16535   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16536 else
16537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16538 for as_dir in $PATH
16539 do
16540   IFS=$as_save_IFS
16541   test -z "$as_dir" && as_dir=.
16542     for ac_exec_ext in '' $ac_executable_extensions; do
16543   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16544     ac_cv_prog_ac_ct_CC="$ac_prog"
16545     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16546     break 2
16547   fi
16548 done
16549   done
16550 IFS=$as_save_IFS
16551
16552 fi
16553 fi
16554 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16555 if test -n "$ac_ct_CC"; then
16556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16557 $as_echo "$ac_ct_CC" >&6; }
16558 else
16559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16560 $as_echo "no" >&6; }
16561 fi
16562
16563
16564   test -n "$ac_ct_CC" && break
16565 done
16566
16567   if test "x$ac_ct_CC" = x; then
16568     CC=""
16569   else
16570     case $cross_compiling:$ac_tool_warned in
16571 yes:)
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16574 ac_tool_warned=yes ;;
16575 esac
16576     CC=$ac_ct_CC
16577   fi
16578 fi
16579
16580 fi
16581
16582
16583 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16585 as_fn_error $? "no acceptable C compiler found in \$PATH
16586 See \`config.log' for more details" "$LINENO" 5; }
16587
16588 # Provide some information about the compiler.
16589 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16590 set X $ac_compile
16591 ac_compiler=$2
16592 for ac_option in --version -v -V -qversion; do
16593   { { ac_try="$ac_compiler $ac_option >&5"
16594 case "(($ac_try" in
16595   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16596   *) ac_try_echo=$ac_try;;
16597 esac
16598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16599 $as_echo "$ac_try_echo"; } >&5
16600   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16601   ac_status=$?
16602   if test -s conftest.err; then
16603     sed '10a\
16604 ... rest of stderr output deleted ...
16605          10q' conftest.err >conftest.er1
16606     cat conftest.er1 >&5
16607   fi
16608   rm -f conftest.er1 conftest.err
16609   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16610   test $ac_status = 0; }
16611 done
16612
16613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16614 /* end confdefs.h.  */
16615
16616 int
16617 main ()
16618 {
16619
16620   ;
16621   return 0;
16622 }
16623 _ACEOF
16624 ac_clean_files_save=$ac_clean_files
16625 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16626 # Try to create an executable without -o first, disregard a.out.
16627 # It will help us diagnose broken compilers, and finding out an intuition
16628 # of exeext.
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16630 $as_echo_n "checking whether the C compiler works... " >&6; }
16631 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16632
16633 # The possible output files:
16634 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16635
16636 ac_rmfiles=
16637 for ac_file in $ac_files
16638 do
16639   case $ac_file in
16640     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16641     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16642   esac
16643 done
16644 rm -f $ac_rmfiles
16645
16646 if { { ac_try="$ac_link_default"
16647 case "(($ac_try" in
16648   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16649   *) ac_try_echo=$ac_try;;
16650 esac
16651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16652 $as_echo "$ac_try_echo"; } >&5
16653   (eval "$ac_link_default") 2>&5
16654   ac_status=$?
16655   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16656   test $ac_status = 0; }; then :
16657   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16658 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16659 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
16660 # so that the user can short-circuit this test for compilers unknown to
16661 # Autoconf.
16662 for ac_file in $ac_files ''
16663 do
16664   test -f "$ac_file" || continue
16665   case $ac_file in
16666     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16667         ;;
16668     [ab].out )
16669         # We found the default executable, but exeext='' is most
16670         # certainly right.
16671         break;;
16672     *.* )
16673         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16674         then :; else
16675            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16676         fi
16677         # We set ac_cv_exeext here because the later test for it is not
16678         # safe: cross compilers may not add the suffix if given an `-o'
16679         # argument, so we may need to know it at that point already.
16680         # Even if this section looks crufty: it has the advantage of
16681         # actually working.
16682         break;;
16683     * )
16684         break;;
16685   esac
16686 done
16687 test "$ac_cv_exeext" = no && ac_cv_exeext=
16688
16689 else
16690   ac_file=''
16691 fi
16692 if test -z "$ac_file"; then :
16693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16694 $as_echo "no" >&6; }
16695 $as_echo "$as_me: failed program was:" >&5
16696 sed 's/^/| /' conftest.$ac_ext >&5
16697
16698 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16700 as_fn_error 77 "C compiler cannot create executables
16701 See \`config.log' for more details" "$LINENO" 5; }
16702 else
16703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16704 $as_echo "yes" >&6; }
16705 fi
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16707 $as_echo_n "checking for C compiler default output file name... " >&6; }
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16709 $as_echo "$ac_file" >&6; }
16710 ac_exeext=$ac_cv_exeext
16711
16712 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16713 ac_clean_files=$ac_clean_files_save
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16715 $as_echo_n "checking for suffix of executables... " >&6; }
16716 if { { ac_try="$ac_link"
16717 case "(($ac_try" in
16718   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16719   *) ac_try_echo=$ac_try;;
16720 esac
16721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16722 $as_echo "$ac_try_echo"; } >&5
16723   (eval "$ac_link") 2>&5
16724   ac_status=$?
16725   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16726   test $ac_status = 0; }; then :
16727   # If both `conftest.exe' and `conftest' are `present' (well, observable)
16728 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
16729 # work properly (i.e., refer to `conftest.exe'), while it won't with
16730 # `rm'.
16731 for ac_file in conftest.exe conftest conftest.*; do
16732   test -f "$ac_file" || continue
16733   case $ac_file in
16734     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16735     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16736           break;;
16737     * ) break;;
16738   esac
16739 done
16740 else
16741   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16743 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16744 See \`config.log' for more details" "$LINENO" 5; }
16745 fi
16746 rm -f conftest conftest$ac_cv_exeext
16747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16748 $as_echo "$ac_cv_exeext" >&6; }
16749
16750 rm -f conftest.$ac_ext
16751 EXEEXT=$ac_cv_exeext
16752 ac_exeext=$EXEEXT
16753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16754 /* end confdefs.h.  */
16755 #include <stdio.h>
16756 int
16757 main ()
16758 {
16759 FILE *f = fopen ("conftest.out", "w");
16760  return ferror (f) || fclose (f) != 0;
16761
16762   ;
16763   return 0;
16764 }
16765 _ACEOF
16766 ac_clean_files="$ac_clean_files conftest.out"
16767 # Check that the compiler produces executables we can run.  If not, either
16768 # the compiler is broken, or we cross compile.
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16770 $as_echo_n "checking whether we are cross compiling... " >&6; }
16771 if test "$cross_compiling" != yes; then
16772   { { ac_try="$ac_link"
16773 case "(($ac_try" in
16774   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16775   *) ac_try_echo=$ac_try;;
16776 esac
16777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16778 $as_echo "$ac_try_echo"; } >&5
16779   (eval "$ac_link") 2>&5
16780   ac_status=$?
16781   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16782   test $ac_status = 0; }
16783   if { ac_try='./conftest$ac_cv_exeext'
16784   { { case "(($ac_try" in
16785   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16786   *) ac_try_echo=$ac_try;;
16787 esac
16788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16789 $as_echo "$ac_try_echo"; } >&5
16790   (eval "$ac_try") 2>&5
16791   ac_status=$?
16792   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16793   test $ac_status = 0; }; }; then
16794     cross_compiling=no
16795   else
16796     if test "$cross_compiling" = maybe; then
16797         cross_compiling=yes
16798     else
16799         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16801 as_fn_error $? "cannot run C compiled programs.
16802 If you meant to cross compile, use \`--host'.
16803 See \`config.log' for more details" "$LINENO" 5; }
16804     fi
16805   fi
16806 fi
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16808 $as_echo "$cross_compiling" >&6; }
16809
16810 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16811 ac_clean_files=$ac_clean_files_save
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16813 $as_echo_n "checking for suffix of object files... " >&6; }
16814 if ${ac_cv_objext+:} false; then :
16815   $as_echo_n "(cached) " >&6
16816 else
16817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16818 /* end confdefs.h.  */
16819
16820 int
16821 main ()
16822 {
16823
16824   ;
16825   return 0;
16826 }
16827 _ACEOF
16828 rm -f conftest.o conftest.obj
16829 if { { ac_try="$ac_compile"
16830 case "(($ac_try" in
16831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16832   *) ac_try_echo=$ac_try;;
16833 esac
16834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16835 $as_echo "$ac_try_echo"; } >&5
16836   (eval "$ac_compile") 2>&5
16837   ac_status=$?
16838   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16839   test $ac_status = 0; }; then :
16840   for ac_file in conftest.o conftest.obj conftest.*; do
16841   test -f "$ac_file" || continue;
16842   case $ac_file in
16843     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16844     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16845        break;;
16846   esac
16847 done
16848 else
16849   $as_echo "$as_me: failed program was:" >&5
16850 sed 's/^/| /' conftest.$ac_ext >&5
16851
16852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16854 as_fn_error $? "cannot compute suffix of object files: cannot compile
16855 See \`config.log' for more details" "$LINENO" 5; }
16856 fi
16857 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16858 fi
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16860 $as_echo "$ac_cv_objext" >&6; }
16861 OBJEXT=$ac_cv_objext
16862 ac_objext=$OBJEXT
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16864 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16865 if ${ac_cv_c_compiler_gnu+:} false; then :
16866   $as_echo_n "(cached) " >&6
16867 else
16868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16869 /* end confdefs.h.  */
16870
16871 int
16872 main ()
16873 {
16874 #ifndef __GNUC__
16875        choke me
16876 #endif
16877
16878   ;
16879   return 0;
16880 }
16881 _ACEOF
16882 if ac_fn_c_try_compile "$LINENO"; then :
16883   ac_compiler_gnu=yes
16884 else
16885   ac_compiler_gnu=no
16886 fi
16887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16888 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16889
16890 fi
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16892 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16893 if test $ac_compiler_gnu = yes; then
16894   GCC=yes
16895 else
16896   GCC=
16897 fi
16898 ac_test_CFLAGS=${CFLAGS+set}
16899 ac_save_CFLAGS=$CFLAGS
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16901 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16902 if ${ac_cv_prog_cc_g+:} false; then :
16903   $as_echo_n "(cached) " >&6
16904 else
16905   ac_save_c_werror_flag=$ac_c_werror_flag
16906    ac_c_werror_flag=yes
16907    ac_cv_prog_cc_g=no
16908    CFLAGS="-g"
16909    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16910 /* end confdefs.h.  */
16911
16912 int
16913 main ()
16914 {
16915
16916   ;
16917   return 0;
16918 }
16919 _ACEOF
16920 if ac_fn_c_try_compile "$LINENO"; then :
16921   ac_cv_prog_cc_g=yes
16922 else
16923   CFLAGS=""
16924       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16925 /* end confdefs.h.  */
16926
16927 int
16928 main ()
16929 {
16930
16931   ;
16932   return 0;
16933 }
16934 _ACEOF
16935 if ac_fn_c_try_compile "$LINENO"; then :
16936
16937 else
16938   ac_c_werror_flag=$ac_save_c_werror_flag
16939          CFLAGS="-g"
16940          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16941 /* end confdefs.h.  */
16942
16943 int
16944 main ()
16945 {
16946
16947   ;
16948   return 0;
16949 }
16950 _ACEOF
16951 if ac_fn_c_try_compile "$LINENO"; then :
16952   ac_cv_prog_cc_g=yes
16953 fi
16954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16955 fi
16956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16957 fi
16958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16959    ac_c_werror_flag=$ac_save_c_werror_flag
16960 fi
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16962 $as_echo "$ac_cv_prog_cc_g" >&6; }
16963 if test "$ac_test_CFLAGS" = set; then
16964   CFLAGS=$ac_save_CFLAGS
16965 elif test $ac_cv_prog_cc_g = yes; then
16966   if test "$GCC" = yes; then
16967     CFLAGS="-g -O2"
16968   else
16969     CFLAGS="-g"
16970   fi
16971 else
16972   if test "$GCC" = yes; then
16973     CFLAGS="-O2"
16974   else
16975     CFLAGS=
16976   fi
16977 fi
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16979 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16980 if ${ac_cv_prog_cc_c89+:} false; then :
16981   $as_echo_n "(cached) " >&6
16982 else
16983   ac_cv_prog_cc_c89=no
16984 ac_save_CC=$CC
16985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16986 /* end confdefs.h.  */
16987 #include <stdarg.h>
16988 #include <stdio.h>
16989 struct stat;
16990 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
16991 struct buf { int x; };
16992 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16993 static char *e (p, i)
16994      char **p;
16995      int i;
16996 {
16997   return p[i];
16998 }
16999 static char *f (char * (*g) (char **, int), char **p, ...)
17000 {
17001   char *s;
17002   va_list v;
17003   va_start (v,p);
17004   s = g (p, va_arg (v,int));
17005   va_end (v);
17006   return s;
17007 }
17008
17009 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
17010    function prototypes and stuff, but not '\xHH' hex character constants.
17011    These don't provoke an error unfortunately, instead are silently treated
17012    as 'x'.  The following induces an error, until -std is added to get
17013    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
17014    array size at least.  It's necessary to write '\x00'==0 to get something
17015    that's true only with -std.  */
17016 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17017
17018 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17019    inside strings and character constants.  */
17020 #define FOO(x) 'x'
17021 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17022
17023 int test (int i, double x);
17024 struct s1 {int (*f) (int a);};
17025 struct s2 {int (*f) (double a);};
17026 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17027 int argc;
17028 char **argv;
17029 int
17030 main ()
17031 {
17032 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
17033   ;
17034   return 0;
17035 }
17036 _ACEOF
17037 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17038         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17039 do
17040   CC="$ac_save_CC $ac_arg"
17041   if ac_fn_c_try_compile "$LINENO"; then :
17042   ac_cv_prog_cc_c89=$ac_arg
17043 fi
17044 rm -f core conftest.err conftest.$ac_objext
17045   test "x$ac_cv_prog_cc_c89" != "xno" && break
17046 done
17047 rm -f conftest.$ac_ext
17048 CC=$ac_save_CC
17049
17050 fi
17051 # AC_CACHE_VAL
17052 case "x$ac_cv_prog_cc_c89" in
17053   x)
17054     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17055 $as_echo "none needed" >&6; } ;;
17056   xno)
17057     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17058 $as_echo "unsupported" >&6; } ;;
17059   *)
17060     CC="$CC $ac_cv_prog_cc_c89"
17061     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17062 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17063 esac
17064 if test "x$ac_cv_prog_cc_c89" != xno; then :
17065
17066 fi
17067
17068 ac_ext=c
17069 ac_cpp='$CPP $CPPFLAGS'
17070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17073
17074
17075
17076
17077
17078
17079
17080
17081     ac_ext=c
17082 ac_cpp='$CPP $CPPFLAGS'
17083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17086
17087     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17088 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17089 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17090   $as_echo_n "(cached) " >&6
17091 else
17092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17093 /* end confdefs.h.  */
17094
17095 int
17096 main ()
17097 {
17098
17099              #ifndef __INTEL_COMPILER
17100                 choke me
17101              #endif
17102
17103   ;
17104   return 0;
17105 }
17106 _ACEOF
17107 if ac_fn_c_try_compile "$LINENO"; then :
17108   bakefile_cv_c_compiler___INTEL_COMPILER=yes
17109 else
17110   bakefile_cv_c_compiler___INTEL_COMPILER=no
17111
17112 fi
17113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17114
17115
17116 fi
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17118 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17119     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17120         :; INTELCC=yes
17121     else
17122         :;
17123     fi
17124     ac_ext=c
17125 ac_cpp='$CPP $CPPFLAGS'
17126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17129
17130
17131
17132
17133         if test "$INTELCC" = "yes"; then
17134
17135
17136     ac_ext=c
17137 ac_cpp='$CPP $CPPFLAGS'
17138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17141
17142     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17143 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17144 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17145   $as_echo_n "(cached) " >&6
17146 else
17147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17148 /* end confdefs.h.  */
17149
17150 int
17151 main ()
17152 {
17153
17154              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17155                 choke me
17156              #endif
17157
17158   ;
17159   return 0;
17160 }
17161 _ACEOF
17162 if ac_fn_c_try_compile "$LINENO"; then :
17163   bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17164 else
17165   bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17166
17167 fi
17168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17169
17170
17171 fi
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17173 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17174     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17175         :; INTELCC8=yes
17176     else
17177         :;
17178     fi
17179     ac_ext=c
17180 ac_cpp='$CPP $CPPFLAGS'
17181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17184
17185
17186
17187
17188
17189     ac_ext=c
17190 ac_cpp='$CPP $CPPFLAGS'
17191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17194
17195     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17196 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17197 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17198   $as_echo_n "(cached) " >&6
17199 else
17200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17201 /* end confdefs.h.  */
17202
17203 int
17204 main ()
17205 {
17206
17207              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17208                 choke me
17209              #endif
17210
17211   ;
17212   return 0;
17213 }
17214 _ACEOF
17215 if ac_fn_c_try_compile "$LINENO"; then :
17216   bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17217 else
17218   bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17219
17220 fi
17221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17222
17223
17224 fi
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17226 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17227     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17228         :; INTELCC10=yes
17229     else
17230         :;
17231     fi
17232     ac_ext=c
17233 ac_cpp='$CPP $CPPFLAGS'
17234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17237
17238
17239
17240     fi
17241
17242         if test "x$GCC" != "xyes"; then
17243         if test "xCC" = "xC"; then
17244             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17245 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17246 if ${bakefile_cv_c_exto+:} false; then :
17247   $as_echo_n "(cached) " >&6
17248 else
17249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17250 /* end confdefs.h.  */
17251
17252 int
17253 main ()
17254 {
17255
17256   ;
17257   return 0;
17258 }
17259 _ACEOF
17260 rm -f conftest.$ac_objext conftest.$ac_ext.o
17261 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17262   (eval $ac_compile) 2>&5
17263   ac_status=$?
17264   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17265   test $ac_status = 0; }; then :
17266   for ac_file in `(ls conftest.* 2>/dev/null)`; do
17267     case $ac_file in
17268         conftest.$ac_ext.o)
17269             bakefile_cv_c_exto="-ext o"
17270             ;;
17271         *)
17272             ;;
17273     esac
17274 done
17275 else
17276   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17278 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17279 See \`config.log' for more details" "$LINENO" 5; }
17280
17281 fi
17282 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17283
17284 fi
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17286 $as_echo "$bakefile_cv_c_exto" >&6; }
17287 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17288     if test "c" = "c"; then
17289         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17290     fi
17291     if test "c" = "cxx"; then
17292         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17293     fi
17294 fi
17295
17296             if test "x$bakefile_cv_c_exto" '!=' "x"; then
17297                 unset ac_cv_prog_cc_g
17298                 ac_test_CFLAGS=${CFLAGS+set}
17299 ac_save_CFLAGS=$CFLAGS
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17301 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17302 if ${ac_cv_prog_cc_g+:} false; then :
17303   $as_echo_n "(cached) " >&6
17304 else
17305   ac_save_c_werror_flag=$ac_c_werror_flag
17306    ac_c_werror_flag=yes
17307    ac_cv_prog_cc_g=no
17308    CFLAGS="-g"
17309    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17310 /* end confdefs.h.  */
17311
17312 int
17313 main ()
17314 {
17315
17316   ;
17317   return 0;
17318 }
17319 _ACEOF
17320 if ac_fn_c_try_compile "$LINENO"; then :
17321   ac_cv_prog_cc_g=yes
17322 else
17323   CFLAGS=""
17324       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17325 /* end confdefs.h.  */
17326
17327 int
17328 main ()
17329 {
17330
17331   ;
17332   return 0;
17333 }
17334 _ACEOF
17335 if ac_fn_c_try_compile "$LINENO"; then :
17336
17337 else
17338   ac_c_werror_flag=$ac_save_c_werror_flag
17339          CFLAGS="-g"
17340          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17341 /* end confdefs.h.  */
17342
17343 int
17344 main ()
17345 {
17346
17347   ;
17348   return 0;
17349 }
17350 _ACEOF
17351 if ac_fn_c_try_compile "$LINENO"; then :
17352   ac_cv_prog_cc_g=yes
17353 fi
17354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17355 fi
17356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17357 fi
17358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17359    ac_c_werror_flag=$ac_save_c_werror_flag
17360 fi
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17362 $as_echo "$ac_cv_prog_cc_g" >&6; }
17363 if test "$ac_test_CFLAGS" = set; then
17364   CFLAGS=$ac_save_CFLAGS
17365 elif test $ac_cv_prog_cc_g = yes; then
17366   if test "$GCC" = yes; then
17367     CFLAGS="-g -O2"
17368   else
17369     CFLAGS="-g"
17370   fi
17371 else
17372   if test "$GCC" = yes; then
17373     CFLAGS="-O2"
17374   else
17375     CFLAGS=
17376   fi
17377 fi
17378             fi
17379         fi
17380
17381                         case `uname -s` in
17382             AIX*)
17383
17384
17385     ac_ext=c
17386 ac_cpp='$CPP $CPPFLAGS'
17387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17390
17391     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17392 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17393 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17394   $as_echo_n "(cached) " >&6
17395 else
17396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17397 /* end confdefs.h.  */
17398
17399 int
17400 main ()
17401 {
17402
17403              #ifndef __xlC__
17404                 choke me
17405              #endif
17406
17407   ;
17408   return 0;
17409 }
17410 _ACEOF
17411 if ac_fn_c_try_compile "$LINENO"; then :
17412   bakefile_cv_c_compiler___xlC__=yes
17413 else
17414   bakefile_cv_c_compiler___xlC__=no
17415
17416 fi
17417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17418
17419
17420 fi
17421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17422 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17423     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17424         :; XLCC=yes
17425     else
17426         :;
17427     fi
17428     ac_ext=c
17429 ac_cpp='$CPP $CPPFLAGS'
17430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17433
17434
17435
17436                 ;;
17437
17438             Darwin)
17439
17440
17441     ac_ext=c
17442 ac_cpp='$CPP $CPPFLAGS'
17443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17446
17447     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17448 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17449 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17450   $as_echo_n "(cached) " >&6
17451 else
17452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17453 /* end confdefs.h.  */
17454
17455 int
17456 main ()
17457 {
17458
17459              #ifndef __MWERKS__
17460                 choke me
17461              #endif
17462
17463   ;
17464   return 0;
17465 }
17466 _ACEOF
17467 if ac_fn_c_try_compile "$LINENO"; then :
17468   bakefile_cv_c_compiler___MWERKS__=yes
17469 else
17470   bakefile_cv_c_compiler___MWERKS__=no
17471
17472 fi
17473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17474
17475
17476 fi
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17478 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17479     if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17480         :; MWCC=yes
17481     else
17482         :;
17483     fi
17484     ac_ext=c
17485 ac_cpp='$CPP $CPPFLAGS'
17486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17489
17490
17491
17492                 if test "$MWCC" != "yes"; then
17493
17494
17495     ac_ext=c
17496 ac_cpp='$CPP $CPPFLAGS'
17497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17500
17501     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17502 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17503 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17504   $as_echo_n "(cached) " >&6
17505 else
17506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17507 /* end confdefs.h.  */
17508
17509 int
17510 main ()
17511 {
17512
17513              #ifndef __xlC__
17514                 choke me
17515              #endif
17516
17517   ;
17518   return 0;
17519 }
17520 _ACEOF
17521 if ac_fn_c_try_compile "$LINENO"; then :
17522   bakefile_cv_c_compiler___xlC__=yes
17523 else
17524   bakefile_cv_c_compiler___xlC__=no
17525
17526 fi
17527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17528
17529
17530 fi
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17532 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17533     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17534         :; XLCC=yes
17535     else
17536         :;
17537     fi
17538     ac_ext=c
17539 ac_cpp='$CPP $CPPFLAGS'
17540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17543
17544
17545
17546                 fi
17547                 ;;
17548
17549             IRIX*)
17550
17551
17552     ac_ext=c
17553 ac_cpp='$CPP $CPPFLAGS'
17554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17557
17558     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17559 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17560 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17561   $as_echo_n "(cached) " >&6
17562 else
17563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17564 /* end confdefs.h.  */
17565
17566 int
17567 main ()
17568 {
17569
17570              #ifndef _SGI_COMPILER_VERSION
17571                 choke me
17572              #endif
17573
17574   ;
17575   return 0;
17576 }
17577 _ACEOF
17578 if ac_fn_c_try_compile "$LINENO"; then :
17579   bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17580 else
17581   bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17582
17583 fi
17584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17585
17586
17587 fi
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17589 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17590     if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17591         :; SGICC=yes
17592     else
17593         :;
17594     fi
17595     ac_ext=c
17596 ac_cpp='$CPP $CPPFLAGS'
17597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17600
17601
17602
17603                 ;;
17604
17605             Linux*)
17606                                                 if test "$INTELCC" != "yes"; then
17607
17608
17609     ac_ext=c
17610 ac_cpp='$CPP $CPPFLAGS'
17611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17614
17615     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17616 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17617 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17618   $as_echo_n "(cached) " >&6
17619 else
17620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h.  */
17622
17623 int
17624 main ()
17625 {
17626
17627              #ifndef __SUNPRO_C
17628                 choke me
17629              #endif
17630
17631   ;
17632   return 0;
17633 }
17634 _ACEOF
17635 if ac_fn_c_try_compile "$LINENO"; then :
17636   bakefile_cv_c_compiler___SUNPRO_C=yes
17637 else
17638   bakefile_cv_c_compiler___SUNPRO_C=no
17639
17640 fi
17641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17642
17643
17644 fi
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17646 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17647     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17648         :; SUNCC=yes
17649     else
17650         :;
17651     fi
17652     ac_ext=c
17653 ac_cpp='$CPP $CPPFLAGS'
17654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17657
17658
17659
17660                 fi
17661                 ;;
17662
17663             HP-UX*)
17664
17665
17666     ac_ext=c
17667 ac_cpp='$CPP $CPPFLAGS'
17668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17671
17672     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17673 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17674 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17675   $as_echo_n "(cached) " >&6
17676 else
17677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17678 /* end confdefs.h.  */
17679
17680 int
17681 main ()
17682 {
17683
17684              #ifndef __HP_cc
17685                 choke me
17686              #endif
17687
17688   ;
17689   return 0;
17690 }
17691 _ACEOF
17692 if ac_fn_c_try_compile "$LINENO"; then :
17693   bakefile_cv_c_compiler___HP_cc=yes
17694 else
17695   bakefile_cv_c_compiler___HP_cc=no
17696
17697 fi
17698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17699
17700
17701 fi
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17703 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17704     if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17705         :; HPCC=yes
17706     else
17707         :;
17708     fi
17709     ac_ext=c
17710 ac_cpp='$CPP $CPPFLAGS'
17711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17714
17715
17716
17717                 ;;
17718
17719             OSF1)
17720
17721
17722     ac_ext=c
17723 ac_cpp='$CPP $CPPFLAGS'
17724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17727
17728     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17729 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17730 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17731   $as_echo_n "(cached) " >&6
17732 else
17733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17734 /* end confdefs.h.  */
17735
17736 int
17737 main ()
17738 {
17739
17740              #ifndef __DECC
17741                 choke me
17742              #endif
17743
17744   ;
17745   return 0;
17746 }
17747 _ACEOF
17748 if ac_fn_c_try_compile "$LINENO"; then :
17749   bakefile_cv_c_compiler___DECC=yes
17750 else
17751   bakefile_cv_c_compiler___DECC=no
17752
17753 fi
17754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17755
17756
17757 fi
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17759 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17760     if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17761         :; COMPAQCC=yes
17762     else
17763         :;
17764     fi
17765     ac_ext=c
17766 ac_cpp='$CPP $CPPFLAGS'
17767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17770
17771
17772
17773                 ;;
17774
17775             SunOS)
17776
17777
17778     ac_ext=c
17779 ac_cpp='$CPP $CPPFLAGS'
17780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17783
17784     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17785 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17786 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17787   $as_echo_n "(cached) " >&6
17788 else
17789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17790 /* end confdefs.h.  */
17791
17792 int
17793 main ()
17794 {
17795
17796              #ifndef __SUNPRO_C
17797                 choke me
17798              #endif
17799
17800   ;
17801   return 0;
17802 }
17803 _ACEOF
17804 if ac_fn_c_try_compile "$LINENO"; then :
17805   bakefile_cv_c_compiler___SUNPRO_C=yes
17806 else
17807   bakefile_cv_c_compiler___SUNPRO_C=no
17808
17809 fi
17810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17811
17812
17813 fi
17814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17815 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17816     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17817         :; SUNCC=yes
17818     else
17819         :;
17820     fi
17821     ac_ext=c
17822 ac_cpp='$CPP $CPPFLAGS'
17823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17826
17827
17828
17829                 ;;
17830         esac
17831     fi
17832
17833
17834
17835 ac_ext=c
17836 ac_cpp='$CPP $CPPFLAGS'
17837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17841 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17842 # On Suns, sometimes $CPP names a directory.
17843 if test -n "$CPP" && test -d "$CPP"; then
17844   CPP=
17845 fi
17846 if test -z "$CPP"; then
17847   if ${ac_cv_prog_CPP+:} false; then :
17848   $as_echo_n "(cached) " >&6
17849 else
17850       # Double quotes because CPP needs to be expanded
17851     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17852     do
17853       ac_preproc_ok=false
17854 for ac_c_preproc_warn_flag in '' yes
17855 do
17856   # Use a header file that comes with gcc, so configuring glibc
17857   # with a fresh cross-compiler works.
17858   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17859   # <limits.h> exists even on freestanding compilers.
17860   # On the NeXT, cc -E runs the code through the compiler's parser,
17861   # not just through cpp. "Syntax error" is here to catch this case.
17862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17863 /* end confdefs.h.  */
17864 #ifdef __STDC__
17865 # include <limits.h>
17866 #else
17867 # include <assert.h>
17868 #endif
17869                      Syntax error
17870 _ACEOF
17871 if ac_fn_c_try_cpp "$LINENO"; then :
17872
17873 else
17874   # Broken: fails on valid input.
17875 continue
17876 fi
17877 rm -f conftest.err conftest.i conftest.$ac_ext
17878
17879   # OK, works on sane cases.  Now check whether nonexistent headers
17880   # can be detected and how.
17881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17882 /* end confdefs.h.  */
17883 #include <ac_nonexistent.h>
17884 _ACEOF
17885 if ac_fn_c_try_cpp "$LINENO"; then :
17886   # Broken: success on invalid input.
17887 continue
17888 else
17889   # Passes both tests.
17890 ac_preproc_ok=:
17891 break
17892 fi
17893 rm -f conftest.err conftest.i conftest.$ac_ext
17894
17895 done
17896 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17897 rm -f conftest.i conftest.err conftest.$ac_ext
17898 if $ac_preproc_ok; then :
17899   break
17900 fi
17901
17902     done
17903     ac_cv_prog_CPP=$CPP
17904
17905 fi
17906   CPP=$ac_cv_prog_CPP
17907 else
17908   ac_cv_prog_CPP=$CPP
17909 fi
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17911 $as_echo "$CPP" >&6; }
17912 ac_preproc_ok=false
17913 for ac_c_preproc_warn_flag in '' yes
17914 do
17915   # Use a header file that comes with gcc, so configuring glibc
17916   # with a fresh cross-compiler works.
17917   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17918   # <limits.h> exists even on freestanding compilers.
17919   # On the NeXT, cc -E runs the code through the compiler's parser,
17920   # not just through cpp. "Syntax error" is here to catch this case.
17921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17922 /* end confdefs.h.  */
17923 #ifdef __STDC__
17924 # include <limits.h>
17925 #else
17926 # include <assert.h>
17927 #endif
17928                      Syntax error
17929 _ACEOF
17930 if ac_fn_c_try_cpp "$LINENO"; then :
17931
17932 else
17933   # Broken: fails on valid input.
17934 continue
17935 fi
17936 rm -f conftest.err conftest.i conftest.$ac_ext
17937
17938   # OK, works on sane cases.  Now check whether nonexistent headers
17939   # can be detected and how.
17940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17941 /* end confdefs.h.  */
17942 #include <ac_nonexistent.h>
17943 _ACEOF
17944 if ac_fn_c_try_cpp "$LINENO"; then :
17945   # Broken: success on invalid input.
17946 continue
17947 else
17948   # Passes both tests.
17949 ac_preproc_ok=:
17950 break
17951 fi
17952 rm -f conftest.err conftest.i conftest.$ac_ext
17953
17954 done
17955 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17956 rm -f conftest.i conftest.err conftest.$ac_ext
17957 if $ac_preproc_ok; then :
17958
17959 else
17960   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17962 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
17963 See \`config.log' for more details" "$LINENO" 5; }
17964 fi
17965
17966 ac_ext=c
17967 ac_cpp='$CPP $CPPFLAGS'
17968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17971
17972
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17974 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17975 if ${ac_cv_path_GREP+:} false; then :
17976   $as_echo_n "(cached) " >&6
17977 else
17978   if test -z "$GREP"; then
17979   ac_path_GREP_found=false
17980   # Loop through the user's path and test for each of PROGNAME-LIST
17981   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17982 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17983 do
17984   IFS=$as_save_IFS
17985   test -z "$as_dir" && as_dir=.
17986     for ac_prog in grep ggrep; do
17987     for ac_exec_ext in '' $ac_executable_extensions; do
17988       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17989       as_fn_executable_p "$ac_path_GREP" || continue
17990 # Check for GNU ac_path_GREP and select it if it is found.
17991   # Check for GNU $ac_path_GREP
17992 case `"$ac_path_GREP" --version 2>&1` in
17993 *GNU*)
17994   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17995 *)
17996   ac_count=0
17997   $as_echo_n 0123456789 >"conftest.in"
17998   while :
17999   do
18000     cat "conftest.in" "conftest.in" >"conftest.tmp"
18001     mv "conftest.tmp" "conftest.in"
18002     cp "conftest.in" "conftest.nl"
18003     $as_echo 'GREP' >> "conftest.nl"
18004     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18005     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18006     as_fn_arith $ac_count + 1 && ac_count=$as_val
18007     if test $ac_count -gt ${ac_path_GREP_max-0}; then
18008       # Best one so far, save it but keep looking for a better one
18009       ac_cv_path_GREP="$ac_path_GREP"
18010       ac_path_GREP_max=$ac_count
18011     fi
18012     # 10*(2^10) chars as input seems more than enough
18013     test $ac_count -gt 10 && break
18014   done
18015   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18016 esac
18017
18018       $ac_path_GREP_found && break 3
18019     done
18020   done
18021   done
18022 IFS=$as_save_IFS
18023   if test -z "$ac_cv_path_GREP"; then
18024     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18025   fi
18026 else
18027   ac_cv_path_GREP=$GREP
18028 fi
18029
18030 fi
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18032 $as_echo "$ac_cv_path_GREP" >&6; }
18033  GREP="$ac_cv_path_GREP"
18034
18035
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18037 $as_echo_n "checking for egrep... " >&6; }
18038 if ${ac_cv_path_EGREP+:} false; then :
18039   $as_echo_n "(cached) " >&6
18040 else
18041   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18042    then ac_cv_path_EGREP="$GREP -E"
18043    else
18044      if test -z "$EGREP"; then
18045   ac_path_EGREP_found=false
18046   # Loop through the user's path and test for each of PROGNAME-LIST
18047   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18048 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18049 do
18050   IFS=$as_save_IFS
18051   test -z "$as_dir" && as_dir=.
18052     for ac_prog in egrep; do
18053     for ac_exec_ext in '' $ac_executable_extensions; do
18054       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18055       as_fn_executable_p "$ac_path_EGREP" || continue
18056 # Check for GNU ac_path_EGREP and select it if it is found.
18057   # Check for GNU $ac_path_EGREP
18058 case `"$ac_path_EGREP" --version 2>&1` in
18059 *GNU*)
18060   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18061 *)
18062   ac_count=0
18063   $as_echo_n 0123456789 >"conftest.in"
18064   while :
18065   do
18066     cat "conftest.in" "conftest.in" >"conftest.tmp"
18067     mv "conftest.tmp" "conftest.in"
18068     cp "conftest.in" "conftest.nl"
18069     $as_echo 'EGREP' >> "conftest.nl"
18070     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18071     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18072     as_fn_arith $ac_count + 1 && ac_count=$as_val
18073     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18074       # Best one so far, save it but keep looking for a better one
18075       ac_cv_path_EGREP="$ac_path_EGREP"
18076       ac_path_EGREP_max=$ac_count
18077     fi
18078     # 10*(2^10) chars as input seems more than enough
18079     test $ac_count -gt 10 && break
18080   done
18081   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18082 esac
18083
18084       $ac_path_EGREP_found && break 3
18085     done
18086   done
18087   done
18088 IFS=$as_save_IFS
18089   if test -z "$ac_cv_path_EGREP"; then
18090     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18091   fi
18092 else
18093   ac_cv_path_EGREP=$EGREP
18094 fi
18095
18096    fi
18097 fi
18098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18099 $as_echo "$ac_cv_path_EGREP" >&6; }
18100  EGREP="$ac_cv_path_EGREP"
18101
18102
18103 if test $ac_cv_c_compiler_gnu = yes; then
18104     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18105 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18106 if ${ac_cv_prog_gcc_traditional+:} false; then :
18107   $as_echo_n "(cached) " >&6
18108 else
18109     ac_pattern="Autoconf.*'x'"
18110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18111 /* end confdefs.h.  */
18112 #include <sgtty.h>
18113 Autoconf TIOCGETP
18114 _ACEOF
18115 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18116   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18117   ac_cv_prog_gcc_traditional=yes
18118 else
18119   ac_cv_prog_gcc_traditional=no
18120 fi
18121 rm -f conftest*
18122
18123
18124   if test $ac_cv_prog_gcc_traditional = no; then
18125     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18126 /* end confdefs.h.  */
18127 #include <termio.h>
18128 Autoconf TCGETA
18129 _ACEOF
18130 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18131   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18132   ac_cv_prog_gcc_traditional=yes
18133 fi
18134 rm -f conftest*
18135
18136   fi
18137 fi
18138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18139 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18140   if test $ac_cv_prog_gcc_traditional = yes; then
18141     CC="$CC -traditional"
18142   fi
18143 fi
18144
18145
18146 CXXFLAGS=${CXXFLAGS:=}
18147 ac_ext=cpp
18148 ac_cpp='$CXXCPP $CPPFLAGS'
18149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18152 if test -z "$CXX"; then
18153   if test -n "$CCC"; then
18154     CXX=$CCC
18155   else
18156     if test -n "$ac_tool_prefix"; then
18157   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18158   do
18159     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18160 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18162 $as_echo_n "checking for $ac_word... " >&6; }
18163 if ${ac_cv_prog_CXX+:} false; then :
18164   $as_echo_n "(cached) " >&6
18165 else
18166   if test -n "$CXX"; then
18167   ac_cv_prog_CXX="$CXX" # Let the user override the test.
18168 else
18169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18170 for as_dir in $PATH
18171 do
18172   IFS=$as_save_IFS
18173   test -z "$as_dir" && as_dir=.
18174     for ac_exec_ext in '' $ac_executable_extensions; do
18175   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18176     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18177     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18178     break 2
18179   fi
18180 done
18181   done
18182 IFS=$as_save_IFS
18183
18184 fi
18185 fi
18186 CXX=$ac_cv_prog_CXX
18187 if test -n "$CXX"; then
18188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18189 $as_echo "$CXX" >&6; }
18190 else
18191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18192 $as_echo "no" >&6; }
18193 fi
18194
18195
18196     test -n "$CXX" && break
18197   done
18198 fi
18199 if test -z "$CXX"; then
18200   ac_ct_CXX=$CXX
18201   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18202 do
18203   # Extract the first word of "$ac_prog", so it can be a program name with args.
18204 set dummy $ac_prog; ac_word=$2
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18206 $as_echo_n "checking for $ac_word... " >&6; }
18207 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18208   $as_echo_n "(cached) " >&6
18209 else
18210   if test -n "$ac_ct_CXX"; then
18211   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18212 else
18213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18214 for as_dir in $PATH
18215 do
18216   IFS=$as_save_IFS
18217   test -z "$as_dir" && as_dir=.
18218     for ac_exec_ext in '' $ac_executable_extensions; do
18219   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18220     ac_cv_prog_ac_ct_CXX="$ac_prog"
18221     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18222     break 2
18223   fi
18224 done
18225   done
18226 IFS=$as_save_IFS
18227
18228 fi
18229 fi
18230 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18231 if test -n "$ac_ct_CXX"; then
18232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18233 $as_echo "$ac_ct_CXX" >&6; }
18234 else
18235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18236 $as_echo "no" >&6; }
18237 fi
18238
18239
18240   test -n "$ac_ct_CXX" && break
18241 done
18242
18243   if test "x$ac_ct_CXX" = x; then
18244     CXX="g++"
18245   else
18246     case $cross_compiling:$ac_tool_warned in
18247 yes:)
18248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18249 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18250 ac_tool_warned=yes ;;
18251 esac
18252     CXX=$ac_ct_CXX
18253   fi
18254 fi
18255
18256   fi
18257 fi
18258 # Provide some information about the compiler.
18259 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18260 set X $ac_compile
18261 ac_compiler=$2
18262 for ac_option in --version -v -V -qversion; do
18263   { { ac_try="$ac_compiler $ac_option >&5"
18264 case "(($ac_try" in
18265   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18266   *) ac_try_echo=$ac_try;;
18267 esac
18268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18269 $as_echo "$ac_try_echo"; } >&5
18270   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18271   ac_status=$?
18272   if test -s conftest.err; then
18273     sed '10a\
18274 ... rest of stderr output deleted ...
18275          10q' conftest.err >conftest.er1
18276     cat conftest.er1 >&5
18277   fi
18278   rm -f conftest.er1 conftest.err
18279   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18280   test $ac_status = 0; }
18281 done
18282
18283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18284 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18285 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18286   $as_echo_n "(cached) " >&6
18287 else
18288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18289 /* end confdefs.h.  */
18290
18291 int
18292 main ()
18293 {
18294 #ifndef __GNUC__
18295        choke me
18296 #endif
18297
18298   ;
18299   return 0;
18300 }
18301 _ACEOF
18302 if ac_fn_cxx_try_compile "$LINENO"; then :
18303   ac_compiler_gnu=yes
18304 else
18305   ac_compiler_gnu=no
18306 fi
18307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18308 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18309
18310 fi
18311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18312 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18313 if test $ac_compiler_gnu = yes; then
18314   GXX=yes
18315 else
18316   GXX=
18317 fi
18318 ac_test_CXXFLAGS=${CXXFLAGS+set}
18319 ac_save_CXXFLAGS=$CXXFLAGS
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18321 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18322 if ${ac_cv_prog_cxx_g+:} false; then :
18323   $as_echo_n "(cached) " >&6
18324 else
18325   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18326    ac_cxx_werror_flag=yes
18327    ac_cv_prog_cxx_g=no
18328    CXXFLAGS="-g"
18329    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18330 /* end confdefs.h.  */
18331
18332 int
18333 main ()
18334 {
18335
18336   ;
18337   return 0;
18338 }
18339 _ACEOF
18340 if ac_fn_cxx_try_compile "$LINENO"; then :
18341   ac_cv_prog_cxx_g=yes
18342 else
18343   CXXFLAGS=""
18344       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18345 /* end confdefs.h.  */
18346
18347 int
18348 main ()
18349 {
18350
18351   ;
18352   return 0;
18353 }
18354 _ACEOF
18355 if ac_fn_cxx_try_compile "$LINENO"; then :
18356
18357 else
18358   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18359          CXXFLAGS="-g"
18360          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18361 /* end confdefs.h.  */
18362
18363 int
18364 main ()
18365 {
18366
18367   ;
18368   return 0;
18369 }
18370 _ACEOF
18371 if ac_fn_cxx_try_compile "$LINENO"; then :
18372   ac_cv_prog_cxx_g=yes
18373 fi
18374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18375 fi
18376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18377 fi
18378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18379    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18380 fi
18381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18382 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18383 if test "$ac_test_CXXFLAGS" = set; then
18384   CXXFLAGS=$ac_save_CXXFLAGS
18385 elif test $ac_cv_prog_cxx_g = yes; then
18386   if test "$GXX" = yes; then
18387     CXXFLAGS="-g -O2"
18388   else
18389     CXXFLAGS="-g"
18390   fi
18391 else
18392   if test "$GXX" = yes; then
18393     CXXFLAGS="-O2"
18394   else
18395     CXXFLAGS=
18396   fi
18397 fi
18398 ac_ext=c
18399 ac_cpp='$CPP $CPPFLAGS'
18400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18403
18404
18405
18406
18407
18408
18409
18410
18411     ac_ext=cpp
18412 ac_cpp='$CXXCPP $CPPFLAGS'
18413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18416
18417     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18418 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18419 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18420   $as_echo_n "(cached) " >&6
18421 else
18422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18423 /* end confdefs.h.  */
18424
18425 int
18426 main ()
18427 {
18428
18429              #ifndef __INTEL_COMPILER
18430                 choke me
18431              #endif
18432
18433   ;
18434   return 0;
18435 }
18436 _ACEOF
18437 if ac_fn_cxx_try_compile "$LINENO"; then :
18438   bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18439 else
18440   bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18441
18442 fi
18443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18444
18445
18446 fi
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18448 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18449     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18450         :; INTELCXX=yes
18451     else
18452         :;
18453     fi
18454     ac_ext=c
18455 ac_cpp='$CPP $CPPFLAGS'
18456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18459
18460
18461
18462
18463         if test "$INTELCXX" = "yes"; then
18464
18465
18466     ac_ext=cpp
18467 ac_cpp='$CXXCPP $CPPFLAGS'
18468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18471
18472     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18473 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18474 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18475   $as_echo_n "(cached) " >&6
18476 else
18477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18478 /* end confdefs.h.  */
18479
18480 int
18481 main ()
18482 {
18483
18484              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18485                 choke me
18486              #endif
18487
18488   ;
18489   return 0;
18490 }
18491 _ACEOF
18492 if ac_fn_cxx_try_compile "$LINENO"; then :
18493   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18494 else
18495   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18496
18497 fi
18498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18499
18500
18501 fi
18502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18503 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18504     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18505         :; INTELCXX8=yes
18506     else
18507         :;
18508     fi
18509     ac_ext=c
18510 ac_cpp='$CPP $CPPFLAGS'
18511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18514
18515
18516
18517
18518
18519     ac_ext=cpp
18520 ac_cpp='$CXXCPP $CPPFLAGS'
18521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18524
18525     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18526 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18527 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18528   $as_echo_n "(cached) " >&6
18529 else
18530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18531 /* end confdefs.h.  */
18532
18533 int
18534 main ()
18535 {
18536
18537              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18538                 choke me
18539              #endif
18540
18541   ;
18542   return 0;
18543 }
18544 _ACEOF
18545 if ac_fn_cxx_try_compile "$LINENO"; then :
18546   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18547 else
18548   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18549
18550 fi
18551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18552
18553
18554 fi
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18556 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18557     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18558         :; INTELCXX10=yes
18559     else
18560         :;
18561     fi
18562     ac_ext=c
18563 ac_cpp='$CPP $CPPFLAGS'
18564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18567
18568
18569
18570     fi
18571
18572         if test "x$GCXX" != "xyes"; then
18573         if test "xCXX" = "xC"; then
18574             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18575 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18576 if ${bakefile_cv_c_exto+:} false; then :
18577   $as_echo_n "(cached) " >&6
18578 else
18579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18580 /* end confdefs.h.  */
18581
18582 int
18583 main ()
18584 {
18585
18586   ;
18587   return 0;
18588 }
18589 _ACEOF
18590 rm -f conftest.$ac_objext conftest.$ac_ext.o
18591 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18592   (eval $ac_compile) 2>&5
18593   ac_status=$?
18594   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18595   test $ac_status = 0; }; then :
18596   for ac_file in `(ls conftest.* 2>/dev/null)`; do
18597     case $ac_file in
18598         conftest.$ac_ext.o)
18599             bakefile_cv_c_exto="-ext o"
18600             ;;
18601         *)
18602             ;;
18603     esac
18604 done
18605 else
18606   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18608 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18609 See \`config.log' for more details" "$LINENO" 5; }
18610
18611 fi
18612 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18613
18614 fi
18615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18616 $as_echo "$bakefile_cv_c_exto" >&6; }
18617 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18618     if test "c" = "c"; then
18619         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18620     fi
18621     if test "c" = "cxx"; then
18622         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18623     fi
18624 fi
18625
18626             if test "x$bakefile_cv_c_exto" '!=' "x"; then
18627                 unset ac_cv_prog_cc_g
18628                 ac_test_CFLAGS=${CFLAGS+set}
18629 ac_save_CFLAGS=$CFLAGS
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18631 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18632 if ${ac_cv_prog_cc_g+:} false; then :
18633   $as_echo_n "(cached) " >&6
18634 else
18635   ac_save_c_werror_flag=$ac_c_werror_flag
18636    ac_c_werror_flag=yes
18637    ac_cv_prog_cc_g=no
18638    CFLAGS="-g"
18639    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18640 /* end confdefs.h.  */
18641
18642 int
18643 main ()
18644 {
18645
18646   ;
18647   return 0;
18648 }
18649 _ACEOF
18650 if ac_fn_c_try_compile "$LINENO"; then :
18651   ac_cv_prog_cc_g=yes
18652 else
18653   CFLAGS=""
18654       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18655 /* end confdefs.h.  */
18656
18657 int
18658 main ()
18659 {
18660
18661   ;
18662   return 0;
18663 }
18664 _ACEOF
18665 if ac_fn_c_try_compile "$LINENO"; then :
18666
18667 else
18668   ac_c_werror_flag=$ac_save_c_werror_flag
18669          CFLAGS="-g"
18670          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18671 /* end confdefs.h.  */
18672
18673 int
18674 main ()
18675 {
18676
18677   ;
18678   return 0;
18679 }
18680 _ACEOF
18681 if ac_fn_c_try_compile "$LINENO"; then :
18682   ac_cv_prog_cc_g=yes
18683 fi
18684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18685 fi
18686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18687 fi
18688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18689    ac_c_werror_flag=$ac_save_c_werror_flag
18690 fi
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18692 $as_echo "$ac_cv_prog_cc_g" >&6; }
18693 if test "$ac_test_CFLAGS" = set; then
18694   CFLAGS=$ac_save_CFLAGS
18695 elif test $ac_cv_prog_cc_g = yes; then
18696   if test "$GCC" = yes; then
18697     CFLAGS="-g -O2"
18698   else
18699     CFLAGS="-g"
18700   fi
18701 else
18702   if test "$GCC" = yes; then
18703     CFLAGS="-O2"
18704   else
18705     CFLAGS=
18706   fi
18707 fi
18708             fi
18709         fi
18710
18711                         case `uname -s` in
18712             AIX*)
18713
18714
18715     ac_ext=cpp
18716 ac_cpp='$CXXCPP $CPPFLAGS'
18717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18720
18721     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18722 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18723 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18724   $as_echo_n "(cached) " >&6
18725 else
18726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18727 /* end confdefs.h.  */
18728
18729 int
18730 main ()
18731 {
18732
18733              #ifndef __xlC__
18734                 choke me
18735              #endif
18736
18737   ;
18738   return 0;
18739 }
18740 _ACEOF
18741 if ac_fn_cxx_try_compile "$LINENO"; then :
18742   bakefile_cv_cxx_compiler___xlC__=yes
18743 else
18744   bakefile_cv_cxx_compiler___xlC__=no
18745
18746 fi
18747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18748
18749
18750 fi
18751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18752 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18753     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18754         :; XLCXX=yes
18755     else
18756         :;
18757     fi
18758     ac_ext=c
18759 ac_cpp='$CPP $CPPFLAGS'
18760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18763
18764
18765
18766                 ;;
18767
18768             Darwin)
18769
18770
18771     ac_ext=cpp
18772 ac_cpp='$CXXCPP $CPPFLAGS'
18773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18776
18777     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18778 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18779 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18780   $as_echo_n "(cached) " >&6
18781 else
18782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18783 /* end confdefs.h.  */
18784
18785 int
18786 main ()
18787 {
18788
18789              #ifndef __MWERKS__
18790                 choke me
18791              #endif
18792
18793   ;
18794   return 0;
18795 }
18796 _ACEOF
18797 if ac_fn_cxx_try_compile "$LINENO"; then :
18798   bakefile_cv_cxx_compiler___MWERKS__=yes
18799 else
18800   bakefile_cv_cxx_compiler___MWERKS__=no
18801
18802 fi
18803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18804
18805
18806 fi
18807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18808 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18809     if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18810         :; MWCXX=yes
18811     else
18812         :;
18813     fi
18814     ac_ext=c
18815 ac_cpp='$CPP $CPPFLAGS'
18816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18819
18820
18821
18822                 if test "$MWCXX" != "yes"; then
18823
18824
18825     ac_ext=cpp
18826 ac_cpp='$CXXCPP $CPPFLAGS'
18827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18830
18831     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18832 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18833 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18834   $as_echo_n "(cached) " >&6
18835 else
18836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18837 /* end confdefs.h.  */
18838
18839 int
18840 main ()
18841 {
18842
18843              #ifndef __xlC__
18844                 choke me
18845              #endif
18846
18847   ;
18848   return 0;
18849 }
18850 _ACEOF
18851 if ac_fn_cxx_try_compile "$LINENO"; then :
18852   bakefile_cv_cxx_compiler___xlC__=yes
18853 else
18854   bakefile_cv_cxx_compiler___xlC__=no
18855
18856 fi
18857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18858
18859
18860 fi
18861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18862 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18863     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18864         :; XLCXX=yes
18865     else
18866         :;
18867     fi
18868     ac_ext=c
18869 ac_cpp='$CPP $CPPFLAGS'
18870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18873
18874
18875
18876                 fi
18877                 ;;
18878
18879             IRIX*)
18880
18881
18882     ac_ext=cpp
18883 ac_cpp='$CXXCPP $CPPFLAGS'
18884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18887
18888     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18889 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18890 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
18891   $as_echo_n "(cached) " >&6
18892 else
18893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18894 /* end confdefs.h.  */
18895
18896 int
18897 main ()
18898 {
18899
18900              #ifndef _SGI_COMPILER_VERSION
18901                 choke me
18902              #endif
18903
18904   ;
18905   return 0;
18906 }
18907 _ACEOF
18908 if ac_fn_cxx_try_compile "$LINENO"; then :
18909   bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18910 else
18911   bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18912
18913 fi
18914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18915
18916
18917 fi
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18919 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18920     if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18921         :; SGICXX=yes
18922     else
18923         :;
18924     fi
18925     ac_ext=c
18926 ac_cpp='$CPP $CPPFLAGS'
18927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18930
18931
18932
18933                 ;;
18934
18935             Linux*)
18936                                                 if test "$INTELCXX" != "yes"; then
18937
18938
18939     ac_ext=cpp
18940 ac_cpp='$CXXCPP $CPPFLAGS'
18941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18944
18945     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18946 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18947 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
18948   $as_echo_n "(cached) " >&6
18949 else
18950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18951 /* end confdefs.h.  */
18952
18953 int
18954 main ()
18955 {
18956
18957              #ifndef __SUNPRO_CC
18958                 choke me
18959              #endif
18960
18961   ;
18962   return 0;
18963 }
18964 _ACEOF
18965 if ac_fn_cxx_try_compile "$LINENO"; then :
18966   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18967 else
18968   bakefile_cv_cxx_compiler___SUNPRO_CC=no
18969
18970 fi
18971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18972
18973
18974 fi
18975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18976 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18977     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18978         :; SUNCXX=yes
18979     else
18980         :;
18981     fi
18982     ac_ext=c
18983 ac_cpp='$CPP $CPPFLAGS'
18984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18987
18988
18989
18990                 fi
18991                 ;;
18992
18993             HP-UX*)
18994
18995
18996     ac_ext=cpp
18997 ac_cpp='$CXXCPP $CPPFLAGS'
18998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19001
19002     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
19003 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
19004 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
19005   $as_echo_n "(cached) " >&6
19006 else
19007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19008 /* end confdefs.h.  */
19009
19010 int
19011 main ()
19012 {
19013
19014              #ifndef __HP_aCC
19015                 choke me
19016              #endif
19017
19018   ;
19019   return 0;
19020 }
19021 _ACEOF
19022 if ac_fn_cxx_try_compile "$LINENO"; then :
19023   bakefile_cv_cxx_compiler___HP_aCC=yes
19024 else
19025   bakefile_cv_cxx_compiler___HP_aCC=no
19026
19027 fi
19028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19029
19030
19031 fi
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19033 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19034     if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19035         :; HPCXX=yes
19036     else
19037         :;
19038     fi
19039     ac_ext=c
19040 ac_cpp='$CPP $CPPFLAGS'
19041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19044
19045
19046
19047                 ;;
19048
19049             OSF1)
19050
19051
19052     ac_ext=cpp
19053 ac_cpp='$CXXCPP $CPPFLAGS'
19054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19057
19058     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19059 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19060 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19061   $as_echo_n "(cached) " >&6
19062 else
19063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19064 /* end confdefs.h.  */
19065
19066 int
19067 main ()
19068 {
19069
19070              #ifndef __DECCXX
19071                 choke me
19072              #endif
19073
19074   ;
19075   return 0;
19076 }
19077 _ACEOF
19078 if ac_fn_cxx_try_compile "$LINENO"; then :
19079   bakefile_cv_cxx_compiler___DECCXX=yes
19080 else
19081   bakefile_cv_cxx_compiler___DECCXX=no
19082
19083 fi
19084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19085
19086
19087 fi
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19089 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19090     if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19091         :; COMPAQCXX=yes
19092     else
19093         :;
19094     fi
19095     ac_ext=c
19096 ac_cpp='$CPP $CPPFLAGS'
19097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19100
19101
19102
19103                 ;;
19104
19105             SunOS)
19106
19107
19108     ac_ext=cpp
19109 ac_cpp='$CXXCPP $CPPFLAGS'
19110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19113
19114     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19115 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19116 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19117   $as_echo_n "(cached) " >&6
19118 else
19119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19120 /* end confdefs.h.  */
19121
19122 int
19123 main ()
19124 {
19125
19126              #ifndef __SUNPRO_CC
19127                 choke me
19128              #endif
19129
19130   ;
19131   return 0;
19132 }
19133 _ACEOF
19134 if ac_fn_cxx_try_compile "$LINENO"; then :
19135   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19136 else
19137   bakefile_cv_cxx_compiler___SUNPRO_CC=no
19138
19139 fi
19140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19141
19142
19143 fi
19144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19145 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19146     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19147         :; SUNCXX=yes
19148     else
19149         :;
19150     fi
19151     ac_ext=c
19152 ac_cpp='$CPP $CPPFLAGS'
19153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19156
19157
19158
19159                 ;;
19160         esac
19161     fi
19162
19163
19164
19165 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19166     as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19167 fi
19168
19169 if test "x$SUNCXX" != xyes; then
19170     if test -n "$ac_tool_prefix"; then
19171   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19172 set dummy ${ac_tool_prefix}ar; ac_word=$2
19173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19174 $as_echo_n "checking for $ac_word... " >&6; }
19175 if ${ac_cv_prog_AR+:} false; then :
19176   $as_echo_n "(cached) " >&6
19177 else
19178   if test -n "$AR"; then
19179   ac_cv_prog_AR="$AR" # Let the user override the test.
19180 else
19181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19182 for as_dir in $PATH
19183 do
19184   IFS=$as_save_IFS
19185   test -z "$as_dir" && as_dir=.
19186     for ac_exec_ext in '' $ac_executable_extensions; do
19187   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19188     ac_cv_prog_AR="${ac_tool_prefix}ar"
19189     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19190     break 2
19191   fi
19192 done
19193   done
19194 IFS=$as_save_IFS
19195
19196 fi
19197 fi
19198 AR=$ac_cv_prog_AR
19199 if test -n "$AR"; then
19200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19201 $as_echo "$AR" >&6; }
19202 else
19203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19204 $as_echo "no" >&6; }
19205 fi
19206
19207
19208 fi
19209 if test -z "$ac_cv_prog_AR"; then
19210   ac_ct_AR=$AR
19211   # Extract the first word of "ar", so it can be a program name with args.
19212 set dummy ar; ac_word=$2
19213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19214 $as_echo_n "checking for $ac_word... " >&6; }
19215 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19216   $as_echo_n "(cached) " >&6
19217 else
19218   if test -n "$ac_ct_AR"; then
19219   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19220 else
19221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19222 for as_dir in $PATH
19223 do
19224   IFS=$as_save_IFS
19225   test -z "$as_dir" && as_dir=.
19226     for ac_exec_ext in '' $ac_executable_extensions; do
19227   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19228     ac_cv_prog_ac_ct_AR="ar"
19229     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19230     break 2
19231   fi
19232 done
19233   done
19234 IFS=$as_save_IFS
19235
19236 fi
19237 fi
19238 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19239 if test -n "$ac_ct_AR"; then
19240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19241 $as_echo "$ac_ct_AR" >&6; }
19242 else
19243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19244 $as_echo "no" >&6; }
19245 fi
19246
19247   if test "x$ac_ct_AR" = x; then
19248     AR=""
19249   else
19250     case $cross_compiling:$ac_tool_warned in
19251 yes:)
19252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19254 ac_tool_warned=yes ;;
19255 esac
19256     AR=$ac_ct_AR
19257   fi
19258 else
19259   AR="$ac_cv_prog_AR"
19260 fi
19261
19262     if test "x$AR" = "x" ; then
19263         as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19264     fi
19265 fi
19266
19267
19268 if test "$wxUSE_MAC" = 1; then
19269
19270 retest_macosx_linking=no
19271
19272 OSX_ARCH_OPTS=""
19273
19274 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19275     if test "x$wxUSE_MAC_ARCH" != xno; then
19276         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19277 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19278     fi
19279
19280     if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19281         OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19282     else         OSX_ARCH_OPTS="ppc,i386"
19283         if test "$wxUSE_OSX_COCOA" = 1; then
19284             OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19285         fi
19286     fi
19287
19288     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19289 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19290     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19291 $as_echo "$OSX_ARCH_OPTS" >&6; }
19292
19293                                                         retest_macosx_linking=yes
19294 else
19295     if test "x$wxUSE_MAC_ARCH" != xno; then
19296         OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19297     fi
19298 fi
19299
19300 if test "x$OSX_ARCH_OPTS" != "x"; then
19301         if echo $OSX_ARCH_OPTS | grep -q ","; then
19302         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19303 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19304         disable_macosx_deps=yes
19305
19306                                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19307 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19308         bk_use_pch=no
19309     fi
19310
19311     OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19312
19313     CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19314     CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19315     OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19316     OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19317     LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19318 fi
19319
19320 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19321     wxUSE_MACOSX_SDK=
19322 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19323     # TODO: Search for most recent SDK and use it.
19324     wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19325 fi
19326
19327
19328 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19329     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19330 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19331     if ! test -d "$wxUSE_MACOSX_SDK"; then
19332         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19334 as_fn_error $? "not found
19335 See \`config.log' for more details" "$LINENO" 5; }
19336     else
19337         { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19338 $as_echo "exists" >&6; }
19339     fi
19340         MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19341     retest_macosx_linking=yes
19342             fi
19343
19344 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19345     wxUSE_MACOSX_VERSION_MIN=
19346 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19347     if test "x$wxUSE_MACOSX_SDK" != "x"; then
19348         { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19349 $as_echo_n "checking SDK deployment version... " >&6; }
19350
19351         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/'`
19352
19353         # If that failed, try again with the new key
19354         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19355
19356             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/'`
19357
19358         fi
19359
19360         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19361             wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19362             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19363 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19364         else
19365             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19366 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19367             wxUSE_MACOSX_VERSION_MIN=
19368         fi
19369     else
19370         wxUSE_MACOSX_VERSION_MIN=
19371     fi
19372 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19373     wxUSE_MACOSX_VERSION_MIN=10.5
19374 fi
19375
19376 if test "x$MACOSX_SDK_OPTS" != "x"; then
19377     eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19378     eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19379     eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19380     retest_macosx_linking=yes
19381 fi
19382
19383 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19384     if test "$wxUSE_OSX_IPHONE" = 1; then
19385         MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19386     else
19387         MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19388     fi
19389     eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19390     eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19391     eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19392     retest_macosx_linking=yes
19393 fi
19394
19395 if test "x$retest_macosx_linking" = "xyes"; then
19396     ac_ext=c
19397 ac_cpp='$CPP $CPPFLAGS'
19398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19401
19402     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19403 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19404     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19405 /* end confdefs.h.  */
19406
19407 int
19408 main ()
19409 {
19410
19411   ;
19412   return 0;
19413 }
19414 _ACEOF
19415 if ac_fn_c_try_link "$LINENO"; then :
19416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19417 $as_echo "yes" >&6; }
19418 else
19419   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19421 as_fn_error $? "no.  Try a different SDK
19422 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19423 fi
19424 rm -f core conftest.err conftest.$ac_objext \
19425     conftest$ac_exeext conftest.$ac_ext
19426     ac_ext=c
19427 ac_cpp='$CPP $CPPFLAGS'
19428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19431
19432
19433     ac_ext=cpp
19434 ac_cpp='$CXXCPP $CPPFLAGS'
19435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19438
19439     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19440 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19441     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19442 /* end confdefs.h.  */
19443
19444 int
19445 main ()
19446 {
19447
19448   ;
19449   return 0;
19450 }
19451 _ACEOF
19452 if ac_fn_cxx_try_link "$LINENO"; then :
19453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19454 $as_echo "yes" >&6; }
19455 else
19456   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19458 as_fn_error $? "no.  Try a different SDK
19459 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19460 fi
19461 rm -f core conftest.err conftest.$ac_objext \
19462     conftest$ac_exeext conftest.$ac_ext
19463     ac_ext=c
19464 ac_cpp='$CPP $CPPFLAGS'
19465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19468
19469 fi
19470
19471 fi
19472 case "${host}" in
19473
19474                 *-*-darwin* )
19475         INSTALL_PROGRAM="cp -fp"
19476         INSTALL_DATA="cp -fp"
19477         ;;
19478     *)
19479         ;;
19480 esac
19481
19482
19483 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19484                     $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19485
19486
19487             GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19488     CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19489 fi
19490
19491 if test "x$USE_AIX" = "x1"; then
19492             if test "x$XLCXX" = "xyes"; then
19493         CXXFLAGS="-qunique $CXXFLAGS"
19494     fi
19495
19496                                 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19497 fi
19498
19499 case "${host}" in
19500   powerpc-*-darwin* )
19501     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19502 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19503     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19504 /* end confdefs.h.  */
19505
19506 int
19507 main ()
19508 {
19509 #ifndef __POWERPC__
19510         choke me for lack of PowerPC
19511 #endif
19512
19513   ;
19514   return 0;
19515 }
19516 _ACEOF
19517 if ac_fn_c_try_compile "$LINENO"; then :
19518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19519 $as_echo "yes" >&6; }
19520 else
19521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19522 $as_echo "no" >&6; }
19523         $as_echo "#define __POWERPC__ 1" >>confdefs.h
19524
19525
19526 fi
19527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19528   ;;
19529 esac
19530
19531 case "${host}" in
19532   *-*-darwin* )
19533     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19534 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19535     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19536 /* end confdefs.h.  */
19537 #include <CoreFoundation/CFBase.h>
19538
19539 int
19540 main ()
19541 {
19542
19543   ;
19544   return 0;
19545 }
19546 _ACEOF
19547 if ac_fn_c_try_compile "$LINENO"; then :
19548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19549 $as_echo "yes" >&6; }
19550 else
19551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19552 $as_echo "no" >&6; }
19553         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19554 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19555         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19556 /* end confdefs.h.  */
19557 #define __CF_USE_FRAMEWORK_INCLUDES__
19558 #include <CoreFoundation/CFBase.h>
19559
19560 int
19561 main ()
19562 {
19563
19564   ;
19565   return 0;
19566 }
19567 _ACEOF
19568 if ac_fn_c_try_compile "$LINENO"; then :
19569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19570 $as_echo "yes" >&6; }
19571                         CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19572 else
19573   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19575 as_fn_error $? "no.  CoreFoundation not available.
19576 See \`config.log' for more details" "$LINENO" 5; }
19577
19578 fi
19579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19580
19581
19582 fi
19583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19584   ;;
19585 esac
19586
19587 wants_win32=0
19588 doesnt_want_win32=0
19589 case "${host}" in
19590   *-*-cygwin*)
19591       if test "$wxUSE_MSW" = 1 ; then
19592         wants_win32=1
19593       else
19594                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19595 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19596 if ${wx_cv_nocygwin+:} false; then :
19597   $as_echo_n "(cached) " >&6
19598 else
19599
19600                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19601 /* end confdefs.h.  */
19602
19603 int
19604 main ()
19605 {
19606
19607                         #ifdef __MINGW32__
19608                             choke me
19609                         #endif
19610
19611   ;
19612   return 0;
19613 }
19614 _ACEOF
19615 if ac_fn_c_try_compile "$LINENO"; then :
19616   wx_cv_nocygwin=no
19617 else
19618   wx_cv_nocygwin=yes
19619
19620 fi
19621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19622
19623
19624 fi
19625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19626 $as_echo "$wx_cv_nocygwin" >&6; }
19627
19628         if test "$wx_cv_nocygwin" = "yes"; then
19629             wants_win32=1
19630         else
19631             doesnt_want_win32=1
19632         fi
19633       fi
19634       if test "$wants_win32" = 1 ; then
19635         BAKEFILE_FORCE_PLATFORM=win32
19636       fi
19637   ;;
19638   *-*-mingw*)
19639       wants_win32=1
19640   ;;
19641 esac
19642
19643 if test "$wxUSE_WINE" = "yes"; then
19644     wants_win32=1
19645     LDFLAGS_GUI="-mwindows"
19646 fi
19647
19648 if test "$wants_win32" = 1 ; then
19649     USE_UNIX=0
19650     USE_WIN32=1
19651     $as_echo "#define __WIN32__ 1" >>confdefs.h
19652
19653     $as_echo "#define __WIN95__ 1" >>confdefs.h
19654
19655     $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19656
19657     $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19658
19659     $as_echo "#define STRICT 1" >>confdefs.h
19660
19661 fi
19662 if test "$doesnt_want_win32" = 1 ; then
19663     USE_UNIX=1
19664     USE_WIN32=0
19665 fi
19666
19667 if test "$USE_UNIX" = 1 ; then
19668     wxUSE_UNIX=yes
19669     $as_echo "#define __UNIX__ 1" >>confdefs.h
19670
19671 fi
19672
19673 case "${host}" in
19674   *-pc-os2_emx | *-pc-os2-emx )
19675                                                       if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19676                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19677 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19678 if ${ac_cv_lib_cExt_drand48+:} false; then :
19679   $as_echo_n "(cached) " >&6
19680 else
19681   ac_check_lib_save_LIBS=$LIBS
19682 LIBS="-lcExt  $LIBS"
19683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19684 /* end confdefs.h.  */
19685
19686 /* Override any GCC internal prototype to avoid an error.
19687    Use char because int might match the return type of a GCC
19688    builtin and then its argument prototype would still apply.  */
19689 #ifdef __cplusplus
19690 extern "C"
19691 #endif
19692 char drand48 ();
19693 int
19694 main ()
19695 {
19696 return drand48 ();
19697   ;
19698   return 0;
19699 }
19700 _ACEOF
19701 if ac_fn_c_try_link "$LINENO"; then :
19702   ac_cv_lib_cExt_drand48=yes
19703 else
19704   ac_cv_lib_cExt_drand48=no
19705 fi
19706 rm -f core conftest.err conftest.$ac_objext \
19707     conftest$ac_exeext conftest.$ac_ext
19708 LIBS=$ac_check_lib_save_LIBS
19709 fi
19710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19711 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19712 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19713   LIBS="$LIBS -lcExt"
19714 fi
19715
19716       else
19717                     RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19718       fi
19719                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19720 $as_echo_n "checking for gcc/libc version... " >&6; }
19721 if ${wx_cv_gccversion+:} false; then :
19722   $as_echo_n "(cached) " >&6
19723 else
19724
19725           if test "$cross_compiling" = yes; then :
19726                 wx_cv_gccversion="EMX2"
19727
19728 else
19729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19730 /* end confdefs.h.  */
19731
19732                   #include <stdio.h>
19733
19734                   int main()
19735                   {
19736                       FILE *f=fopen("conftestval", "w");
19737                       if (!f) exit(1);
19738                       fprintf(f,
19739                   #if (__GNUC__ < 3)
19740                               "EMX2"
19741                   #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19742                               "EMX3"
19743                   #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19744                               "Innotek5"
19745                   #else
19746                               "Innotek6"
19747                   #endif
19748                       );
19749                       exit(0);
19750                   }
19751
19752 _ACEOF
19753 if ac_fn_c_try_run "$LINENO"; then :
19754   wx_cv_gccversion=`cat conftestval`
19755 else
19756   wx_cv_gccversion="EMX2"
19757 fi
19758 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19759   conftest.$ac_objext conftest.beam conftest.$ac_ext
19760 fi
19761
19762
19763 fi
19764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19765 $as_echo "$wx_cv_gccversion" >&6; }
19766       if test "$wx_cv_gccversion" = "EMX2"; then
19767           LIBS="$LIBS -lstdcpp"
19768           LDFLAGS="$LDFLAGS -Zsysv-signals"
19769       else
19770           if test "$wx_cv_gccversion" = "EMX3"; then
19771               LIBS="$LIBS -lstdcxx -lgcc"
19772               LDFLAGS="$LDFLAGS -Zsysv-signals"
19773           else
19774               LIBS="$LIBS -lstdc++"
19775           fi
19776       fi
19777       if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19778         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19779 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19780         wxUSE_OMF=yes
19781         enable_omf=yes
19782       fi
19783         ;;
19784   *)
19785
19786       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19787 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19788 if ${ac_cv_string_strcasecmp+:} false; then :
19789   $as_echo_n "(cached) " >&6
19790 else
19791
19792           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19793 /* end confdefs.h.  */
19794
19795               #include <string.h>
19796
19797 int
19798 main ()
19799 {
19800
19801                   strcasecmp("foo", "bar");
19802
19803   ;
19804   return 0;
19805 }
19806 _ACEOF
19807 if ac_fn_c_try_link "$LINENO"; then :
19808   ac_cv_string_strcasecmp=yes
19809 else
19810   ac_cv_string_strcasecmp=no
19811
19812 fi
19813 rm -f core conftest.err conftest.$ac_objext \
19814     conftest$ac_exeext conftest.$ac_ext
19815
19816 fi
19817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19818 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19819
19820       if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19821           $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19822
19823       else
19824           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19825 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19826 if ${ac_cv_strings_strcasecmp+:} false; then :
19827   $as_echo_n "(cached) " >&6
19828 else
19829
19830               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19831 /* end confdefs.h.  */
19832
19833                   #include <strings.h>
19834
19835 int
19836 main ()
19837 {
19838
19839                       strcasecmp("foo", "bar");
19840
19841   ;
19842   return 0;
19843 }
19844 _ACEOF
19845 if ac_fn_c_try_link "$LINENO"; then :
19846   ac_cv_strings_strcasecmp=yes
19847 else
19848   ac_cv_strings_strcasecmp=no
19849
19850 fi
19851 rm -f core conftest.err conftest.$ac_objext \
19852     conftest$ac_exeext conftest.$ac_ext
19853
19854 fi
19855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19856 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19857
19858           if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19859               $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19860
19861           else
19862               as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19863           fi
19864       fi
19865
19866         ;;
19867 esac
19868
19869
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19871 $as_echo_n "checking for ANSI C header files... " >&6; }
19872 if ${ac_cv_header_stdc+:} false; then :
19873   $as_echo_n "(cached) " >&6
19874 else
19875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19876 /* end confdefs.h.  */
19877 #include <stdlib.h>
19878 #include <stdarg.h>
19879 #include <string.h>
19880 #include <float.h>
19881
19882 int
19883 main ()
19884 {
19885
19886   ;
19887   return 0;
19888 }
19889 _ACEOF
19890 if ac_fn_c_try_compile "$LINENO"; then :
19891   ac_cv_header_stdc=yes
19892 else
19893   ac_cv_header_stdc=no
19894 fi
19895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19896
19897 if test $ac_cv_header_stdc = yes; then
19898   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19900 /* end confdefs.h.  */
19901 #include <string.h>
19902
19903 _ACEOF
19904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19905   $EGREP "memchr" >/dev/null 2>&1; then :
19906
19907 else
19908   ac_cv_header_stdc=no
19909 fi
19910 rm -f conftest*
19911
19912 fi
19913
19914 if test $ac_cv_header_stdc = yes; then
19915   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19917 /* end confdefs.h.  */
19918 #include <stdlib.h>
19919
19920 _ACEOF
19921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19922   $EGREP "free" >/dev/null 2>&1; then :
19923
19924 else
19925   ac_cv_header_stdc=no
19926 fi
19927 rm -f conftest*
19928
19929 fi
19930
19931 if test $ac_cv_header_stdc = yes; then
19932   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19933   if test "$cross_compiling" = yes; then :
19934   :
19935 else
19936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19937 /* end confdefs.h.  */
19938 #include <ctype.h>
19939 #include <stdlib.h>
19940 #if ((' ' & 0x0FF) == 0x020)
19941 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19942 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19943 #else
19944 # define ISLOWER(c) \
19945                    (('a' <= (c) && (c) <= 'i') \
19946                      || ('j' <= (c) && (c) <= 'r') \
19947                      || ('s' <= (c) && (c) <= 'z'))
19948 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19949 #endif
19950
19951 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19952 int
19953 main ()
19954 {
19955   int i;
19956   for (i = 0; i < 256; i++)
19957     if (XOR (islower (i), ISLOWER (i))
19958         || toupper (i) != TOUPPER (i))
19959       return 2;
19960   return 0;
19961 }
19962 _ACEOF
19963 if ac_fn_c_try_run "$LINENO"; then :
19964
19965 else
19966   ac_cv_header_stdc=no
19967 fi
19968 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19969   conftest.$ac_objext conftest.beam conftest.$ac_ext
19970 fi
19971
19972 fi
19973 fi
19974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19975 $as_echo "$ac_cv_header_stdc" >&6; }
19976 if test $ac_cv_header_stdc = yes; then
19977
19978 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19979
19980 fi
19981
19982 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19983 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19984                   inttypes.h stdint.h unistd.h
19985 do :
19986   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19987 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19988 "
19989 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19990   cat >>confdefs.h <<_ACEOF
19991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19992 _ACEOF
19993
19994 fi
19995
19996 done
19997
19998
19999 for ac_header in langinfo.h wchar.h
20000 do :
20001   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20002 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20003 "
20004 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20005   cat >>confdefs.h <<_ACEOF
20006 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20007 _ACEOF
20008
20009 fi
20010
20011 done
20012
20013
20014 if test "$ac_cv_header_wchar_h" != "yes"; then
20015     for ac_header in wcstr.h
20016 do :
20017   ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20018 "
20019 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20020   cat >>confdefs.h <<_ACEOF
20021 #define HAVE_WCSTR_H 1
20022 _ACEOF
20023
20024 fi
20025
20026 done
20027
20028 fi
20029
20030 case "${host}" in
20031   *-pc-os2_emx | *-pc-os2-emx )
20032                   if test $ac_cv_header_langinfo_h = "yes" \
20033                 -a \(   "$wx_cv_gccversion" = "EMX2" \
20034                      -o "$wx_cv_gccversion" = "EMX3" \
20035                      -o "$wx_cv_gccversion" = "Innotek5" \); then
20036           LIBS="$LIBS -lintl"
20037       fi
20038   ;;
20039 esac
20040
20041 if test "$USE_UNIX" = 1 ; then
20042         for ac_header in sys/select.h
20043 do :
20044   ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20045 "
20046 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20047   cat >>confdefs.h <<_ACEOF
20048 #define HAVE_SYS_SELECT_H 1
20049 _ACEOF
20050
20051 fi
20052
20053 done
20054
20055
20056             ac_ext=cpp
20057 ac_cpp='$CXXCPP $CPPFLAGS'
20058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20061
20062     for ac_header in cxxabi.h
20063 do :
20064   ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20065 "
20066 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20067   cat >>confdefs.h <<_ACEOF
20068 #define HAVE_CXXABI_H 1
20069 _ACEOF
20070
20071 fi
20072
20073 done
20074
20075     ac_ext=c
20076 ac_cpp='$CPP $CPPFLAGS'
20077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20080
20081 fi
20082
20083
20084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20085 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20086 if ${ac_cv_c_const+:} false; then :
20087   $as_echo_n "(cached) " >&6
20088 else
20089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20090 /* end confdefs.h.  */
20091
20092 int
20093 main ()
20094 {
20095
20096 #ifndef __cplusplus
20097   /* Ultrix mips cc rejects this sort of thing.  */
20098   typedef int charset[2];
20099   const charset cs = { 0, 0 };
20100   /* SunOS 4.1.1 cc rejects this.  */
20101   char const *const *pcpcc;
20102   char **ppc;
20103   /* NEC SVR4.0.2 mips cc rejects this.  */
20104   struct point {int x, y;};
20105   static struct point const zero = {0,0};
20106   /* AIX XL C 1.02.0.0 rejects this.
20107      It does not let you subtract one const X* pointer from another in
20108      an arm of an if-expression whose if-part is not a constant
20109      expression */
20110   const char *g = "string";
20111   pcpcc = &g + (g ? g-g : 0);
20112   /* HPUX 7.0 cc rejects these. */
20113   ++pcpcc;
20114   ppc = (char**) pcpcc;
20115   pcpcc = (char const *const *) ppc;
20116   { /* SCO 3.2v4 cc rejects this sort of thing.  */
20117     char tx;
20118     char *t = &tx;
20119     char const *s = 0 ? (char *) 0 : (char const *) 0;
20120
20121     *t++ = 0;
20122     if (s) return 0;
20123   }
20124   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
20125     int x[] = {25, 17};
20126     const int *foo = &x[0];
20127     ++foo;
20128   }
20129   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20130     typedef const int *iptr;
20131     iptr p = 0;
20132     ++p;
20133   }
20134   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20135        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20136     struct s { int j; const int *ap[3]; } bx;
20137     struct s *b = &bx; b->j = 5;
20138   }
20139   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20140     const int foo = 10;
20141     if (!foo) return 0;
20142   }
20143   return !cs[0] && !zero.x;
20144 #endif
20145
20146   ;
20147   return 0;
20148 }
20149 _ACEOF
20150 if ac_fn_c_try_compile "$LINENO"; then :
20151   ac_cv_c_const=yes
20152 else
20153   ac_cv_c_const=no
20154 fi
20155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20156 fi
20157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20158 $as_echo "$ac_cv_c_const" >&6; }
20159 if test $ac_cv_c_const = no; then
20160
20161 $as_echo "#define const /**/" >>confdefs.h
20162
20163 fi
20164
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20166 $as_echo_n "checking for inline... " >&6; }
20167 if ${ac_cv_c_inline+:} false; then :
20168   $as_echo_n "(cached) " >&6
20169 else
20170   ac_cv_c_inline=no
20171 for ac_kw in inline __inline__ __inline; do
20172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20173 /* end confdefs.h.  */
20174 #ifndef __cplusplus
20175 typedef int foo_t;
20176 static $ac_kw foo_t static_foo () {return 0; }
20177 $ac_kw foo_t foo () {return 0; }
20178 #endif
20179
20180 _ACEOF
20181 if ac_fn_c_try_compile "$LINENO"; then :
20182   ac_cv_c_inline=$ac_kw
20183 fi
20184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20185   test "$ac_cv_c_inline" != no && break
20186 done
20187
20188 fi
20189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20190 $as_echo "$ac_cv_c_inline" >&6; }
20191
20192 case $ac_cv_c_inline in
20193   inline | yes) ;;
20194   *)
20195     case $ac_cv_c_inline in
20196       no) ac_val=;;
20197       *) ac_val=$ac_cv_c_inline;;
20198     esac
20199     cat >>confdefs.h <<_ACEOF
20200 #ifndef __cplusplus
20201 #define inline $ac_val
20202 #endif
20203 _ACEOF
20204     ;;
20205 esac
20206
20207
20208 # The cast to long int works around a bug in the HP C Compiler
20209 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20210 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20211 # This bug is HP SR number 8606223364.
20212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20213 $as_echo_n "checking size of short... " >&6; }
20214 if ${ac_cv_sizeof_short+:} false; then :
20215   $as_echo_n "(cached) " >&6
20216 else
20217   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
20218
20219 else
20220   if test "$ac_cv_type_short" = yes; then
20221      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20223 as_fn_error 77 "cannot compute sizeof (short)
20224 See \`config.log' for more details" "$LINENO" 5; }
20225    else
20226      ac_cv_sizeof_short=0
20227    fi
20228 fi
20229
20230 fi
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20232 $as_echo "$ac_cv_sizeof_short" >&6; }
20233
20234
20235
20236 cat >>confdefs.h <<_ACEOF
20237 #define SIZEOF_SHORT $ac_cv_sizeof_short
20238 _ACEOF
20239
20240
20241 # The cast to long int works around a bug in the HP C Compiler
20242 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20243 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20244 # This bug is HP SR number 8606223364.
20245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20246 $as_echo_n "checking size of void *... " >&6; }
20247 if ${ac_cv_sizeof_void_p+:} false; then :
20248   $as_echo_n "(cached) " >&6
20249 else
20250   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
20251
20252 else
20253   if test "$ac_cv_type_void_p" = yes; then
20254      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20256 as_fn_error 77 "cannot compute sizeof (void *)
20257 See \`config.log' for more details" "$LINENO" 5; }
20258    else
20259      ac_cv_sizeof_void_p=0
20260    fi
20261 fi
20262
20263 fi
20264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20265 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20266
20267
20268
20269 cat >>confdefs.h <<_ACEOF
20270 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20271 _ACEOF
20272
20273
20274 # The cast to long int works around a bug in the HP C Compiler
20275 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20276 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20277 # This bug is HP SR number 8606223364.
20278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20279 $as_echo_n "checking size of int... " >&6; }
20280 if ${ac_cv_sizeof_int+:} false; then :
20281   $as_echo_n "(cached) " >&6
20282 else
20283   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
20284
20285 else
20286   if test "$ac_cv_type_int" = yes; then
20287      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20289 as_fn_error 77 "cannot compute sizeof (int)
20290 See \`config.log' for more details" "$LINENO" 5; }
20291    else
20292      ac_cv_sizeof_int=0
20293    fi
20294 fi
20295
20296 fi
20297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20298 $as_echo "$ac_cv_sizeof_int" >&6; }
20299
20300
20301
20302 cat >>confdefs.h <<_ACEOF
20303 #define SIZEOF_INT $ac_cv_sizeof_int
20304 _ACEOF
20305
20306
20307 # The cast to long int works around a bug in the HP C Compiler
20308 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20309 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20310 # This bug is HP SR number 8606223364.
20311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20312 $as_echo_n "checking size of long... " >&6; }
20313 if ${ac_cv_sizeof_long+:} false; then :
20314   $as_echo_n "(cached) " >&6
20315 else
20316   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
20317
20318 else
20319   if test "$ac_cv_type_long" = yes; then
20320      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20322 as_fn_error 77 "cannot compute sizeof (long)
20323 See \`config.log' for more details" "$LINENO" 5; }
20324    else
20325      ac_cv_sizeof_long=0
20326    fi
20327 fi
20328
20329 fi
20330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20331 $as_echo "$ac_cv_sizeof_long" >&6; }
20332
20333
20334
20335 cat >>confdefs.h <<_ACEOF
20336 #define SIZEOF_LONG $ac_cv_sizeof_long
20337 _ACEOF
20338
20339
20340 # The cast to long int works around a bug in the HP C Compiler
20341 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20342 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20343 # This bug is HP SR number 8606223364.
20344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20345 $as_echo_n "checking size of size_t... " >&6; }
20346 if ${ac_cv_sizeof_size_t+:} false; then :
20347   $as_echo_n "(cached) " >&6
20348 else
20349   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
20350
20351 else
20352   if test "$ac_cv_type_size_t" = yes; then
20353      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20355 as_fn_error 77 "cannot compute sizeof (size_t)
20356 See \`config.log' for more details" "$LINENO" 5; }
20357    else
20358      ac_cv_sizeof_size_t=0
20359    fi
20360 fi
20361
20362 fi
20363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20364 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20365
20366
20367
20368 cat >>confdefs.h <<_ACEOF
20369 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20370 _ACEOF
20371
20372
20373
20374 case "${host}" in
20375     arm-*-linux* )
20376         # The cast to long int works around a bug in the HP C Compiler
20377 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20378 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20379 # This bug is HP SR number 8606223364.
20380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20381 $as_echo_n "checking size of long long... " >&6; }
20382 if ${ac_cv_sizeof_long_long+:} false; then :
20383   $as_echo_n "(cached) " >&6
20384 else
20385   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20386
20387 else
20388   if test "$ac_cv_type_long_long" = yes; then
20389      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20391 as_fn_error 77 "cannot compute sizeof (long long)
20392 See \`config.log' for more details" "$LINENO" 5; }
20393    else
20394      ac_cv_sizeof_long_long=0
20395    fi
20396 fi
20397
20398 fi
20399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20400 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20401
20402
20403
20404 cat >>confdefs.h <<_ACEOF
20405 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20406 _ACEOF
20407
20408
20409     ;;
20410     *-hp-hpux* )
20411         # The cast to long int works around a bug in the HP C Compiler
20412 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20413 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20414 # This bug is HP SR number 8606223364.
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20416 $as_echo_n "checking size of long long... " >&6; }
20417 if ${ac_cv_sizeof_long_long+:} false; then :
20418   $as_echo_n "(cached) " >&6
20419 else
20420   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20421
20422 else
20423   if test "$ac_cv_type_long_long" = yes; then
20424      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20426 as_fn_error 77 "cannot compute sizeof (long long)
20427 See \`config.log' for more details" "$LINENO" 5; }
20428    else
20429      ac_cv_sizeof_long_long=0
20430    fi
20431 fi
20432
20433 fi
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20435 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20436
20437
20438
20439 cat >>confdefs.h <<_ACEOF
20440 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20441 _ACEOF
20442
20443
20444         if test "$ac_cv_sizeof_long_long" != 0; then
20445                         CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20446         fi
20447     ;;
20448     * )
20449         # The cast to long int works around a bug in the HP C Compiler
20450 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20451 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20452 # This bug is HP SR number 8606223364.
20453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20454 $as_echo_n "checking size of long long... " >&6; }
20455 if ${ac_cv_sizeof_long_long+:} false; then :
20456   $as_echo_n "(cached) " >&6
20457 else
20458   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20459
20460 else
20461   if test "$ac_cv_type_long_long" = yes; then
20462      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20464 as_fn_error 77 "cannot compute sizeof (long long)
20465 See \`config.log' for more details" "$LINENO" 5; }
20466    else
20467      ac_cv_sizeof_long_long=0
20468    fi
20469 fi
20470
20471 fi
20472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20473 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20474
20475
20476
20477 cat >>confdefs.h <<_ACEOF
20478 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20479 _ACEOF
20480
20481
20482 esac
20483
20484 # The cast to long int works around a bug in the HP C Compiler
20485 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20486 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20487 # This bug is HP SR number 8606223364.
20488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20489 $as_echo_n "checking size of wchar_t... " >&6; }
20490 if ${ac_cv_sizeof_wchar_t+:} false; then :
20491   $as_echo_n "(cached) " >&6
20492 else
20493   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t"        "
20494         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20495         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20496         #  error \"fake wchar_t\"
20497         #endif
20498         #ifdef HAVE_WCHAR_H
20499         #  ifdef __CYGWIN__
20500         #    include <stddef.h>
20501         #  endif
20502         #  include <wchar.h>
20503         #endif
20504         #ifdef HAVE_STDLIB_H
20505         #  include <stdlib.h>
20506         #endif
20507         #include <stdio.h>
20508
20509
20510 "; then :
20511
20512 else
20513   if test "$ac_cv_type_wchar_t" = yes; then
20514      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20516 as_fn_error 77 "cannot compute sizeof (wchar_t)
20517 See \`config.log' for more details" "$LINENO" 5; }
20518    else
20519      ac_cv_sizeof_wchar_t=0
20520    fi
20521 fi
20522
20523 fi
20524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20525 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20526
20527
20528
20529 cat >>confdefs.h <<_ACEOF
20530 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20531 _ACEOF
20532
20533
20534 if test "$ac_cv_sizeof_wchar_t" = 0; then
20535     as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20536 fi
20537 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20538
20539
20540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20541 $as_echo_n "checking for va_copy... " >&6; }
20542 if ${wx_cv_func_va_copy+:} false; then :
20543   $as_echo_n "(cached) " >&6
20544 else
20545
20546         ac_ext=cpp
20547 ac_cpp='$CXXCPP $CPPFLAGS'
20548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20551
20552         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20553 /* end confdefs.h.  */
20554
20555
20556                 #include <stdarg.h>
20557                 void foo(char *f, ...)
20558                 {
20559                     va_list ap1, ap2;
20560                     va_start(ap1, f);
20561                     va_copy(ap2, ap1);
20562                     va_end(ap2);
20563                     va_end(ap1);
20564                 }
20565                 int main()
20566                 {
20567                     foo("hi", 17);
20568                     return 0;
20569                 }
20570
20571 _ACEOF
20572 if ac_fn_cxx_try_link "$LINENO"; then :
20573   wx_cv_func_va_copy=yes
20574 else
20575   wx_cv_func_va_copy=no
20576
20577 fi
20578 rm -f core conftest.err conftest.$ac_objext \
20579     conftest$ac_exeext conftest.$ac_ext
20580         ac_ext=c
20581 ac_cpp='$CPP $CPPFLAGS'
20582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20585
20586
20587
20588 fi
20589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20590 $as_echo "$wx_cv_func_va_copy" >&6; }
20591
20592 if test $wx_cv_func_va_copy = "yes"; then
20593     $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20594
20595 else
20596         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20597 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20598 if ${wx_cv_type_va_list_lvalue+:} false; then :
20599   $as_echo_n "(cached) " >&6
20600 else
20601
20602             if test "$cross_compiling" = yes; then :
20603                   wx_cv_type_va_list_lvalue=yes
20604
20605 else
20606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20607 /* end confdefs.h.  */
20608
20609
20610                     #include <stdarg.h>
20611                     int foo(char *f, ...)
20612                     {
20613                         va_list ap1, ap2;
20614                         va_start(ap1, f);
20615                         ap2 = ap1;
20616                         if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20617                             return 1;
20618                         va_end(ap2);
20619                         va_end(ap1);
20620                         return 0;
20621                     }
20622                     int main()
20623                     {
20624                         return foo("hi", 17);
20625                     }
20626
20627 _ACEOF
20628 if ac_fn_c_try_run "$LINENO"; then :
20629   wx_cv_type_va_list_lvalue=yes
20630 else
20631   wx_cv_type_va_list_lvalue=no
20632 fi
20633 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20634   conftest.$ac_objext conftest.beam conftest.$ac_ext
20635 fi
20636
20637
20638
20639 fi
20640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20641 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20642
20643     if test $wx_cv_type_va_list_lvalue != "yes"; then
20644                         $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20645
20646     fi
20647 fi
20648
20649 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20650
20651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20652 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20653 if ${wx_cv_have_variadic_macros+:} false; then :
20654   $as_echo_n "(cached) " >&6
20655 else
20656
20657                         ac_ext=cpp
20658 ac_cpp='$CXXCPP $CPPFLAGS'
20659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20662
20663         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20664 /* end confdefs.h.  */
20665
20666
20667                     #include <stdio.h>
20668                     #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20669
20670 int
20671 main ()
20672 {
20673
20674                     test("%s %d %p", "test", 1, 0);
20675
20676
20677   ;
20678   return 0;
20679 }
20680 _ACEOF
20681 if ac_fn_cxx_try_compile "$LINENO"; then :
20682   wx_cv_have_variadic_macros=yes
20683 else
20684   wx_cv_have_variadic_macros=no
20685
20686 fi
20687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20688         ac_ext=c
20689 ac_cpp='$CPP $CPPFLAGS'
20690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20693
20694
20695
20696 fi
20697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20698 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20699
20700 if test $wx_cv_have_variadic_macros = "yes"; then
20701     $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20702
20703 fi
20704
20705 fi
20706
20707 LARGEFILE_CPPFLAGS=
20708 # Check whether --enable-largefile was given.
20709 if test "${enable_largefile+set}" = set; then :
20710   enableval=$enable_largefile;
20711 fi
20712
20713 if test "$enable_largefile" != no; then
20714             wx_largefile=no
20715
20716     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20717 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20718 if ${ac_cv_sys_file_offset_bits+:} false; then :
20719   $as_echo_n "(cached) " >&6
20720 else
20721
20722           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20723 /* end confdefs.h.  */
20724 #define _FILE_OFFSET_BITS 64
20725                           #include <sys/types.h>
20726 int
20727 main ()
20728 {
20729 typedef struct {
20730     unsigned int field: sizeof(off_t) == 8;
20731 } wxlf;
20732
20733   ;
20734   return 0;
20735 }
20736 _ACEOF
20737 if ac_fn_c_try_compile "$LINENO"; then :
20738   ac_cv_sys_file_offset_bits=64
20739 else
20740   ac_cv_sys_file_offset_bits=no
20741 fi
20742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20743
20744
20745 fi
20746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20747 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20748
20749     if test "$ac_cv_sys_file_offset_bits" != no; then
20750         wx_largefile=yes
20751         cat >>confdefs.h <<_ACEOF
20752 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20753 _ACEOF
20754
20755     fi
20756
20757     if test "x$wx_largefile" != "xyes"; then
20758
20759     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20760 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20761 if ${ac_cv_sys_large_files+:} false; then :
20762   $as_echo_n "(cached) " >&6
20763 else
20764
20765           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20766 /* end confdefs.h.  */
20767 #define _LARGE_FILES 1
20768                           #include <sys/types.h>
20769 int
20770 main ()
20771 {
20772 typedef struct {
20773     unsigned int field: sizeof(off_t) == 8;
20774 } wxlf;
20775
20776   ;
20777   return 0;
20778 }
20779 _ACEOF
20780 if ac_fn_c_try_compile "$LINENO"; then :
20781   ac_cv_sys_large_files=1
20782 else
20783   ac_cv_sys_large_files=no
20784 fi
20785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20786
20787
20788 fi
20789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20790 $as_echo "$ac_cv_sys_large_files" >&6; }
20791
20792     if test "$ac_cv_sys_large_files" != no; then
20793         wx_largefile=yes
20794         cat >>confdefs.h <<_ACEOF
20795 #define _LARGE_FILES $ac_cv_sys_large_files
20796 _ACEOF
20797
20798     fi
20799
20800     fi
20801
20802     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20803 $as_echo_n "checking if large file support is available... " >&6; }
20804     if test "x$wx_largefile" = "xyes"; then
20805         $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20806
20807     fi
20808     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20809 $as_echo "$wx_largefile" >&6; }
20810 fi
20811
20812 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20813     LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20814 elif test "$ac_cv_sys_large_files" = 1; then
20815     LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20816 fi
20817
20818 if test -n "$LARGEFILE_CPPFLAGS"; then
20819     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20820
20821                             if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20822         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20823 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20824 if ${wx_cv_STDC_EXT_required+:} false; then :
20825   $as_echo_n "(cached) " >&6
20826 else
20827
20828                 ac_ext=cpp
20829 ac_cpp='$CXXCPP $CPPFLAGS'
20830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20833
20834                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20835 /* end confdefs.h.  */
20836
20837 int
20838 main ()
20839 {
20840
20841                         #ifndef __STDC_EXT__
20842                             choke me
20843                         #endif
20844
20845   ;
20846   return 0;
20847 }
20848 _ACEOF
20849 if ac_fn_cxx_try_compile "$LINENO"; then :
20850   wx_cv_STDC_EXT_required=no
20851 else
20852   wx_cv_STDC_EXT_required=yes
20853
20854 fi
20855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20856                 ac_ext=c
20857 ac_cpp='$CPP $CPPFLAGS'
20858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20861
20862
20863
20864 fi
20865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20866 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20867         if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20868             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20869         fi
20870     fi
20871 fi
20872
20873 ac_ext=cpp
20874 ac_cpp='$CXXCPP $CPPFLAGS'
20875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20878
20879 old_CPPFLAGS="$CPPFLAGS"
20880 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20882 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20883 if ${ac_cv_sys_largefile_source+:} false; then :
20884   $as_echo_n "(cached) " >&6
20885 else
20886   while :; do
20887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20888 /* end confdefs.h.  */
20889 #include <sys/types.h> /* for off_t */
20890      #include <stdio.h>
20891 int
20892 main ()
20893 {
20894 int (*fp) (FILE *, off_t, int) = fseeko;
20895      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20896   ;
20897   return 0;
20898 }
20899 _ACEOF
20900 if ac_fn_cxx_try_link "$LINENO"; then :
20901   ac_cv_sys_largefile_source=no; break
20902 fi
20903 rm -f core conftest.err conftest.$ac_objext \
20904     conftest$ac_exeext conftest.$ac_ext
20905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20906 /* end confdefs.h.  */
20907 #define _LARGEFILE_SOURCE 1
20908 #include <sys/types.h> /* for off_t */
20909      #include <stdio.h>
20910 int
20911 main ()
20912 {
20913 int (*fp) (FILE *, off_t, int) = fseeko;
20914      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20915   ;
20916   return 0;
20917 }
20918 _ACEOF
20919 if ac_fn_cxx_try_link "$LINENO"; then :
20920   ac_cv_sys_largefile_source=1; break
20921 fi
20922 rm -f core conftest.err conftest.$ac_objext \
20923     conftest$ac_exeext conftest.$ac_ext
20924   ac_cv_sys_largefile_source=unknown
20925   break
20926 done
20927 fi
20928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20929 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20930 case $ac_cv_sys_largefile_source in #(
20931   no | unknown) ;;
20932   *)
20933 cat >>confdefs.h <<_ACEOF
20934 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20935 _ACEOF
20936 ;;
20937 esac
20938 rm -rf conftest*
20939
20940 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20941 # in glibc 2.1.3, but that breaks too many other things.
20942 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20943 if test $ac_cv_sys_largefile_source != unknown; then
20944
20945 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20946
20947 fi
20948
20949 CPPFLAGS="$old_CPPFLAGS"
20950 ac_ext=c
20951 ac_cpp='$CPP $CPPFLAGS'
20952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20955
20956 if test "$ac_cv_sys_largefile_source" != no; then
20957     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20958 fi
20959
20960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20961 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20962 if ${ac_cv_c_bigendian+:} false; then :
20963   $as_echo_n "(cached) " >&6
20964 else
20965   ac_cv_c_bigendian=unknown
20966 # See if sys/param.h defines the BYTE_ORDER macro.
20967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20968 /* end confdefs.h.  */
20969 #include <sys/types.h>
20970 #include <sys/param.h>
20971 int
20972 main ()
20973 {
20974
20975 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20976  bogus endian macros
20977 #endif
20978   ;
20979   return 0;
20980 }
20981 _ACEOF
20982 if ac_fn_c_try_compile "$LINENO"; then :
20983   # It does; now see whether it defined to BIG_ENDIAN or not.
20984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20985 /* end confdefs.h.  */
20986 #include <sys/types.h>
20987 #include <sys/param.h>
20988 int
20989 main ()
20990 {
20991
20992 #if BYTE_ORDER != BIG_ENDIAN
20993  not big endian
20994 #endif
20995   ;
20996   return 0;
20997 }
20998 _ACEOF
20999 if ac_fn_c_try_compile "$LINENO"; then :
21000   ac_cv_c_bigendian=yes
21001 else
21002   ac_cv_c_bigendian=no
21003 fi
21004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21005 fi
21006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21007 if test $ac_cv_c_bigendian = unknown; then
21008 if test "$cross_compiling" = yes; then :
21009   ac_cv_c_bigendian=unknown
21010 else
21011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21012 /* end confdefs.h.  */
21013 main () {
21014   /* Are we little or big endian?  From Harbison&Steele.  */
21015   union
21016   {
21017     long l;
21018     char c[sizeof (long)];
21019   } u;
21020   u.l = 1;
21021   exit (u.c[sizeof (long) - 1] == 1);
21022 }
21023 _ACEOF
21024 if ac_fn_c_try_run "$LINENO"; then :
21025   ac_cv_c_bigendian=no
21026 else
21027   ac_cv_c_bigendian=yes
21028 fi
21029 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21030   conftest.$ac_objext conftest.beam conftest.$ac_ext
21031 fi
21032
21033 fi
21034 fi
21035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21036 $as_echo "$ac_cv_c_bigendian" >&6; }
21037 if test $ac_cv_c_bigendian = unknown; then
21038   { $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
21039 $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;}
21040 fi
21041 if test $ac_cv_c_bigendian = yes; then
21042   $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21043
21044 fi
21045
21046
21047
21048
21049     ac_ext=cpp
21050 ac_cpp='$CXXCPP $CPPFLAGS'
21051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21054
21055
21056     for ac_header in iostream
21057 do :
21058   ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
21059 "
21060 if test "x$ac_cv_header_iostream" = xyes; then :
21061   cat >>confdefs.h <<_ACEOF
21062 #define HAVE_IOSTREAM 1
21063 _ACEOF
21064
21065 fi
21066
21067 done
21068
21069
21070     if test "$ac_cv_header_iostream" = "yes" ; then
21071       :
21072     else
21073       $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21074
21075     fi
21076
21077     ac_ext=c
21078 ac_cpp='$CPP $CPPFLAGS'
21079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21082
21083
21084
21085
21086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21087 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21088 if ${wx_cv_explicit+:} false; then :
21089   $as_echo_n "(cached) " >&6
21090 else
21091
21092
21093     ac_ext=cpp
21094 ac_cpp='$CXXCPP $CPPFLAGS'
21095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21098
21099
21100             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21101 /* end confdefs.h.  */
21102
21103         class Foo { public: explicit Foo(int) {} };
21104
21105 int
21106 main ()
21107 {
21108
21109         return 0;
21110
21111   ;
21112   return 0;
21113 }
21114 _ACEOF
21115 if ac_fn_cxx_try_compile "$LINENO"; then :
21116
21117         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21118 /* end confdefs.h.  */
21119
21120                 class Foo { public: explicit Foo(int) {} };
21121                 static void TakeFoo(const Foo& foo) { }
21122
21123 int
21124 main ()
21125 {
21126
21127                 TakeFoo(17);
21128                 return 0;
21129
21130   ;
21131   return 0;
21132 }
21133 _ACEOF
21134 if ac_fn_cxx_try_compile "$LINENO"; then :
21135   wx_cv_explicit=no
21136 else
21137   wx_cv_explicit=yes
21138
21139 fi
21140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21141
21142 else
21143   wx_cv_explicit=no
21144
21145 fi
21146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21147
21148     ac_ext=c
21149 ac_cpp='$CPP $CPPFLAGS'
21150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21153
21154
21155 fi
21156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21157 $as_echo "$wx_cv_explicit" >&6; }
21158
21159   if test "$wx_cv_explicit" = "yes"; then
21160     $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21161
21162   fi
21163
21164
21165 if test "x$SUNCXX" = xyes; then
21166     CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21167 fi
21168
21169 if test "x$SUNCC" = xyes; then
21170     CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21171 fi
21172
21173 if test "x$SGICC" = "xyes"; then
21174     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21175 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21176 if ${wx_cv_prog_sgicc744+:} false; then :
21177   $as_echo_n "(cached) " >&6
21178 else
21179
21180             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21181 /* end confdefs.h.  */
21182
21183 int
21184 main ()
21185 {
21186
21187                     #if _SGI_COMPILER_VERSION >= 744
21188                     chock me: mipsPro is 7.4.4 or later
21189                     #endif
21190
21191   ;
21192   return 0;
21193 }
21194 _ACEOF
21195 if ac_fn_c_try_compile "$LINENO"; then :
21196   wx_cv_prog_sgicc744=no
21197 else
21198   wx_cv_prog_sgicc744=yes
21199
21200 fi
21201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21202
21203
21204 fi
21205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21206 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21207
21208     if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21209         CFLAGS="-woff 3970 $CFLAGS"
21210     fi
21211 fi
21212 if test "x$SGICXX" = "xyes"; then
21213     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21214 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21215 if ${wx_cv_prog_sgicxx744+:} false; then :
21216   $as_echo_n "(cached) " >&6
21217 else
21218
21219             ac_ext=cpp
21220 ac_cpp='$CXXCPP $CPPFLAGS'
21221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21224
21225             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21226 /* end confdefs.h.  */
21227
21228 int
21229 main ()
21230 {
21231
21232                     #if _SGI_COMPILER_VERSION >= 744
21233                     chock me: mipsPro is 7.4.4 or later
21234                     #endif
21235
21236   ;
21237   return 0;
21238 }
21239 _ACEOF
21240 if ac_fn_cxx_try_compile "$LINENO"; then :
21241   wx_cv_prog_sgicxx744=no
21242 else
21243   wx_cv_prog_sgicxx744=yes
21244
21245 fi
21246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21247             ac_ext=c
21248 ac_cpp='$CPP $CPPFLAGS'
21249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21252
21253
21254
21255 fi
21256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21257 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21258
21259     if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21260         CXXFLAGS="-woff 3970 $CXXFLAGS"
21261     fi
21262 fi
21263
21264 if test "x$HPCC" = "xyes"; then
21265                     CFLAGS="+W 2011,2450 $CFLAGS"
21266 fi
21267 if test "x$HPCXX" = "xyes"; then
21268                             CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21269 fi
21270
21271 if test "x$COMPAQCXX" = "xyes"; then
21272                                 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21273 fi
21274
21275 ac_ext=cpp
21276 ac_cpp='$CXXCPP $CPPFLAGS'
21277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21280
21281
21282 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21283     if test "$wxUSE_UNICODE" = "yes"; then
21284         std_string="std::wstring"
21285         char_type="wchar_t"
21286     else
21287         std_string="std::string"
21288         char_type="char"
21289     fi
21290
21291         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21292 $as_echo_n "checking for $std_string in <string>... " >&6; }
21293 if ${wx_cv_class_stdstring+:} false; then :
21294   $as_echo_n "(cached) " >&6
21295 else
21296
21297             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21298 /* end confdefs.h.  */
21299 #include <string>
21300 int
21301 main ()
21302 {
21303 $std_string foo;
21304   ;
21305   return 0;
21306 }
21307 _ACEOF
21308 if ac_fn_cxx_try_compile "$LINENO"; then :
21309   wx_cv_class_stdstring=yes
21310 else
21311   wx_cv_class_stdstring=no
21312
21313 fi
21314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21315
21316
21317 fi
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21319 $as_echo "$wx_cv_class_stdstring" >&6; }
21320
21321     if test "$wx_cv_class_stdstring" = yes; then
21322         if test "$wxUSE_UNICODE" = "yes"; then
21323             $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21324
21325         fi
21326                     else
21327         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21328 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21329 if ${wx_cv_class_stdbasicstring+:} false; then :
21330   $as_echo_n "(cached) " >&6
21331 else
21332
21333                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21334 /* end confdefs.h.  */
21335
21336                     #ifdef HAVE_WCHAR_H
21337                     #  ifdef __CYGWIN__
21338                     #    include <stddef.h>
21339                     #  endif
21340                     #  include <wchar.h>
21341                     #endif
21342                     #ifdef HAVE_STDLIB_H
21343                     #  include <stdlib.h>
21344                     #endif
21345                     #include <stdio.h>
21346                     #include <string>
21347
21348 int
21349 main ()
21350 {
21351 std::basic_string<$char_type> foo;
21352                      const $char_type* dummy = foo.c_str();
21353   ;
21354   return 0;
21355 }
21356 _ACEOF
21357 if ac_fn_cxx_try_compile "$LINENO"; then :
21358   wx_cv_class_stdbasicstring=yes
21359 else
21360   wx_cv_class_stdbasicstring=no
21361
21362 fi
21363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21364
21365
21366 fi
21367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21368 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21369
21370         if test "$wx_cv_class_stdbasicstring" != yes; then
21371             if test "$wxUSE_STL" = "yes"; then
21372                 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21373             elif test "$wxUSE_STD_STRING" = "yes"; then
21374                 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21375             else
21376                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21377 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21378                 wxUSE_STD_STRING=no
21379             fi
21380         fi
21381     fi
21382 fi
21383
21384 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21385     ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21386 "
21387 if test "x$ac_cv_type_std__istream" = xyes; then :
21388
21389 cat >>confdefs.h <<_ACEOF
21390 #define HAVE_STD__ISTREAM 1
21391 _ACEOF
21392
21393
21394 else
21395   wxUSE_STD_IOSTREAM=no
21396 fi
21397 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21398 "
21399 if test "x$ac_cv_type_std__ostream" = xyes; then :
21400
21401 cat >>confdefs.h <<_ACEOF
21402 #define HAVE_STD__OSTREAM 1
21403 _ACEOF
21404
21405
21406 else
21407   wxUSE_STD_IOSTREAM=no
21408 fi
21409
21410
21411     if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21412         if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21413             as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21414         else
21415             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21416 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21417         fi
21418     fi
21419 fi
21420
21421 if test "$wxUSE_STL" = "yes"; then
21422         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21423 $as_echo_n "checking for basic STL functionality... " >&6; }
21424 if ${wx_cv_lib_stl+:} false; then :
21425   $as_echo_n "(cached) " >&6
21426 else
21427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21428 /* end confdefs.h.  */
21429 #include <string>
21430             #include <functional>
21431             #include <algorithm>
21432             #include <vector>
21433             #include <list>
21434 int
21435 main ()
21436 {
21437 std::vector<int> moo;
21438              std::list<int> foo;
21439              std::vector<int>::iterator it =
21440                  std::find_if(moo.begin(), moo.end(),
21441                               std::bind2nd(std::less<int>(), 3));
21442   ;
21443   return 0;
21444 }
21445 _ACEOF
21446 if ac_fn_cxx_try_compile "$LINENO"; then :
21447   wx_cv_lib_stl=yes
21448 else
21449   wx_cv_lib_stl=no
21450
21451 fi
21452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21453
21454 fi
21455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21456 $as_echo "$wx_cv_lib_stl" >&6; }
21457
21458     if test "$wx_cv_lib_stl" != yes; then
21459          as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21460     fi
21461
21462         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21463 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21464 if ${wx_cv_func_stdstring_compare+:} false; then :
21465   $as_echo_n "(cached) " >&6
21466 else
21467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21468 /* end confdefs.h.  */
21469 #include <string>
21470 int
21471 main ()
21472 {
21473 std::string foo, bar;
21474             foo.compare(bar);
21475             foo.compare(1, 1, bar);
21476             foo.compare(1, 1, bar, 1, 1);
21477             foo.compare("");
21478             foo.compare(1, 1, "");
21479             foo.compare(1, 1, "", 2);
21480   ;
21481   return 0;
21482 }
21483 _ACEOF
21484 if ac_fn_cxx_try_compile "$LINENO"; then :
21485   wx_cv_func_stdstring_compare=yes
21486 else
21487   wx_cv_func_stdstring_compare=no
21488
21489 fi
21490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21491
21492 fi
21493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21494 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21495
21496     if test "$wx_cv_func_stdstring_compare" = yes; then
21497         $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21498
21499     fi
21500
21501     if test "$wx_cv_class_gnuhashmapset" = yes; then
21502          $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21503
21504          $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21505
21506     fi
21507
21508     ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21509
21510 "
21511 if test "x$ac_cv_header_unordered_map" = xyes; then :
21512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21513 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21514 if ${wx_cv_class_stdunorderedmapset+:} false; then :
21515   $as_echo_n "(cached) " >&6
21516 else
21517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21518 /* end confdefs.h.  */
21519 #include <unordered_map>
21520                 #include <unordered_set>
21521 int
21522 main ()
21523 {
21524 std::unordered_map<double*, char*> test1;
21525                  std::unordered_set<char*> test2;
21526   ;
21527   return 0;
21528 }
21529 _ACEOF
21530 if ac_fn_cxx_try_compile "$LINENO"; then :
21531   wx_cv_class_stdunorderedmapset=yes
21532 else
21533   wx_cv_class_stdunorderedmapset=no
21534 fi
21535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21536
21537
21538 fi
21539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21540 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21541 fi
21542
21543
21544
21545     if test "$wx_cv_class_stdunorderedmapset" = yes; then
21546          $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21547
21548          $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21549
21550     else
21551         ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21552
21553 "
21554 if test "x$ac_cv_header_tr1_unordered_map" = xyes; then :
21555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21556 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21557 if ${wx_cv_class_tr1unorderedmapset+:} false; then :
21558   $as_echo_n "(cached) " >&6
21559 else
21560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21561 /* end confdefs.h.  */
21562 #include <tr1/unordered_map>
21563                     #include <tr1/unordered_set>
21564 int
21565 main ()
21566 {
21567 std::tr1::unordered_map<double*, char*> test1;
21568                      std::tr1::unordered_set<char*> test2;
21569             #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21570             #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21571             #endif
21572   ;
21573   return 0;
21574 }
21575 _ACEOF
21576 if ac_fn_cxx_try_compile "$LINENO"; then :
21577   wx_cv_class_tr1unorderedmapset=yes
21578 else
21579   wx_cv_class_tr1unorderedmapset=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_tr1unorderedmapset" >&5
21586 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21587 fi
21588
21589
21590
21591         if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21592             $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21593
21594             $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21595
21596         else
21597                         ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21598
21599 "
21600 if test "x$ac_cv_header_hash_map" = xyes; then :
21601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21602 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21603 if ${wx_cv_class_stdhashmapset+:} false; then :
21604   $as_echo_n "(cached) " >&6
21605 else
21606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21607 /* end confdefs.h.  */
21608 #include <hash_map>
21609                         #include <hash_set>
21610 int
21611 main ()
21612 {
21613 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21614                          std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21615   ;
21616   return 0;
21617 }
21618 _ACEOF
21619 if ac_fn_cxx_try_compile "$LINENO"; then :
21620   wx_cv_class_stdhashmapset=yes
21621 else
21622   wx_cv_class_stdhashmapset=no
21623 fi
21624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21625
21626
21627 fi
21628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21629 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21630 fi
21631
21632
21633
21634             if test "$wx_cv_class_stdhashmapset" = yes; then
21635                 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21636
21637                 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21638
21639             fi
21640
21641             ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21642
21643 "
21644 if test "x$ac_cv_header_ext_hash_map" = xyes; then :
21645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21646 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21647 if ${wx_cv_class_gnuhashmapset+:} false; then :
21648   $as_echo_n "(cached) " >&6
21649 else
21650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21651 /* end confdefs.h.  */
21652 #include <ext/hash_map>
21653                         #include <ext/hash_set>
21654 int
21655 main ()
21656 {
21657 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21658                          __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21659   ;
21660   return 0;
21661 }
21662 _ACEOF
21663 if ac_fn_cxx_try_compile "$LINENO"; then :
21664   wx_cv_class_gnuhashmapset=yes
21665 else
21666   wx_cv_class_gnuhashmapset=no
21667 fi
21668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21669
21670
21671 fi
21672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21673 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21674 fi
21675
21676
21677
21678         fi
21679     fi
21680 fi
21681
21682 ac_ext=cpp
21683 ac_cpp='$CXXCPP $CPPFLAGS'
21684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21688 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21689 if test -z "$CXXCPP"; then
21690   if ${ac_cv_prog_CXXCPP+:} false; then :
21691   $as_echo_n "(cached) " >&6
21692 else
21693       # Double quotes because CXXCPP needs to be expanded
21694     for CXXCPP in "$CXX -E" "/lib/cpp"
21695     do
21696       ac_preproc_ok=false
21697 for ac_cxx_preproc_warn_flag in '' yes
21698 do
21699   # Use a header file that comes with gcc, so configuring glibc
21700   # with a fresh cross-compiler works.
21701   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21702   # <limits.h> exists even on freestanding compilers.
21703   # On the NeXT, cc -E runs the code through the compiler's parser,
21704   # not just through cpp. "Syntax error" is here to catch this case.
21705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21706 /* end confdefs.h.  */
21707 #ifdef __STDC__
21708 # include <limits.h>
21709 #else
21710 # include <assert.h>
21711 #endif
21712                      Syntax error
21713 _ACEOF
21714 if ac_fn_cxx_try_cpp "$LINENO"; then :
21715
21716 else
21717   # Broken: fails on valid input.
21718 continue
21719 fi
21720 rm -f conftest.err conftest.i conftest.$ac_ext
21721
21722   # OK, works on sane cases.  Now check whether nonexistent headers
21723   # can be detected and how.
21724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21725 /* end confdefs.h.  */
21726 #include <ac_nonexistent.h>
21727 _ACEOF
21728 if ac_fn_cxx_try_cpp "$LINENO"; then :
21729   # Broken: success on invalid input.
21730 continue
21731 else
21732   # Passes both tests.
21733 ac_preproc_ok=:
21734 break
21735 fi
21736 rm -f conftest.err conftest.i conftest.$ac_ext
21737
21738 done
21739 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21740 rm -f conftest.i conftest.err conftest.$ac_ext
21741 if $ac_preproc_ok; then :
21742   break
21743 fi
21744
21745     done
21746     ac_cv_prog_CXXCPP=$CXXCPP
21747
21748 fi
21749   CXXCPP=$ac_cv_prog_CXXCPP
21750 else
21751   ac_cv_prog_CXXCPP=$CXXCPP
21752 fi
21753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21754 $as_echo "$CXXCPP" >&6; }
21755 ac_preproc_ok=false
21756 for ac_cxx_preproc_warn_flag in '' yes
21757 do
21758   # Use a header file that comes with gcc, so configuring glibc
21759   # with a fresh cross-compiler works.
21760   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21761   # <limits.h> exists even on freestanding compilers.
21762   # On the NeXT, cc -E runs the code through the compiler's parser,
21763   # not just through cpp. "Syntax error" is here to catch this case.
21764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21765 /* end confdefs.h.  */
21766 #ifdef __STDC__
21767 # include <limits.h>
21768 #else
21769 # include <assert.h>
21770 #endif
21771                      Syntax error
21772 _ACEOF
21773 if ac_fn_cxx_try_cpp "$LINENO"; then :
21774
21775 else
21776   # Broken: fails on valid input.
21777 continue
21778 fi
21779 rm -f conftest.err conftest.i conftest.$ac_ext
21780
21781   # OK, works on sane cases.  Now check whether nonexistent headers
21782   # can be detected and how.
21783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21784 /* end confdefs.h.  */
21785 #include <ac_nonexistent.h>
21786 _ACEOF
21787 if ac_fn_cxx_try_cpp "$LINENO"; then :
21788   # Broken: success on invalid input.
21789 continue
21790 else
21791   # Passes both tests.
21792 ac_preproc_ok=:
21793 break
21794 fi
21795 rm -f conftest.err conftest.i conftest.$ac_ext
21796
21797 done
21798 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21799 rm -f conftest.i conftest.err conftest.$ac_ext
21800 if $ac_preproc_ok; then :
21801
21802 else
21803   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21805 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21806 See \`config.log' for more details" "$LINENO" 5; }
21807 fi
21808
21809 ac_ext=cpp
21810 ac_cpp='$CXXCPP $CPPFLAGS'
21811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21814
21815
21816 for ac_header in type_traits tr1/type_traits
21817 do :
21818   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21819 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21820 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21821   cat >>confdefs.h <<_ACEOF
21822 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21823 _ACEOF
21824
21825 fi
21826
21827 done
21828
21829
21830
21831
21832   if test -n "$GCC"; then
21833     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21834 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21835     if ${wx_cv_cc_gcc_atomic_builtins+:} false; then :
21836   $as_echo_n "(cached) " >&6
21837 else
21838
21839       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21840 /* end confdefs.h.  */
21841
21842 int
21843 main ()
21844 {
21845
21846           unsigned int value=0;
21847           /* wxAtomicInc doesn't use return value here */
21848           __sync_fetch_and_add(&value, 2);
21849           __sync_sub_and_fetch(&value, 1);
21850           /* but wxAtomicDec does, so mimic that: */
21851           unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21852
21853   ;
21854   return 0;
21855 }
21856 _ACEOF
21857 if ac_fn_cxx_try_link "$LINENO"; then :
21858   wx_cv_cc_gcc_atomic_builtins=yes
21859 else
21860   wx_cv_cc_gcc_atomic_builtins=no
21861 fi
21862 rm -f core conftest.err conftest.$ac_objext \
21863     conftest$ac_exeext conftest.$ac_ext
21864
21865 fi
21866
21867     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21868 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21869     if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21870       $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21871
21872     fi
21873   fi
21874
21875
21876 ac_ext=c
21877 ac_cpp='$CPP $CPPFLAGS'
21878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21881
21882
21883
21884 SEARCH_INCLUDE="\
21885     /usr/local/include        \
21886     /usr/local/X11/include    \
21887     /usr/local/include/X11    \
21888     /usr/local/X11R7/include  \
21889     /usr/local/X11R6/include  \
21890     /usr/local/include/X11R7  \
21891     /usr/local/include/X11R6  \
21892                               \
21893     /usr/Motif-2.1/include    \
21894     /usr/Motif-1.2/include    \
21895     /usr/include/Motif1.2     \
21896                               \
21897     /usr/dt/include           \
21898     /usr/openwin/include      \
21899                               \
21900     /usr/include/Xm           \
21901                               \
21902     /usr/X11R7/include        \
21903     /usr/X11R6/include        \
21904     /usr/X11R6.4/include      \
21905                               \
21906     /usr/include/X11R7        \
21907     /usr/include/X11R6        \
21908                               \
21909     /usr/X11/include          \
21910     /usr/include/X11          \
21911                               \
21912     /usr/XFree86/include/X11  \
21913     /usr/pkg/include          \
21914                               \
21915     /usr/local/X1R5/include  \
21916     /usr/local/include/X11R5  \
21917     /usr/X11R5/include        \
21918     /usr/include/X11R5        \
21919                               \
21920     /usr/local/X11R4/include  \
21921     /usr/local/include/X11R4  \
21922     /usr/X11R4/include        \
21923     /usr/include/X11R4        \
21924                               \
21925     /usr/openwin/share/include"
21926
21927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21928 $as_echo_n "checking for libraries directories... " >&6; }
21929
21930 case "${host}" in
21931     *-*-irix6* )
21932         if ${wx_cv_std_libpath+:} false; then :
21933   $as_echo_n "(cached) " >&6
21934 else
21935
21936                 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
21937                     for e in a so sl dylib dll.a; do
21938                         libc="$d/libc.$e"
21939                         if test -f $libc; then
21940                             save_LIBS="$LIBS"
21941                             LIBS="$libc"
21942                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21943 /* end confdefs.h.  */
21944
21945                                     int main() { return 0; }
21946
21947 _ACEOF
21948 if ac_fn_c_try_link "$LINENO"; then :
21949   wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
21950 fi
21951 rm -f core conftest.err conftest.$ac_objext \
21952     conftest$ac_exeext conftest.$ac_ext
21953                             LIBS="$save_LIBS"
21954                             if test "x$wx_cv_std_libpath" != "x"; then
21955                                 break 2
21956                             fi
21957                         fi
21958                     done
21959                 done
21960
21961
21962 fi
21963
21964         ;;
21965
21966     *-*-solaris2* )
21967                 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21968             wx_cv_std_libpath="lib/64"
21969         fi
21970         ;;
21971
21972     *-*-linux* )
21973                                         if test "$ac_cv_sizeof_void_p" = 8; then
21974             if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21975                 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
21976             elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21977                 wx_cv_std_libpath="lib64"
21978             fi
21979         else
21980             case "${host}" in
21981                 i*86-*-linux* )
21982                     if test -d '/usr/lib/i386-linux-gnu'; then
21983                         wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
21984                     fi
21985             esac
21986         fi
21987
21988                                 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
21989             wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
21990         fi
21991         ;;
21992 esac
21993
21994 if test -z "$wx_cv_std_libpath"; then
21995     wx_cv_std_libpath="lib"
21996 fi
21997
21998 if test -z "$wx_cv_std_libfullpath"; then
21999     wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
22000 fi
22001
22002
22003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
22004 $as_echo "$wx_cv_std_libfullpath" >&6; }
22005
22006 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22007
22008 if test "$build" != "$host" -a "$GCC" = yes; then
22009                     if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
22010         cross_root=`dirname $cross_root`
22011         cross_root=`dirname $cross_root`
22012
22013                         SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22014         SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22015         SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
22016
22017                 if test -z "$PKG_CONFIG_PATH"; then
22018             PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22019             export PKG_CONFIG_PATH
22020         fi
22021
22022                                 if test -z "$x_includes" -o "$x_includes" = NONE; then
22023
22024 ac_find_includes=
22025 for ac_dir in $SEARCH_INCLUDE /usr/include
22026   do
22027     if test -f "$ac_dir/X11/Intrinsic.h"; then
22028       ac_find_includes=$ac_dir
22029       break
22030     fi
22031   done
22032
22033             x_includes=$ac_find_includes
22034         fi
22035         if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22036
22037   ac_find_libraries=
22038   for ac_dir in  $SEARCH_LIB
22039   do
22040     for ac_extension in a so sl dylib dll.a; do
22041       if test -f "$ac_dir/libXt.$ac_extension"; then
22042         ac_find_libraries=$ac_dir
22043         break 2
22044       fi
22045     done
22046   done
22047
22048             x_libraries=$ac_find_libraries
22049         fi
22050     fi
22051 fi
22052
22053
22054 cat >confcache <<\_ACEOF
22055 # This file is a shell script that caches the results of configure
22056 # tests run on this system so they can be shared between configure
22057 # scripts and configure runs, see configure's option --config-cache.
22058 # It is not useful on other systems.  If it contains results you don't
22059 # want to keep, you may remove or edit it.
22060 #
22061 # config.status only pays attention to the cache file if you give it
22062 # the --recheck option to rerun configure.
22063 #
22064 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22065 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22066 # following values.
22067
22068 _ACEOF
22069
22070 # The following way of writing the cache mishandles newlines in values,
22071 # but we know of no workaround that is simple, portable, and efficient.
22072 # So, we kill variables containing newlines.
22073 # Ultrix sh set writes to stderr and can't be redirected directly,
22074 # and sets the high bit in the cache file unless we assign to the vars.
22075 (
22076   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22077     eval ac_val=\$$ac_var
22078     case $ac_val in #(
22079     *${as_nl}*)
22080       case $ac_var in #(
22081       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22082 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22083       esac
22084       case $ac_var in #(
22085       _ | IFS | as_nl) ;; #(
22086       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22087       *) { eval $ac_var=; unset $ac_var;} ;;
22088       esac ;;
22089     esac
22090   done
22091
22092   (set) 2>&1 |
22093     case $as_nl`(ac_space=' '; set) 2>&1` in #(
22094     *${as_nl}ac_space=\ *)
22095       # `set' does not quote correctly, so add quotes: double-quote
22096       # substitution turns \\\\ into \\, and sed turns \\ into \.
22097       sed -n \
22098         "s/'/'\\\\''/g;
22099           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22100       ;; #(
22101     *)
22102       # `set' quotes correctly as required by POSIX, so do not add quotes.
22103       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22104       ;;
22105     esac |
22106     sort
22107 ) |
22108   sed '
22109      /^ac_cv_env_/b end
22110      t clear
22111      :clear
22112      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22113      t end
22114      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22115      :end' >>confcache
22116 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22117   if test -w "$cache_file"; then
22118     if test "x$cache_file" != "x/dev/null"; then
22119       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22120 $as_echo "$as_me: updating cache $cache_file" >&6;}
22121       if test ! -f "$cache_file" || test -h "$cache_file"; then
22122         cat confcache >"$cache_file"
22123       else
22124         case $cache_file in #(
22125         */* | ?:*)
22126           mv -f confcache "$cache_file"$$ &&
22127           mv -f "$cache_file"$$ "$cache_file" ;; #(
22128         *)
22129           mv -f confcache "$cache_file" ;;
22130         esac
22131       fi
22132     fi
22133   else
22134     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22135 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22136   fi
22137 fi
22138 rm -f confcache
22139
22140 have_cos=0
22141 have_floor=0
22142 for ac_func in cos
22143 do :
22144   ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22145 if test "x$ac_cv_func_cos" = xyes; then :
22146   cat >>confdefs.h <<_ACEOF
22147 #define HAVE_COS 1
22148 _ACEOF
22149  have_cos=1
22150 fi
22151 done
22152
22153 for ac_func in floor
22154 do :
22155   ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22156 if test "x$ac_cv_func_floor" = xyes; then :
22157   cat >>confdefs.h <<_ACEOF
22158 #define HAVE_FLOOR 1
22159 _ACEOF
22160  have_floor=1
22161 fi
22162 done
22163
22164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22165 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22166 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22167     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22168 $as_echo "yes" >&6; }
22169 else
22170     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22171 $as_echo "no" >&6; }
22172     LIBS="$LIBS -lm"
22173     # use different functions to avoid configure caching
22174     have_sin=0
22175     have_ceil=0
22176     for ac_func in sin
22177 do :
22178   ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22179 if test "x$ac_cv_func_sin" = xyes; then :
22180   cat >>confdefs.h <<_ACEOF
22181 #define HAVE_SIN 1
22182 _ACEOF
22183  have_sin=1
22184 fi
22185 done
22186
22187     for ac_func in ceil
22188 do :
22189   ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22190 if test "x$ac_cv_func_ceil" = xyes; then :
22191   cat >>confdefs.h <<_ACEOF
22192 #define HAVE_CEIL 1
22193 _ACEOF
22194  have_ceil=1
22195 fi
22196 done
22197
22198     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22199 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22200     if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22201         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22202 $as_echo "yes" >&6; }
22203     else
22204         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22205 $as_echo "no" >&6; }
22206         # not sure we should warn the user, crash, etc.
22207     fi
22208 fi
22209
22210 ac_ext=cpp
22211 ac_cpp='$CXXCPP $CPPFLAGS'
22212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22215
22216 if test "wxUSE_UNICODE" = "yes"; then
22217
22218   for wx_func in wcstoull
22219   do
22220     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22221 $as_echo_n "checking for $wx_func... " >&6; }
22222 if eval \${wx_cv_func_$wx_func+:} false; then :
22223   $as_echo_n "(cached) " >&6
22224 else
22225
22226         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22227 /* end confdefs.h.  */
22228
22229
22230
22231                 $ac_includes_default
22232
22233 int
22234 main ()
22235 {
22236
22237                 #ifndef $wx_func
22238                   &$wx_func;
22239                 #endif
22240
22241
22242   ;
22243   return 0;
22244 }
22245
22246 _ACEOF
22247 if ac_fn_cxx_try_link "$LINENO"; then :
22248   eval wx_cv_func_$wx_func=yes
22249 else
22250   eval wx_cv_func_$wx_func=no
22251 fi
22252 rm -f core conftest.err conftest.$ac_objext \
22253     conftest$ac_exeext conftest.$ac_ext
22254
22255 fi
22256 eval ac_res=\$wx_cv_func_$wx_func
22257                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22258 $as_echo "$ac_res" >&6; }
22259
22260     if eval test \$wx_cv_func_$wx_func = yes
22261     then
22262       cat >>confdefs.h <<_ACEOF
22263 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22264 _ACEOF
22265
22266
22267     else
22268       :
22269
22270     fi
22271   done
22272
22273 else
22274
22275   for wx_func in strtoull
22276   do
22277     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22278 $as_echo_n "checking for $wx_func... " >&6; }
22279 if eval \${wx_cv_func_$wx_func+:} false; then :
22280   $as_echo_n "(cached) " >&6
22281 else
22282
22283         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22284 /* end confdefs.h.  */
22285
22286
22287
22288                 $ac_includes_default
22289
22290 int
22291 main ()
22292 {
22293
22294                 #ifndef $wx_func
22295                   &$wx_func;
22296                 #endif
22297
22298
22299   ;
22300   return 0;
22301 }
22302
22303 _ACEOF
22304 if ac_fn_cxx_try_link "$LINENO"; then :
22305   eval wx_cv_func_$wx_func=yes
22306 else
22307   eval wx_cv_func_$wx_func=no
22308 fi
22309 rm -f core conftest.err conftest.$ac_objext \
22310     conftest$ac_exeext conftest.$ac_ext
22311
22312 fi
22313 eval ac_res=\$wx_cv_func_$wx_func
22314                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22315 $as_echo "$ac_res" >&6; }
22316
22317     if eval test \$wx_cv_func_$wx_func = yes
22318     then
22319       cat >>confdefs.h <<_ACEOF
22320 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22321 _ACEOF
22322
22323
22324     else
22325       :
22326
22327     fi
22328   done
22329
22330 fi
22331 ac_ext=c
22332 ac_cpp='$CPP $CPPFLAGS'
22333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22336
22337
22338
22339
22340 if test "$wxUSE_REGEX" != "no"; then
22341     $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22342
22343
22344     if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22345         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22346 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22347         wxUSE_REGEX=builtin
22348     fi
22349
22350     if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22351                         ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22352 "
22353 if test "x$ac_cv_header_regex_h" = xyes; then :
22354   for ac_func in regcomp re_search
22355 do :
22356   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22357 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22358 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22359   cat >>confdefs.h <<_ACEOF
22360 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22361 _ACEOF
22362
22363 fi
22364 done
22365
22366 fi
22367
22368
22369
22370         if test "x$ac_cv_func_regcomp" != "xyes"; then
22371             if test "$wxUSE_REGEX" = "sys" ; then
22372                 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22373             else
22374                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22375 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22376                 wxUSE_REGEX=builtin
22377             fi
22378         else
22379                         wxUSE_REGEX=sys
22380                         $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22381
22382         fi
22383     fi
22384 fi
22385
22386
22387 ZLIB_LINK=
22388 if test "$wxUSE_ZLIB" != "no" ; then
22389     $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22390
22391
22392     if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22393                                                 if test "$USE_DARWIN" = 1; then
22394             system_zlib_h_ok="yes"
22395         else
22396                                                                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22397 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22398 if ${ac_cv_header_zlib_h+:} false; then :
22399   $as_echo_n "(cached) " >&6
22400 else
22401   if test "$cross_compiling" = yes; then :
22402                       unset ac_cv_header_zlib_h
22403
22404 else
22405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22406 /* end confdefs.h.  */
22407
22408                         #include <zlib.h>
22409                         #include <stdio.h>
22410
22411                         int main()
22412                         {
22413                             FILE *f=fopen("conftestval", "w");
22414                             if (!f) exit(1);
22415                             fprintf(f, "%s",
22416                                     ZLIB_VERSION[0] == '1' &&
22417                                     (ZLIB_VERSION[2] > '1' ||
22418                                     (ZLIB_VERSION[2] == '1' &&
22419                                      ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22420                             exit(0);
22421                         }
22422
22423 _ACEOF
22424 if ac_fn_c_try_run "$LINENO"; then :
22425   ac_cv_header_zlib_h=`cat conftestval`
22426 else
22427   ac_cv_header_zlib_h=no
22428 fi
22429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22430   conftest.$ac_objext conftest.beam conftest.$ac_ext
22431 fi
22432
22433
22434 fi
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22436 $as_echo "$ac_cv_header_zlib_h" >&6; }
22437                                     ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22438 "
22439 if test "x$ac_cv_header_zlib_h" = xyes; then :
22440
22441 fi
22442
22443
22444
22445             system_zlib_h_ok=$ac_cv_header_zlib_h
22446         fi
22447
22448         if test "$system_zlib_h_ok" = "yes"; then
22449             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22450 $as_echo_n "checking for deflate in -lz... " >&6; }
22451 if ${ac_cv_lib_z_deflate+:} false; then :
22452   $as_echo_n "(cached) " >&6
22453 else
22454   ac_check_lib_save_LIBS=$LIBS
22455 LIBS="-lz  $LIBS"
22456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22457 /* end confdefs.h.  */
22458
22459 /* Override any GCC internal prototype to avoid an error.
22460    Use char because int might match the return type of a GCC
22461    builtin and then its argument prototype would still apply.  */
22462 #ifdef __cplusplus
22463 extern "C"
22464 #endif
22465 char deflate ();
22466 int
22467 main ()
22468 {
22469 return deflate ();
22470   ;
22471   return 0;
22472 }
22473 _ACEOF
22474 if ac_fn_c_try_link "$LINENO"; then :
22475   ac_cv_lib_z_deflate=yes
22476 else
22477   ac_cv_lib_z_deflate=no
22478 fi
22479 rm -f core conftest.err conftest.$ac_objext \
22480     conftest$ac_exeext conftest.$ac_ext
22481 LIBS=$ac_check_lib_save_LIBS
22482 fi
22483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22484 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22485 if test "x$ac_cv_lib_z_deflate" = xyes; then :
22486   ZLIB_LINK=" -lz"
22487 fi
22488
22489         fi
22490
22491         if test "x$ZLIB_LINK" = "x" ; then
22492             if test "$wxUSE_ZLIB" = "sys" ; then
22493                 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22494             else
22495                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22496 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22497                 wxUSE_ZLIB=builtin
22498             fi
22499         else
22500                         wxUSE_ZLIB=sys
22501         fi
22502     fi
22503 fi
22504
22505
22506 PNG_LINK=
22507 if test "$wxUSE_LIBPNG" != "no" ; then
22508     $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22509
22510
22511             if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22512         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22513 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22514         wxUSE_LIBPNG=builtin
22515     fi
22516
22517     if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22518                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22519 $as_echo_n "checking for png.h > 0.90... " >&6; }
22520 if ${ac_cv_header_png_h+:} false; then :
22521   $as_echo_n "(cached) " >&6
22522 else
22523   if test "$cross_compiling" = yes; then :
22524                   unset ac_cv_header_png_h
22525
22526 else
22527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22528 /* end confdefs.h.  */
22529
22530                     #include <png.h>
22531                     #include <stdio.h>
22532
22533                     int main()
22534                     {
22535                         FILE *f=fopen("conftestval", "w");
22536                         if (!f) exit(1);
22537                         fprintf(f, "%s",
22538                                  PNG_LIBPNG_VER > 90 ? "yes" : "no");
22539                         exit(0);
22540                     }
22541
22542 _ACEOF
22543 if ac_fn_c_try_run "$LINENO"; then :
22544   ac_cv_header_png_h=`cat conftestval`
22545 else
22546   ac_cv_header_png_h=no
22547 fi
22548 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22549   conftest.$ac_objext conftest.beam conftest.$ac_ext
22550 fi
22551
22552
22553 fi
22554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22555 $as_echo "$ac_cv_header_png_h" >&6; }
22556         ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22557 "
22558 if test "x$ac_cv_header_png_h" = xyes; then :
22559
22560 fi
22561
22562
22563
22564         if test "$ac_cv_header_png_h" = "yes"; then
22565             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22566 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22567 if ${ac_cv_lib_png_png_sig_cmp+:} false; then :
22568   $as_echo_n "(cached) " >&6
22569 else
22570   ac_check_lib_save_LIBS=$LIBS
22571 LIBS="-lpng -lz -lm $LIBS"
22572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22573 /* end confdefs.h.  */
22574
22575 /* Override any GCC internal prototype to avoid an error.
22576    Use char because int might match the return type of a GCC
22577    builtin and then its argument prototype would still apply.  */
22578 #ifdef __cplusplus
22579 extern "C"
22580 #endif
22581 char png_sig_cmp ();
22582 int
22583 main ()
22584 {
22585 return png_sig_cmp ();
22586   ;
22587   return 0;
22588 }
22589 _ACEOF
22590 if ac_fn_c_try_link "$LINENO"; then :
22591   ac_cv_lib_png_png_sig_cmp=yes
22592 else
22593   ac_cv_lib_png_png_sig_cmp=no
22594 fi
22595 rm -f core conftest.err conftest.$ac_objext \
22596     conftest$ac_exeext conftest.$ac_ext
22597 LIBS=$ac_check_lib_save_LIBS
22598 fi
22599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22600 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22601 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then :
22602   PNG_LINK=" -lpng -lz"
22603 fi
22604
22605         fi
22606
22607         if test "x$PNG_LINK" = "x" ; then
22608             if test "$wxUSE_LIBPNG" = "sys" ; then
22609                 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22610             else
22611                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22612 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22613                 wxUSE_LIBPNG=builtin
22614             fi
22615         else
22616                         wxUSE_LIBPNG=sys
22617         fi
22618     fi
22619 fi
22620
22621
22622 JPEG_LINK=
22623 if test "$wxUSE_LIBJPEG" != "no" ; then
22624     $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22625
22626
22627     if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22628                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22629 $as_echo_n "checking for jpeglib.h... " >&6; }
22630         if ${ac_cv_header_jpeglib_h+:} false; then :
22631   $as_echo_n "(cached) " >&6
22632 else
22633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22634 /* end confdefs.h.  */
22635
22636                     #undef HAVE_STDLIB_H
22637                     #include <stdio.h>
22638                     #include <jpeglib.h>
22639
22640 int
22641 main ()
22642 {
22643
22644
22645   ;
22646   return 0;
22647 }
22648 _ACEOF
22649 if ac_fn_c_try_compile "$LINENO"; then :
22650   ac_cv_header_jpeglib_h=yes
22651 else
22652   ac_cv_header_jpeglib_h=no
22653
22654 fi
22655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22656
22657 fi
22658
22659         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22660 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22661
22662         if test "$ac_cv_header_jpeglib_h" = "yes"; then
22663             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22664 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22665 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
22666   $as_echo_n "(cached) " >&6
22667 else
22668   ac_check_lib_save_LIBS=$LIBS
22669 LIBS="-ljpeg  $LIBS"
22670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22671 /* end confdefs.h.  */
22672
22673 /* Override any GCC internal prototype to avoid an error.
22674    Use char because int might match the return type of a GCC
22675    builtin and then its argument prototype would still apply.  */
22676 #ifdef __cplusplus
22677 extern "C"
22678 #endif
22679 char jpeg_read_header ();
22680 int
22681 main ()
22682 {
22683 return jpeg_read_header ();
22684   ;
22685   return 0;
22686 }
22687 _ACEOF
22688 if ac_fn_c_try_link "$LINENO"; then :
22689   ac_cv_lib_jpeg_jpeg_read_header=yes
22690 else
22691   ac_cv_lib_jpeg_jpeg_read_header=no
22692 fi
22693 rm -f core conftest.err conftest.$ac_objext \
22694     conftest$ac_exeext conftest.$ac_ext
22695 LIBS=$ac_check_lib_save_LIBS
22696 fi
22697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22698 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22699 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
22700   JPEG_LINK=" -ljpeg"
22701 fi
22702
22703         fi
22704
22705         if test "x$JPEG_LINK" = "x" ; then
22706             if test "$wxUSE_LIBJPEG" = "sys" ; then
22707                 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22708             else
22709                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22710 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22711                 wxUSE_LIBJPEG=builtin
22712             fi
22713         else
22714                         wxUSE_LIBJPEG=sys
22715
22716             if test "$wxUSE_MSW" = 1; then
22717                                                                                 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22718 "
22719 if test "x$ac_cv_type_boolean" = xyes; then :
22720
22721 cat >>confdefs.h <<_ACEOF
22722 #define HAVE_BOOLEAN 1
22723 _ACEOF
22724
22725
22726                         # The cast to long int works around a bug in the HP C Compiler
22727 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22728 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22729 # This bug is HP SR number 8606223364.
22730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22731 $as_echo_n "checking size of boolean... " >&6; }
22732 if ${ac_cv_sizeof_boolean+:} false; then :
22733   $as_echo_n "(cached) " >&6
22734 else
22735   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean"        "
22736                                 #undef HAVE_BOOLEAN
22737                                 #include <stdio.h>
22738                                 #include <jpeglib.h>
22739
22740 "; then :
22741
22742 else
22743   if test "$ac_cv_type_boolean" = yes; then
22744      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22746 as_fn_error 77 "cannot compute sizeof (boolean)
22747 See \`config.log' for more details" "$LINENO" 5; }
22748    else
22749      ac_cv_sizeof_boolean=0
22750    fi
22751 fi
22752
22753 fi
22754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22755 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22756
22757
22758
22759 cat >>confdefs.h <<_ACEOF
22760 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22761 _ACEOF
22762
22763
22764                         cat >>confdefs.h <<_ACEOF
22765 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22766 _ACEOF
22767
22768
22769 fi
22770
22771             fi
22772         fi
22773     fi
22774 fi
22775
22776
22777 TIFF_LINK=
22778 TIFF_PREREQ_LINKS=-lm
22779 if test "$wxUSE_LIBTIFF" != "no" ; then
22780     $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22781
22782
22783     if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22784                         if test "$wxUSE_LIBJPEG" = "sys"; then
22785             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22786         fi
22787         if test "$wxUSE_ZLIB" = "sys"; then
22788             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22789         fi
22790         ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22791
22792 "
22793 if test "x$ac_cv_header_tiffio_h" = xyes; then :
22794
22795                             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22796 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22797 if ${ac_cv_lib_tiff_TIFFError+:} false; then :
22798   $as_echo_n "(cached) " >&6
22799 else
22800   ac_check_lib_save_LIBS=$LIBS
22801 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22803 /* end confdefs.h.  */
22804
22805 /* Override any GCC internal prototype to avoid an error.
22806    Use char because int might match the return type of a GCC
22807    builtin and then its argument prototype would still apply.  */
22808 #ifdef __cplusplus
22809 extern "C"
22810 #endif
22811 char TIFFError ();
22812 int
22813 main ()
22814 {
22815 return TIFFError ();
22816   ;
22817   return 0;
22818 }
22819 _ACEOF
22820 if ac_fn_c_try_link "$LINENO"; then :
22821   ac_cv_lib_tiff_TIFFError=yes
22822 else
22823   ac_cv_lib_tiff_TIFFError=no
22824 fi
22825 rm -f core conftest.err conftest.$ac_objext \
22826     conftest$ac_exeext conftest.$ac_ext
22827 LIBS=$ac_check_lib_save_LIBS
22828 fi
22829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22830 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22831 if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then :
22832   TIFF_LINK=" -ltiff"
22833 fi
22834
22835
22836 fi
22837
22838
22839
22840         if test "x$TIFF_LINK" = "x" ; then
22841             if test "$wxUSE_LIBTIFF" = "sys" ; then
22842                 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22843             else
22844                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22845 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22846                 wxUSE_LIBTIFF=builtin
22847             fi
22848         else
22849                         wxUSE_LIBTIFF=sys
22850         fi
22851     fi
22852     if test "$wxUSE_LIBTIFF" = "builtin" ; then
22853         if test "$wxUSE_LIBJPEG" = "no"; then
22854                                                                                     ac_configure_args="$ac_configure_args --disable-jpeg"
22855         fi
22856
22857
22858 subdirs="$subdirs src/tiff"
22859
22860     fi
22861 fi
22862
22863
22864 if test "$wxUSE_EXPAT" != "no"; then
22865     wxUSE_XML=yes
22866     $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22867
22868     $as_echo "#define wxUSE_XML 1" >>confdefs.h
22869
22870
22871     if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22872         ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
22873 "
22874 if test "x$ac_cv_header_expat_h" = xyes; then :
22875   found_expat_h=1
22876 fi
22877
22878
22879         if test "x$found_expat_h" = "x1"; then
22880                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22881 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22882 if ${wx_cv_expat_is_not_broken+:} false; then :
22883   $as_echo_n "(cached) " >&6
22884 else
22885
22886                 ac_ext=cpp
22887 ac_cpp='$CXXCPP $CPPFLAGS'
22888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22891
22892                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22893 /* end confdefs.h.  */
22894 #include <expat.h>
22895 int
22896 main ()
22897 {
22898
22899   ;
22900   return 0;
22901 }
22902 _ACEOF
22903 if ac_fn_cxx_try_compile "$LINENO"; then :
22904   wx_cv_expat_is_not_broken=yes
22905 else
22906   wx_cv_expat_is_not_broken=no
22907
22908 fi
22909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22910                 ac_ext=c
22911 ac_cpp='$CPP $CPPFLAGS'
22912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22915
22916
22917
22918 fi
22919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22920 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22921             if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22922                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22923 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22924 if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
22925   $as_echo_n "(cached) " >&6
22926 else
22927   ac_check_lib_save_LIBS=$LIBS
22928 LIBS="-lexpat  $LIBS"
22929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22930 /* end confdefs.h.  */
22931
22932 /* Override any GCC internal prototype to avoid an error.
22933    Use char because int might match the return type of a GCC
22934    builtin and then its argument prototype would still apply.  */
22935 #ifdef __cplusplus
22936 extern "C"
22937 #endif
22938 char XML_ParserCreate ();
22939 int
22940 main ()
22941 {
22942 return XML_ParserCreate ();
22943   ;
22944   return 0;
22945 }
22946 _ACEOF
22947 if ac_fn_c_try_link "$LINENO"; then :
22948   ac_cv_lib_expat_XML_ParserCreate=yes
22949 else
22950   ac_cv_lib_expat_XML_ParserCreate=no
22951 fi
22952 rm -f core conftest.err conftest.$ac_objext \
22953     conftest$ac_exeext conftest.$ac_ext
22954 LIBS=$ac_check_lib_save_LIBS
22955 fi
22956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22957 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
22958 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
22959   EXPAT_LINK=" -lexpat"
22960 fi
22961
22962             fi
22963         fi
22964         if test "x$EXPAT_LINK" = "x" ; then
22965             if test "$wxUSE_EXPAT" = "sys" ; then
22966                 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
22967             else
22968                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
22969 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22970                 wxUSE_EXPAT=builtin
22971             fi
22972         else
22973                         wxUSE_EXPAT=sys
22974         fi
22975     fi
22976     if test "$wxUSE_EXPAT" = "builtin" ; then
22977                 subdirs="$subdirs src/expat"
22978
22979     fi
22980 fi
22981
22982
22983
22984 if test "$wxUSE_LIBMSPACK" != "no"; then
22985     ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
22986 "
22987 if test "x$ac_cv_header_mspack_h" = xyes; then :
22988   found_mspack_h=1
22989 fi
22990
22991
22992     if test "x$found_mspack_h" = "x1"; then
22993         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
22994 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
22995 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false; then :
22996   $as_echo_n "(cached) " >&6
22997 else
22998   ac_check_lib_save_LIBS=$LIBS
22999 LIBS="-lmspack  $LIBS"
23000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23001 /* end confdefs.h.  */
23002
23003 /* Override any GCC internal prototype to avoid an error.
23004    Use char because int might match the return type of a GCC
23005    builtin and then its argument prototype would still apply.  */
23006 #ifdef __cplusplus
23007 extern "C"
23008 #endif
23009 char mspack_create_chm_decompressor ();
23010 int
23011 main ()
23012 {
23013 return mspack_create_chm_decompressor ();
23014   ;
23015   return 0;
23016 }
23017 _ACEOF
23018 if ac_fn_c_try_link "$LINENO"; then :
23019   ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
23020 else
23021   ac_cv_lib_mspack_mspack_create_chm_decompressor=no
23022 fi
23023 rm -f core conftest.err conftest.$ac_objext \
23024     conftest$ac_exeext conftest.$ac_ext
23025 LIBS=$ac_check_lib_save_LIBS
23026 fi
23027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23028 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23029 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes; then :
23030   MSPACK_LINK=" -lmspack"
23031 fi
23032
23033     fi
23034     if test "x$MSPACK_LINK" = "x" ; then
23035         wxUSE_LIBMSPACK=no
23036     fi
23037 fi
23038
23039 if test "$wxUSE_LIBMSPACK" != "no"; then
23040     $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23041
23042 fi
23043
23044
23045
23046 AFMINSTALL=
23047 WIN32INSTALL=
23048
23049 TOOLKIT=
23050 TOOLKIT_INCLUDE=
23051 WIDGET_SET=
23052
23053 if test "$USE_WIN32" = 1 ; then
23054     for ac_header in w32api.h
23055 do :
23056   ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23057 "
23058 if test "x$ac_cv_header_w32api_h" = xyes; then :
23059   cat >>confdefs.h <<_ACEOF
23060 #define HAVE_W32API_H 1
23061 _ACEOF
23062
23063 fi
23064
23065 done
23066
23067     ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
23068 "
23069 if test "x$ac_cv_header_windows_h" = xyes; then :
23070
23071 else
23072
23073         as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23074
23075 fi
23076
23077
23078
23079     LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23080     case "${host}" in
23081         x86_64-*-mingw32* )
23082                                                 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
23083         ;;
23084     esac
23085     if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23086         LIBS="$LIBS -loleacc"
23087     fi
23088
23089     case "${host}" in
23090         *-*-cygwin* )
23091                         LIBS="$LIBS -lkernel32 -luser32"
23092     esac
23093
23094         RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23095     RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
23096
23097                 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23098
23099         WIN32INSTALL=win32install
23100 fi
23101
23102 if test "$wxUSE_GUI" = "yes"; then
23103     USE_GUI=1
23104
23105     GUI_TK_LIBRARY=
23106
23107     WXGTK1=
23108     WXGTK127=
23109     WXGTK2=
23110     WXGTK3=
23111     WXGPE=
23112
23113     if test "$wxUSE_OLD_COCOA" = 1 ; then
23114         if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23115             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23116 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23117             wxUSE_PRINTING_ARCHITECTURE=no
23118         fi
23119         if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23120             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23121 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23122             wxUSE_DRAG_AND_DROP=no
23123         fi
23124         if test "$wxUSE_DRAGIMAGE" = "yes"; then
23125             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23126 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23127             wxUSE_DRAGIMAGE=no
23128         fi
23129     fi
23130
23131     if test "$wxUSE_MSW" = 1 ; then
23132         TOOLKIT=MSW
23133         GUIDIST=MSW_DIST
23134
23135                 case "${host}" in
23136             *-*-mingw32* )
23137                 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23138         esac
23139     fi
23140
23141     if test "$wxUSE_GTK" = 1; then
23142                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23143 $as_echo_n "checking for GTK+ version... " >&6; }
23144
23145         gtk_version_cached=1
23146         if ${wx_cv_lib_gtk+:} false; then :
23147   $as_echo_n "(cached) " >&6
23148 else
23149
23150                                                 gtk_version_cached=0
23151                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23152 $as_echo "" >&6; }
23153
23154                                                 GTK_MODULES=
23155                 if test "$wxUSE_THREADS" = "yes"; then
23156                     GTK_MODULES=gthread
23157                 fi
23158
23159                 if test -z "$wxGTK_VERSION"; then
23160                     wxGTK_VERSION=any
23161                 fi
23162
23163                                 wx_cv_lib_gtk=
23164                 if test "x$wxGTK_VERSION" != "x1"
23165                 then
23166                                                                                 case "${host}" in
23167                         *-*-solaris2* )
23168                             if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23169                                 enable_gtktest=no
23170                             fi
23171                     esac
23172
23173                     if test "$wxGTK_VERSION" != 3; then
23174                         # Check whether --enable-gtktest was given.
23175 if test "${enable_gtktest+set}" = set; then :
23176   enableval=$enable_gtktest;
23177 else
23178   enable_gtktest=yes
23179 fi
23180
23181
23182   pkg_config_args=gtk+-2.0
23183   for module in . $GTK_MODULES
23184   do
23185       case "$module" in
23186          gthread)
23187              pkg_config_args="$pkg_config_args gthread-2.0"
23188          ;;
23189       esac
23190   done
23191
23192   no_gtk=""
23193
23194   # Extract the first word of "pkg-config", so it can be a program name with args.
23195 set dummy pkg-config; ac_word=$2
23196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23197 $as_echo_n "checking for $ac_word... " >&6; }
23198 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23199   $as_echo_n "(cached) " >&6
23200 else
23201   case $PKG_CONFIG in
23202   [\\/]* | ?:[\\/]*)
23203   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23204   ;;
23205   *)
23206   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23207 for as_dir in $PATH
23208 do
23209   IFS=$as_save_IFS
23210   test -z "$as_dir" && as_dir=.
23211     for ac_exec_ext in '' $ac_executable_extensions; do
23212   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23213     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23214     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23215     break 2
23216   fi
23217 done
23218   done
23219 IFS=$as_save_IFS
23220
23221   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23222   ;;
23223 esac
23224 fi
23225 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23226 if test -n "$PKG_CONFIG"; then
23227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23228 $as_echo "$PKG_CONFIG" >&6; }
23229 else
23230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23231 $as_echo "no" >&6; }
23232 fi
23233
23234
23235
23236   if test x$PKG_CONFIG != xno ; then
23237     if pkg-config --atleast-pkgconfig-version 0.7 ; then
23238       :
23239     else
23240       echo "*** pkg-config too old; version 0.7 or better required."
23241       no_gtk=yes
23242       PKG_CONFIG=no
23243     fi
23244   else
23245     no_gtk=yes
23246   fi
23247
23248   min_gtk_version=2.6.0
23249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23250 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23251
23252   if test x$PKG_CONFIG != xno ; then
23253     ## don't try to run the test against uninstalled libtool libs
23254     if $PKG_CONFIG --uninstalled $pkg_config_args; then
23255           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23256           enable_gtktest=no
23257     fi
23258
23259     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23260           :
23261     else
23262           no_gtk=yes
23263     fi
23264   fi
23265
23266   if test x"$no_gtk" = x ; then
23267     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23268     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23269     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23270            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23271     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23272            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23273     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23274            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23275     if test "x$enable_gtktest" = "xyes" ; then
23276       ac_save_CFLAGS="$CFLAGS"
23277       ac_save_LIBS="$LIBS"
23278       CFLAGS="$CFLAGS $GTK_CFLAGS"
23279       LIBS="$GTK_LIBS $LIBS"
23280       rm -f conf.gtktest
23281       if test "$cross_compiling" = yes; then :
23282   echo $ac_n "cross compiling; assumed OK... $ac_c"
23283 else
23284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23285 /* end confdefs.h.  */
23286
23287 #include <gtk/gtk.h>
23288 #include <stdio.h>
23289 #include <stdlib.h>
23290
23291 int
23292 main ()
23293 {
23294   int major, minor, micro;
23295   char *tmp_version;
23296
23297   system ("touch conf.gtktest");
23298
23299   /* HP/UX 9 (%@#!) writes to sscanf strings */
23300   tmp_version = g_strdup("$min_gtk_version");
23301   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23302      printf("%s, bad version string\n", "$min_gtk_version");
23303      exit(1);
23304    }
23305
23306   if ((gtk_major_version != $gtk_config_major_version) ||
23307       (gtk_minor_version != $gtk_config_minor_version) ||
23308       (gtk_micro_version != $gtk_config_micro_version))
23309     {
23310       printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23311              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23312              gtk_major_version, gtk_minor_version, gtk_micro_version);
23313       printf ("*** was found! If pkg-config was correct, then it is best\n");
23314       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23315       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23316       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23317       printf("*** required on your system.\n");
23318       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23319       printf("*** to point to the correct configuration files\n");
23320     }
23321   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23322            (gtk_minor_version != GTK_MINOR_VERSION) ||
23323            (gtk_micro_version != GTK_MICRO_VERSION))
23324     {
23325       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23326              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23327       printf("*** library (version %d.%d.%d)\n",
23328              gtk_major_version, gtk_minor_version, gtk_micro_version);
23329     }
23330   else
23331     {
23332       if ((gtk_major_version > major) ||
23333         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23334         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23335       {
23336         return 0;
23337        }
23338      else
23339       {
23340         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23341                gtk_major_version, gtk_minor_version, gtk_micro_version);
23342         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23343                major, minor, micro);
23344         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23345         printf("***\n");
23346         printf("*** If you have already installed a sufficiently new version, this error\n");
23347         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23348         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23349         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23350         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23351         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23352         printf("*** so that the correct libraries are found at run-time))\n");
23353       }
23354     }
23355   return 1;
23356 }
23357
23358 _ACEOF
23359 if ac_fn_c_try_run "$LINENO"; then :
23360
23361 else
23362   no_gtk=yes
23363 fi
23364 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23365   conftest.$ac_objext conftest.beam conftest.$ac_ext
23366 fi
23367
23368        CFLAGS="$ac_save_CFLAGS"
23369        LIBS="$ac_save_LIBS"
23370      fi
23371   fi
23372   if test "x$no_gtk" = x ; then
23373      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23374 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23375      wx_cv_lib_gtk=2.0
23376   else
23377      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23378 $as_echo "no" >&6; }
23379      if test "$PKG_CONFIG" = "no" ; then
23380        echo "*** A new enough version of pkg-config was not found."
23381        echo "*** See http://pkgconfig.sourceforge.net"
23382      else
23383        if test -f conf.gtktest ; then
23384         :
23385        else
23386           echo "*** Could not run GTK+ test program, checking why..."
23387           ac_save_CFLAGS="$CFLAGS"
23388           ac_save_LIBS="$LIBS"
23389           CFLAGS="$CFLAGS $GTK_CFLAGS"
23390           LIBS="$LIBS $GTK_LIBS"
23391           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23392 /* end confdefs.h.  */
23393
23394 #include <gtk/gtk.h>
23395 #include <stdio.h>
23396
23397 int
23398 main ()
23399 {
23400  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23401   ;
23402   return 0;
23403 }
23404 _ACEOF
23405 if ac_fn_c_try_link "$LINENO"; then :
23406    echo "*** The test program compiled, but did not run. This usually means"
23407           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23408           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23409           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23410           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23411           echo "*** is required on your system"
23412           echo "***"
23413           echo "*** If you have an old version installed, it is best to remove it, although"
23414           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23415 else
23416    echo "*** The test program failed to compile or link. See the file config.log for the"
23417           echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23418 fi
23419 rm -f core conftest.err conftest.$ac_objext \
23420     conftest$ac_exeext conftest.$ac_ext
23421           CFLAGS="$ac_save_CFLAGS"
23422           LIBS="$ac_save_LIBS"
23423        fi
23424      fi
23425      GTK_CFLAGS=""
23426      GTK_LIBS=""
23427      :
23428   fi
23429
23430
23431   rm -f conf.gtktest
23432
23433                     fi
23434                     if test -z "$wx_cv_lib_gtk"; then
23435                         if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23436                             # Check whether --enable-gtktest was given.
23437 if test "${enable_gtktest+set}" = set; then :
23438   enableval=$enable_gtktest;
23439 else
23440   enable_gtktest=yes
23441 fi
23442
23443
23444   pkg_config_args=gtk+-3.0
23445   for module in . $GTK_MODULES
23446   do
23447       case "$module" in
23448          gthread)
23449              pkg_config_args="$pkg_config_args gthread-2.0"
23450          ;;
23451       esac
23452   done
23453
23454   no_gtk=""
23455
23456   # Extract the first word of "pkg-config", so it can be a program name with args.
23457 set dummy pkg-config; ac_word=$2
23458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23459 $as_echo_n "checking for $ac_word... " >&6; }
23460 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23461   $as_echo_n "(cached) " >&6
23462 else
23463   case $PKG_CONFIG in
23464   [\\/]* | ?:[\\/]*)
23465   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23466   ;;
23467   *)
23468   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23469 for as_dir in $PATH
23470 do
23471   IFS=$as_save_IFS
23472   test -z "$as_dir" && as_dir=.
23473     for ac_exec_ext in '' $ac_executable_extensions; do
23474   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23475     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23476     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23477     break 2
23478   fi
23479 done
23480   done
23481 IFS=$as_save_IFS
23482
23483   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23484   ;;
23485 esac
23486 fi
23487 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23488 if test -n "$PKG_CONFIG"; then
23489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23490 $as_echo "$PKG_CONFIG" >&6; }
23491 else
23492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23493 $as_echo "no" >&6; }
23494 fi
23495
23496
23497
23498   if test x$PKG_CONFIG != xno ; then
23499     if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23500       :
23501     else
23502       echo "*** pkg-config too old; version 0.7 or better required."
23503       no_gtk=yes
23504       PKG_CONFIG=no
23505     fi
23506   else
23507     no_gtk=yes
23508   fi
23509
23510   min_gtk_version=3.0.0
23511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23512 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23513
23514   if test x$PKG_CONFIG != xno ; then
23515     ## don't try to run the test against uninstalled libtool libs
23516     if $PKG_CONFIG --uninstalled $pkg_config_args; then
23517           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23518           enable_gtktest=no
23519     fi
23520
23521     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23522           :
23523     else
23524           no_gtk=yes
23525     fi
23526   fi
23527
23528   if test x"$no_gtk" = x ; then
23529     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23530     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23531     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23532            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23533     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23534            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23535     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23536            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23537     if test "x$enable_gtktest" = "xyes" ; then
23538       ac_save_CFLAGS="$CFLAGS"
23539       ac_save_LIBS="$LIBS"
23540       CFLAGS="$CFLAGS $GTK_CFLAGS"
23541       LIBS="$GTK_LIBS $LIBS"
23542       rm -f conf.gtktest
23543       if test "$cross_compiling" = yes; then :
23544   echo $ac_n "cross compiling; assumed OK... $ac_c"
23545 else
23546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23547 /* end confdefs.h.  */
23548
23549 #include <gtk/gtk.h>
23550 #include <stdio.h>
23551 #include <stdlib.h>
23552
23553 int
23554 main ()
23555 {
23556   int major, minor, micro;
23557   char *tmp_version;
23558
23559   fclose (fopen ("conf.gtktest", "w"));
23560
23561   /* HP/UX 9 (%@#!) writes to sscanf strings */
23562   tmp_version = g_strdup("$min_gtk_version");
23563   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23564      printf("%s, bad version string\n", "$min_gtk_version");
23565      exit(1);
23566    }
23567
23568   if ((gtk_major_version != $gtk_config_major_version) ||
23569       (gtk_minor_version != $gtk_config_minor_version) ||
23570       (gtk_micro_version != $gtk_config_micro_version))
23571     {
23572       printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23573              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23574              gtk_major_version, gtk_minor_version, gtk_micro_version);
23575       printf ("*** was found! If pkg-config was correct, then it is best\n");
23576       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23577       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23578       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23579       printf("*** required on your system.\n");
23580       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23581       printf("*** to point to the correct configuration files\n");
23582     }
23583   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23584            (gtk_minor_version != GTK_MINOR_VERSION) ||
23585            (gtk_micro_version != GTK_MICRO_VERSION))
23586     {
23587       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23588              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23589       printf("*** library (version %d.%d.%d)\n",
23590              gtk_major_version, gtk_minor_version, gtk_micro_version);
23591     }
23592   else
23593     {
23594       if ((gtk_major_version > major) ||
23595         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23596         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23597       {
23598         return 0;
23599        }
23600      else
23601       {
23602         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23603                gtk_major_version, gtk_minor_version, gtk_micro_version);
23604         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23605                major, minor, micro);
23606         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23607         printf("***\n");
23608         printf("*** If you have already installed a sufficiently new version, this error\n");
23609         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23610         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23611         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23612         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23613         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23614         printf("*** so that the correct libraries are found at run-time))\n");
23615       }
23616     }
23617   return 1;
23618 }
23619
23620 _ACEOF
23621 if ac_fn_c_try_run "$LINENO"; then :
23622
23623 else
23624   no_gtk=yes
23625 fi
23626 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23627   conftest.$ac_objext conftest.beam conftest.$ac_ext
23628 fi
23629
23630        CFLAGS="$ac_save_CFLAGS"
23631        LIBS="$ac_save_LIBS"
23632      fi
23633   fi
23634   if test "x$no_gtk" = x ; then
23635      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23636 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23637      wx_cv_lib_gtk=3
23638   else
23639      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23640 $as_echo "no" >&6; }
23641      if test "$PKG_CONFIG" = "no" ; then
23642        echo "*** A new enough version of pkg-config was not found."
23643        echo "*** See http://pkgconfig.sourceforge.net"
23644      else
23645        if test -f conf.gtktest ; then
23646         :
23647        else
23648           echo "*** Could not run GTK+ test program, checking why..."
23649           ac_save_CFLAGS="$CFLAGS"
23650           ac_save_LIBS="$LIBS"
23651           CFLAGS="$CFLAGS $GTK_CFLAGS"
23652           LIBS="$LIBS $GTK_LIBS"
23653           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23654 /* end confdefs.h.  */
23655
23656 #include <gtk/gtk.h>
23657 #include <stdio.h>
23658
23659 int
23660 main ()
23661 {
23662  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23663   ;
23664   return 0;
23665 }
23666 _ACEOF
23667 if ac_fn_c_try_link "$LINENO"; then :
23668    echo "*** The test program compiled, but did not run. This usually means"
23669           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23670           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23671           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23672           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23673           echo "*** is required on your system"
23674           echo "***"
23675           echo "*** If you have an old version installed, it is best to remove it, although"
23676           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23677 else
23678    echo "*** The test program failed to compile or link. See the file config.log for the"
23679           echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23680 fi
23681 rm -f core conftest.err conftest.$ac_objext \
23682     conftest$ac_exeext conftest.$ac_ext
23683           CFLAGS="$ac_save_CFLAGS"
23684           LIBS="$ac_save_LIBS"
23685        fi
23686      fi
23687      GTK_CFLAGS=""
23688      GTK_LIBS=""
23689      :
23690   fi
23691
23692
23693   rm -f conf.gtktest
23694
23695                         fi
23696                     fi
23697                 fi
23698
23699                                 if test -z "$wx_cv_lib_gtk"; then
23700                     if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23701
23702 # Check whether --with-gtk-prefix was given.
23703 if test "${with_gtk_prefix+set}" = set; then :
23704   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23705 else
23706   gtk_config_prefix=""
23707 fi
23708
23709
23710 # Check whether --with-gtk-exec-prefix was given.
23711 if test "${with_gtk_exec_prefix+set}" = set; then :
23712   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23713 else
23714   gtk_config_exec_prefix=""
23715 fi
23716
23717 # Check whether --enable-gtktest was given.
23718 if test "${enable_gtktest+set}" = set; then :
23719   enableval=$enable_gtktest;
23720 else
23721   enable_gtktest=yes
23722 fi
23723
23724
23725   for module in . $GTK_MODULES
23726   do
23727       case "$module" in
23728          gthread)
23729              gtk_config_args="$gtk_config_args gthread"
23730          ;;
23731       esac
23732   done
23733
23734   if test x$gtk_config_exec_prefix != x ; then
23735      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23736      if test x${GTK_CONFIG+set} != xset ; then
23737         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23738      fi
23739   fi
23740   if test x$gtk_config_prefix != x ; then
23741      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23742      if test x${GTK_CONFIG+set} != xset ; then
23743         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23744      fi
23745   fi
23746
23747   # Extract the first word of "gtk-config", so it can be a program name with args.
23748 set dummy gtk-config; ac_word=$2
23749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23750 $as_echo_n "checking for $ac_word... " >&6; }
23751 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23752   $as_echo_n "(cached) " >&6
23753 else
23754   case $GTK_CONFIG in
23755   [\\/]* | ?:[\\/]*)
23756   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23757   ;;
23758   *)
23759   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23760 for as_dir in $PATH
23761 do
23762   IFS=$as_save_IFS
23763   test -z "$as_dir" && as_dir=.
23764     for ac_exec_ext in '' $ac_executable_extensions; do
23765   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23766     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23768     break 2
23769   fi
23770 done
23771   done
23772 IFS=$as_save_IFS
23773
23774   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23775   ;;
23776 esac
23777 fi
23778 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23779 if test -n "$GTK_CONFIG"; then
23780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23781 $as_echo "$GTK_CONFIG" >&6; }
23782 else
23783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23784 $as_echo "no" >&6; }
23785 fi
23786
23787
23788   min_gtk_version=1.2.7
23789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23790 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23791   no_gtk=""
23792   if test "$GTK_CONFIG" = "no" ; then
23793     no_gtk=yes
23794   else
23795     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23796     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23797     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23798            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23799     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23800            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23801     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23802            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23803     if test "x$enable_gtktest" = "xyes" ; then
23804       ac_save_CFLAGS="$CFLAGS"
23805       ac_save_LIBS="$LIBS"
23806       CFLAGS="$CFLAGS $GTK_CFLAGS"
23807       LIBS="$GTK_LIBS $LIBS"
23808       rm -f conf.gtktest
23809       if test "$cross_compiling" = yes; then :
23810   echo $ac_n "cross compiling; assumed OK... $ac_c"
23811 else
23812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23813 /* end confdefs.h.  */
23814
23815 #include <gtk/gtk.h>
23816 #include <stdio.h>
23817 #include <stdlib.h>
23818
23819 int
23820 main ()
23821 {
23822   int major, minor, micro;
23823   char *tmp_version;
23824
23825   system ("touch conf.gtktest");
23826
23827   /* HP/UX 9 (%@#!) writes to sscanf strings */
23828   tmp_version = g_strdup("$min_gtk_version");
23829   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23830      printf("%s, bad version string\n", "$min_gtk_version");
23831      exit(1);
23832    }
23833
23834   if ((gtk_major_version != $gtk_config_major_version) ||
23835       (gtk_minor_version != $gtk_config_minor_version) ||
23836       (gtk_micro_version != $gtk_config_micro_version))
23837     {
23838       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23839              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23840              gtk_major_version, gtk_minor_version, gtk_micro_version);
23841       printf ("*** was found! If gtk-config was correct, then it is best\n");
23842       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23843       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23844       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23845       printf("*** required on your system.\n");
23846       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23847       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23848       printf("*** before re-running configure\n");
23849     }
23850 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23851   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23852            (gtk_minor_version != GTK_MINOR_VERSION) ||
23853            (gtk_micro_version != GTK_MICRO_VERSION))
23854     {
23855       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23856              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23857       printf("*** library (version %d.%d.%d)\n",
23858              gtk_major_version, gtk_minor_version, gtk_micro_version);
23859     }
23860 #endif /* defined (GTK_MAJOR_VERSION) ... */
23861   else
23862     {
23863       if ((gtk_major_version > major) ||
23864         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23865         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23866       {
23867         return 0;
23868        }
23869      else
23870       {
23871         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23872                gtk_major_version, gtk_minor_version, gtk_micro_version);
23873         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23874                major, minor, micro);
23875         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23876         printf("***\n");
23877         printf("*** If you have already installed a sufficiently new version, this error\n");
23878         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23879         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23880         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23881         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23882         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23883         printf("*** so that the correct libraries are found at run-time))\n");
23884       }
23885     }
23886   return 1;
23887 }
23888
23889 _ACEOF
23890 if ac_fn_c_try_run "$LINENO"; then :
23891
23892 else
23893   no_gtk=yes
23894 fi
23895 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23896   conftest.$ac_objext conftest.beam conftest.$ac_ext
23897 fi
23898
23899        CFLAGS="$ac_save_CFLAGS"
23900        LIBS="$ac_save_LIBS"
23901      fi
23902   fi
23903   if test "x$no_gtk" = x ; then
23904      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23905 $as_echo "yes" >&6; }
23906      wx_cv_lib_gtk=1.2.7
23907   else
23908      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23909 $as_echo "no" >&6; }
23910      if test "$GTK_CONFIG" = "no" ; then
23911        echo "*** The gtk-config script installed by GTK could not be found"
23912        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23913        echo "*** your path, or set the GTK_CONFIG environment variable to the"
23914        echo "*** full path to gtk-config."
23915      else
23916        if test -f conf.gtktest ; then
23917         :
23918        else
23919           echo "*** Could not run GTK test program, checking why..."
23920           CFLAGS="$CFLAGS $GTK_CFLAGS"
23921           LIBS="$LIBS $GTK_LIBS"
23922           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23923 /* end confdefs.h.  */
23924
23925 #include <gtk/gtk.h>
23926 #include <stdio.h>
23927
23928 int
23929 main ()
23930 {
23931  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23932   ;
23933   return 0;
23934 }
23935 _ACEOF
23936 if ac_fn_c_try_link "$LINENO"; then :
23937    echo "*** The test program compiled, but did not run. This usually means"
23938           echo "*** that the run-time linker is not finding GTK or finding the wrong"
23939           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23940           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23941           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23942           echo "*** is required on your system"
23943           echo "***"
23944           echo "*** If you have an old version installed, it is best to remove it, although"
23945           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23946           echo "***"
23947           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23948           echo "*** came with the system with the command"
23949           echo "***"
23950           echo "***    rpm --erase --nodeps gtk gtk-devel"
23951 else
23952    echo "*** The test program failed to compile or link. See the file config.log for the"
23953           echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23954           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23955           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23956 fi
23957 rm -f core conftest.err conftest.$ac_objext \
23958     conftest$ac_exeext conftest.$ac_ext
23959           CFLAGS="$ac_save_CFLAGS"
23960           LIBS="$ac_save_LIBS"
23961        fi
23962      fi
23963      GTK_CFLAGS=""
23964      GTK_LIBS=""
23965      :
23966   fi
23967
23968
23969   rm -f conf.gtktest
23970
23971
23972                         if test -z "$wx_cv_lib_gtk"; then
23973
23974 # Check whether --with-gtk-prefix was given.
23975 if test "${with_gtk_prefix+set}" = set; then :
23976   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23977 else
23978   gtk_config_prefix=""
23979 fi
23980
23981
23982 # Check whether --with-gtk-exec-prefix was given.
23983 if test "${with_gtk_exec_prefix+set}" = set; then :
23984   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23985 else
23986   gtk_config_exec_prefix=""
23987 fi
23988
23989 # Check whether --enable-gtktest was given.
23990 if test "${enable_gtktest+set}" = set; then :
23991   enableval=$enable_gtktest;
23992 else
23993   enable_gtktest=yes
23994 fi
23995
23996
23997   for module in . $GTK_MODULES
23998   do
23999       case "$module" in
24000          gthread)
24001              gtk_config_args="$gtk_config_args gthread"
24002          ;;
24003       esac
24004   done
24005
24006   if test x$gtk_config_exec_prefix != x ; then
24007      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24008      if test x${GTK_CONFIG+set} != xset ; then
24009         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24010      fi
24011   fi
24012   if test x$gtk_config_prefix != x ; then
24013      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24014      if test x${GTK_CONFIG+set} != xset ; then
24015         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24016      fi
24017   fi
24018
24019   # Extract the first word of "gtk-config", so it can be a program name with args.
24020 set dummy gtk-config; ac_word=$2
24021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24022 $as_echo_n "checking for $ac_word... " >&6; }
24023 if ${ac_cv_path_GTK_CONFIG+:} false; then :
24024   $as_echo_n "(cached) " >&6
24025 else
24026   case $GTK_CONFIG in
24027   [\\/]* | ?:[\\/]*)
24028   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24029   ;;
24030   *)
24031   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24032 for as_dir in $PATH
24033 do
24034   IFS=$as_save_IFS
24035   test -z "$as_dir" && as_dir=.
24036     for ac_exec_ext in '' $ac_executable_extensions; do
24037   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24038     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24039     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24040     break 2
24041   fi
24042 done
24043   done
24044 IFS=$as_save_IFS
24045
24046   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24047   ;;
24048 esac
24049 fi
24050 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24051 if test -n "$GTK_CONFIG"; then
24052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24053 $as_echo "$GTK_CONFIG" >&6; }
24054 else
24055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24056 $as_echo "no" >&6; }
24057 fi
24058
24059
24060   min_gtk_version=1.2.3
24061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24062 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24063   no_gtk=""
24064   if test "$GTK_CONFIG" = "no" ; then
24065     no_gtk=yes
24066   else
24067     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24068     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24069     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24070            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24071     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24072            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24073     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24074            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24075     if test "x$enable_gtktest" = "xyes" ; then
24076       ac_save_CFLAGS="$CFLAGS"
24077       ac_save_LIBS="$LIBS"
24078       CFLAGS="$CFLAGS $GTK_CFLAGS"
24079       LIBS="$GTK_LIBS $LIBS"
24080       rm -f conf.gtktest
24081       if test "$cross_compiling" = yes; then :
24082   echo $ac_n "cross compiling; assumed OK... $ac_c"
24083 else
24084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24085 /* end confdefs.h.  */
24086
24087 #include <gtk/gtk.h>
24088 #include <stdio.h>
24089 #include <stdlib.h>
24090
24091 int
24092 main ()
24093 {
24094   int major, minor, micro;
24095   char *tmp_version;
24096
24097   system ("touch conf.gtktest");
24098
24099   /* HP/UX 9 (%@#!) writes to sscanf strings */
24100   tmp_version = g_strdup("$min_gtk_version");
24101   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24102      printf("%s, bad version string\n", "$min_gtk_version");
24103      exit(1);
24104    }
24105
24106   if ((gtk_major_version != $gtk_config_major_version) ||
24107       (gtk_minor_version != $gtk_config_minor_version) ||
24108       (gtk_micro_version != $gtk_config_micro_version))
24109     {
24110       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24111              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24112              gtk_major_version, gtk_minor_version, gtk_micro_version);
24113       printf ("*** was found! If gtk-config was correct, then it is best\n");
24114       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24115       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24116       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24117       printf("*** required on your system.\n");
24118       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24119       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24120       printf("*** before re-running configure\n");
24121     }
24122 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24123   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24124            (gtk_minor_version != GTK_MINOR_VERSION) ||
24125            (gtk_micro_version != GTK_MICRO_VERSION))
24126     {
24127       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24128              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24129       printf("*** library (version %d.%d.%d)\n",
24130              gtk_major_version, gtk_minor_version, gtk_micro_version);
24131     }
24132 #endif /* defined (GTK_MAJOR_VERSION) ... */
24133   else
24134     {
24135       if ((gtk_major_version > major) ||
24136         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24137         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24138       {
24139         return 0;
24140        }
24141      else
24142       {
24143         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24144                gtk_major_version, gtk_minor_version, gtk_micro_version);
24145         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24146                major, minor, micro);
24147         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24148         printf("***\n");
24149         printf("*** If you have already installed a sufficiently new version, this error\n");
24150         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24151         printf("*** being found. The easiest way to fix this is to remove the old version\n");
24152         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24153         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24154         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24155         printf("*** so that the correct libraries are found at run-time))\n");
24156       }
24157     }
24158   return 1;
24159 }
24160
24161 _ACEOF
24162 if ac_fn_c_try_run "$LINENO"; then :
24163
24164 else
24165   no_gtk=yes
24166 fi
24167 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24168   conftest.$ac_objext conftest.beam conftest.$ac_ext
24169 fi
24170
24171        CFLAGS="$ac_save_CFLAGS"
24172        LIBS="$ac_save_LIBS"
24173      fi
24174   fi
24175   if test "x$no_gtk" = x ; then
24176      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24177 $as_echo "yes" >&6; }
24178      wx_cv_lib_gtk=1.2.3
24179   else
24180      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24181 $as_echo "no" >&6; }
24182      if test "$GTK_CONFIG" = "no" ; then
24183        echo "*** The gtk-config script installed by GTK could not be found"
24184        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24185        echo "*** your path, or set the GTK_CONFIG environment variable to the"
24186        echo "*** full path to gtk-config."
24187      else
24188        if test -f conf.gtktest ; then
24189         :
24190        else
24191           echo "*** Could not run GTK test program, checking why..."
24192           CFLAGS="$CFLAGS $GTK_CFLAGS"
24193           LIBS="$LIBS $GTK_LIBS"
24194           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24195 /* end confdefs.h.  */
24196
24197 #include <gtk/gtk.h>
24198 #include <stdio.h>
24199
24200 int
24201 main ()
24202 {
24203  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24204   ;
24205   return 0;
24206 }
24207 _ACEOF
24208 if ac_fn_c_try_link "$LINENO"; then :
24209    echo "*** The test program compiled, but did not run. This usually means"
24210           echo "*** that the run-time linker is not finding GTK or finding the wrong"
24211           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24212           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24213           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
24214           echo "*** is required on your system"
24215           echo "***"
24216           echo "*** If you have an old version installed, it is best to remove it, although"
24217           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24218           echo "***"
24219           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24220           echo "*** came with the system with the command"
24221           echo "***"
24222           echo "***    rpm --erase --nodeps gtk gtk-devel"
24223 else
24224    echo "*** The test program failed to compile or link. See the file config.log for the"
24225           echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24226           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24227           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24228 fi
24229 rm -f core conftest.err conftest.$ac_objext \
24230     conftest$ac_exeext conftest.$ac_ext
24231           CFLAGS="$ac_save_CFLAGS"
24232           LIBS="$ac_save_LIBS"
24233        fi
24234      fi
24235      GTK_CFLAGS=""
24236      GTK_LIBS=""
24237      :
24238   fi
24239
24240
24241   rm -f conf.gtktest
24242
24243                         fi
24244                     fi
24245                 fi
24246
24247                 if test -z "$wx_cv_lib_gtk"; then
24248                                         wx_cv_lib_gtk=none
24249                 else
24250                                         GTK_LIBS="$GTK_LIBS -lX11"
24251
24252                                                             wx_cv_cflags_gtk=$GTK_CFLAGS
24253                     wx_cv_libs_gtk=$GTK_LIBS
24254                 fi
24255
24256
24257 fi
24258
24259
24260                         if test "$gtk_version_cached" = 1; then
24261             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24262 $as_echo "$wx_cv_lib_gtk" >&6; }
24263         fi
24264
24265         case "$wx_cv_lib_gtk" in
24266             3)      WXGTK3=1
24267                     TOOLKIT_VERSION=3
24268                     ;;
24269             2.0)    WXGTK2=1
24270                     TOOLKIT_VERSION=2
24271                     ;;
24272             1.2.7)  WXGTK127=1
24273                     WXGTK1=1
24274                     ;;
24275             1.2*)   WXGTK1=1 ;;
24276             *)      as_fn_error $? "
24277 The development files for GTK+ were not found. For GTK+ 2, please
24278 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24279 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24280 and that the version is 1.2.3 or above. Also check that the
24281 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24282 --libs' are in the LD_LIBRARY_PATH or equivalent.
24283                             " "$LINENO" 5
24284                     ;;
24285         esac
24286
24287         if test "$WXGTK3" = 1; then
24288             $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24289
24290             $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24291
24292         elif test "$WXGTK2" = 1; then
24293             save_CFLAGS="$CFLAGS"
24294             save_LIBS="$LIBS"
24295             CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24296             LIBS="$LIBS $wx_cv_libs_gtk"
24297
24298                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24299 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24300             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24301 /* end confdefs.h.  */
24302
24303                             #include <gtk/gtk.h>
24304
24305 int
24306 main ()
24307 {
24308
24309                             #if !GTK_CHECK_VERSION(2,18,0)
24310                             Not GTK+ 2.18
24311                             #endif
24312
24313   ;
24314   return 0;
24315 }
24316 _ACEOF
24317 if ac_fn_c_try_compile "$LINENO"; then :
24318
24319                             $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24320
24321                             $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24322
24323                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24324 $as_echo "yes" >&6; }
24325                             ac_wxgtk218=1
24326
24327 else
24328
24329                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24330 $as_echo "no" >&6; }
24331                             ac_wxgtk218=0
24332
24333 fi
24334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24335
24336             if test "$ac_wxgtk218" = 0; then
24337                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24338 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24339                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24340 /* end confdefs.h.  */
24341
24342                                 #include <gtk/gtk.h>
24343
24344 int
24345 main ()
24346 {
24347
24348                                 #if !GTK_CHECK_VERSION(2,10,0)
24349                                 Not GTK+ 2.10
24350                                 #endif
24351
24352   ;
24353   return 0;
24354 }
24355 _ACEOF
24356 if ac_fn_c_try_compile "$LINENO"; then :
24357
24358                                 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24359
24360                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24361 $as_echo "yes" >&6; }
24362                                 ac_wxgtk210=1
24363
24364 else
24365
24366                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24367 $as_echo "no" >&6; }
24368                                 ac_wxgtk210=0
24369
24370 fi
24371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24372             fi
24373
24374             CFLAGS="$save_CFLAGS"
24375             LIBS="$save_LIBS"
24376         else
24377             if test "$wxUSE_UNICODE" = "yes"; then
24378                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24379 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24380                 wxUSE_UNICODE=no
24381             fi
24382
24383                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24384 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24385 if ${ac_cv_lib_gdk_gdk_im_open+:} false; then :
24386   $as_echo_n "(cached) " >&6
24387 else
24388   ac_check_lib_save_LIBS=$LIBS
24389 LIBS="-lgdk  $LIBS"
24390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24391 /* end confdefs.h.  */
24392
24393 /* Override any GCC internal prototype to avoid an error.
24394    Use char because int might match the return type of a GCC
24395    builtin and then its argument prototype would still apply.  */
24396 #ifdef __cplusplus
24397 extern "C"
24398 #endif
24399 char gdk_im_open ();
24400 int
24401 main ()
24402 {
24403 return gdk_im_open ();
24404   ;
24405   return 0;
24406 }
24407 _ACEOF
24408 if ac_fn_c_try_link "$LINENO"; then :
24409   ac_cv_lib_gdk_gdk_im_open=yes
24410 else
24411   ac_cv_lib_gdk_gdk_im_open=no
24412 fi
24413 rm -f core conftest.err conftest.$ac_objext \
24414     conftest$ac_exeext conftest.$ac_ext
24415 LIBS=$ac_check_lib_save_LIBS
24416 fi
24417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24418 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24419 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes; then :
24420   $as_echo "#define HAVE_XIM 1" >>confdefs.h
24421
24422 fi
24423
24424
24425                                     if test "$USE_DARWIN" != 1; then
24426                 for ac_func in poll
24427 do :
24428   ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24429 if test "x$ac_cv_func_poll" = xyes; then :
24430   cat >>confdefs.h <<_ACEOF
24431 #define HAVE_POLL 1
24432 _ACEOF
24433
24434 fi
24435 done
24436
24437             fi
24438         fi
24439
24440         TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24441         GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24442         AFMINSTALL=afminstall
24443         TOOLKIT=GTK
24444         GUIDIST=GTK_DIST
24445
24446                 if test "$wxUSE_GPE" = "yes"; then
24447             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24448 $as_echo_n "checking for gpewidget library... " >&6; }
24449
24450   ac_find_libraries=
24451   for ac_dir in  $SEARCH_LIB
24452   do
24453     for ac_extension in a so sl dylib dll.a; do
24454       if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24455         ac_find_libraries=$ac_dir
24456         break 2
24457       fi
24458     done
24459   done
24460
24461             if test "$ac_find_libraries" != "" ; then
24462
24463     if test "$ac_find_libraries" = "default location"; then
24464     ac_path_to_link=""
24465   else
24466     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24467     result=$?
24468     if test $result = 0; then
24469       ac_path_to_link=""
24470     else
24471       ac_path_to_link=" -L$ac_find_libraries"
24472     fi
24473   fi
24474
24475                                                 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24476                 WXGPE=1
24477                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24478 $as_echo "found in $ac_find_libraries" >&6; }
24479             else
24480                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24481 $as_echo "not found" >&6; }
24482             fi
24483
24484                                                                                                                     fi
24485     fi
24486
24487     if test "$wxUSE_DFB" = 1; then
24488
24489
24490 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24491         if test -n "$ac_tool_prefix"; then
24492   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24493 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24495 $as_echo_n "checking for $ac_word... " >&6; }
24496 if ${ac_cv_path_PKG_CONFIG+:} false; then :
24497   $as_echo_n "(cached) " >&6
24498 else
24499   case $PKG_CONFIG in
24500   [\\/]* | ?:[\\/]*)
24501   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24502   ;;
24503   *)
24504   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24505 for as_dir in $PATH
24506 do
24507   IFS=$as_save_IFS
24508   test -z "$as_dir" && as_dir=.
24509     for ac_exec_ext in '' $ac_executable_extensions; do
24510   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24511     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24512     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24513     break 2
24514   fi
24515 done
24516   done
24517 IFS=$as_save_IFS
24518
24519   ;;
24520 esac
24521 fi
24522 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24523 if test -n "$PKG_CONFIG"; then
24524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24525 $as_echo "$PKG_CONFIG" >&6; }
24526 else
24527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24528 $as_echo "no" >&6; }
24529 fi
24530
24531
24532 fi
24533 if test -z "$ac_cv_path_PKG_CONFIG"; then
24534   ac_pt_PKG_CONFIG=$PKG_CONFIG
24535   # Extract the first word of "pkg-config", so it can be a program name with args.
24536 set dummy pkg-config; ac_word=$2
24537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24538 $as_echo_n "checking for $ac_word... " >&6; }
24539 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
24540   $as_echo_n "(cached) " >&6
24541 else
24542   case $ac_pt_PKG_CONFIG in
24543   [\\/]* | ?:[\\/]*)
24544   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24545   ;;
24546   *)
24547   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24548 for as_dir in $PATH
24549 do
24550   IFS=$as_save_IFS
24551   test -z "$as_dir" && as_dir=.
24552     for ac_exec_ext in '' $ac_executable_extensions; do
24553   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24554     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24555     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24556     break 2
24557   fi
24558 done
24559   done
24560 IFS=$as_save_IFS
24561
24562   ;;
24563 esac
24564 fi
24565 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24566 if test -n "$ac_pt_PKG_CONFIG"; then
24567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24568 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24569 else
24570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24571 $as_echo "no" >&6; }
24572 fi
24573
24574   if test "x$ac_pt_PKG_CONFIG" = x; then
24575     PKG_CONFIG=""
24576   else
24577     case $cross_compiling:$ac_tool_warned in
24578 yes:)
24579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24581 ac_tool_warned=yes ;;
24582 esac
24583     PKG_CONFIG=$ac_pt_PKG_CONFIG
24584   fi
24585 else
24586   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24587 fi
24588
24589 fi
24590 if test -n "$PKG_CONFIG"; then
24591         _pkg_min_version=0.9.0
24592         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24593 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24594         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24595                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24596 $as_echo "yes" >&6; }
24597         else
24598                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24599 $as_echo "no" >&6; }
24600                 PKG_CONFIG=""
24601         fi
24602
24603 fi
24604
24605
24606 pkg_failed=no
24607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24608 $as_echo_n "checking for DIRECTFB... " >&6; }
24609
24610 if test -n "$PKG_CONFIG"; then
24611     if test -n "$DIRECTFB_CFLAGS"; then
24612         pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24613     else
24614         if test -n "$PKG_CONFIG" && \
24615     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24616   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24617   ac_status=$?
24618   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24619   test $ac_status = 0; }; then
24620   pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24621 else
24622   pkg_failed=yes
24623 fi
24624     fi
24625 else
24626         pkg_failed=untried
24627 fi
24628 if test -n "$PKG_CONFIG"; then
24629     if test -n "$DIRECTFB_LIBS"; then
24630         pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24631     else
24632         if test -n "$PKG_CONFIG" && \
24633     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24634   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24635   ac_status=$?
24636   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24637   test $ac_status = 0; }; then
24638   pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24639 else
24640   pkg_failed=yes
24641 fi
24642     fi
24643 else
24644         pkg_failed=untried
24645 fi
24646
24647
24648
24649 if test $pkg_failed = yes; then
24650
24651 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24652         _pkg_short_errors_supported=yes
24653 else
24654         _pkg_short_errors_supported=no
24655 fi
24656         if test $_pkg_short_errors_supported = yes; then
24657                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24658         else
24659                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24660         fi
24661         # Put the nasty error message in config.log where it belongs
24662         echo "$DIRECTFB_PKG_ERRORS" >&5
24663
24664
24665                            as_fn_error $? "DirectFB not found." "$LINENO" 5
24666
24667
24668 elif test $pkg_failed = untried; then
24669
24670                            as_fn_error $? "DirectFB not found." "$LINENO" 5
24671
24672
24673 else
24674         DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24675         DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24676         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24677 $as_echo "yes" >&6; }
24678
24679                            wxUSE_UNIVERSAL="yes"
24680                            TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24681                            GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24682                            TOOLKIT=DFB
24683                            GUIDIST=DFB_DIST
24684
24685 fi
24686     fi
24687
24688     if test "$wxUSE_MICROWIN" = 1; then
24689         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24690 $as_echo_n "checking for MicroWindows... " >&6; }
24691         if test "x$MICROWINDOWS" = x ; then
24692             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24693 $as_echo "not found" >&6; }
24694             as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24695         else
24696             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24697 $as_echo "$MICROWINDOWS" >&6; }
24698         fi
24699
24700         if test -f $MICROWINDOWS/lib/libmwin.a; then
24701             { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24702 $as_echo "MicroWindows' libraries found." >&6; }
24703         else
24704             as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24705         fi
24706
24707         TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24708         GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24709
24710         wxUSE_UNIVERSAL="yes"
24711
24712         AFMINSTALL=afminstall
24713         TOOLKIT=MICROWIN
24714         GUIDIST=MICROWIN_DIST
24715
24716         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24717     fi
24718
24719         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24720                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24721 $as_echo_n "checking for X... " >&6; }
24722
24723
24724 # Check whether --with-x was given.
24725 if test "${with_x+set}" = set; then :
24726   withval=$with_x;
24727 fi
24728
24729 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24730 if test "x$with_x" = xno; then
24731   # The user explicitly disabled X.
24732   have_x=disabled
24733 else
24734   case $x_includes,$x_libraries in #(
24735     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24736     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24737   $as_echo_n "(cached) " >&6
24738 else
24739   # One or both of the vars are not set, and there is no cached value.
24740 ac_x_includes=no ac_x_libraries=no
24741 rm -f -r conftest.dir
24742 if mkdir conftest.dir; then
24743   cd conftest.dir
24744   cat >Imakefile <<'_ACEOF'
24745 incroot:
24746         @echo incroot='${INCROOT}'
24747 usrlibdir:
24748         @echo usrlibdir='${USRLIBDIR}'
24749 libdir:
24750         @echo libdir='${LIBDIR}'
24751 _ACEOF
24752   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24753     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24754     for ac_var in incroot usrlibdir libdir; do
24755       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24756     done
24757     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24758     for ac_extension in a so sl dylib la dll; do
24759       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24760          test -f "$ac_im_libdir/libX11.$ac_extension"; then
24761         ac_im_usrlibdir=$ac_im_libdir; break
24762       fi
24763     done
24764     # Screen out bogus values from the imake configuration.  They are
24765     # bogus both because they are the default anyway, and because
24766     # using them would break gcc on systems where it needs fixed includes.
24767     case $ac_im_incroot in
24768         /usr/include) ac_x_includes= ;;
24769         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24770     esac
24771     case $ac_im_usrlibdir in
24772         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24773         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24774     esac
24775   fi
24776   cd ..
24777   rm -f -r conftest.dir
24778 fi
24779
24780 # Standard set of common directories for X headers.
24781 # Check X11 before X11Rn because it is often a symlink to the current release.
24782 ac_x_header_dirs='
24783 /usr/X11/include
24784 /usr/X11R7/include
24785 /usr/X11R6/include
24786 /usr/X11R5/include
24787 /usr/X11R4/include
24788
24789 /usr/include/X11
24790 /usr/include/X11R7
24791 /usr/include/X11R6
24792 /usr/include/X11R5
24793 /usr/include/X11R4
24794
24795 /usr/local/X11/include
24796 /usr/local/X11R7/include
24797 /usr/local/X11R6/include
24798 /usr/local/X11R5/include
24799 /usr/local/X11R4/include
24800
24801 /usr/local/include/X11
24802 /usr/local/include/X11R7
24803 /usr/local/include/X11R6
24804 /usr/local/include/X11R5
24805 /usr/local/include/X11R4
24806
24807 /usr/X386/include
24808 /usr/x386/include
24809 /usr/XFree86/include/X11
24810
24811 /usr/include
24812 /usr/local/include
24813 /usr/unsupported/include
24814 /usr/athena/include
24815 /usr/local/x11r5/include
24816 /usr/lpp/Xamples/include
24817
24818 /usr/openwin/include
24819 /usr/openwin/share/include'
24820
24821 if test "$ac_x_includes" = no; then
24822   # Guess where to find include files, by looking for Xlib.h.
24823   # First, try using that file with no special directory specified.
24824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24825 /* end confdefs.h.  */
24826 #include <X11/Xlib.h>
24827 _ACEOF
24828 if ac_fn_c_try_cpp "$LINENO"; then :
24829   # We can compile using X headers with no special include directory.
24830 ac_x_includes=
24831 else
24832   for ac_dir in $ac_x_header_dirs; do
24833   if test -r "$ac_dir/X11/Xlib.h"; then
24834     ac_x_includes=$ac_dir
24835     break
24836   fi
24837 done
24838 fi
24839 rm -f conftest.err conftest.i conftest.$ac_ext
24840 fi # $ac_x_includes = no
24841
24842 if test "$ac_x_libraries" = no; then
24843   # Check for the libraries.
24844   # See if we find them without any special options.
24845   # Don't add to $LIBS permanently.
24846   ac_save_LIBS=$LIBS
24847   LIBS="-lX11 $LIBS"
24848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24849 /* end confdefs.h.  */
24850 #include <X11/Xlib.h>
24851 int
24852 main ()
24853 {
24854 XrmInitialize ()
24855   ;
24856   return 0;
24857 }
24858 _ACEOF
24859 if ac_fn_c_try_link "$LINENO"; then :
24860   LIBS=$ac_save_LIBS
24861 # We can link X programs with no special library path.
24862 ac_x_libraries=
24863 else
24864   LIBS=$ac_save_LIBS
24865 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24866 do
24867   # Don't even attempt the hair of trying to link an X program!
24868   for ac_extension in a so sl dylib la dll; do
24869     if test -r "$ac_dir/libX11.$ac_extension"; then
24870       ac_x_libraries=$ac_dir
24871       break 2
24872     fi
24873   done
24874 done
24875 fi
24876 rm -f core conftest.err conftest.$ac_objext \
24877     conftest$ac_exeext conftest.$ac_ext
24878 fi # $ac_x_libraries = no
24879
24880 case $ac_x_includes,$ac_x_libraries in #(
24881   no,* | *,no | *\'*)
24882     # Didn't find X, or a directory has "'" in its name.
24883     ac_cv_have_x="have_x=no";; #(
24884   *)
24885     # Record where we found X for the cache.
24886     ac_cv_have_x="have_x=yes\
24887         ac_x_includes='$ac_x_includes'\
24888         ac_x_libraries='$ac_x_libraries'"
24889 esac
24890 fi
24891 ;; #(
24892     *) have_x=yes;;
24893   esac
24894   eval "$ac_cv_have_x"
24895 fi # $with_x != no
24896
24897 if test "$have_x" != yes; then
24898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24899 $as_echo "$have_x" >&6; }
24900   no_x=yes
24901 else
24902   # If each of the values was on the command line, it overrides each guess.
24903   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24904   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24905   # Update the cache value to reflect the command line values.
24906   ac_cv_have_x="have_x=yes\
24907         ac_x_includes='$x_includes'\
24908         ac_x_libraries='$x_libraries'"
24909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24910 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24911 fi
24912
24913 if test "$no_x" = yes; then
24914   # Not all programs may use this symbol, but it does not hurt to define it.
24915
24916 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24917
24918   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24919 else
24920   if test -n "$x_includes"; then
24921     X_CFLAGS="$X_CFLAGS -I$x_includes"
24922   fi
24923
24924   # It would also be nice to do this for all -L options, not just this one.
24925   if test -n "$x_libraries"; then
24926     X_LIBS="$X_LIBS -L$x_libraries"
24927     # For Solaris; some versions of Sun CC require a space after -R and
24928     # others require no space.  Words are not sufficient . . . .
24929     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24930 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24931     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24932     ac_xsave_c_werror_flag=$ac_c_werror_flag
24933     ac_c_werror_flag=yes
24934     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24935 /* end confdefs.h.  */
24936
24937 int
24938 main ()
24939 {
24940
24941   ;
24942   return 0;
24943 }
24944 _ACEOF
24945 if ac_fn_c_try_link "$LINENO"; then :
24946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24947 $as_echo "no" >&6; }
24948        X_LIBS="$X_LIBS -R$x_libraries"
24949 else
24950   LIBS="$ac_xsave_LIBS -R $x_libraries"
24951        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24952 /* end confdefs.h.  */
24953
24954 int
24955 main ()
24956 {
24957
24958   ;
24959   return 0;
24960 }
24961 _ACEOF
24962 if ac_fn_c_try_link "$LINENO"; then :
24963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24964 $as_echo "yes" >&6; }
24965           X_LIBS="$X_LIBS -R $x_libraries"
24966 else
24967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24968 $as_echo "neither works" >&6; }
24969 fi
24970 rm -f core conftest.err conftest.$ac_objext \
24971     conftest$ac_exeext conftest.$ac_ext
24972 fi
24973 rm -f core conftest.err conftest.$ac_objext \
24974     conftest$ac_exeext conftest.$ac_ext
24975     ac_c_werror_flag=$ac_xsave_c_werror_flag
24976     LIBS=$ac_xsave_LIBS
24977   fi
24978
24979   # Check for system-dependent libraries X programs must link with.
24980   # Do this before checking for the system-independent R6 libraries
24981   # (-lICE), since we may need -lsocket or whatever for X linking.
24982
24983   if test "$ISC" = yes; then
24984     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24985   else
24986     # Martyn Johnson says this is needed for Ultrix, if the X
24987     # libraries were built with DECnet support.  And Karl Berry says
24988     # the Alpha needs dnet_stub (dnet does not exist).
24989     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24990     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24991 /* end confdefs.h.  */
24992
24993 /* Override any GCC internal prototype to avoid an error.
24994    Use char because int might match the return type of a GCC
24995    builtin and then its argument prototype would still apply.  */
24996 #ifdef __cplusplus
24997 extern "C"
24998 #endif
24999 char XOpenDisplay ();
25000 int
25001 main ()
25002 {
25003 return XOpenDisplay ();
25004   ;
25005   return 0;
25006 }
25007 _ACEOF
25008 if ac_fn_c_try_link "$LINENO"; then :
25009
25010 else
25011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25012 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25013 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25014   $as_echo_n "(cached) " >&6
25015 else
25016   ac_check_lib_save_LIBS=$LIBS
25017 LIBS="-ldnet  $LIBS"
25018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25019 /* end confdefs.h.  */
25020
25021 /* Override any GCC internal prototype to avoid an error.
25022    Use char because int might match the return type of a GCC
25023    builtin and then its argument prototype would still apply.  */
25024 #ifdef __cplusplus
25025 extern "C"
25026 #endif
25027 char dnet_ntoa ();
25028 int
25029 main ()
25030 {
25031 return dnet_ntoa ();
25032   ;
25033   return 0;
25034 }
25035 _ACEOF
25036 if ac_fn_c_try_link "$LINENO"; then :
25037   ac_cv_lib_dnet_dnet_ntoa=yes
25038 else
25039   ac_cv_lib_dnet_dnet_ntoa=no
25040 fi
25041 rm -f core conftest.err conftest.$ac_objext \
25042     conftest$ac_exeext conftest.$ac_ext
25043 LIBS=$ac_check_lib_save_LIBS
25044 fi
25045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25046 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25047 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
25048   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25049 fi
25050
25051     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25052       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25053 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25054 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
25055   $as_echo_n "(cached) " >&6
25056 else
25057   ac_check_lib_save_LIBS=$LIBS
25058 LIBS="-ldnet_stub  $LIBS"
25059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25060 /* end confdefs.h.  */
25061
25062 /* Override any GCC internal prototype to avoid an error.
25063    Use char because int might match the return type of a GCC
25064    builtin and then its argument prototype would still apply.  */
25065 #ifdef __cplusplus
25066 extern "C"
25067 #endif
25068 char dnet_ntoa ();
25069 int
25070 main ()
25071 {
25072 return dnet_ntoa ();
25073   ;
25074   return 0;
25075 }
25076 _ACEOF
25077 if ac_fn_c_try_link "$LINENO"; then :
25078   ac_cv_lib_dnet_stub_dnet_ntoa=yes
25079 else
25080   ac_cv_lib_dnet_stub_dnet_ntoa=no
25081 fi
25082 rm -f core conftest.err conftest.$ac_objext \
25083     conftest$ac_exeext conftest.$ac_ext
25084 LIBS=$ac_check_lib_save_LIBS
25085 fi
25086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25087 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25088 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25089   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25090 fi
25091
25092     fi
25093 fi
25094 rm -f core conftest.err conftest.$ac_objext \
25095     conftest$ac_exeext conftest.$ac_ext
25096     LIBS="$ac_xsave_LIBS"
25097
25098     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25099     # to get the SysV transport functions.
25100     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25101     # needs -lnsl.
25102     # The nsl library prevents programs from opening the X display
25103     # on Irix 5.2, according to T.E. Dickey.
25104     # The functions gethostbyname, getservbyname, and inet_addr are
25105     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25106     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25107 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25108
25109 fi
25110
25111     if test $ac_cv_func_gethostbyname = no; then
25112       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25113 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25114 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25115   $as_echo_n "(cached) " >&6
25116 else
25117   ac_check_lib_save_LIBS=$LIBS
25118 LIBS="-lnsl  $LIBS"
25119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25120 /* end confdefs.h.  */
25121
25122 /* Override any GCC internal prototype to avoid an error.
25123    Use char because int might match the return type of a GCC
25124    builtin and then its argument prototype would still apply.  */
25125 #ifdef __cplusplus
25126 extern "C"
25127 #endif
25128 char gethostbyname ();
25129 int
25130 main ()
25131 {
25132 return gethostbyname ();
25133   ;
25134   return 0;
25135 }
25136 _ACEOF
25137 if ac_fn_c_try_link "$LINENO"; then :
25138   ac_cv_lib_nsl_gethostbyname=yes
25139 else
25140   ac_cv_lib_nsl_gethostbyname=no
25141 fi
25142 rm -f core conftest.err conftest.$ac_objext \
25143     conftest$ac_exeext conftest.$ac_ext
25144 LIBS=$ac_check_lib_save_LIBS
25145 fi
25146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25147 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25148 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25149   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25150 fi
25151
25152       if test $ac_cv_lib_nsl_gethostbyname = no; then
25153         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25154 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25155 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25156   $as_echo_n "(cached) " >&6
25157 else
25158   ac_check_lib_save_LIBS=$LIBS
25159 LIBS="-lbsd  $LIBS"
25160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25161 /* end confdefs.h.  */
25162
25163 /* Override any GCC internal prototype to avoid an error.
25164    Use char because int might match the return type of a GCC
25165    builtin and then its argument prototype would still apply.  */
25166 #ifdef __cplusplus
25167 extern "C"
25168 #endif
25169 char gethostbyname ();
25170 int
25171 main ()
25172 {
25173 return gethostbyname ();
25174   ;
25175   return 0;
25176 }
25177 _ACEOF
25178 if ac_fn_c_try_link "$LINENO"; then :
25179   ac_cv_lib_bsd_gethostbyname=yes
25180 else
25181   ac_cv_lib_bsd_gethostbyname=no
25182 fi
25183 rm -f core conftest.err conftest.$ac_objext \
25184     conftest$ac_exeext conftest.$ac_ext
25185 LIBS=$ac_check_lib_save_LIBS
25186 fi
25187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25188 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25189 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25190   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25191 fi
25192
25193       fi
25194     fi
25195
25196     # lieder@skyler.mavd.honeywell.com says without -lsocket,
25197     # socket/setsockopt and other routines are undefined under SCO ODT
25198     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
25199     # on later versions), says Simon Leinen: it contains gethostby*
25200     # variants that don't use the name server (or something).  -lsocket
25201     # must be given before -lnsl if both are needed.  We assume that
25202     # if connect needs -lnsl, so does gethostbyname.
25203     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25204 if test "x$ac_cv_func_connect" = xyes; then :
25205
25206 fi
25207
25208     if test $ac_cv_func_connect = no; then
25209       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25210 $as_echo_n "checking for connect in -lsocket... " >&6; }
25211 if ${ac_cv_lib_socket_connect+:} false; then :
25212   $as_echo_n "(cached) " >&6
25213 else
25214   ac_check_lib_save_LIBS=$LIBS
25215 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25217 /* end confdefs.h.  */
25218
25219 /* Override any GCC internal prototype to avoid an error.
25220    Use char because int might match the return type of a GCC
25221    builtin and then its argument prototype would still apply.  */
25222 #ifdef __cplusplus
25223 extern "C"
25224 #endif
25225 char connect ();
25226 int
25227 main ()
25228 {
25229 return connect ();
25230   ;
25231   return 0;
25232 }
25233 _ACEOF
25234 if ac_fn_c_try_link "$LINENO"; then :
25235   ac_cv_lib_socket_connect=yes
25236 else
25237   ac_cv_lib_socket_connect=no
25238 fi
25239 rm -f core conftest.err conftest.$ac_objext \
25240     conftest$ac_exeext conftest.$ac_ext
25241 LIBS=$ac_check_lib_save_LIBS
25242 fi
25243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25244 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25245 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25246   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25247 fi
25248
25249     fi
25250
25251     # Guillermo Gomez says -lposix is necessary on A/UX.
25252     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25253 if test "x$ac_cv_func_remove" = xyes; then :
25254
25255 fi
25256
25257     if test $ac_cv_func_remove = no; then
25258       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25259 $as_echo_n "checking for remove in -lposix... " >&6; }
25260 if ${ac_cv_lib_posix_remove+:} false; then :
25261   $as_echo_n "(cached) " >&6
25262 else
25263   ac_check_lib_save_LIBS=$LIBS
25264 LIBS="-lposix  $LIBS"
25265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25266 /* end confdefs.h.  */
25267
25268 /* Override any GCC internal prototype to avoid an error.
25269    Use char because int might match the return type of a GCC
25270    builtin and then its argument prototype would still apply.  */
25271 #ifdef __cplusplus
25272 extern "C"
25273 #endif
25274 char remove ();
25275 int
25276 main ()
25277 {
25278 return remove ();
25279   ;
25280   return 0;
25281 }
25282 _ACEOF
25283 if ac_fn_c_try_link "$LINENO"; then :
25284   ac_cv_lib_posix_remove=yes
25285 else
25286   ac_cv_lib_posix_remove=no
25287 fi
25288 rm -f core conftest.err conftest.$ac_objext \
25289     conftest$ac_exeext conftest.$ac_ext
25290 LIBS=$ac_check_lib_save_LIBS
25291 fi
25292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25293 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25294 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25295   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25296 fi
25297
25298     fi
25299
25300     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25301     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25302 if test "x$ac_cv_func_shmat" = xyes; then :
25303
25304 fi
25305
25306     if test $ac_cv_func_shmat = no; then
25307       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25308 $as_echo_n "checking for shmat in -lipc... " >&6; }
25309 if ${ac_cv_lib_ipc_shmat+:} false; then :
25310   $as_echo_n "(cached) " >&6
25311 else
25312   ac_check_lib_save_LIBS=$LIBS
25313 LIBS="-lipc  $LIBS"
25314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25315 /* end confdefs.h.  */
25316
25317 /* Override any GCC internal prototype to avoid an error.
25318    Use char because int might match the return type of a GCC
25319    builtin and then its argument prototype would still apply.  */
25320 #ifdef __cplusplus
25321 extern "C"
25322 #endif
25323 char shmat ();
25324 int
25325 main ()
25326 {
25327 return shmat ();
25328   ;
25329   return 0;
25330 }
25331 _ACEOF
25332 if ac_fn_c_try_link "$LINENO"; then :
25333   ac_cv_lib_ipc_shmat=yes
25334 else
25335   ac_cv_lib_ipc_shmat=no
25336 fi
25337 rm -f core conftest.err conftest.$ac_objext \
25338     conftest$ac_exeext conftest.$ac_ext
25339 LIBS=$ac_check_lib_save_LIBS
25340 fi
25341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25342 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25343 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25344   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25345 fi
25346
25347     fi
25348   fi
25349
25350   # Check for libraries that X11R6 Xt/Xaw programs need.
25351   ac_save_LDFLAGS=$LDFLAGS
25352   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25353   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25354   # check for ICE first), but we must link in the order -lSM -lICE or
25355   # we get undefined symbols.  So assume we have SM if we have ICE.
25356   # These have to be linked with before -lX11, unlike the other
25357   # libraries we check for below, so use a different variable.
25358   # John Interrante, Karl Berry
25359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25360 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25361 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25362   $as_echo_n "(cached) " >&6
25363 else
25364   ac_check_lib_save_LIBS=$LIBS
25365 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25367 /* end confdefs.h.  */
25368
25369 /* Override any GCC internal prototype to avoid an error.
25370    Use char because int might match the return type of a GCC
25371    builtin and then its argument prototype would still apply.  */
25372 #ifdef __cplusplus
25373 extern "C"
25374 #endif
25375 char IceConnectionNumber ();
25376 int
25377 main ()
25378 {
25379 return IceConnectionNumber ();
25380   ;
25381   return 0;
25382 }
25383 _ACEOF
25384 if ac_fn_c_try_link "$LINENO"; then :
25385   ac_cv_lib_ICE_IceConnectionNumber=yes
25386 else
25387   ac_cv_lib_ICE_IceConnectionNumber=no
25388 fi
25389 rm -f core conftest.err conftest.$ac_objext \
25390     conftest$ac_exeext conftest.$ac_ext
25391 LIBS=$ac_check_lib_save_LIBS
25392 fi
25393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25394 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25395 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25396   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25397 fi
25398
25399   LDFLAGS=$ac_save_LDFLAGS
25400
25401 fi
25402
25403
25404         if test "$no_x" = "yes"; then
25405           as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25406         fi
25407
25408                                 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25409         TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25410         AFMINSTALL=afminstall
25411         COMPILED_X_PROGRAM=0
25412
25413     fi
25414
25415     if test "$wxUSE_X11" = 1; then
25416         if test "$wxUSE_NANOX" = "yes"; then
25417             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25418 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25419             if test "x$MICROWIN" = x ; then
25420                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25421 $as_echo "not found" >&6; }
25422                 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25423             else
25424                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25425 $as_echo "$MICROWIN" >&6; }
25426                 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25427
25428             fi
25429         fi
25430
25431         if test "$wxUSE_UNICODE" = "yes"; then
25432
25433
25434 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25435         if test -n "$ac_tool_prefix"; then
25436   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25437 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25439 $as_echo_n "checking for $ac_word... " >&6; }
25440 if ${ac_cv_path_PKG_CONFIG+:} false; then :
25441   $as_echo_n "(cached) " >&6
25442 else
25443   case $PKG_CONFIG in
25444   [\\/]* | ?:[\\/]*)
25445   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25446   ;;
25447   *)
25448   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25449 for as_dir in $PATH
25450 do
25451   IFS=$as_save_IFS
25452   test -z "$as_dir" && as_dir=.
25453     for ac_exec_ext in '' $ac_executable_extensions; do
25454   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25455     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25456     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25457     break 2
25458   fi
25459 done
25460   done
25461 IFS=$as_save_IFS
25462
25463   ;;
25464 esac
25465 fi
25466 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25467 if test -n "$PKG_CONFIG"; then
25468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25469 $as_echo "$PKG_CONFIG" >&6; }
25470 else
25471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25472 $as_echo "no" >&6; }
25473 fi
25474
25475
25476 fi
25477 if test -z "$ac_cv_path_PKG_CONFIG"; then
25478   ac_pt_PKG_CONFIG=$PKG_CONFIG
25479   # Extract the first word of "pkg-config", so it can be a program name with args.
25480 set dummy pkg-config; ac_word=$2
25481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25482 $as_echo_n "checking for $ac_word... " >&6; }
25483 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
25484   $as_echo_n "(cached) " >&6
25485 else
25486   case $ac_pt_PKG_CONFIG in
25487   [\\/]* | ?:[\\/]*)
25488   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25489   ;;
25490   *)
25491   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25492 for as_dir in $PATH
25493 do
25494   IFS=$as_save_IFS
25495   test -z "$as_dir" && as_dir=.
25496     for ac_exec_ext in '' $ac_executable_extensions; do
25497   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25498     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25499     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25500     break 2
25501   fi
25502 done
25503   done
25504 IFS=$as_save_IFS
25505
25506   ;;
25507 esac
25508 fi
25509 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25510 if test -n "$ac_pt_PKG_CONFIG"; then
25511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25512 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25513 else
25514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25515 $as_echo "no" >&6; }
25516 fi
25517
25518   if test "x$ac_pt_PKG_CONFIG" = x; then
25519     PKG_CONFIG=""
25520   else
25521     case $cross_compiling:$ac_tool_warned in
25522 yes:)
25523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25525 ac_tool_warned=yes ;;
25526 esac
25527     PKG_CONFIG=$ac_pt_PKG_CONFIG
25528   fi
25529 else
25530   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25531 fi
25532
25533 fi
25534 if test -n "$PKG_CONFIG"; then
25535         _pkg_min_version=0.9.0
25536         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25537 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25538         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25539                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25540 $as_echo "yes" >&6; }
25541         else
25542                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25543 $as_echo "no" >&6; }
25544                 PKG_CONFIG=""
25545         fi
25546
25547 fi
25548
25549
25550 pkg_failed=no
25551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25552 $as_echo_n "checking for PANGOX... " >&6; }
25553
25554 if test -n "$PKG_CONFIG"; then
25555     if test -n "$PANGOX_CFLAGS"; then
25556         pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25557     else
25558         if test -n "$PKG_CONFIG" && \
25559     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25560   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25561   ac_status=$?
25562   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25563   test $ac_status = 0; }; then
25564   pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25565 else
25566   pkg_failed=yes
25567 fi
25568     fi
25569 else
25570         pkg_failed=untried
25571 fi
25572 if test -n "$PKG_CONFIG"; then
25573     if test -n "$PANGOX_LIBS"; then
25574         pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25575     else
25576         if test -n "$PKG_CONFIG" && \
25577     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25578   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25579   ac_status=$?
25580   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25581   test $ac_status = 0; }; then
25582   pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25583 else
25584   pkg_failed=yes
25585 fi
25586     fi
25587 else
25588         pkg_failed=untried
25589 fi
25590
25591
25592
25593 if test $pkg_failed = yes; then
25594
25595 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25596         _pkg_short_errors_supported=yes
25597 else
25598         _pkg_short_errors_supported=no
25599 fi
25600         if test $_pkg_short_errors_supported = yes; then
25601                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25602         else
25603                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25604         fi
25605         # Put the nasty error message in config.log where it belongs
25606         echo "$PANGOX_PKG_ERRORS" >&5
25607
25608
25609                     as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25610
25611
25612 elif test $pkg_failed = untried; then
25613
25614                     as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25615
25616
25617 else
25618         PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25619         PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25620         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25621 $as_echo "yes" >&6; }
25622
25623                     CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25624                     CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25625                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25626
25627 fi
25628
25629 pkg_failed=no
25630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25631 $as_echo_n "checking for PANGOFT2... " >&6; }
25632
25633 if test -n "$PKG_CONFIG"; then
25634     if test -n "$PANGOFT2_CFLAGS"; then
25635         pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25636     else
25637         if test -n "$PKG_CONFIG" && \
25638     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25639   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25640   ac_status=$?
25641   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25642   test $ac_status = 0; }; then
25643   pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25644 else
25645   pkg_failed=yes
25646 fi
25647     fi
25648 else
25649         pkg_failed=untried
25650 fi
25651 if test -n "$PKG_CONFIG"; then
25652     if test -n "$PANGOFT2_LIBS"; then
25653         pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25654     else
25655         if test -n "$PKG_CONFIG" && \
25656     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25657   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25658   ac_status=$?
25659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25660   test $ac_status = 0; }; then
25661   pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25662 else
25663   pkg_failed=yes
25664 fi
25665     fi
25666 else
25667         pkg_failed=untried
25668 fi
25669
25670
25671
25672 if test $pkg_failed = yes; then
25673
25674 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25675         _pkg_short_errors_supported=yes
25676 else
25677         _pkg_short_errors_supported=no
25678 fi
25679         if test $_pkg_short_errors_supported = yes; then
25680                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25681         else
25682                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25683         fi
25684         # Put the nasty error message in config.log where it belongs
25685         echo "$PANGOFT2_PKG_ERRORS" >&5
25686
25687
25688                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25689 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25690                     wxUSE_PRINTING_ARCHITECTURE="no"
25691
25692
25693 elif test $pkg_failed = untried; then
25694
25695                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25696 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25697                     wxUSE_PRINTING_ARCHITECTURE="no"
25698
25699
25700 else
25701         PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25702         PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25703         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25704 $as_echo "yes" >&6; }
25705
25706                     CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25707                     CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25708                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25709
25710 fi
25711
25712 pkg_failed=no
25713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25714 $as_echo_n "checking for PANGOXFT... " >&6; }
25715
25716 if test -n "$PKG_CONFIG"; then
25717     if test -n "$PANGOXFT_CFLAGS"; then
25718         pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25719     else
25720         if test -n "$PKG_CONFIG" && \
25721     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25722   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25723   ac_status=$?
25724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25725   test $ac_status = 0; }; then
25726   pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25727 else
25728   pkg_failed=yes
25729 fi
25730     fi
25731 else
25732         pkg_failed=untried
25733 fi
25734 if test -n "$PKG_CONFIG"; then
25735     if test -n "$PANGOXFT_LIBS"; then
25736         pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25737     else
25738         if test -n "$PKG_CONFIG" && \
25739     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25740   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25741   ac_status=$?
25742   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25743   test $ac_status = 0; }; then
25744   pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25745 else
25746   pkg_failed=yes
25747 fi
25748     fi
25749 else
25750         pkg_failed=untried
25751 fi
25752
25753
25754
25755 if test $pkg_failed = yes; then
25756
25757 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25758         _pkg_short_errors_supported=yes
25759 else
25760         _pkg_short_errors_supported=no
25761 fi
25762         if test $_pkg_short_errors_supported = yes; then
25763                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25764         else
25765                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25766         fi
25767         # Put the nasty error message in config.log where it belongs
25768         echo "$PANGOXFT_PKG_ERRORS" >&5
25769
25770
25771                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25772 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25773
25774
25775 elif test $pkg_failed = untried; then
25776
25777                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25778 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25779
25780
25781 else
25782         PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25783         PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25784         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25785 $as_echo "yes" >&6; }
25786
25787                     $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25788
25789                     CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25790                     CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25791                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25792
25793 fi
25794             save_LIBS="$LIBS"
25795             LIBS="$LIBS $PANGOX_LIBS"
25796             for ac_func in pango_font_family_is_monospace
25797 do :
25798   ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25799 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes; then :
25800   cat >>confdefs.h <<_ACEOF
25801 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25802 _ACEOF
25803
25804 fi
25805 done
25806
25807             LIBS="$save_LIBS"
25808         fi
25809
25810         wxUSE_UNIVERSAL="yes"
25811
25812         if test "$wxUSE_NANOX" = "yes"; then
25813             TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25814             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"
25815             GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25816         else
25817             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25818         fi
25819
25820         TOOLKIT=X11
25821         GUIDIST=X11_DIST
25822     fi
25823
25824     if test "$wxUSE_MOTIF" = 1; then
25825         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25826 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25827
25828 ac_find_includes=
25829 for ac_dir in $SEARCH_INCLUDE /usr/include
25830   do
25831     if test -f "$ac_dir/Xm/Xm.h"; then
25832       ac_find_includes=$ac_dir
25833       break
25834     fi
25835   done
25836
25837         if test "$ac_find_includes" != "" ; then
25838             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25839 $as_echo "found in $ac_find_includes" >&6; }
25840
25841     if test "x$ac_find_includes" = "x/usr/include"; then
25842     ac_path_to_include=""
25843   else
25844     echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25845     result=$?
25846     if test $result = 0; then
25847       ac_path_to_include=""
25848     else
25849       ac_path_to_include=" -I$ac_find_includes"
25850     fi
25851   fi
25852
25853             TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25854         else
25855             save_CFLAGS=$CFLAGS
25856             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25857
25858             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25859 /* end confdefs.h.  */
25860
25861                     #include <Xm/Xm.h>
25862
25863 int
25864 main ()
25865 {
25866
25867                     int version;
25868                     version = xmUseVersion;
25869
25870   ;
25871   return 0;
25872 }
25873 _ACEOF
25874 if ac_fn_c_try_compile "$LINENO"; then :
25875
25876                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25877 $as_echo "found in default search path" >&6; }
25878                     COMPILED_X_PROGRAM=1
25879
25880 else
25881
25882                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25883 $as_echo "no" >&6; }
25884                     as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25885
25886
25887 fi
25888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25889
25890             CFLAGS=$save_CFLAGS
25891         fi
25892
25893
25894         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25895 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25896
25897   ac_find_libraries=
25898   for ac_dir in  $SEARCH_LIB
25899   do
25900     for ac_extension in a so sl dylib dll.a; do
25901       if test -f "$ac_dir/libXm.$ac_extension"; then
25902         ac_find_libraries=$ac_dir
25903         break 2
25904       fi
25905     done
25906   done
25907
25908
25909         if test "x$ac_find_libraries" != "x" ; then
25910             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25911 $as_echo "found in $ac_find_libraries" >&6; }
25912
25913
25914     if test "$ac_find_libraries" = "default location"; then
25915     ac_path_to_link=""
25916   else
25917     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25918     result=$?
25919     if test $result = 0; then
25920       ac_path_to_link=""
25921     else
25922       ac_path_to_link=" -L$ac_find_libraries"
25923     fi
25924   fi
25925
25926             GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25927         else
25928                                                 save_CFLAGS=$CFLAGS
25929             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25930             save_LIBS="$LIBS"
25931             LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25932
25933             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25934 /* end confdefs.h.  */
25935
25936                     #include <Xm/Xm.h>
25937
25938 int
25939 main ()
25940 {
25941
25942                     int version;
25943                     version = xmUseVersion;
25944
25945   ;
25946   return 0;
25947 }
25948 _ACEOF
25949 if ac_fn_c_try_link "$LINENO"; then :
25950
25951                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25952 $as_echo "found in default search path" >&6; }
25953                     COMPILED_X_PROGRAM=1
25954
25955 else
25956
25957                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25958 $as_echo "no" >&6; }
25959                     as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
25960
25961
25962 fi
25963 rm -f core conftest.err conftest.$ac_objext \
25964     conftest$ac_exeext conftest.$ac_ext
25965
25966             CFLAGS=$save_CFLAGS
25967             LIBS="$save_LIBS"
25968         fi
25969
25970         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
25971 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
25972         libp_link=""
25973         libsm_ice_link=""
25974         libs_found=0
25975         for libp in "" " -lXp"; do
25976             if test "$libs_found" = 0; then
25977                 for libsm_ice in "" " -lSM -lICE"; do
25978                     if test "$libs_found" = 0; then
25979                         save_LIBS="$LIBS"
25980                         LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25981                         save_CFLAGS=$CFLAGS
25982                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25983
25984                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25985 /* end confdefs.h.  */
25986
25987                                 #include <Xm/Xm.h>
25988                                 #include <Xm/List.h>
25989
25990 int
25991 main ()
25992 {
25993
25994                                 XmString string = NULL;
25995                                 Widget w = NULL;
25996                                 int position = 0;
25997                                 XmListAddItem(w, string, position);
25998
25999   ;
26000   return 0;
26001 }
26002 _ACEOF
26003 if ac_fn_c_try_link "$LINENO"; then :
26004
26005                                 libp_link="$libp"
26006                                 libsm_ice_link="$libsm_ice"
26007                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26008 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26009                                 libs_found=1
26010
26011 fi
26012 rm -f core conftest.err conftest.$ac_objext \
26013     conftest$ac_exeext conftest.$ac_ext
26014
26015                         LIBS="$save_LIBS"
26016                         CFLAGS=$save_CFLAGS
26017                     fi
26018                 done
26019             fi
26020         done
26021
26022         if test "$libs_found" = 0; then
26023             { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26024 $as_echo "can't find the right libraries" >&6; }
26025             as_fn_error $? "can't link a simple motif program" "$LINENO" 5
26026         fi
26027
26028                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26029 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26030 if ${ac_cv_lib_Sgm_SgCreateList+:} false; then :
26031   $as_echo_n "(cached) " >&6
26032 else
26033   ac_check_lib_save_LIBS=$LIBS
26034 LIBS="-lSgm  $LIBS"
26035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26036 /* end confdefs.h.  */
26037
26038 /* Override any GCC internal prototype to avoid an error.
26039    Use char because int might match the return type of a GCC
26040    builtin and then its argument prototype would still apply.  */
26041 #ifdef __cplusplus
26042 extern "C"
26043 #endif
26044 char SgCreateList ();
26045 int
26046 main ()
26047 {
26048 return SgCreateList ();
26049   ;
26050   return 0;
26051 }
26052 _ACEOF
26053 if ac_fn_c_try_link "$LINENO"; then :
26054   ac_cv_lib_Sgm_SgCreateList=yes
26055 else
26056   ac_cv_lib_Sgm_SgCreateList=no
26057 fi
26058 rm -f core conftest.err conftest.$ac_objext \
26059     conftest$ac_exeext conftest.$ac_ext
26060 LIBS=$ac_check_lib_save_LIBS
26061 fi
26062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26063 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26064 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes; then :
26065   libsgm_link=" -lSgm"
26066 fi
26067
26068
26069         save_CFLAGS=$CFLAGS
26070         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26071
26072         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26073 $as_echo_n "checking for Motif 2... " >&6; }
26074 if ${wx_cv_lib_motif2+:} false; then :
26075   $as_echo_n "(cached) " >&6
26076 else
26077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26078 /* end confdefs.h.  */
26079
26080                             #include <Xm/Xm.h>
26081
26082 int
26083 main ()
26084 {
26085
26086                             #if XmVersion < 2000
26087                             Not Motif 2
26088                             #endif
26089
26090   ;
26091   return 0;
26092 }
26093 _ACEOF
26094 if ac_fn_c_try_compile "$LINENO"; then :
26095   wx_cv_lib_motif2="yes"
26096 else
26097   wx_cv_lib_motif2="no"
26098 fi
26099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26100 fi
26101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26102 $as_echo "$wx_cv_lib_motif2" >&6; }
26103         if test "$wx_cv_lib_motif2" = "yes"; then
26104             $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26105
26106         else
26107             $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26108
26109         fi
26110
26111         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26112 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26113 if ${wx_cv_lib_lesstif+:} false; then :
26114   $as_echo_n "(cached) " >&6
26115 else
26116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26117 /* end confdefs.h.  */
26118
26119                             #include <Xm/Xm.h>
26120
26121 int
26122 main ()
26123 {
26124
26125                             #if !defined(LesstifVersion) || LesstifVersion <= 0
26126                             Not Lesstif
26127                             #endif
26128
26129   ;
26130   return 0;
26131 }
26132 _ACEOF
26133 if ac_fn_c_try_compile "$LINENO"; then :
26134   wx_cv_lib_lesstif="yes"
26135 else
26136   wx_cv_lib_lesstif="no"
26137 fi
26138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26139
26140 fi
26141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26142 $as_echo "$wx_cv_lib_lesstif" >&6; }
26143         if test "$wx_cv_lib_lesstif" = "yes"; then
26144             $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26145
26146         else
26147             $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26148
26149         fi
26150
26151         CFLAGS=$save_CFLAGS
26152
26153         GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26154         TOOLKIT=MOTIF
26155         GUIDIST=MOTIF_DIST
26156     fi
26157
26158         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26159                 if test "$wxUSE_LIBXPM" = "sys"; then
26160             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26161 $as_echo_n "checking for Xpm library... " >&6; }
26162
26163   ac_find_libraries=
26164   for ac_dir in  $SEARCH_LIB
26165   do
26166     for ac_extension in a so sl dylib dll.a; do
26167       if test -f "$ac_dir/libXpm.$ac_extension"; then
26168         ac_find_libraries=$ac_dir
26169         break 2
26170       fi
26171     done
26172   done
26173
26174             if test "$ac_find_libraries" != "" ; then
26175
26176     if test "$ac_find_libraries" = "default location"; then
26177     ac_path_to_link=""
26178   else
26179     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26180     result=$?
26181     if test $result = 0; then
26182       ac_path_to_link=""
26183     else
26184       ac_path_to_link=" -L$ac_find_libraries"
26185     fi
26186   fi
26187
26188                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26189                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26190 $as_echo "found in $ac_find_libraries" >&6; }
26191
26192                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26193 $as_echo_n "checking for X11/xpm.h... " >&6; }
26194 if ${wx_cv_x11_xpm_h+:} false; then :
26195   $as_echo_n "(cached) " >&6
26196 else
26197
26198                         save_CFLAGS=$CFLAGS
26199                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26200
26201                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26202 /* end confdefs.h.  */
26203
26204                                 #include <X11/xpm.h>
26205
26206 int
26207 main ()
26208 {
26209
26210                                 int version;
26211                                 version = XpmLibraryVersion();
26212
26213   ;
26214   return 0;
26215 }
26216 _ACEOF
26217 if ac_fn_c_try_compile "$LINENO"; then :
26218   wx_cv_x11_xpm_h=yes
26219 else
26220   wx_cv_x11_xpm_h=no
26221
26222 fi
26223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26224
26225                         CFLAGS=$save_CFLAGS
26226
26227
26228 fi
26229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26230 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26231
26232                 if test $wx_cv_x11_xpm_h = "yes"; then
26233                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26234                     $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26235
26236                 else
26237                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26238 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26239                 fi
26240             fi
26241
26242         fi
26243
26244                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26245 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26246 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
26247   $as_echo_n "(cached) " >&6
26248 else
26249   ac_check_lib_save_LIBS=$LIBS
26250 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26252 /* end confdefs.h.  */
26253
26254 /* Override any GCC internal prototype to avoid an error.
26255    Use char because int might match the return type of a GCC
26256    builtin and then its argument prototype would still apply.  */
26257 #ifdef __cplusplus
26258 extern "C"
26259 #endif
26260 char XShapeQueryExtension ();
26261 int
26262 main ()
26263 {
26264 return XShapeQueryExtension ();
26265   ;
26266   return 0;
26267 }
26268 _ACEOF
26269 if ac_fn_c_try_link "$LINENO"; then :
26270   ac_cv_lib_Xext_XShapeQueryExtension=yes
26271 else
26272   ac_cv_lib_Xext_XShapeQueryExtension=no
26273 fi
26274 rm -f core conftest.err conftest.$ac_objext \
26275     conftest$ac_exeext conftest.$ac_ext
26276 LIBS=$ac_check_lib_save_LIBS
26277 fi
26278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26279 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26280 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
26281
26282                       GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26283                       wxHAVE_XEXT_LIB=1
26284
26285 fi
26286
26287
26288         if test "$wxHAVE_XEXT_LIB" = 1; then
26289             save_CFLAGS="$CFLAGS"
26290             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26291
26292             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26293 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26294             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26295 /* end confdefs.h.  */
26296
26297                             #include <X11/Xlib.h>
26298                             #include <X11/extensions/shape.h>
26299
26300 int
26301 main ()
26302 {
26303
26304                             int dummy1, dummy2;
26305                             XShapeQueryExtension((Display*)NULL,
26306                                                  (int*)NULL, (int*)NULL);
26307
26308   ;
26309   return 0;
26310 }
26311 _ACEOF
26312 if ac_fn_c_try_compile "$LINENO"; then :
26313
26314                             $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26315
26316                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26317 $as_echo "found" >&6; }
26318
26319 else
26320
26321                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26322 $as_echo "not found" >&6; }
26323
26324 fi
26325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26326             CFLAGS="$save_CFLAGS"
26327
26328         fi
26329     fi
26330
26331     if test "$wxUSE_OSX_CARBON" = 1; then
26332         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26333 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26334         if test "$GCC" = yes; then
26335             { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26336 $as_echo "gcc" >&6; }
26337             CPPFLAGS_PASCAL="-fpascal-strings"
26338         elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26339             { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26340 $as_echo "xlc" >&6; }
26341             CPPFLAGS_PASCAL="-qmacpstr"
26342         else
26343             { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26344 $as_echo "none" >&6; }
26345         fi
26346
26347         if test "x$wxUSE_UNIX" = "xyes"; then
26348             CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26349         else
26350                         CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26351         fi
26352
26353         TOOLKIT=OSX_CARBON
26354                 GUIDIST=OSX_CARBON_DIST
26355                         WXBASEPORT="_carbon"
26356
26357                                         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26358     fi
26359
26360     if test "$wxUSE_OSX_COCOA" = 1; then
26361         TOOLKIT=OSX_COCOA
26362         GUIDIST=OSX_COCOA_DIST
26363
26364                 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26365     fi
26366
26367     if test "$wxUSE_OSX_IPHONE" = 1; then
26368         TOOLKIT=OSX_IPHONE
26369     fi
26370
26371     if test "$wxUSE_OLD_COCOA" = 1; then
26372         TOOLKIT=COCOA
26373         GUIDIST=COCOA_DIST
26374     fi
26375
26376     if test "$wxUSE_PM" = 1; then
26377         TOOLKIT=PM
26378         GUIDIST=PM_DIST
26379         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26380 $as_echo_n "checking for type SPBCDATA... " >&6; }
26381 if ${wx_cv_spbcdata+:} false; then :
26382   $as_echo_n "(cached) " >&6
26383 else
26384
26385                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26386 /* end confdefs.h.  */
26387
26388                         #define INCL_PM
26389                         #include <os2.h>
26390
26391 int
26392 main ()
26393 {
26394
26395                         SPBCDATA test;
26396
26397   ;
26398   return 0;
26399 }
26400 _ACEOF
26401 if ac_fn_c_try_compile "$LINENO"; then :
26402   wx_cv_spbcdata=yes
26403 else
26404   wx_cv_spbcdata=no
26405
26406 fi
26407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26408
26409
26410 fi
26411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26412 $as_echo "$wx_cv_spbcdata" >&6; }
26413
26414         if test $wx_cv_spbcdata = "yes"; then
26415             $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26416
26417         fi
26418     fi
26419
26420         if test "$TOOLKIT" = "PM" ; then
26421         TOOLKIT_DIR="os2"
26422     else
26423         TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26424     fi
26425
26426     if test "$wxUSE_UNIVERSAL" = "yes"; then
26427         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26428         WIDGET_SET=univ
26429     fi
26430
26431         GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26432     DISTDIR="wx\$(TOOLKIT)"
26433 else
26434     USE_GUI=0
26435
26436             TOOLKIT_DIR="base"
26437
26438         if test "$USE_WIN32" = 1 ; then
26439                         TOOLKIT="MSW"
26440     fi
26441
26442         GUIDIST="BASE_DIST"
26443     DISTDIR="wxBase"
26444 fi
26445
26446
26447
26448 if test "$wxUSE_GUI" = "yes"; then
26449     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26450                 for ac_header in X11/Xlib.h
26451 do :
26452   ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26453 "
26454 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
26455   cat >>confdefs.h <<_ACEOF
26456 #define HAVE_X11_XLIB_H 1
26457 _ACEOF
26458
26459 fi
26460
26461 done
26462
26463         for ac_header in X11/XKBlib.h
26464 do :
26465   ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26466                           #if HAVE_X11_XLIB_H
26467                             #include <X11/Xlib.h>
26468                           #endif
26469
26470 "
26471 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
26472   cat >>confdefs.h <<_ACEOF
26473 #define HAVE_X11_XKBLIB_H 1
26474 _ACEOF
26475
26476 fi
26477
26478 done
26479
26480     fi
26481 fi
26482
26483
26484
26485 USE_XINERAMA=0
26486 if test "$wxUSE_DISPLAY" = "yes"; then
26487         if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26488
26489   ac_find_libraries=
26490
26491     fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26492
26493
26494 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26495         if test -n "$ac_tool_prefix"; then
26496   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26497 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26499 $as_echo_n "checking for $ac_word... " >&6; }
26500 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26501   $as_echo_n "(cached) " >&6
26502 else
26503   case $PKG_CONFIG in
26504   [\\/]* | ?:[\\/]*)
26505   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26506   ;;
26507   *)
26508   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26509 for as_dir in $PATH
26510 do
26511   IFS=$as_save_IFS
26512   test -z "$as_dir" && as_dir=.
26513     for ac_exec_ext in '' $ac_executable_extensions; do
26514   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26515     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26517     break 2
26518   fi
26519 done
26520   done
26521 IFS=$as_save_IFS
26522
26523   ;;
26524 esac
26525 fi
26526 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26527 if test -n "$PKG_CONFIG"; then
26528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26529 $as_echo "$PKG_CONFIG" >&6; }
26530 else
26531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26532 $as_echo "no" >&6; }
26533 fi
26534
26535
26536 fi
26537 if test -z "$ac_cv_path_PKG_CONFIG"; then
26538   ac_pt_PKG_CONFIG=$PKG_CONFIG
26539   # Extract the first word of "pkg-config", so it can be a program name with args.
26540 set dummy pkg-config; ac_word=$2
26541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26542 $as_echo_n "checking for $ac_word... " >&6; }
26543 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26544   $as_echo_n "(cached) " >&6
26545 else
26546   case $ac_pt_PKG_CONFIG in
26547   [\\/]* | ?:[\\/]*)
26548   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26549   ;;
26550   *)
26551   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26552 for as_dir in $PATH
26553 do
26554   IFS=$as_save_IFS
26555   test -z "$as_dir" && as_dir=.
26556     for ac_exec_ext in '' $ac_executable_extensions; do
26557   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26558     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26559     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26560     break 2
26561   fi
26562 done
26563   done
26564 IFS=$as_save_IFS
26565
26566   ;;
26567 esac
26568 fi
26569 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26570 if test -n "$ac_pt_PKG_CONFIG"; then
26571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26572 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26573 else
26574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26575 $as_echo "no" >&6; }
26576 fi
26577
26578   if test "x$ac_pt_PKG_CONFIG" = x; then
26579     PKG_CONFIG=""
26580   else
26581     case $cross_compiling:$ac_tool_warned in
26582 yes:)
26583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26585 ac_tool_warned=yes ;;
26586 esac
26587     PKG_CONFIG=$ac_pt_PKG_CONFIG
26588   fi
26589 else
26590   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26591 fi
26592
26593 fi
26594 if test -n "$PKG_CONFIG"; then
26595         _pkg_min_version=0.9.0
26596         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26597 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26598         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26599                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26600 $as_echo "yes" >&6; }
26601         else
26602                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26603 $as_echo "no" >&6; }
26604                 PKG_CONFIG=""
26605         fi
26606
26607 fi 6> /dev/null
26608
26609 pkg_failed=no
26610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26611 $as_echo_n "checking for Xinerama... " >&6; }
26612
26613 if test -n "$PKG_CONFIG"; then
26614     if test -n "$Xinerama_CFLAGS"; then
26615         pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26616     else
26617         if test -n "$PKG_CONFIG" && \
26618     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26619   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26620   ac_status=$?
26621   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26622   test $ac_status = 0; }; then
26623   pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26624 else
26625   pkg_failed=yes
26626 fi
26627     fi
26628 else
26629         pkg_failed=untried
26630 fi
26631 if test -n "$PKG_CONFIG"; then
26632     if test -n "$Xinerama_LIBS"; then
26633         pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26634     else
26635         if test -n "$PKG_CONFIG" && \
26636     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26637   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26638   ac_status=$?
26639   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26640   test $ac_status = 0; }; then
26641   pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26642 else
26643   pkg_failed=yes
26644 fi
26645     fi
26646 else
26647         pkg_failed=untried
26648 fi
26649
26650
26651
26652 if test $pkg_failed = yes; then
26653
26654 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26655         _pkg_short_errors_supported=yes
26656 else
26657         _pkg_short_errors_supported=no
26658 fi
26659         if test $_pkg_short_errors_supported = yes; then
26660                 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26661         else
26662                 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26663         fi
26664         # Put the nasty error message in config.log where it belongs
26665         echo "$Xinerama_PKG_ERRORS" >&5
26666
26667
26668       if test "x$ac_find_libraries" = "x"; then
26669                 if test "xXineramaQueryScreens" != "x"; then
26670           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26671 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26672 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26673   $as_echo_n "(cached) " >&6
26674 else
26675   ac_check_lib_save_LIBS=$LIBS
26676 LIBS="-lXinerama  $LIBS"
26677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26678 /* end confdefs.h.  */
26679
26680 /* Override any GCC internal prototype to avoid an error.
26681    Use char because int might match the return type of a GCC
26682    builtin and then its argument prototype would still apply.  */
26683 #ifdef __cplusplus
26684 extern "C"
26685 #endif
26686 char XineramaQueryScreens ();
26687 int
26688 main ()
26689 {
26690 return XineramaQueryScreens ();
26691   ;
26692   return 0;
26693 }
26694 _ACEOF
26695 if ac_fn_c_try_link "$LINENO"; then :
26696   ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26697 else
26698   ac_cv_lib_Xinerama_XineramaQueryScreens=no
26699 fi
26700 rm -f core conftest.err conftest.$ac_objext \
26701     conftest$ac_exeext conftest.$ac_ext
26702 LIBS=$ac_check_lib_save_LIBS
26703 fi
26704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26705 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26706 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26707   ac_find_libraries="std"
26708 fi
26709
26710         fi
26711       fi
26712
26713       if test "x$ac_find_libraries" = "x"; then
26714                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26715 $as_echo_n "checking elsewhere... " >&6; }
26716
26717   ac_find_libraries=
26718   for ac_dir in  $SEARCH_LIB
26719   do
26720     for ac_extension in a so sl dylib dll.a; do
26721       if test -f "$ac_dir/libXinerama.$ac_extension"; then
26722         ac_find_libraries=$ac_dir
26723         break 2
26724       fi
26725     done
26726   done
26727
26728         if test "x$ac_find_libraries" != "x"; then
26729           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26730 $as_echo "yes" >&6; }
26731         else
26732           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26733 $as_echo "no" >&6; }
26734         fi
26735       fi
26736
26737 elif test $pkg_failed = untried; then
26738
26739       if test "x$ac_find_libraries" = "x"; then
26740                 if test "xXineramaQueryScreens" != "x"; then
26741           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26742 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26743 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26744   $as_echo_n "(cached) " >&6
26745 else
26746   ac_check_lib_save_LIBS=$LIBS
26747 LIBS="-lXinerama  $LIBS"
26748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26749 /* end confdefs.h.  */
26750
26751 /* Override any GCC internal prototype to avoid an error.
26752    Use char because int might match the return type of a GCC
26753    builtin and then its argument prototype would still apply.  */
26754 #ifdef __cplusplus
26755 extern "C"
26756 #endif
26757 char XineramaQueryScreens ();
26758 int
26759 main ()
26760 {
26761 return XineramaQueryScreens ();
26762   ;
26763   return 0;
26764 }
26765 _ACEOF
26766 if ac_fn_c_try_link "$LINENO"; then :
26767   ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26768 else
26769   ac_cv_lib_Xinerama_XineramaQueryScreens=no
26770 fi
26771 rm -f core conftest.err conftest.$ac_objext \
26772     conftest$ac_exeext conftest.$ac_ext
26773 LIBS=$ac_check_lib_save_LIBS
26774 fi
26775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26776 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26777 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26778   ac_find_libraries="std"
26779 fi
26780
26781         fi
26782       fi
26783
26784       if test "x$ac_find_libraries" = "x"; then
26785                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26786 $as_echo_n "checking elsewhere... " >&6; }
26787
26788   ac_find_libraries=
26789   for ac_dir in  $SEARCH_LIB
26790   do
26791     for ac_extension in a so sl dylib dll.a; do
26792       if test -f "$ac_dir/libXinerama.$ac_extension"; then
26793         ac_find_libraries=$ac_dir
26794         break 2
26795       fi
26796     done
26797   done
26798
26799         if test "x$ac_find_libraries" != "x"; then
26800           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26801 $as_echo "yes" >&6; }
26802         else
26803           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26804 $as_echo "no" >&6; }
26805         fi
26806       fi
26807
26808 else
26809         Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
26810         Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
26811         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26812 $as_echo "yes" >&6; }
26813
26814             ac_find_libraries="std"
26815
26816                                                 eval ac_find_cflags=\$Xinerama_CFLAGS
26817       eval fl_libs=\$Xinerama_LIBS
26818
26819                   for fl_path in $fl_libs
26820       do
26821         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26822                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
26823         fi
26824       done
26825
26826 fi
26827
26828         if test "$ac_find_libraries" != "" ; then
26829             if test "$ac_find_libraries" != "std" ; then
26830
26831     if test "$ac_find_libraries" = "default location"; then
26832     ac_path_to_link=""
26833   else
26834     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26835     result=$?
26836     if test $result = 0; then
26837       ac_path_to_link=""
26838     else
26839       ac_path_to_link=" -L$ac_find_libraries"
26840     fi
26841   fi
26842
26843               if test "$ac_path_to_link" != " -L/usr/lib" ; then
26844                   LDFLAGS="$LDFLAGS $ac_path_to_link"
26845               fi
26846             fi
26847             USE_XINERAMA=1
26848             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26849         else
26850             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26851 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26852             wxUSE_DISPLAY="no"
26853         fi
26854     elif test "$wxUSE_MSW" = 1; then
26855                 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26856 "
26857 if test "x$ac_cv_header_ddraw_h" = xyes; then :
26858
26859 fi
26860
26861
26862     fi
26863 fi
26864
26865 if test "$wxUSE_DISPLAY" = "yes"; then
26866         if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26867
26868   ac_find_libraries=
26869
26870     fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26871
26872
26873 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26874         if test -n "$ac_tool_prefix"; then
26875   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26876 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26878 $as_echo_n "checking for $ac_word... " >&6; }
26879 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26880   $as_echo_n "(cached) " >&6
26881 else
26882   case $PKG_CONFIG in
26883   [\\/]* | ?:[\\/]*)
26884   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26885   ;;
26886   *)
26887   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26888 for as_dir in $PATH
26889 do
26890   IFS=$as_save_IFS
26891   test -z "$as_dir" && as_dir=.
26892     for ac_exec_ext in '' $ac_executable_extensions; do
26893   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26894     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26895     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26896     break 2
26897   fi
26898 done
26899   done
26900 IFS=$as_save_IFS
26901
26902   ;;
26903 esac
26904 fi
26905 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26906 if test -n "$PKG_CONFIG"; then
26907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26908 $as_echo "$PKG_CONFIG" >&6; }
26909 else
26910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26911 $as_echo "no" >&6; }
26912 fi
26913
26914
26915 fi
26916 if test -z "$ac_cv_path_PKG_CONFIG"; then
26917   ac_pt_PKG_CONFIG=$PKG_CONFIG
26918   # Extract the first word of "pkg-config", so it can be a program name with args.
26919 set dummy pkg-config; ac_word=$2
26920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26921 $as_echo_n "checking for $ac_word... " >&6; }
26922 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26923   $as_echo_n "(cached) " >&6
26924 else
26925   case $ac_pt_PKG_CONFIG in
26926   [\\/]* | ?:[\\/]*)
26927   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26928   ;;
26929   *)
26930   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26931 for as_dir in $PATH
26932 do
26933   IFS=$as_save_IFS
26934   test -z "$as_dir" && as_dir=.
26935     for ac_exec_ext in '' $ac_executable_extensions; do
26936   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26937     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26939     break 2
26940   fi
26941 done
26942   done
26943 IFS=$as_save_IFS
26944
26945   ;;
26946 esac
26947 fi
26948 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26949 if test -n "$ac_pt_PKG_CONFIG"; then
26950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26951 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26952 else
26953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26954 $as_echo "no" >&6; }
26955 fi
26956
26957   if test "x$ac_pt_PKG_CONFIG" = x; then
26958     PKG_CONFIG=""
26959   else
26960     case $cross_compiling:$ac_tool_warned in
26961 yes:)
26962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26964 ac_tool_warned=yes ;;
26965 esac
26966     PKG_CONFIG=$ac_pt_PKG_CONFIG
26967   fi
26968 else
26969   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26970 fi
26971
26972 fi
26973 if test -n "$PKG_CONFIG"; then
26974         _pkg_min_version=0.9.0
26975         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26976 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26977         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26978                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26979 $as_echo "yes" >&6; }
26980         else
26981                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26982 $as_echo "no" >&6; }
26983                 PKG_CONFIG=""
26984         fi
26985
26986 fi 6> /dev/null
26987
26988 pkg_failed=no
26989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
26990 $as_echo_n "checking for Xxf86vm... " >&6; }
26991
26992 if test -n "$PKG_CONFIG"; then
26993     if test -n "$Xxf86vm_CFLAGS"; then
26994         pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
26995     else
26996         if test -n "$PKG_CONFIG" && \
26997     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26998   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26999   ac_status=$?
27000   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27001   test $ac_status = 0; }; then
27002   pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27003 else
27004   pkg_failed=yes
27005 fi
27006     fi
27007 else
27008         pkg_failed=untried
27009 fi
27010 if test -n "$PKG_CONFIG"; then
27011     if test -n "$Xxf86vm_LIBS"; then
27012         pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
27013     else
27014         if test -n "$PKG_CONFIG" && \
27015     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27016   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27017   ac_status=$?
27018   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27019   test $ac_status = 0; }; then
27020   pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27021 else
27022   pkg_failed=yes
27023 fi
27024     fi
27025 else
27026         pkg_failed=untried
27027 fi
27028
27029
27030
27031 if test $pkg_failed = yes; then
27032
27033 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27034         _pkg_short_errors_supported=yes
27035 else
27036         _pkg_short_errors_supported=no
27037 fi
27038         if test $_pkg_short_errors_supported = yes; then
27039                 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27040         else
27041                 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27042         fi
27043         # Put the nasty error message in config.log where it belongs
27044         echo "$Xxf86vm_PKG_ERRORS" >&5
27045
27046
27047       if test "x$ac_find_libraries" = "x"; then
27048                 if test "xXF86VidModeQueryExtension" != "x"; then
27049           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27050 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27051 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27052   $as_echo_n "(cached) " >&6
27053 else
27054   ac_check_lib_save_LIBS=$LIBS
27055 LIBS="-lXxf86vm  $LIBS"
27056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27057 /* end confdefs.h.  */
27058
27059 /* Override any GCC internal prototype to avoid an error.
27060    Use char because int might match the return type of a GCC
27061    builtin and then its argument prototype would still apply.  */
27062 #ifdef __cplusplus
27063 extern "C"
27064 #endif
27065 char XF86VidModeQueryExtension ();
27066 int
27067 main ()
27068 {
27069 return XF86VidModeQueryExtension ();
27070   ;
27071   return 0;
27072 }
27073 _ACEOF
27074 if ac_fn_c_try_link "$LINENO"; then :
27075   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27076 else
27077   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27078 fi
27079 rm -f core conftest.err conftest.$ac_objext \
27080     conftest$ac_exeext conftest.$ac_ext
27081 LIBS=$ac_check_lib_save_LIBS
27082 fi
27083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27084 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27085 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27086   ac_find_libraries="std"
27087 fi
27088
27089         fi
27090       fi
27091
27092       if test "x$ac_find_libraries" = "x"; then
27093                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27094 $as_echo_n "checking elsewhere... " >&6; }
27095
27096   ac_find_libraries=
27097   for ac_dir in  $SEARCH_LIB
27098   do
27099     for ac_extension in a so sl dylib dll.a; do
27100       if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27101         ac_find_libraries=$ac_dir
27102         break 2
27103       fi
27104     done
27105   done
27106
27107         if test "x$ac_find_libraries" != "x"; then
27108           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27109 $as_echo "yes" >&6; }
27110         else
27111           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27112 $as_echo "no" >&6; }
27113         fi
27114       fi
27115
27116 elif test $pkg_failed = untried; then
27117
27118       if test "x$ac_find_libraries" = "x"; then
27119                 if test "xXF86VidModeQueryExtension" != "x"; then
27120           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27121 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27122 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27123   $as_echo_n "(cached) " >&6
27124 else
27125   ac_check_lib_save_LIBS=$LIBS
27126 LIBS="-lXxf86vm  $LIBS"
27127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27128 /* end confdefs.h.  */
27129
27130 /* Override any GCC internal prototype to avoid an error.
27131    Use char because int might match the return type of a GCC
27132    builtin and then its argument prototype would still apply.  */
27133 #ifdef __cplusplus
27134 extern "C"
27135 #endif
27136 char XF86VidModeQueryExtension ();
27137 int
27138 main ()
27139 {
27140 return XF86VidModeQueryExtension ();
27141   ;
27142   return 0;
27143 }
27144 _ACEOF
27145 if ac_fn_c_try_link "$LINENO"; then :
27146   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27147 else
27148   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27149 fi
27150 rm -f core conftest.err conftest.$ac_objext \
27151     conftest$ac_exeext conftest.$ac_ext
27152 LIBS=$ac_check_lib_save_LIBS
27153 fi
27154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27155 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27156 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27157   ac_find_libraries="std"
27158 fi
27159
27160         fi
27161       fi
27162
27163       if test "x$ac_find_libraries" = "x"; then
27164                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27165 $as_echo_n "checking elsewhere... " >&6; }
27166
27167   ac_find_libraries=
27168   for ac_dir in  $SEARCH_LIB
27169   do
27170     for ac_extension in a so sl dylib dll.a; do
27171       if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27172         ac_find_libraries=$ac_dir
27173         break 2
27174       fi
27175     done
27176   done
27177
27178         if test "x$ac_find_libraries" != "x"; then
27179           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27180 $as_echo "yes" >&6; }
27181         else
27182           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27183 $as_echo "no" >&6; }
27184         fi
27185       fi
27186
27187 else
27188         Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27189         Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27190         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27191 $as_echo "yes" >&6; }
27192
27193             ac_find_libraries="std"
27194
27195                                                 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27196       eval fl_libs=\$Xxf86vm_LIBS
27197
27198                   for fl_path in $fl_libs
27199       do
27200         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27201                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27202         fi
27203       done
27204
27205 fi
27206
27207         if test "$ac_find_libraries" != "" ; then
27208             for ac_header in X11/extensions/xf86vmode.h
27209 do :
27210   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27211                                   #if HAVE_X11_XLIB_H
27212                                     #include <X11/Xlib.h>
27213                                   #endif
27214
27215 "
27216 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then :
27217   cat >>confdefs.h <<_ACEOF
27218 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27219 _ACEOF
27220
27221                               GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27222
27223 fi
27224
27225 done
27226
27227         fi
27228     fi
27229 fi
27230
27231 if test "$wxUSE_DETECT_SM" = "yes"; then
27232     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27233
27234   ac_find_libraries=
27235
27236     fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27237
27238
27239 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27240         if test -n "$ac_tool_prefix"; then
27241   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27242 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27244 $as_echo_n "checking for $ac_word... " >&6; }
27245 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27246   $as_echo_n "(cached) " >&6
27247 else
27248   case $PKG_CONFIG in
27249   [\\/]* | ?:[\\/]*)
27250   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27251   ;;
27252   *)
27253   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27254 for as_dir in $PATH
27255 do
27256   IFS=$as_save_IFS
27257   test -z "$as_dir" && as_dir=.
27258     for ac_exec_ext in '' $ac_executable_extensions; do
27259   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27260     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27261     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27262     break 2
27263   fi
27264 done
27265   done
27266 IFS=$as_save_IFS
27267
27268   ;;
27269 esac
27270 fi
27271 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27272 if test -n "$PKG_CONFIG"; then
27273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27274 $as_echo "$PKG_CONFIG" >&6; }
27275 else
27276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27277 $as_echo "no" >&6; }
27278 fi
27279
27280
27281 fi
27282 if test -z "$ac_cv_path_PKG_CONFIG"; then
27283   ac_pt_PKG_CONFIG=$PKG_CONFIG
27284   # Extract the first word of "pkg-config", so it can be a program name with args.
27285 set dummy pkg-config; ac_word=$2
27286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27287 $as_echo_n "checking for $ac_word... " >&6; }
27288 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27289   $as_echo_n "(cached) " >&6
27290 else
27291   case $ac_pt_PKG_CONFIG in
27292   [\\/]* | ?:[\\/]*)
27293   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27294   ;;
27295   *)
27296   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27297 for as_dir in $PATH
27298 do
27299   IFS=$as_save_IFS
27300   test -z "$as_dir" && as_dir=.
27301     for ac_exec_ext in '' $ac_executable_extensions; do
27302   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27303     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27305     break 2
27306   fi
27307 done
27308   done
27309 IFS=$as_save_IFS
27310
27311   ;;
27312 esac
27313 fi
27314 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27315 if test -n "$ac_pt_PKG_CONFIG"; then
27316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27317 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27318 else
27319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27320 $as_echo "no" >&6; }
27321 fi
27322
27323   if test "x$ac_pt_PKG_CONFIG" = x; then
27324     PKG_CONFIG=""
27325   else
27326     case $cross_compiling:$ac_tool_warned in
27327 yes:)
27328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27330 ac_tool_warned=yes ;;
27331 esac
27332     PKG_CONFIG=$ac_pt_PKG_CONFIG
27333   fi
27334 else
27335   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27336 fi
27337
27338 fi
27339 if test -n "$PKG_CONFIG"; then
27340         _pkg_min_version=0.9.0
27341         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27342 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27343         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27344                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27345 $as_echo "yes" >&6; }
27346         else
27347                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27348 $as_echo "no" >&6; }
27349                 PKG_CONFIG=""
27350         fi
27351
27352 fi 6> /dev/null
27353
27354 pkg_failed=no
27355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27356 $as_echo_n "checking for SM... " >&6; }
27357
27358 if test -n "$PKG_CONFIG"; then
27359     if test -n "$SM_CFLAGS"; then
27360         pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27361     else
27362         if test -n "$PKG_CONFIG" && \
27363     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27364   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27365   ac_status=$?
27366   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27367   test $ac_status = 0; }; then
27368   pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27369 else
27370   pkg_failed=yes
27371 fi
27372     fi
27373 else
27374         pkg_failed=untried
27375 fi
27376 if test -n "$PKG_CONFIG"; then
27377     if test -n "$SM_LIBS"; then
27378         pkg_cv_SM_LIBS="$SM_LIBS"
27379     else
27380         if test -n "$PKG_CONFIG" && \
27381     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27382   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27383   ac_status=$?
27384   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27385   test $ac_status = 0; }; then
27386   pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27387 else
27388   pkg_failed=yes
27389 fi
27390     fi
27391 else
27392         pkg_failed=untried
27393 fi
27394
27395
27396
27397 if test $pkg_failed = yes; then
27398
27399 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27400         _pkg_short_errors_supported=yes
27401 else
27402         _pkg_short_errors_supported=no
27403 fi
27404         if test $_pkg_short_errors_supported = yes; then
27405                 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27406         else
27407                 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27408         fi
27409         # Put the nasty error message in config.log where it belongs
27410         echo "$SM_PKG_ERRORS" >&5
27411
27412
27413       if test "x$ac_find_libraries" = "x"; then
27414                 if test "xSmcOpenConnection" != "x"; then
27415           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27416 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27417 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27418   $as_echo_n "(cached) " >&6
27419 else
27420   ac_check_lib_save_LIBS=$LIBS
27421 LIBS="-lSM  $LIBS"
27422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27423 /* end confdefs.h.  */
27424
27425 /* Override any GCC internal prototype to avoid an error.
27426    Use char because int might match the return type of a GCC
27427    builtin and then its argument prototype would still apply.  */
27428 #ifdef __cplusplus
27429 extern "C"
27430 #endif
27431 char SmcOpenConnection ();
27432 int
27433 main ()
27434 {
27435 return SmcOpenConnection ();
27436   ;
27437   return 0;
27438 }
27439 _ACEOF
27440 if ac_fn_c_try_link "$LINENO"; then :
27441   ac_cv_lib_SM_SmcOpenConnection=yes
27442 else
27443   ac_cv_lib_SM_SmcOpenConnection=no
27444 fi
27445 rm -f core conftest.err conftest.$ac_objext \
27446     conftest$ac_exeext conftest.$ac_ext
27447 LIBS=$ac_check_lib_save_LIBS
27448 fi
27449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27450 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27451 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27452   ac_find_libraries="std"
27453 fi
27454
27455         fi
27456       fi
27457
27458       if test "x$ac_find_libraries" = "x"; then
27459                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27460 $as_echo_n "checking elsewhere... " >&6; }
27461
27462   ac_find_libraries=
27463   for ac_dir in  $SEARCH_LIB
27464   do
27465     for ac_extension in a so sl dylib dll.a; do
27466       if test -f "$ac_dir/libSM.$ac_extension"; then
27467         ac_find_libraries=$ac_dir
27468         break 2
27469       fi
27470     done
27471   done
27472
27473         if test "x$ac_find_libraries" != "x"; then
27474           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27475 $as_echo "yes" >&6; }
27476         else
27477           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27478 $as_echo "no" >&6; }
27479         fi
27480       fi
27481
27482 elif test $pkg_failed = untried; then
27483
27484       if test "x$ac_find_libraries" = "x"; then
27485                 if test "xSmcOpenConnection" != "x"; then
27486           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27487 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27488 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27489   $as_echo_n "(cached) " >&6
27490 else
27491   ac_check_lib_save_LIBS=$LIBS
27492 LIBS="-lSM  $LIBS"
27493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27494 /* end confdefs.h.  */
27495
27496 /* Override any GCC internal prototype to avoid an error.
27497    Use char because int might match the return type of a GCC
27498    builtin and then its argument prototype would still apply.  */
27499 #ifdef __cplusplus
27500 extern "C"
27501 #endif
27502 char SmcOpenConnection ();
27503 int
27504 main ()
27505 {
27506 return SmcOpenConnection ();
27507   ;
27508   return 0;
27509 }
27510 _ACEOF
27511 if ac_fn_c_try_link "$LINENO"; then :
27512   ac_cv_lib_SM_SmcOpenConnection=yes
27513 else
27514   ac_cv_lib_SM_SmcOpenConnection=no
27515 fi
27516 rm -f core conftest.err conftest.$ac_objext \
27517     conftest$ac_exeext conftest.$ac_ext
27518 LIBS=$ac_check_lib_save_LIBS
27519 fi
27520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27521 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27522 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27523   ac_find_libraries="std"
27524 fi
27525
27526         fi
27527       fi
27528
27529       if test "x$ac_find_libraries" = "x"; then
27530                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27531 $as_echo_n "checking elsewhere... " >&6; }
27532
27533   ac_find_libraries=
27534   for ac_dir in  $SEARCH_LIB
27535   do
27536     for ac_extension in a so sl dylib dll.a; do
27537       if test -f "$ac_dir/libSM.$ac_extension"; then
27538         ac_find_libraries=$ac_dir
27539         break 2
27540       fi
27541     done
27542   done
27543
27544         if test "x$ac_find_libraries" != "x"; then
27545           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27546 $as_echo "yes" >&6; }
27547         else
27548           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27549 $as_echo "no" >&6; }
27550         fi
27551       fi
27552
27553 else
27554         SM_CFLAGS=$pkg_cv_SM_CFLAGS
27555         SM_LIBS=$pkg_cv_SM_LIBS
27556         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27557 $as_echo "yes" >&6; }
27558
27559             ac_find_libraries="std"
27560
27561                                                 eval ac_find_cflags=\$SM_CFLAGS
27562       eval fl_libs=\$SM_LIBS
27563
27564                   for fl_path in $fl_libs
27565       do
27566         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27567                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27568         fi
27569       done
27570
27571 fi
27572
27573         if test "$ac_find_libraries" != "" ; then
27574             if test "$ac_find_libraries" != "std" ; then
27575
27576     if test "$ac_find_libraries" = "default location"; then
27577     ac_path_to_link=""
27578   else
27579     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27580     result=$?
27581     if test $result = 0; then
27582       ac_path_to_link=""
27583     else
27584       ac_path_to_link=" -L$ac_find_libraries"
27585     fi
27586   fi
27587
27588               if test "$ac_path_to_link" != " -L/usr/lib" ; then
27589                 LDFLAGS="$LDFLAGS $ac_path_to_link"
27590               fi
27591             fi
27592             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27593         else
27594             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27595 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27596             wxUSE_DETECT_SM="no"
27597         fi
27598     else
27599         wxUSE_DETECT_SM="no"
27600     fi
27601 fi
27602
27603
27604
27605 USE_OPENGL=0
27606 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27607
27608
27609     if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27610         OPENGL_LIBS="-framework OpenGL -framework AGL"
27611     elif test "$wxUSE_MSW" = 1; then
27612         OPENGL_LIBS="-lopengl32 -lglu32"
27613     elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27614
27615                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27616 $as_echo_n "checking for OpenGL headers... " >&6; }
27617
27618 ac_find_includes=
27619 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27620   do
27621     if test -f "$ac_dir/GL/gl.h"; then
27622       ac_find_includes=$ac_dir
27623       break
27624     fi
27625   done
27626
27627         if test "$ac_find_includes" != "" ; then
27628             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27629 $as_echo "found in $ac_find_includes" >&6; }
27630
27631     if test "x$ac_find_includes" = "x/usr/include"; then
27632     ac_path_to_include=""
27633   else
27634     echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27635     result=$?
27636     if test $result = 0; then
27637       ac_path_to_include=""
27638     else
27639       ac_path_to_include=" -I$ac_find_includes"
27640     fi
27641   fi
27642
27643             CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27644         else
27645             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27646 $as_echo "not found" >&6; }
27647         fi
27648
27649         ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27650 "
27651 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27652
27653             ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27654 "
27655 if test "x$ac_cv_header_GL_glu_h" = xyes; then :
27656
27657                 found_gl=0
27658
27659
27660   ac_find_libraries=
27661
27662     fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27663
27664
27665 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27666         if test -n "$ac_tool_prefix"; then
27667   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27668 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27670 $as_echo_n "checking for $ac_word... " >&6; }
27671 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27672   $as_echo_n "(cached) " >&6
27673 else
27674   case $PKG_CONFIG in
27675   [\\/]* | ?:[\\/]*)
27676   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27677   ;;
27678   *)
27679   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27680 for as_dir in $PATH
27681 do
27682   IFS=$as_save_IFS
27683   test -z "$as_dir" && as_dir=.
27684     for ac_exec_ext in '' $ac_executable_extensions; do
27685   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27686     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27687     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27688     break 2
27689   fi
27690 done
27691   done
27692 IFS=$as_save_IFS
27693
27694   ;;
27695 esac
27696 fi
27697 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27698 if test -n "$PKG_CONFIG"; then
27699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27700 $as_echo "$PKG_CONFIG" >&6; }
27701 else
27702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27703 $as_echo "no" >&6; }
27704 fi
27705
27706
27707 fi
27708 if test -z "$ac_cv_path_PKG_CONFIG"; then
27709   ac_pt_PKG_CONFIG=$PKG_CONFIG
27710   # Extract the first word of "pkg-config", so it can be a program name with args.
27711 set dummy pkg-config; ac_word=$2
27712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27713 $as_echo_n "checking for $ac_word... " >&6; }
27714 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27715   $as_echo_n "(cached) " >&6
27716 else
27717   case $ac_pt_PKG_CONFIG in
27718   [\\/]* | ?:[\\/]*)
27719   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27720   ;;
27721   *)
27722   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27723 for as_dir in $PATH
27724 do
27725   IFS=$as_save_IFS
27726   test -z "$as_dir" && as_dir=.
27727     for ac_exec_ext in '' $ac_executable_extensions; do
27728   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27729     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27730     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27731     break 2
27732   fi
27733 done
27734   done
27735 IFS=$as_save_IFS
27736
27737   ;;
27738 esac
27739 fi
27740 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27741 if test -n "$ac_pt_PKG_CONFIG"; then
27742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27743 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27744 else
27745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27746 $as_echo "no" >&6; }
27747 fi
27748
27749   if test "x$ac_pt_PKG_CONFIG" = x; then
27750     PKG_CONFIG=""
27751   else
27752     case $cross_compiling:$ac_tool_warned in
27753 yes:)
27754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27756 ac_tool_warned=yes ;;
27757 esac
27758     PKG_CONFIG=$ac_pt_PKG_CONFIG
27759   fi
27760 else
27761   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27762 fi
27763
27764 fi
27765 if test -n "$PKG_CONFIG"; then
27766         _pkg_min_version=0.9.0
27767         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27768 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27769         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27770                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27771 $as_echo "yes" >&6; }
27772         else
27773                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27774 $as_echo "no" >&6; }
27775                 PKG_CONFIG=""
27776         fi
27777
27778 fi 6> /dev/null
27779
27780 pkg_failed=no
27781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27782 $as_echo_n "checking for GL... " >&6; }
27783
27784 if test -n "$PKG_CONFIG"; then
27785     if test -n "$GL_CFLAGS"; then
27786         pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27787     else
27788         if test -n "$PKG_CONFIG" && \
27789     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27790   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27791   ac_status=$?
27792   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27793   test $ac_status = 0; }; then
27794   pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27795 else
27796   pkg_failed=yes
27797 fi
27798     fi
27799 else
27800         pkg_failed=untried
27801 fi
27802 if test -n "$PKG_CONFIG"; then
27803     if test -n "$GL_LIBS"; then
27804         pkg_cv_GL_LIBS="$GL_LIBS"
27805     else
27806         if test -n "$PKG_CONFIG" && \
27807     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27808   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27809   ac_status=$?
27810   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27811   test $ac_status = 0; }; then
27812   pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27813 else
27814   pkg_failed=yes
27815 fi
27816     fi
27817 else
27818         pkg_failed=untried
27819 fi
27820
27821
27822
27823 if test $pkg_failed = yes; then
27824
27825 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27826         _pkg_short_errors_supported=yes
27827 else
27828         _pkg_short_errors_supported=no
27829 fi
27830         if test $_pkg_short_errors_supported = yes; then
27831                 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27832         else
27833                 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27834         fi
27835         # Put the nasty error message in config.log where it belongs
27836         echo "$GL_PKG_ERRORS" >&5
27837
27838
27839       if test "x$ac_find_libraries" = "x"; then
27840                 if test "xglBegin" != "x"; then
27841           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27842 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27843 if ${ac_cv_lib_GL_glBegin+:} false; then :
27844   $as_echo_n "(cached) " >&6
27845 else
27846   ac_check_lib_save_LIBS=$LIBS
27847 LIBS="-lGL  $LIBS"
27848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27849 /* end confdefs.h.  */
27850
27851 /* Override any GCC internal prototype to avoid an error.
27852    Use char because int might match the return type of a GCC
27853    builtin and then its argument prototype would still apply.  */
27854 #ifdef __cplusplus
27855 extern "C"
27856 #endif
27857 char glBegin ();
27858 int
27859 main ()
27860 {
27861 return glBegin ();
27862   ;
27863   return 0;
27864 }
27865 _ACEOF
27866 if ac_fn_c_try_link "$LINENO"; then :
27867   ac_cv_lib_GL_glBegin=yes
27868 else
27869   ac_cv_lib_GL_glBegin=no
27870 fi
27871 rm -f core conftest.err conftest.$ac_objext \
27872     conftest$ac_exeext conftest.$ac_ext
27873 LIBS=$ac_check_lib_save_LIBS
27874 fi
27875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27876 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27877 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27878   ac_find_libraries="std"
27879 fi
27880
27881         fi
27882       fi
27883
27884       if test "x$ac_find_libraries" = "x"; then
27885                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27886 $as_echo_n "checking elsewhere... " >&6; }
27887
27888   ac_find_libraries=
27889   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27890   do
27891     for ac_extension in a so sl dylib dll.a; do
27892       if test -f "$ac_dir/libGL.$ac_extension"; then
27893         ac_find_libraries=$ac_dir
27894         break 2
27895       fi
27896     done
27897   done
27898
27899         if test "x$ac_find_libraries" != "x"; then
27900           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27901 $as_echo "yes" >&6; }
27902         else
27903           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27904 $as_echo "no" >&6; }
27905         fi
27906       fi
27907
27908 elif test $pkg_failed = untried; then
27909
27910       if test "x$ac_find_libraries" = "x"; then
27911                 if test "xglBegin" != "x"; then
27912           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27913 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27914 if ${ac_cv_lib_GL_glBegin+:} false; then :
27915   $as_echo_n "(cached) " >&6
27916 else
27917   ac_check_lib_save_LIBS=$LIBS
27918 LIBS="-lGL  $LIBS"
27919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27920 /* end confdefs.h.  */
27921
27922 /* Override any GCC internal prototype to avoid an error.
27923    Use char because int might match the return type of a GCC
27924    builtin and then its argument prototype would still apply.  */
27925 #ifdef __cplusplus
27926 extern "C"
27927 #endif
27928 char glBegin ();
27929 int
27930 main ()
27931 {
27932 return glBegin ();
27933   ;
27934   return 0;
27935 }
27936 _ACEOF
27937 if ac_fn_c_try_link "$LINENO"; then :
27938   ac_cv_lib_GL_glBegin=yes
27939 else
27940   ac_cv_lib_GL_glBegin=no
27941 fi
27942 rm -f core conftest.err conftest.$ac_objext \
27943     conftest$ac_exeext conftest.$ac_ext
27944 LIBS=$ac_check_lib_save_LIBS
27945 fi
27946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27947 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27948 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27949   ac_find_libraries="std"
27950 fi
27951
27952         fi
27953       fi
27954
27955       if test "x$ac_find_libraries" = "x"; then
27956                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27957 $as_echo_n "checking elsewhere... " >&6; }
27958
27959   ac_find_libraries=
27960   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27961   do
27962     for ac_extension in a so sl dylib dll.a; do
27963       if test -f "$ac_dir/libGL.$ac_extension"; then
27964         ac_find_libraries=$ac_dir
27965         break 2
27966       fi
27967     done
27968   done
27969
27970         if test "x$ac_find_libraries" != "x"; then
27971           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27972 $as_echo "yes" >&6; }
27973         else
27974           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27975 $as_echo "no" >&6; }
27976         fi
27977       fi
27978
27979 else
27980         GL_CFLAGS=$pkg_cv_GL_CFLAGS
27981         GL_LIBS=$pkg_cv_GL_LIBS
27982         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27983 $as_echo "yes" >&6; }
27984
27985             ac_find_libraries="std"
27986
27987                                                 eval ac_find_cflags=\$GL_CFLAGS
27988       eval fl_libs=\$GL_LIBS
27989
27990                   for fl_path in $fl_libs
27991       do
27992         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27993                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27994         fi
27995       done
27996
27997 fi
27998
27999                 if test "$ac_find_libraries" != "" ; then
28000                     if test "$ac_find_libraries" != "std" ; then
28001
28002     if test "$ac_find_libraries" = "default location"; then
28003     ac_path_to_link=""
28004   else
28005     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28006     result=$?
28007     if test $result = 0; then
28008       ac_path_to_link=""
28009     else
28010       ac_path_to_link=" -L$ac_find_libraries"
28011     fi
28012   fi
28013
28014                       if test "$ac_path_to_link" != " -L/usr/lib" ; then
28015                         LDFLAGS_GL="$ac_path_to_link"
28016                       fi
28017                     fi
28018
28019
28020   ac_find_libraries=
28021
28022     fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
28023
28024
28025 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28026         if test -n "$ac_tool_prefix"; then
28027   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28028 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28030 $as_echo_n "checking for $ac_word... " >&6; }
28031 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28032   $as_echo_n "(cached) " >&6
28033 else
28034   case $PKG_CONFIG in
28035   [\\/]* | ?:[\\/]*)
28036   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28037   ;;
28038   *)
28039   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28040 for as_dir in $PATH
28041 do
28042   IFS=$as_save_IFS
28043   test -z "$as_dir" && as_dir=.
28044     for ac_exec_ext in '' $ac_executable_extensions; do
28045   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28046     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28047     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28048     break 2
28049   fi
28050 done
28051   done
28052 IFS=$as_save_IFS
28053
28054   ;;
28055 esac
28056 fi
28057 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28058 if test -n "$PKG_CONFIG"; then
28059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28060 $as_echo "$PKG_CONFIG" >&6; }
28061 else
28062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28063 $as_echo "no" >&6; }
28064 fi
28065
28066
28067 fi
28068 if test -z "$ac_cv_path_PKG_CONFIG"; then
28069   ac_pt_PKG_CONFIG=$PKG_CONFIG
28070   # Extract the first word of "pkg-config", so it can be a program name with args.
28071 set dummy pkg-config; ac_word=$2
28072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28073 $as_echo_n "checking for $ac_word... " >&6; }
28074 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28075   $as_echo_n "(cached) " >&6
28076 else
28077   case $ac_pt_PKG_CONFIG in
28078   [\\/]* | ?:[\\/]*)
28079   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28080   ;;
28081   *)
28082   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28083 for as_dir in $PATH
28084 do
28085   IFS=$as_save_IFS
28086   test -z "$as_dir" && as_dir=.
28087     for ac_exec_ext in '' $ac_executable_extensions; do
28088   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28089     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28090     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28091     break 2
28092   fi
28093 done
28094   done
28095 IFS=$as_save_IFS
28096
28097   ;;
28098 esac
28099 fi
28100 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28101 if test -n "$ac_pt_PKG_CONFIG"; then
28102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28103 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28104 else
28105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28106 $as_echo "no" >&6; }
28107 fi
28108
28109   if test "x$ac_pt_PKG_CONFIG" = x; then
28110     PKG_CONFIG=""
28111   else
28112     case $cross_compiling:$ac_tool_warned in
28113 yes:)
28114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28116 ac_tool_warned=yes ;;
28117 esac
28118     PKG_CONFIG=$ac_pt_PKG_CONFIG
28119   fi
28120 else
28121   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28122 fi
28123
28124 fi
28125 if test -n "$PKG_CONFIG"; then
28126         _pkg_min_version=0.9.0
28127         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28128 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28129         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28130                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28131 $as_echo "yes" >&6; }
28132         else
28133                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28134 $as_echo "no" >&6; }
28135                 PKG_CONFIG=""
28136         fi
28137
28138 fi 6> /dev/null
28139
28140 pkg_failed=no
28141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28142 $as_echo_n "checking for GLU... " >&6; }
28143
28144 if test -n "$PKG_CONFIG"; then
28145     if test -n "$GLU_CFLAGS"; then
28146         pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28147     else
28148         if test -n "$PKG_CONFIG" && \
28149     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28150   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28151   ac_status=$?
28152   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28153   test $ac_status = 0; }; then
28154   pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28155 else
28156   pkg_failed=yes
28157 fi
28158     fi
28159 else
28160         pkg_failed=untried
28161 fi
28162 if test -n "$PKG_CONFIG"; then
28163     if test -n "$GLU_LIBS"; then
28164         pkg_cv_GLU_LIBS="$GLU_LIBS"
28165     else
28166         if test -n "$PKG_CONFIG" && \
28167     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28168   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28169   ac_status=$?
28170   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28171   test $ac_status = 0; }; then
28172   pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28173 else
28174   pkg_failed=yes
28175 fi
28176     fi
28177 else
28178         pkg_failed=untried
28179 fi
28180
28181
28182
28183 if test $pkg_failed = yes; then
28184
28185 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28186         _pkg_short_errors_supported=yes
28187 else
28188         _pkg_short_errors_supported=no
28189 fi
28190         if test $_pkg_short_errors_supported = yes; then
28191                 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28192         else
28193                 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28194         fi
28195         # Put the nasty error message in config.log where it belongs
28196         echo "$GLU_PKG_ERRORS" >&5
28197
28198
28199       if test "x$ac_find_libraries" = "x"; then
28200                 if test "xgluBeginCurve" != "x"; then
28201           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28202 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28203 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28204   $as_echo_n "(cached) " >&6
28205 else
28206   ac_check_lib_save_LIBS=$LIBS
28207 LIBS="-lGLU  $LIBS"
28208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28209 /* end confdefs.h.  */
28210
28211 /* Override any GCC internal prototype to avoid an error.
28212    Use char because int might match the return type of a GCC
28213    builtin and then its argument prototype would still apply.  */
28214 #ifdef __cplusplus
28215 extern "C"
28216 #endif
28217 char gluBeginCurve ();
28218 int
28219 main ()
28220 {
28221 return gluBeginCurve ();
28222   ;
28223   return 0;
28224 }
28225 _ACEOF
28226 if ac_fn_c_try_link "$LINENO"; then :
28227   ac_cv_lib_GLU_gluBeginCurve=yes
28228 else
28229   ac_cv_lib_GLU_gluBeginCurve=no
28230 fi
28231 rm -f core conftest.err conftest.$ac_objext \
28232     conftest$ac_exeext conftest.$ac_ext
28233 LIBS=$ac_check_lib_save_LIBS
28234 fi
28235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28236 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28237 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28238   ac_find_libraries="std"
28239 fi
28240
28241         fi
28242       fi
28243
28244       if test "x$ac_find_libraries" = "x"; then
28245                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28246 $as_echo_n "checking elsewhere... " >&6; }
28247
28248   ac_find_libraries=
28249   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28250   do
28251     for ac_extension in a so sl dylib dll.a; do
28252       if test -f "$ac_dir/libGLU.$ac_extension"; then
28253         ac_find_libraries=$ac_dir
28254         break 2
28255       fi
28256     done
28257   done
28258
28259         if test "x$ac_find_libraries" != "x"; then
28260           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28261 $as_echo "yes" >&6; }
28262         else
28263           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28264 $as_echo "no" >&6; }
28265         fi
28266       fi
28267
28268 elif test $pkg_failed = untried; then
28269
28270       if test "x$ac_find_libraries" = "x"; then
28271                 if test "xgluBeginCurve" != "x"; then
28272           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28273 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28274 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28275   $as_echo_n "(cached) " >&6
28276 else
28277   ac_check_lib_save_LIBS=$LIBS
28278 LIBS="-lGLU  $LIBS"
28279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28280 /* end confdefs.h.  */
28281
28282 /* Override any GCC internal prototype to avoid an error.
28283    Use char because int might match the return type of a GCC
28284    builtin and then its argument prototype would still apply.  */
28285 #ifdef __cplusplus
28286 extern "C"
28287 #endif
28288 char gluBeginCurve ();
28289 int
28290 main ()
28291 {
28292 return gluBeginCurve ();
28293   ;
28294   return 0;
28295 }
28296 _ACEOF
28297 if ac_fn_c_try_link "$LINENO"; then :
28298   ac_cv_lib_GLU_gluBeginCurve=yes
28299 else
28300   ac_cv_lib_GLU_gluBeginCurve=no
28301 fi
28302 rm -f core conftest.err conftest.$ac_objext \
28303     conftest$ac_exeext conftest.$ac_ext
28304 LIBS=$ac_check_lib_save_LIBS
28305 fi
28306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28307 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28308 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28309   ac_find_libraries="std"
28310 fi
28311
28312         fi
28313       fi
28314
28315       if test "x$ac_find_libraries" = "x"; then
28316                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28317 $as_echo_n "checking elsewhere... " >&6; }
28318
28319   ac_find_libraries=
28320   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28321   do
28322     for ac_extension in a so sl dylib dll.a; do
28323       if test -f "$ac_dir/libGLU.$ac_extension"; then
28324         ac_find_libraries=$ac_dir
28325         break 2
28326       fi
28327     done
28328   done
28329
28330         if test "x$ac_find_libraries" != "x"; then
28331           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28332 $as_echo "yes" >&6; }
28333         else
28334           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28335 $as_echo "no" >&6; }
28336         fi
28337       fi
28338
28339 else
28340         GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28341         GLU_LIBS=$pkg_cv_GLU_LIBS
28342         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28343 $as_echo "yes" >&6; }
28344
28345             ac_find_libraries="std"
28346
28347                                                 eval ac_find_cflags=\$GLU_CFLAGS
28348       eval fl_libs=\$GLU_LIBS
28349
28350                   for fl_path in $fl_libs
28351       do
28352         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28353                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28354         fi
28355       done
28356
28357 fi
28358
28359                     if test "$ac_find_libraries" != "" ; then
28360                       if test "$ac_find_libraries" != "std" ; then
28361
28362     if test "$ac_find_libraries" = "default location"; then
28363     ac_path_to_link=""
28364   else
28365     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28366     result=$?
28367     if test $result = 0; then
28368       ac_path_to_link=""
28369     else
28370       ac_path_to_link=" -L$ac_find_libraries"
28371     fi
28372   fi
28373
28374                         if test "$ac_path_to_link" != " -L/usr/lib" -a \
28375                                 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28376                           LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28377                         fi
28378                       fi
28379
28380                         found_gl=1
28381                         OPENGL_LIBS="-lGL -lGLU"
28382                     fi
28383                 fi
28384
28385                 if test "$found_gl" != 1; then
28386
28387   ac_find_libraries=
28388
28389     fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28390
28391
28392 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28393         if test -n "$ac_tool_prefix"; then
28394   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28395 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28397 $as_echo_n "checking for $ac_word... " >&6; }
28398 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28399   $as_echo_n "(cached) " >&6
28400 else
28401   case $PKG_CONFIG in
28402   [\\/]* | ?:[\\/]*)
28403   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28404   ;;
28405   *)
28406   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28407 for as_dir in $PATH
28408 do
28409   IFS=$as_save_IFS
28410   test -z "$as_dir" && as_dir=.
28411     for ac_exec_ext in '' $ac_executable_extensions; do
28412   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28413     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28415     break 2
28416   fi
28417 done
28418   done
28419 IFS=$as_save_IFS
28420
28421   ;;
28422 esac
28423 fi
28424 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28425 if test -n "$PKG_CONFIG"; then
28426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28427 $as_echo "$PKG_CONFIG" >&6; }
28428 else
28429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28430 $as_echo "no" >&6; }
28431 fi
28432
28433
28434 fi
28435 if test -z "$ac_cv_path_PKG_CONFIG"; then
28436   ac_pt_PKG_CONFIG=$PKG_CONFIG
28437   # Extract the first word of "pkg-config", so it can be a program name with args.
28438 set dummy pkg-config; ac_word=$2
28439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28440 $as_echo_n "checking for $ac_word... " >&6; }
28441 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28442   $as_echo_n "(cached) " >&6
28443 else
28444   case $ac_pt_PKG_CONFIG in
28445   [\\/]* | ?:[\\/]*)
28446   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28447   ;;
28448   *)
28449   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28450 for as_dir in $PATH
28451 do
28452   IFS=$as_save_IFS
28453   test -z "$as_dir" && as_dir=.
28454     for ac_exec_ext in '' $ac_executable_extensions; do
28455   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28456     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28457     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28458     break 2
28459   fi
28460 done
28461   done
28462 IFS=$as_save_IFS
28463
28464   ;;
28465 esac
28466 fi
28467 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28468 if test -n "$ac_pt_PKG_CONFIG"; then
28469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28470 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28471 else
28472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28473 $as_echo "no" >&6; }
28474 fi
28475
28476   if test "x$ac_pt_PKG_CONFIG" = x; then
28477     PKG_CONFIG=""
28478   else
28479     case $cross_compiling:$ac_tool_warned in
28480 yes:)
28481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28483 ac_tool_warned=yes ;;
28484 esac
28485     PKG_CONFIG=$ac_pt_PKG_CONFIG
28486   fi
28487 else
28488   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28489 fi
28490
28491 fi
28492 if test -n "$PKG_CONFIG"; then
28493         _pkg_min_version=0.9.0
28494         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28495 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28496         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28497                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28498 $as_echo "yes" >&6; }
28499         else
28500                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28501 $as_echo "no" >&6; }
28502                 PKG_CONFIG=""
28503         fi
28504
28505 fi 6> /dev/null
28506
28507 pkg_failed=no
28508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28509 $as_echo_n "checking for MesaGL... " >&6; }
28510
28511 if test -n "$PKG_CONFIG"; then
28512     if test -n "$MesaGL_CFLAGS"; then
28513         pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28514     else
28515         if test -n "$PKG_CONFIG" && \
28516     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28517   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28518   ac_status=$?
28519   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28520   test $ac_status = 0; }; then
28521   pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28522 else
28523   pkg_failed=yes
28524 fi
28525     fi
28526 else
28527         pkg_failed=untried
28528 fi
28529 if test -n "$PKG_CONFIG"; then
28530     if test -n "$MesaGL_LIBS"; then
28531         pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28532     else
28533         if test -n "$PKG_CONFIG" && \
28534     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28535   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28536   ac_status=$?
28537   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28538   test $ac_status = 0; }; then
28539   pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28540 else
28541   pkg_failed=yes
28542 fi
28543     fi
28544 else
28545         pkg_failed=untried
28546 fi
28547
28548
28549
28550 if test $pkg_failed = yes; then
28551
28552 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28553         _pkg_short_errors_supported=yes
28554 else
28555         _pkg_short_errors_supported=no
28556 fi
28557         if test $_pkg_short_errors_supported = yes; then
28558                 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28559         else
28560                 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28561         fi
28562         # Put the nasty error message in config.log where it belongs
28563         echo "$MesaGL_PKG_ERRORS" >&5
28564
28565
28566       if test "x$ac_find_libraries" = "x"; then
28567                 if test "xglEnable" != "x"; then
28568           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28569 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28570 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28571   $as_echo_n "(cached) " >&6
28572 else
28573   ac_check_lib_save_LIBS=$LIBS
28574 LIBS="-lMesaGL  $LIBS"
28575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28576 /* end confdefs.h.  */
28577
28578 /* Override any GCC internal prototype to avoid an error.
28579    Use char because int might match the return type of a GCC
28580    builtin and then its argument prototype would still apply.  */
28581 #ifdef __cplusplus
28582 extern "C"
28583 #endif
28584 char glEnable ();
28585 int
28586 main ()
28587 {
28588 return glEnable ();
28589   ;
28590   return 0;
28591 }
28592 _ACEOF
28593 if ac_fn_c_try_link "$LINENO"; then :
28594   ac_cv_lib_MesaGL_glEnable=yes
28595 else
28596   ac_cv_lib_MesaGL_glEnable=no
28597 fi
28598 rm -f core conftest.err conftest.$ac_objext \
28599     conftest$ac_exeext conftest.$ac_ext
28600 LIBS=$ac_check_lib_save_LIBS
28601 fi
28602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28603 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28604 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28605   ac_find_libraries="std"
28606 fi
28607
28608         fi
28609       fi
28610
28611       if test "x$ac_find_libraries" = "x"; then
28612                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28613 $as_echo_n "checking elsewhere... " >&6; }
28614
28615   ac_find_libraries=
28616   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28617   do
28618     for ac_extension in a so sl dylib dll.a; do
28619       if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28620         ac_find_libraries=$ac_dir
28621         break 2
28622       fi
28623     done
28624   done
28625
28626         if test "x$ac_find_libraries" != "x"; then
28627           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28628 $as_echo "yes" >&6; }
28629         else
28630           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28631 $as_echo "no" >&6; }
28632         fi
28633       fi
28634
28635 elif test $pkg_failed = untried; then
28636
28637       if test "x$ac_find_libraries" = "x"; then
28638                 if test "xglEnable" != "x"; then
28639           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28640 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28641 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28642   $as_echo_n "(cached) " >&6
28643 else
28644   ac_check_lib_save_LIBS=$LIBS
28645 LIBS="-lMesaGL  $LIBS"
28646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28647 /* end confdefs.h.  */
28648
28649 /* Override any GCC internal prototype to avoid an error.
28650    Use char because int might match the return type of a GCC
28651    builtin and then its argument prototype would still apply.  */
28652 #ifdef __cplusplus
28653 extern "C"
28654 #endif
28655 char glEnable ();
28656 int
28657 main ()
28658 {
28659 return glEnable ();
28660   ;
28661   return 0;
28662 }
28663 _ACEOF
28664 if ac_fn_c_try_link "$LINENO"; then :
28665   ac_cv_lib_MesaGL_glEnable=yes
28666 else
28667   ac_cv_lib_MesaGL_glEnable=no
28668 fi
28669 rm -f core conftest.err conftest.$ac_objext \
28670     conftest$ac_exeext conftest.$ac_ext
28671 LIBS=$ac_check_lib_save_LIBS
28672 fi
28673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28674 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28675 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28676   ac_find_libraries="std"
28677 fi
28678
28679         fi
28680       fi
28681
28682       if test "x$ac_find_libraries" = "x"; then
28683                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28684 $as_echo_n "checking elsewhere... " >&6; }
28685
28686   ac_find_libraries=
28687   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28688   do
28689     for ac_extension in a so sl dylib dll.a; do
28690       if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28691         ac_find_libraries=$ac_dir
28692         break 2
28693       fi
28694     done
28695   done
28696
28697         if test "x$ac_find_libraries" != "x"; then
28698           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28699 $as_echo "yes" >&6; }
28700         else
28701           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28702 $as_echo "no" >&6; }
28703         fi
28704       fi
28705
28706 else
28707         MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28708         MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28709         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28710 $as_echo "yes" >&6; }
28711
28712             ac_find_libraries="std"
28713
28714                                                 eval ac_find_cflags=\$MesaGL_CFLAGS
28715       eval fl_libs=\$MesaGL_LIBS
28716
28717                   for fl_path in $fl_libs
28718       do
28719         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28720                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28721         fi
28722       done
28723
28724 fi
28725
28726                     if test "$ac_find_libraries" != "" ; then
28727                       if test "$ac_find_libraries" != "std" ; then
28728
28729     if test "$ac_find_libraries" = "default location"; then
28730     ac_path_to_link=""
28731   else
28732     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28733     result=$?
28734     if test $result = 0; then
28735       ac_path_to_link=""
28736     else
28737       ac_path_to_link=" -L$ac_find_libraries"
28738     fi
28739   fi
28740
28741                         if test "$ac_path_to_link" != " -L/usr/lib" ; then
28742                           LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28743                         fi
28744                       fi
28745                       OPENGL_LIBS="-lMesaGL -lMesaGLU"
28746                     fi
28747                 fi
28748
28749 fi
28750
28751
28752
28753 fi
28754
28755
28756
28757         if test "x$OPENGL_LIBS" = "x"; then
28758             if test "$wxUSE_OPENGL" = "yes"; then
28759                 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28760             else
28761                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28762 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28763                 wxUSE_OPENGL=no
28764                 USE_OPENGL=0
28765             fi
28766         fi
28767     else
28768         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28769 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28770         wxUSE_OPENGL="no"
28771     fi
28772
28773     if test "$wxUSE_OPENGL" = "auto"; then
28774                                 wxUSE_OPENGL=yes
28775     fi
28776
28777     if test "$wxUSE_OPENGL" = "yes"; then
28778         USE_OPENGL=1
28779         $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28780
28781         $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28782
28783         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28784     fi
28785 fi
28786
28787
28788 if test -n "$TOOLKIT" ; then
28789     TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28790 fi
28791
28792
28793
28794 if test "$wxUSE_SHARED" = "yes"; then
28795     case "${host}" in
28796       *-pc-msdosdjgpp )
28797                 wxUSE_SHARED=no
28798         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28799 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28800       ;;
28801     esac
28802 fi
28803
28804 if test "$wxUSE_SHARED" = "yes"; then
28805
28806
28807     case "${host}" in
28808         *-*-cygwin* | *-*-mingw* )
28809                                                                                                 wx_cv_version_script=no
28810             ;;
28811
28812         *)
28813             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28814 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28815 if ${wx_cv_version_script+:} false; then :
28816   $as_echo_n "(cached) " >&6
28817 else
28818
28819                 echo "VER_1 { *; };" >conftest.sym
28820                 echo "int main() { return 0; }" >conftest.cpp
28821
28822                 if { ac_try='
28823                         $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28824                         -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28825   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28826   (eval $ac_try) 2>&5
28827   ac_status=$?
28828   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28829   test $ac_status = 0; }; } ; then
28830                   if test -s conftest.stderr ; then
28831                       wx_cv_version_script=no
28832                   else
28833                       wx_cv_version_script=yes
28834                   fi
28835                 else
28836                   wx_cv_version_script=no
28837                 fi
28838
28839                                                                                                                                                                                                 if test $wx_cv_version_script = yes
28840                 then
28841                   echo "struct B { virtual ~B() { } }; \
28842                         struct D : public B { }; \
28843                         void F() { D d; }" > conftest.cpp
28844
28845                   if { ac_try='
28846                         $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28847                         -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28848   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28849   (eval $ac_try) 2>&5
28850   ac_status=$?
28851   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28852   test $ac_status = 0; }; } &&
28853                      { ac_try='
28854                         $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28855                         -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28856   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28857   (eval $ac_try) 2>&5
28858   ac_status=$?
28859   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28860   test $ac_status = 0; }; }
28861                   then
28862                     if { ac_try='
28863                           $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28864                           -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28865   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28866   (eval $ac_try) 2>&5
28867   ac_status=$?
28868   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28869   test $ac_status = 0; }; }
28870                     then
28871                       wx_cv_version_script=yes
28872                     else
28873                       wx_cv_version_script=no
28874                     fi
28875                   fi
28876                 fi
28877
28878                 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28879                 rm -f conftest1.output conftest2.output conftest3.output
28880
28881 fi
28882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28883 $as_echo "$wx_cv_version_script" >&6; }
28884
28885             if test $wx_cv_version_script = yes ; then
28886                 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28887             fi
28888             ;;
28889     esac
28890
28891
28892             if test "$wxUSE_VISIBILITY" != "no"; then
28893
28894
28895   if test -n "$GCC"; then
28896     CFLAGS_VISIBILITY="-fvisibility=hidden"
28897     CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
28898     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28899 $as_echo_n "checking for symbols visibility support... " >&6; }
28900     if ${wx_cv_cc_visibility+:} false; then :
28901   $as_echo_n "(cached) " >&6
28902 else
28903
28904       wx_save_CXXFLAGS="$CXXFLAGS"
28905       CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28906       ac_ext=cpp
28907 ac_cpp='$CXXCPP $CPPFLAGS'
28908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28911
28912       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28913 /* end confdefs.h.  */
28914
28915          /* we need gcc >= 4.0, older versions with visibility support
28916             didn't have class visibility: */
28917          #if defined(__GNUC__) && __GNUC__ < 4
28918          error this gcc is too old;
28919          #endif
28920
28921          /* visibility only makes sense for ELF shared libs: */
28922          #if !defined(__ELF__) && !defined(__APPLE__)
28923          error this platform has no visibility;
28924          #endif
28925
28926          /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28927          #if defined(__clang__)
28928          clang compiler is still broken w.r.t. visibility;
28929          #endif
28930
28931          extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28932          extern __attribute__((__visibility__("default"))) int exportedvar;
28933          extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28934          extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28935          class __attribute__((__visibility__("default"))) Foo {
28936            Foo() {}
28937          };
28938
28939 int
28940 main ()
28941 {
28942
28943   ;
28944   return 0;
28945 }
28946 _ACEOF
28947 if ac_fn_cxx_try_compile "$LINENO"; then :
28948   wx_cv_cc_visibility=yes
28949 else
28950   wx_cv_cc_visibility=no
28951 fi
28952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28953       ac_ext=c
28954 ac_cpp='$CPP $CPPFLAGS'
28955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28958
28959       CXXFLAGS="$wx_save_CXXFLAGS"
28960 fi
28961
28962     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
28963 $as_echo "$wx_cv_cc_visibility" >&6; }
28964     if test $wx_cv_cc_visibility = yes; then
28965                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
28966 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
28967       if ${wx_cv_cc_broken_libstdcxx_visibility+:} false; then :
28968   $as_echo_n "(cached) " >&6
28969 else
28970
28971         wx_save_CXXFLAGS="$CXXFLAGS"
28972         wx_save_LDFLAGS="$LDFLAGS"
28973         CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28974         LDFLAGS="$LDFLAGS -shared -fPIC"
28975         ac_ext=cpp
28976 ac_cpp='$CXXCPP $CPPFLAGS'
28977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28980
28981         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28982 /* end confdefs.h.  */
28983
28984             #include <string>
28985
28986 int
28987 main ()
28988 {
28989
28990             std::string s("hello");
28991             return s.length();
28992
28993   ;
28994   return 0;
28995 }
28996 _ACEOF
28997 if ac_fn_cxx_try_link "$LINENO"; then :
28998   wx_cv_cc_broken_libstdcxx_visibility=no
28999 else
29000   wx_cv_cc_broken_libstdcxx_visibility=yes
29001 fi
29002 rm -f core conftest.err conftest.$ac_objext \
29003     conftest$ac_exeext conftest.$ac_ext
29004         ac_ext=c
29005 ac_cpp='$CPP $CPPFLAGS'
29006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29009
29010         CXXFLAGS="$wx_save_CXXFLAGS"
29011         LDFLAGS="$wx_save_LDFLAGS"
29012 fi
29013
29014       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29015 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29016
29017       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29018         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29019 $as_echo_n "checking whether we can work around it... " >&6; }
29020         if ${wx_cv_cc_visibility_workaround+:} false; then :
29021   $as_echo_n "(cached) " >&6
29022 else
29023
29024           ac_ext=cpp
29025 ac_cpp='$CXXCPP $CPPFLAGS'
29026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29029
29030           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29031 /* end confdefs.h.  */
29032
29033               #pragma GCC visibility push(default)
29034               #include <string>
29035               #pragma GCC visibility pop
29036
29037 int
29038 main ()
29039 {
29040
29041               std::string s("hello");
29042               return s.length();
29043
29044   ;
29045   return 0;
29046 }
29047 _ACEOF
29048 if ac_fn_cxx_try_link "$LINENO"; then :
29049   wx_cv_cc_visibility_workaround=no
29050 else
29051   wx_cv_cc_visibility_workaround=yes
29052 fi
29053 rm -f core conftest.err conftest.$ac_objext \
29054     conftest$ac_exeext conftest.$ac_ext
29055           ac_ext=c
29056 ac_cpp='$CPP $CPPFLAGS'
29057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29060
29061
29062 fi
29063
29064         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29065 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29066
29067         if test $wx_cv_cc_visibility_workaround = no; then
29068                     wx_cv_cc_visibility=no
29069         fi
29070       fi
29071     fi
29072
29073     if test $wx_cv_cc_visibility = yes; then
29074       $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29075
29076       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29077         $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29078
29079       fi
29080     else
29081       CFLAGS_VISIBILITY=""
29082       CXXFLAGS_VISIBILITY=""
29083     fi
29084
29085
29086   fi
29087
29088     fi
29089
29090         if test "x$SUNCXX" = xyes; then
29091         SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
29092         WXCONFIG_RPATH="-R\$libdir"
29093     else
29094     case "${host}" in
29095       *-*-linux* | *-*-gnu* )
29096         SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29097         WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29098         ;;
29099
29100       *-*-solaris2* )
29101
29102                         CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
29103
29104                         saveLdflags="$LDFLAGS"
29105         LDFLAGS="$saveLdflags -Wl,-rpath,/"
29106         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29107 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29108         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29109 /* end confdefs.h.  */
29110
29111 int
29112 main ()
29113 {
29114
29115   ;
29116   return 0;
29117 }
29118 _ACEOF
29119 if ac_fn_c_try_link "$LINENO"; then :
29120
29121                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29122 $as_echo "yes" >&6; }
29123                 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29124                 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29125
29126 else
29127
29128                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29129 $as_echo "no" >&6; }
29130                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29131 $as_echo_n "checking if the linker accepts -R... " >&6; }
29132                 LDFLAGS="$saveLdflags -Wl,-R,/"
29133                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29134 /* end confdefs.h.  */
29135
29136 int
29137 main ()
29138 {
29139
29140   ;
29141   return 0;
29142 }
29143 _ACEOF
29144 if ac_fn_c_try_link "$LINENO"; then :
29145
29146                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29147 $as_echo "yes" >&6; }
29148                         SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29149                         WXCONFIG_RPATH="-Wl,-R,\$libdir"
29150
29151 else
29152
29153                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29154 $as_echo "no" >&6; }
29155
29156 fi
29157 rm -f core conftest.err conftest.$ac_objext \
29158     conftest$ac_exeext conftest.$ac_ext
29159
29160 fi
29161 rm -f core conftest.err conftest.$ac_objext \
29162     conftest$ac_exeext conftest.$ac_ext
29163         LDFLAGS="$saveLdflags"
29164       ;;
29165
29166       *-*-darwin* )
29167         install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29168         if test "$install_name_tool" -a -x "$install_name_tool"; then
29169             DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29170             cat <<EOF >change-install-names
29171 #!/bin/sh
29172 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29173 for i in \${libnames} ; do
29174     ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29175     for dep in \${libnames} ; do
29176         ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29177     done
29178 done
29179 EOF
29180             chmod +x change-install-names
29181             DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29182         fi
29183
29184                                         HEADER_PAD_OPTION="-headerpad_max_install_names"
29185       ;;
29186
29187       *-*-cygwin* | *-*-mingw32* )
29188         ;;
29189
29190       *-*-hpux* )
29191         SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29192         WXCONFIG_RPATH="-Wl,+b,\$libdir"
29193         ;;
29194
29195     esac
29196     fi
29197
29198             WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29199
29200     if test $wxUSE_RPATH = "no"; then
29201         SAMPLES_RPATH_FLAG=''
29202         DYLIB_PATH_POSTLINK=''
29203         WXCONFIG_RPATH=''
29204     fi
29205
29206     SHARED=1
29207
29208 else
29209
29210     config_linkage_component="-static"
29211     SHARED=0
29212
29213 fi
29214
29215
29216 UNICODE=0
29217 lib_unicode_suffix=
29218 WX_CHARTYPE="ansi"
29219 if test "$wxUSE_UNICODE" = "yes"; then
29220     lib_unicode_suffix=u
29221     WX_CHARTYPE="unicode"
29222     UNICODE=1
29223 fi
29224
29225 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29226 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29227
29228 DEBUG_INFO=0
29229 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29230     DEBUG_INFO=1
29231 fi
29232
29233 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29234
29235 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29236
29237 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29238
29239
29240 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29241     WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29242 else
29243     WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29244 fi
29245 if test "${TOOLKIT_DIR}" = "os2"; then
29246     WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29247 else
29248     WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29249 fi
29250
29251
29252
29253 if test "$wxUSE_OLD_COCOA" = 1; then
29254
29255     ac_ext=c
29256 ac_cpp='$CPP $CPPFLAGS'
29257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29260
29261 ac_ext=m
29262
29263     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29264 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29265     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29266 /* end confdefs.h.  */
29267 #include <AppKit/NSEvent.h>
29268 #include <CoreFoundation/CoreFoundation.h>
29269
29270 int
29271 main ()
29272 {
29273
29274   ;
29275   return 0;
29276 }
29277 _ACEOF
29278 if ac_fn_c_try_compile "$LINENO"; then :
29279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29280 $as_echo "no" >&6; }
29281 else
29282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29283 $as_echo "yes" >&6; }
29284         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29285 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29286         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29287 /* end confdefs.h.  */
29288 #define __Point__ 1
29289 #include <AppKit/NSEvent.h>
29290 #include <CoreFoundation/CoreFoundation.h>
29291
29292 int
29293 main ()
29294 {
29295
29296   ;
29297   return 0;
29298 }
29299 _ACEOF
29300 if ac_fn_c_try_compile "$LINENO"; then :
29301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29302 $as_echo "yes" >&6; }
29303             $as_echo "#define __Point__ 1" >>confdefs.h
29304
29305
29306 else
29307   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29309 as_fn_error $? "no
29310 See \`config.log' for more details" "$LINENO" 5; }
29311
29312 fi
29313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29314
29315 fi
29316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29317     ac_ext=c
29318 ac_cpp='$CPP $CPPFLAGS'
29319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29322
29323 fi
29324
29325
29326 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29327 if test "x$ac_cv_type_mode_t" = xyes; then :
29328
29329 else
29330
29331 cat >>confdefs.h <<_ACEOF
29332 #define mode_t int
29333 _ACEOF
29334
29335 fi
29336
29337 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29338 if test "x$ac_cv_type_off_t" = xyes; then :
29339
29340 else
29341
29342 cat >>confdefs.h <<_ACEOF
29343 #define off_t long int
29344 _ACEOF
29345
29346 fi
29347
29348 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29349 if test "x$ac_cv_type_pid_t" = xyes; then :
29350
29351 else
29352
29353 cat >>confdefs.h <<_ACEOF
29354 #define pid_t int
29355 _ACEOF
29356
29357 fi
29358
29359 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29360 if test "x$ac_cv_type_size_t" = xyes; then :
29361
29362 else
29363
29364 cat >>confdefs.h <<_ACEOF
29365 #define size_t unsigned int
29366 _ACEOF
29367
29368 fi
29369
29370
29371 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29372 if test "x$ac_cv_type_ssize_t" = xyes; then :
29373
29374 cat >>confdefs.h <<_ACEOF
29375 #define HAVE_SSIZE_T 1
29376 _ACEOF
29377
29378
29379 fi
29380
29381
29382 ac_ext=cpp
29383 ac_cpp='$CXXCPP $CPPFLAGS'
29384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29387  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29388 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29389 if ${wx_cv_size_t_is_uint+:} false; then :
29390   $as_echo_n "(cached) " >&6
29391 else
29392
29393                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29394 /* end confdefs.h.  */
29395 #include <stddef.h>
29396 int
29397 main ()
29398 {
29399
29400             return 0; }
29401
29402             struct Foo { void foo(size_t); void foo(unsigned int); };
29403
29404             int bar() {
29405
29406   ;
29407   return 0;
29408 }
29409 _ACEOF
29410 if ac_fn_cxx_try_compile "$LINENO"; then :
29411   wx_cv_size_t_is_uint=no
29412 else
29413   wx_cv_size_t_is_uint=yes
29414
29415 fi
29416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29417
29418
29419 fi
29420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29421 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29422
29423 if test "$wx_cv_size_t_is_uint" = "yes"; then
29424     $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29425
29426 else
29427     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29428 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29429 if ${wx_cv_size_t_is_ulong+:} false; then :
29430   $as_echo_n "(cached) " >&6
29431 else
29432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29433 /* end confdefs.h.  */
29434 #include <stddef.h>
29435 int
29436 main ()
29437 {
29438
29439                 return 0; }
29440
29441                 struct Foo { void foo(size_t); void foo(unsigned long); };
29442
29443                 int bar() {
29444
29445   ;
29446   return 0;
29447 }
29448 _ACEOF
29449 if ac_fn_cxx_try_compile "$LINENO"; then :
29450   wx_cv_size_t_is_ulong=no
29451 else
29452   wx_cv_size_t_is_ulong=yes
29453
29454 fi
29455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29456
29457 fi
29458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29459 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29460
29461     if test "$wx_cv_size_t_is_ulong" = "yes"; then
29462         $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29463
29464     fi
29465 fi
29466
29467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29468 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29469 if ${wx_cv_wchar_t_is_separate_type+:} false; then :
29470   $as_echo_n "(cached) " >&6
29471 else
29472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29473 /* end confdefs.h.  */
29474 #include <wchar.h>
29475 int
29476 main ()
29477 {
29478
29479             return 0; }
29480
29481             struct Foo { void foo(wchar_t);
29482                          void foo(unsigned short);
29483                          void foo(unsigned int);
29484                          void foo(unsigned long); };
29485
29486             int bar() {
29487
29488   ;
29489   return 0;
29490 }
29491 _ACEOF
29492 if ac_fn_cxx_try_compile "$LINENO"; then :
29493   wx_cv_wchar_t_is_separate_type=yes
29494 else
29495   wx_cv_wchar_t_is_separate_type=no
29496
29497 fi
29498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29499
29500 fi
29501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29502 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29503
29504 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29505     $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29506
29507 else
29508     $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29509
29510 fi
29511
29512 ac_ext=c
29513 ac_cpp='$CPP $CPPFLAGS'
29514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29517
29518
29519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29520 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29521 if ${wx_cv_struct_pw_gecos+:} false; then :
29522   $as_echo_n "(cached) " >&6
29523 else
29524
29525         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29526 /* end confdefs.h.  */
29527 #include <pwd.h>
29528 int
29529 main ()
29530 {
29531
29532                 char *p;
29533                 struct passwd *pw;
29534                 p = pw->pw_gecos;
29535
29536   ;
29537   return 0;
29538 }
29539 _ACEOF
29540 if ac_fn_c_try_compile "$LINENO"; then :
29541
29542                 wx_cv_struct_pw_gecos=yes
29543
29544 else
29545
29546                 wx_cv_struct_pw_gecos=no
29547
29548
29549 fi
29550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29551
29552
29553 fi
29554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29555 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29556
29557 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29558     $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29559
29560 fi
29561
29562
29563 WCSLEN_FOUND=0
29564 WCHAR_LINK=
29565 for ac_func in wcslen
29566 do :
29567   ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29568 if test "x$ac_cv_func_wcslen" = xyes; then :
29569   cat >>confdefs.h <<_ACEOF
29570 #define HAVE_WCSLEN 1
29571 _ACEOF
29572  WCSLEN_FOUND=1
29573 fi
29574 done
29575
29576
29577 if test "$WCSLEN_FOUND" = 0; then
29578     if test "$TOOLKIT" = "MSW"; then
29579         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29580 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29581 if ${ac_cv_lib_msvcrt_wcslen+:} false; then :
29582   $as_echo_n "(cached) " >&6
29583 else
29584   ac_check_lib_save_LIBS=$LIBS
29585 LIBS="-lmsvcrt  $LIBS"
29586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29587 /* end confdefs.h.  */
29588
29589 /* Override any GCC internal prototype to avoid an error.
29590    Use char because int might match the return type of a GCC
29591    builtin and then its argument prototype would still apply.  */
29592 #ifdef __cplusplus
29593 extern "C"
29594 #endif
29595 char wcslen ();
29596 int
29597 main ()
29598 {
29599 return wcslen ();
29600   ;
29601   return 0;
29602 }
29603 _ACEOF
29604 if ac_fn_c_try_link "$LINENO"; then :
29605   ac_cv_lib_msvcrt_wcslen=yes
29606 else
29607   ac_cv_lib_msvcrt_wcslen=no
29608 fi
29609 rm -f core conftest.err conftest.$ac_objext \
29610     conftest$ac_exeext conftest.$ac_ext
29611 LIBS=$ac_check_lib_save_LIBS
29612 fi
29613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29614 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29615 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes; then :
29616   WCHAR_OK=1
29617 fi
29618
29619     else
29620         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29621 $as_echo_n "checking for wcslen in -lw... " >&6; }
29622 if ${ac_cv_lib_w_wcslen+:} false; then :
29623   $as_echo_n "(cached) " >&6
29624 else
29625   ac_check_lib_save_LIBS=$LIBS
29626 LIBS="-lw  $LIBS"
29627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29628 /* end confdefs.h.  */
29629
29630 /* Override any GCC internal prototype to avoid an error.
29631    Use char because int might match the return type of a GCC
29632    builtin and then its argument prototype would still apply.  */
29633 #ifdef __cplusplus
29634 extern "C"
29635 #endif
29636 char wcslen ();
29637 int
29638 main ()
29639 {
29640 return wcslen ();
29641   ;
29642   return 0;
29643 }
29644 _ACEOF
29645 if ac_fn_c_try_link "$LINENO"; then :
29646   ac_cv_lib_w_wcslen=yes
29647 else
29648   ac_cv_lib_w_wcslen=no
29649 fi
29650 rm -f core conftest.err conftest.$ac_objext \
29651     conftest$ac_exeext conftest.$ac_ext
29652 LIBS=$ac_check_lib_save_LIBS
29653 fi
29654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29655 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29656 if test "x$ac_cv_lib_w_wcslen" = xyes; then :
29657
29658                         WCHAR_LINK=" -lw"
29659                         WCSLEN_FOUND=1
29660
29661 fi
29662
29663     fi
29664 fi
29665
29666 if test "$WCSLEN_FOUND" = 1; then
29667     $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29668
29669 fi
29670
29671 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29672 do :
29673   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29674 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29675 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29676   cat >>confdefs.h <<_ACEOF
29677 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29678 _ACEOF
29679
29680 fi
29681 done
29682
29683
29684 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29685     CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29686 fi
29687
29688 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29689 "
29690 if test "x$ac_cv_type_mbstate_t" = xyes; then :
29691
29692 cat >>confdefs.h <<_ACEOF
29693 #define HAVE_MBSTATE_T 1
29694 _ACEOF
29695
29696 for ac_func in wcsrtombs
29697 do :
29698   ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29699 if test "x$ac_cv_func_wcsrtombs" = xyes; then :
29700   cat >>confdefs.h <<_ACEOF
29701 #define HAVE_WCSRTOMBS 1
29702 _ACEOF
29703
29704 fi
29705 done
29706
29707 fi
29708
29709
29710 for ac_func in snprintf vsnprintf vsscanf
29711 do :
29712   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29713 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29714 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29715   cat >>confdefs.h <<_ACEOF
29716 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29717 _ACEOF
29718
29719 fi
29720 done
29721
29722
29723 ac_ext=cpp
29724 ac_cpp='$CXXCPP $CPPFLAGS'
29725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29728
29729 if test "$ac_cv_func_vsnprintf" = "yes"; then
29730         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29731 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29732 if ${wx_cv_func_vsnprintf_decl+:} false; then :
29733   $as_echo_n "(cached) " >&6
29734 else
29735
29736                                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29737 /* end confdefs.h.  */
29738
29739                     #include <stdio.h>
29740                     #include <stdarg.h>
29741
29742 int
29743 main ()
29744 {
29745
29746                     char *buf;
29747                     va_list ap;
29748                     vsnprintf(buf, 10u, "%s", ap);
29749
29750   ;
29751   return 0;
29752 }
29753 _ACEOF
29754 if ac_fn_cxx_try_compile "$LINENO"; then :
29755   wx_cv_func_vsnprintf_decl=yes
29756 else
29757   wx_cv_func_vsnprintf_decl=no
29758
29759 fi
29760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29761
29762
29763 fi
29764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29765 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29766
29767     if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29768         $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29769
29770
29771                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29772 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29773 if ${wx_cv_func_broken_vsnprintf_decl+:} false; then :
29774   $as_echo_n "(cached) " >&6
29775 else
29776
29777                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29778 /* end confdefs.h.  */
29779
29780                         #include <stdio.h>
29781                         #include <stdarg.h>
29782                         #ifdef __MSL__
29783                         #if __MSL__ >= 0x6000
29784                         namespace std {}
29785                         using namespace std;
29786                         #endif
29787                         #endif
29788
29789 int
29790 main ()
29791 {
29792
29793                         char *buf;
29794                         va_list ap;
29795                         const char *fmt = "%s";
29796                         vsnprintf(buf, 10u, fmt, ap);
29797
29798   ;
29799   return 0;
29800 }
29801 _ACEOF
29802 if ac_fn_cxx_try_compile "$LINENO"; then :
29803   wx_cv_func_broken_vsnprintf_decl=no
29804 else
29805   wx_cv_func_broken_vsnprintf_decl=yes
29806
29807 fi
29808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29809
29810
29811 fi
29812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29813 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29814
29815         if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29816             $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29817
29818         fi
29819     fi
29820 fi
29821
29822 if test "$ac_cv_func_snprintf" = "yes"; then
29823     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29824 $as_echo_n "checking for snprintf declaration... " >&6; }
29825 if ${wx_cv_func_snprintf_decl+:} false; then :
29826   $as_echo_n "(cached) " >&6
29827 else
29828
29829             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29830 /* end confdefs.h.  */
29831
29832                     #include <stdio.h>
29833                     #include <stdarg.h>
29834                     #ifdef __MSL__
29835                     #if __MSL__ >= 0x6000
29836                     namespace std {}
29837                     using namespace std;
29838                     #endif
29839                     #endif
29840
29841 int
29842 main ()
29843 {
29844
29845                     char *buf;
29846                     snprintf(buf, 10u, "%s", "wx");
29847
29848   ;
29849   return 0;
29850 }
29851 _ACEOF
29852 if ac_fn_cxx_try_compile "$LINENO"; then :
29853   wx_cv_func_snprintf_decl=yes
29854 else
29855   wx_cv_func_snprintf_decl=no
29856
29857 fi
29858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29859
29860
29861 fi
29862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29863 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29864
29865     if test "$wx_cv_func_snprintf_decl" = "yes"; then
29866         $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29867
29868     fi
29869
29870     if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29871
29872                                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29873 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29874 if ${wx_cv_func_snprintf_pos_params+:} false; then :
29875   $as_echo_n "(cached) " >&6
29876 else
29877
29878                 if test "$cross_compiling" = yes; then :
29879
29880                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29881 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29882 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29883 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29884                         wx_cv_func_snprintf_pos_params=no
29885
29886
29887 else
29888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29889 /* end confdefs.h.  */
29890
29891                         #include <stdio.h>
29892
29893                         int main (void)
29894                         {
29895                             char buffer[128];
29896                             snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29897                             if (strcmp ("2 3 1", buffer) == 0)
29898                                 exit (0);
29899                             exit (1);
29900                         }
29901
29902 _ACEOF
29903 if ac_fn_cxx_try_run "$LINENO"; then :
29904   wx_cv_func_snprintf_pos_params=no
29905 else
29906   wx_cv_func_snprintf_pos_params=yes
29907 fi
29908 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29909   conftest.$ac_objext conftest.beam conftest.$ac_ext
29910 fi
29911
29912
29913
29914 fi
29915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29916 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29917
29918         if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29919             $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29920
29921         fi
29922     fi
29923 fi
29924
29925 if test "$ac_cv_func_vsscanf" = "yes"; then
29926     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29927 $as_echo_n "checking for vsscanf declaration... " >&6; }
29928 if ${wx_cv_func_vsscanf_decl+:} false; then :
29929   $as_echo_n "(cached) " >&6
29930 else
29931
29932             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29933 /* end confdefs.h.  */
29934
29935                     #include <stdio.h>
29936                     #include <stdarg.h>
29937                     #ifdef __MSL__
29938                     #if __MSL__ >= 0x6000
29939                     namespace std {}
29940                     using namespace std;
29941                     #endif
29942                     #endif
29943
29944 int
29945 main ()
29946 {
29947
29948                     char *buf;
29949                     va_list args;
29950                     vsscanf(buf, "%s", args);
29951
29952   ;
29953   return 0;
29954 }
29955 _ACEOF
29956 if ac_fn_cxx_try_compile "$LINENO"; then :
29957   wx_cv_func_vsscanf_decl=yes
29958 else
29959   wx_cv_func_vsscanf_decl=no
29960
29961 fi
29962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29963
29964
29965 fi
29966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
29967 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
29968
29969     if test "$wx_cv_func_vsscanf_decl" = "yes"; then
29970         $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
29971
29972     fi
29973 fi
29974 ac_ext=c
29975 ac_cpp='$CPP $CPPFLAGS'
29976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29979
29980
29981 if test "$wxUSE_UNICODE" = yes; then
29982
29983             wchar_headers="#include <stdio.h>
29984 #include <wchar.h>"
29985     case "${host}" in
29986         *-*-solaris2* )
29987             for ac_header in widec.h
29988 do :
29989   ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
29990 "
29991 if test "x$ac_cv_header_widec_h" = xyes; then :
29992   cat >>confdefs.h <<_ACEOF
29993 #define HAVE_WIDEC_H 1
29994 _ACEOF
29995
29996 fi
29997
29998 done
29999
30000             if test "$ac_cv_header_widec_h" = "yes"; then
30001                 wchar_headers="$wchar_headers
30002 #include <widec.h>"
30003             fi
30004     esac
30005
30006
30007   for wx_func in putws fputws wprintf vswprintf vswscanf
30008   do
30009     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30010 $as_echo_n "checking for $wx_func... " >&6; }
30011 if eval \${wx_cv_func_$wx_func+:} false; then :
30012   $as_echo_n "(cached) " >&6
30013 else
30014
30015         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30016 /* end confdefs.h.  */
30017
30018
30019                 $wchar_headers
30020                 $ac_includes_default
30021
30022 int
30023 main ()
30024 {
30025
30026                 #ifndef $wx_func
30027                   &$wx_func;
30028                 #endif
30029
30030
30031   ;
30032   return 0;
30033 }
30034
30035 _ACEOF
30036 if ac_fn_c_try_link "$LINENO"; then :
30037   eval wx_cv_func_$wx_func=yes
30038 else
30039   eval wx_cv_func_$wx_func=no
30040 fi
30041 rm -f core conftest.err conftest.$ac_objext \
30042     conftest$ac_exeext conftest.$ac_ext
30043
30044 fi
30045 eval ac_res=\$wx_cv_func_$wx_func
30046                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30047 $as_echo "$ac_res" >&6; }
30048
30049     if eval test \$wx_cv_func_$wx_func = yes
30050     then
30051       cat >>confdefs.h <<_ACEOF
30052 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30053 _ACEOF
30054
30055
30056     else
30057       :
30058
30059     fi
30060   done
30061
30062
30063                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30064 $as_echo_n "checking for _vsnwprintf... " >&6; }
30065     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30066 /* end confdefs.h.  */
30067 #include <wchar.h>
30068 int
30069 main ()
30070 {
30071 &_vsnwprintf;
30072   ;
30073   return 0;
30074 }
30075 _ACEOF
30076 if ac_fn_c_try_compile "$LINENO"; then :
30077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30078 $as_echo "yes" >&6; }
30079                     $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30080
30081 else
30082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30083 $as_echo "no" >&6; }
30084 fi
30085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
30086 fi
30087
30088 if test "$wxUSE_FILE" = "yes"; then
30089
30090   for wx_func in fsync
30091   do
30092     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30093 $as_echo_n "checking for $wx_func... " >&6; }
30094 if eval \${wx_cv_func_$wx_func+:} false; then :
30095   $as_echo_n "(cached) " >&6
30096 else
30097
30098         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30099 /* end confdefs.h.  */
30100
30101
30102
30103                 $ac_includes_default
30104
30105 int
30106 main ()
30107 {
30108
30109                 #ifndef $wx_func
30110                   &$wx_func;
30111                 #endif
30112
30113
30114   ;
30115   return 0;
30116 }
30117
30118 _ACEOF
30119 if ac_fn_c_try_link "$LINENO"; then :
30120   eval wx_cv_func_$wx_func=yes
30121 else
30122   eval wx_cv_func_$wx_func=no
30123 fi
30124 rm -f core conftest.err conftest.$ac_objext \
30125     conftest$ac_exeext conftest.$ac_ext
30126
30127 fi
30128 eval ac_res=\$wx_cv_func_$wx_func
30129                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30130 $as_echo "$ac_res" >&6; }
30131
30132     if eval test \$wx_cv_func_$wx_func = yes
30133     then
30134       cat >>confdefs.h <<_ACEOF
30135 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30136 _ACEOF
30137
30138
30139     else
30140       :
30141
30142     fi
30143   done
30144
30145 fi
30146
30147 ac_ext=cpp
30148 ac_cpp='$CXXCPP $CPPFLAGS'
30149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30152
30153
30154   for wx_func in round
30155   do
30156     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30157 $as_echo_n "checking for $wx_func... " >&6; }
30158 if eval \${wx_cv_func_$wx_func+:} false; then :
30159   $as_echo_n "(cached) " >&6
30160 else
30161
30162         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30163 /* end confdefs.h.  */
30164
30165
30166                 #include <math.h>
30167                 $ac_includes_default
30168
30169 int
30170 main ()
30171 {
30172
30173                 #ifndef $wx_func
30174                   &$wx_func;
30175                 #endif
30176
30177
30178   ;
30179   return 0;
30180 }
30181
30182 _ACEOF
30183 if ac_fn_cxx_try_link "$LINENO"; then :
30184   eval wx_cv_func_$wx_func=yes
30185 else
30186   eval wx_cv_func_$wx_func=no
30187 fi
30188 rm -f core conftest.err conftest.$ac_objext \
30189     conftest$ac_exeext conftest.$ac_ext
30190
30191 fi
30192 eval ac_res=\$wx_cv_func_$wx_func
30193                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30194 $as_echo "$ac_res" >&6; }
30195
30196     if eval test \$wx_cv_func_$wx_func = yes
30197     then
30198       cat >>confdefs.h <<_ACEOF
30199 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30200 _ACEOF
30201
30202
30203     else
30204       :
30205
30206     fi
30207   done
30208
30209 ac_ext=c
30210 ac_cpp='$CPP $CPPFLAGS'
30211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30214
30215
30216 if test "$TOOLKIT" != "MSW"; then
30217
30218 if test "$wxUSE_LIBICONV" != "no" ; then
30219
30220
30221
30222 # Check whether --with-libiconv-prefix was given.
30223 if test "${with_libiconv_prefix+set}" = set; then :
30224   withval=$with_libiconv_prefix;
30225     for dir in `echo "$withval" | tr : ' '`; do
30226       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30227       if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30228     done
30229
30230 fi
30231
30232
30233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30234 $as_echo_n "checking for iconv... " >&6; }
30235 if ${am_cv_func_iconv+:} false; then :
30236   $as_echo_n "(cached) " >&6
30237 else
30238
30239     am_cv_func_iconv="no, consider installing GNU libiconv"
30240     am_cv_lib_iconv=no
30241     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30242 /* end confdefs.h.  */
30243 #include <stdlib.h>
30244 #include <iconv.h>
30245 int
30246 main ()
30247 {
30248 iconv_t cd = iconv_open("","");
30249        iconv(cd,NULL,NULL,NULL,NULL);
30250        iconv_close(cd);
30251   ;
30252   return 0;
30253 }
30254 _ACEOF
30255 if ac_fn_c_try_link "$LINENO"; then :
30256   am_cv_func_iconv=yes
30257 fi
30258 rm -f core conftest.err conftest.$ac_objext \
30259     conftest$ac_exeext conftest.$ac_ext
30260     if test "$am_cv_func_iconv" != yes; then
30261       am_save_LIBS="$LIBS"
30262       LIBS="$LIBS -liconv"
30263       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30264 /* end confdefs.h.  */
30265 #include <stdlib.h>
30266 #include <iconv.h>
30267 int
30268 main ()
30269 {
30270 iconv_t cd = iconv_open("","");
30271          iconv(cd,NULL,NULL,NULL,NULL);
30272          iconv_close(cd);
30273   ;
30274   return 0;
30275 }
30276 _ACEOF
30277 if ac_fn_c_try_link "$LINENO"; then :
30278   am_cv_lib_iconv=yes
30279         am_cv_func_iconv=yes
30280 fi
30281 rm -f core conftest.err conftest.$ac_objext \
30282     conftest$ac_exeext conftest.$ac_ext
30283       LIBS="$am_save_LIBS"
30284     fi
30285
30286 fi
30287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30288 $as_echo "$am_cv_func_iconv" >&6; }
30289   if test "$am_cv_func_iconv" = yes; then
30290
30291 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30292
30293     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30294 $as_echo_n "checking if iconv needs const... " >&6; }
30295 if ${wx_cv_func_iconv_const+:} false; then :
30296   $as_echo_n "(cached) " >&6
30297 else
30298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30299 /* end confdefs.h.  */
30300
30301 #include <stdlib.h>
30302 #include <iconv.h>
30303 extern
30304 #ifdef __cplusplus
30305 "C"
30306 #endif
30307 #if defined(__STDC__) || defined(__cplusplus)
30308 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30309 #else
30310 size_t iconv();
30311 #endif
30312
30313 int
30314 main ()
30315 {
30316
30317   ;
30318   return 0;
30319 }
30320 _ACEOF
30321 if ac_fn_c_try_compile "$LINENO"; then :
30322   wx_cv_func_iconv_const="no"
30323 else
30324   wx_cv_func_iconv_const="yes"
30325
30326 fi
30327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30328
30329 fi
30330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30331 $as_echo "$wx_cv_func_iconv_const" >&6; }
30332
30333     iconv_const=
30334     if test "x$wx_cv_func_iconv_const" = "xyes"; then
30335         iconv_const="const"
30336     fi
30337
30338
30339 cat >>confdefs.h <<_ACEOF
30340 #define ICONV_CONST $iconv_const
30341 _ACEOF
30342
30343   fi
30344   LIBICONV=
30345   if test "$am_cv_lib_iconv" = yes; then
30346     LIBICONV="-liconv"
30347   fi
30348
30349
30350     LIBS="$LIBICONV $LIBS"
30351 fi
30352
30353 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30354     for ac_func in sigaction
30355 do :
30356   ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30357 if test "x$ac_cv_func_sigaction" = xyes; then :
30358   cat >>confdefs.h <<_ACEOF
30359 #define HAVE_SIGACTION 1
30360 _ACEOF
30361
30362 fi
30363 done
30364
30365
30366     if test "$ac_cv_func_sigaction" = "no"; then
30367         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30368 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30369         wxUSE_ON_FATAL_EXCEPTION=no
30370     fi
30371
30372     if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30373       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30374 $as_echo_n "checking for sa_handler type... " >&6; }
30375 if ${wx_cv_type_sa_handler+:} false; then :
30376   $as_echo_n "(cached) " >&6
30377 else
30378
30379                 ac_ext=cpp
30380 ac_cpp='$CXXCPP $CPPFLAGS'
30381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30384
30385         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30386 /* end confdefs.h.  */
30387 #include <signal.h>
30388 int
30389 main ()
30390 {
30391
30392                         extern void testSigHandler(int);
30393
30394                         struct sigaction sa;
30395                         sa.sa_handler = testSigHandler;
30396
30397   ;
30398   return 0;
30399 }
30400 _ACEOF
30401 if ac_fn_cxx_try_compile "$LINENO"; then :
30402
30403                         wx_cv_type_sa_handler=int
30404
30405 else
30406
30407                         wx_cv_type_sa_handler=void
30408
30409 fi
30410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30411         ac_ext=c
30412 ac_cpp='$CPP $CPPFLAGS'
30413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30416
30417
30418 fi
30419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30420 $as_echo "$wx_cv_type_sa_handler" >&6; }
30421
30422       cat >>confdefs.h <<_ACEOF
30423 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30424 _ACEOF
30425
30426     fi
30427 fi
30428
30429 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30430     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30431 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30432 if ${wx_cv_func_backtrace+:} false; then :
30433   $as_echo_n "(cached) " >&6
30434 else
30435
30436             ac_ext=cpp
30437 ac_cpp='$CXXCPP $CPPFLAGS'
30438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30441
30442             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30443 /* end confdefs.h.  */
30444 #include <execinfo.h>
30445 int
30446 main ()
30447 {
30448
30449                     void *trace[1];
30450                     char **messages;
30451
30452                     backtrace(trace, 1);
30453                     messages = backtrace_symbols(trace, 1);
30454
30455   ;
30456   return 0;
30457 }
30458 _ACEOF
30459 if ac_fn_cxx_try_compile "$LINENO"; then :
30460   wx_cv_func_backtrace=yes
30461 else
30462   wx_cv_func_backtrace=no
30463
30464 fi
30465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30466             ac_ext=c
30467 ac_cpp='$CPP $CPPFLAGS'
30468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30471
30472
30473
30474 fi
30475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30476 $as_echo "$wx_cv_func_backtrace" >&6; }
30477
30478
30479     if test "$wx_cv_func_backtrace" = "no"; then
30480         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30481 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30482         wxUSE_STACKWALKER=no
30483     else
30484         if test "$ac_cv_header_cxxabi_h" = "yes"; then
30485             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30486 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30487 if ${wx_cv_func_cxa_demangle+:} false; then :
30488   $as_echo_n "(cached) " >&6
30489 else
30490
30491                     ac_ext=cpp
30492 ac_cpp='$CXXCPP $CPPFLAGS'
30493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30496
30497                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30498 /* end confdefs.h.  */
30499 #include <cxxabi.h>
30500 int
30501 main ()
30502 {
30503
30504                             int rc;
30505                             __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30506
30507   ;
30508   return 0;
30509 }
30510 _ACEOF
30511 if ac_fn_cxx_try_link "$LINENO"; then :
30512   wx_cv_func_cxa_demangle=yes
30513 else
30514   wx_cv_func_cxa_demangle=no
30515
30516 fi
30517 rm -f core conftest.err conftest.$ac_objext \
30518     conftest$ac_exeext conftest.$ac_ext
30519                     ac_ext=c
30520 ac_cpp='$CPP $CPPFLAGS'
30521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30524
30525
30526
30527 fi
30528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30529 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30530         else
30531             wx_cv_func_cxa_demangle=no
30532         fi
30533
30534         if test "$wx_cv_func_cxa_demangle" = "yes"; then
30535             $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30536
30537         fi
30538     fi
30539 fi
30540
30541 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30542     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30543 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30544     wxUSE_STACKWALKER=no
30545 fi
30546
30547
30548 for ac_func in mkstemp mktemp
30549 do :
30550   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30551 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30552 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30553   cat >>confdefs.h <<_ACEOF
30554 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30555 _ACEOF
30556  break
30557 fi
30558 done
30559
30560
30561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30562 $as_echo_n "checking for statfs... " >&6; }
30563 if ${wx_cv_func_statfs+:} false; then :
30564   $as_echo_n "(cached) " >&6
30565 else
30566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30567 /* end confdefs.h.  */
30568
30569              #if defined(__BSD__)
30570              #include <sys/param.h>
30571              #include <sys/mount.h>
30572              #else
30573              #include <sys/vfs.h>
30574              #endif
30575
30576 int
30577 main ()
30578 {
30579
30580              long l;
30581              struct statfs fs;
30582              statfs("/", &fs);
30583              l = fs.f_bsize;
30584              l += fs.f_blocks;
30585              l += fs.f_bavail;
30586
30587   ;
30588   return 0;
30589 }
30590 _ACEOF
30591 if ac_fn_c_try_compile "$LINENO"; then :
30592   wx_cv_func_statfs=yes
30593 else
30594   wx_cv_func_statfs=no
30595
30596 fi
30597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30598
30599 fi
30600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30601 $as_echo "$wx_cv_func_statfs" >&6; }
30602
30603 if test "$wx_cv_func_statfs" = "yes"; then
30604         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30605 $as_echo_n "checking for statfs declaration... " >&6; }
30606 if ${wx_cv_func_statfs_decl+:} false; then :
30607   $as_echo_n "(cached) " >&6
30608 else
30609   ac_ext=cpp
30610 ac_cpp='$CXXCPP $CPPFLAGS'
30611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30614
30615         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30616 /* end confdefs.h.  */
30617
30618                  #if defined(__BSD__)
30619                  #include <sys/param.h>
30620                  #include <sys/mount.h>
30621                  #else
30622                  #include <sys/vfs.h>
30623                  #endif
30624
30625 int
30626 main ()
30627 {
30628
30629                 struct statfs fs;
30630                 statfs("", &fs);
30631
30632   ;
30633   return 0;
30634 }
30635 _ACEOF
30636 if ac_fn_cxx_try_compile "$LINENO"; then :
30637   wx_cv_func_statfs_decl=yes
30638 else
30639   wx_cv_func_statfs_decl=no
30640
30641 fi
30642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30643         ac_ext=c
30644 ac_cpp='$CPP $CPPFLAGS'
30645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30648
30649
30650 fi
30651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30652 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30653
30654     if test "$wx_cv_func_statfs_decl" = "yes"; then
30655         $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30656
30657     fi
30658
30659     wx_cv_type_statvfs_t="struct statfs"
30660     $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30661
30662 else
30663     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30664 $as_echo_n "checking for statvfs... " >&6; }
30665 if ${wx_cv_func_statvfs+:} false; then :
30666   $as_echo_n "(cached) " >&6
30667 else
30668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30669 /* end confdefs.h.  */
30670
30671                 #include <stddef.h>
30672                 #include <sys/statvfs.h>
30673
30674 int
30675 main ()
30676 {
30677
30678                 statvfs("/", NULL);
30679
30680   ;
30681   return 0;
30682 }
30683 _ACEOF
30684 if ac_fn_c_try_compile "$LINENO"; then :
30685   wx_cv_func_statvfs=yes
30686 else
30687   wx_cv_func_statvfs=no
30688
30689 fi
30690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30691
30692 fi
30693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30694 $as_echo "$wx_cv_func_statvfs" >&6; }
30695
30696     if test "$wx_cv_func_statvfs" = "yes"; then
30697                                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30698 $as_echo_n "checking for statvfs argument type... " >&6; }
30699 if ${wx_cv_type_statvfs_t+:} false; then :
30700   $as_echo_n "(cached) " >&6
30701 else
30702   ac_ext=cpp
30703 ac_cpp='$CXXCPP $CPPFLAGS'
30704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30707
30708             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30709 /* end confdefs.h.  */
30710
30711                     #include <sys/statvfs.h>
30712
30713 int
30714 main ()
30715 {
30716
30717                     long l;
30718                     statvfs_t fs;
30719                     statvfs("/", &fs);
30720                     l = fs.f_bsize;
30721                     l += fs.f_blocks;
30722                     l += fs.f_bavail;
30723
30724   ;
30725   return 0;
30726 }
30727 _ACEOF
30728 if ac_fn_cxx_try_compile "$LINENO"; then :
30729   wx_cv_type_statvfs_t=statvfs_t
30730 else
30731
30732                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30733 /* end confdefs.h.  */
30734
30735                             #include <sys/statvfs.h>
30736
30737 int
30738 main ()
30739 {
30740
30741                             long l;
30742                             struct statvfs fs;
30743                             statvfs("/", &fs);
30744                             l = fs.f_bsize;
30745                             l += fs.f_blocks;
30746                             l += fs.f_bavail;
30747
30748   ;
30749   return 0;
30750 }
30751 _ACEOF
30752 if ac_fn_cxx_try_compile "$LINENO"; then :
30753   wx_cv_type_statvfs_t="struct statvfs"
30754 else
30755   wx_cv_type_statvfs_t="unknown"
30756
30757 fi
30758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30759
30760
30761 fi
30762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30763             ac_ext=c
30764 ac_cpp='$CPP $CPPFLAGS'
30765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30768
30769
30770 fi
30771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30772 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30773
30774         if test "$wx_cv_type_statvfs_t" != "unknown"; then
30775             $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30776
30777         fi
30778     else
30779                 wx_cv_type_statvfs_t="unknown"
30780     fi
30781 fi
30782
30783 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30784     cat >>confdefs.h <<_ACEOF
30785 #define WX_STATFS_T $wx_cv_type_statvfs_t
30786 _ACEOF
30787
30788 else
30789     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30790 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30791 fi
30792
30793 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30794     for ac_func in fcntl flock
30795 do :
30796   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30797 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30798 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30799   cat >>confdefs.h <<_ACEOF
30800 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30801 _ACEOF
30802  break
30803 fi
30804 done
30805
30806
30807     if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30808         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30809 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30810         wxUSE_SNGLINST_CHECKER=no
30811     fi
30812 fi
30813
30814 for ac_func in setenv putenv
30815 do :
30816   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30818 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30819   cat >>confdefs.h <<_ACEOF
30820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30821 _ACEOF
30822  break
30823 fi
30824 done
30825
30826 if test "$ac_cv_func_setenv" = "yes"; then
30827     for ac_func in unsetenv
30828 do :
30829   ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30830 if test "x$ac_cv_func_unsetenv" = xyes; then :
30831   cat >>confdefs.h <<_ACEOF
30832 #define HAVE_UNSETENV 1
30833 _ACEOF
30834
30835 fi
30836 done
30837
30838 fi
30839
30840 HAVE_SOME_SLEEP_FUNC=0
30841 if test "$USE_BEOS" = 1; then
30842             $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30843
30844     HAVE_SOME_SLEEP_FUNC=1
30845 fi
30846
30847 if test "$USE_DARWIN" = 1; then
30848             $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30849
30850     HAVE_SOME_SLEEP_FUNC=1
30851 fi
30852
30853 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30854         POSIX4_LINK=
30855     for ac_func in nanosleep
30856 do :
30857   ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30858 if test "x$ac_cv_func_nanosleep" = xyes; then :
30859   cat >>confdefs.h <<_ACEOF
30860 #define HAVE_NANOSLEEP 1
30861 _ACEOF
30862  $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30863
30864 else
30865
30866             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30867 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30868 if ${ac_cv_lib_posix4_nanosleep+:} false; then :
30869   $as_echo_n "(cached) " >&6
30870 else
30871   ac_check_lib_save_LIBS=$LIBS
30872 LIBS="-lposix4  $LIBS"
30873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30874 /* end confdefs.h.  */
30875
30876 /* Override any GCC internal prototype to avoid an error.
30877    Use char because int might match the return type of a GCC
30878    builtin and then its argument prototype would still apply.  */
30879 #ifdef __cplusplus
30880 extern "C"
30881 #endif
30882 char nanosleep ();
30883 int
30884 main ()
30885 {
30886 return nanosleep ();
30887   ;
30888   return 0;
30889 }
30890 _ACEOF
30891 if ac_fn_c_try_link "$LINENO"; then :
30892   ac_cv_lib_posix4_nanosleep=yes
30893 else
30894   ac_cv_lib_posix4_nanosleep=no
30895 fi
30896 rm -f core conftest.err conftest.$ac_objext \
30897     conftest$ac_exeext conftest.$ac_ext
30898 LIBS=$ac_check_lib_save_LIBS
30899 fi
30900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
30901 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
30902 if test "x$ac_cv_lib_posix4_nanosleep" = xyes; then :
30903
30904                     $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30905
30906                     POSIX4_LINK=" -lposix4"
30907
30908 else
30909
30910
30911   for wx_func in usleep
30912   do
30913     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30914 $as_echo_n "checking for $wx_func... " >&6; }
30915 if eval \${wx_cv_func_$wx_func+:} false; then :
30916   $as_echo_n "(cached) " >&6
30917 else
30918
30919         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30920 /* end confdefs.h.  */
30921
30922
30923
30924                 $ac_includes_default
30925
30926 int
30927 main ()
30928 {
30929
30930                 #ifndef $wx_func
30931                   &$wx_func;
30932                 #endif
30933
30934
30935   ;
30936   return 0;
30937 }
30938
30939 _ACEOF
30940 if ac_fn_c_try_link "$LINENO"; then :
30941   eval wx_cv_func_$wx_func=yes
30942 else
30943   eval wx_cv_func_$wx_func=no
30944 fi
30945 rm -f core conftest.err conftest.$ac_objext \
30946     conftest$ac_exeext conftest.$ac_ext
30947
30948 fi
30949 eval ac_res=\$wx_cv_func_$wx_func
30950                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30951 $as_echo "$ac_res" >&6; }
30952
30953     if eval test \$wx_cv_func_$wx_func = yes
30954     then
30955       cat >>confdefs.h <<_ACEOF
30956 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30957 _ACEOF
30958
30959
30960     else
30961       :
30962       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
30963 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30964
30965     fi
30966   done
30967
30968
30969
30970 fi
30971
30972
30973
30974 fi
30975 done
30976
30977 fi
30978
30979
30980   for wx_func in uname
30981   do
30982     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30983 $as_echo_n "checking for $wx_func... " >&6; }
30984 if eval \${wx_cv_func_$wx_func+:} false; then :
30985   $as_echo_n "(cached) " >&6
30986 else
30987
30988         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30989 /* end confdefs.h.  */
30990
30991
30992                 #include <sys/utsname.h>
30993                 $ac_includes_default
30994
30995 int
30996 main ()
30997 {
30998
30999                 #ifndef $wx_func
31000                   &$wx_func;
31001                 #endif
31002
31003
31004   ;
31005   return 0;
31006 }
31007
31008 _ACEOF
31009 if ac_fn_c_try_link "$LINENO"; then :
31010   eval wx_cv_func_$wx_func=yes
31011 else
31012   eval wx_cv_func_$wx_func=no
31013 fi
31014 rm -f core conftest.err conftest.$ac_objext \
31015     conftest$ac_exeext conftest.$ac_ext
31016
31017 fi
31018 eval ac_res=\$wx_cv_func_$wx_func
31019                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31020 $as_echo "$ac_res" >&6; }
31021
31022     if eval test \$wx_cv_func_$wx_func = yes
31023     then
31024       cat >>confdefs.h <<_ACEOF
31025 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31026 _ACEOF
31027
31028
31029     else
31030       :
31031
31032     fi
31033   done
31034
31035 if test "$wx_cv_func_uname" != yes; then
31036
31037   for wx_func in gethostname
31038   do
31039     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31040 $as_echo_n "checking for $wx_func... " >&6; }
31041 if eval \${wx_cv_func_$wx_func+:} false; then :
31042   $as_echo_n "(cached) " >&6
31043 else
31044
31045         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31046 /* end confdefs.h.  */
31047
31048
31049
31050                 $ac_includes_default
31051
31052 int
31053 main ()
31054 {
31055
31056                 #ifndef $wx_func
31057                   &$wx_func;
31058                 #endif
31059
31060
31061   ;
31062   return 0;
31063 }
31064
31065 _ACEOF
31066 if ac_fn_c_try_link "$LINENO"; then :
31067   eval wx_cv_func_$wx_func=yes
31068 else
31069   eval wx_cv_func_$wx_func=no
31070 fi
31071 rm -f core conftest.err conftest.$ac_objext \
31072     conftest$ac_exeext conftest.$ac_ext
31073
31074 fi
31075 eval ac_res=\$wx_cv_func_$wx_func
31076                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31077 $as_echo "$ac_res" >&6; }
31078
31079     if eval test \$wx_cv_func_$wx_func = yes
31080     then
31081       cat >>confdefs.h <<_ACEOF
31082 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31083 _ACEOF
31084
31085
31086     else
31087       :
31088
31089     fi
31090   done
31091
31092 fi
31093
31094
31095   for wx_func in strtok_r
31096   do
31097     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31098 $as_echo_n "checking for $wx_func... " >&6; }
31099 if eval \${wx_cv_func_$wx_func+:} false; then :
31100   $as_echo_n "(cached) " >&6
31101 else
31102
31103         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31104 /* end confdefs.h.  */
31105
31106
31107                 #define _REENTRANT
31108                 $ac_includes_default
31109
31110 int
31111 main ()
31112 {
31113
31114                 #ifndef $wx_func
31115                   &$wx_func;
31116                 #endif
31117
31118
31119   ;
31120   return 0;
31121 }
31122
31123 _ACEOF
31124 if ac_fn_c_try_link "$LINENO"; then :
31125   eval wx_cv_func_$wx_func=yes
31126 else
31127   eval wx_cv_func_$wx_func=no
31128 fi
31129 rm -f core conftest.err conftest.$ac_objext \
31130     conftest$ac_exeext conftest.$ac_ext
31131
31132 fi
31133 eval ac_res=\$wx_cv_func_$wx_func
31134                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31135 $as_echo "$ac_res" >&6; }
31136
31137     if eval test \$wx_cv_func_$wx_func = yes
31138     then
31139       cat >>confdefs.h <<_ACEOF
31140 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31141 _ACEOF
31142
31143
31144     else
31145       :
31146
31147     fi
31148   done
31149
31150
31151 INET_LINK=
31152 for ac_func in inet_addr
31153 do :
31154   ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31155 if test "x$ac_cv_func_inet_addr" = xyes; then :
31156   cat >>confdefs.h <<_ACEOF
31157 #define HAVE_INET_ADDR 1
31158 _ACEOF
31159  $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31160
31161 else
31162
31163         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31164 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31165 if ${ac_cv_lib_nsl_inet_addr+:} false; then :
31166   $as_echo_n "(cached) " >&6
31167 else
31168   ac_check_lib_save_LIBS=$LIBS
31169 LIBS="-lnsl  $LIBS"
31170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31171 /* end confdefs.h.  */
31172
31173 /* Override any GCC internal prototype to avoid an error.
31174    Use char because int might match the return type of a GCC
31175    builtin and then its argument prototype would still apply.  */
31176 #ifdef __cplusplus
31177 extern "C"
31178 #endif
31179 char inet_addr ();
31180 int
31181 main ()
31182 {
31183 return inet_addr ();
31184   ;
31185   return 0;
31186 }
31187 _ACEOF
31188 if ac_fn_c_try_link "$LINENO"; then :
31189   ac_cv_lib_nsl_inet_addr=yes
31190 else
31191   ac_cv_lib_nsl_inet_addr=no
31192 fi
31193 rm -f core conftest.err conftest.$ac_objext \
31194     conftest$ac_exeext conftest.$ac_ext
31195 LIBS=$ac_check_lib_save_LIBS
31196 fi
31197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31198 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31199 if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
31200   INET_LINK="nsl"
31201 else
31202
31203                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31204 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31205 if ${ac_cv_lib_resolv_inet_addr+:} false; then :
31206   $as_echo_n "(cached) " >&6
31207 else
31208   ac_check_lib_save_LIBS=$LIBS
31209 LIBS="-lresolv  $LIBS"
31210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31211 /* end confdefs.h.  */
31212
31213 /* Override any GCC internal prototype to avoid an error.
31214    Use char because int might match the return type of a GCC
31215    builtin and then its argument prototype would still apply.  */
31216 #ifdef __cplusplus
31217 extern "C"
31218 #endif
31219 char inet_addr ();
31220 int
31221 main ()
31222 {
31223 return inet_addr ();
31224   ;
31225   return 0;
31226 }
31227 _ACEOF
31228 if ac_fn_c_try_link "$LINENO"; then :
31229   ac_cv_lib_resolv_inet_addr=yes
31230 else
31231   ac_cv_lib_resolv_inet_addr=no
31232 fi
31233 rm -f core conftest.err conftest.$ac_objext \
31234     conftest$ac_exeext conftest.$ac_ext
31235 LIBS=$ac_check_lib_save_LIBS
31236 fi
31237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31238 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31239 if test "x$ac_cv_lib_resolv_inet_addr" = xyes; then :
31240   INET_LINK="resolv"
31241 else
31242
31243                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31244 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31245 if ${ac_cv_lib_socket_inet_addr+:} false; then :
31246   $as_echo_n "(cached) " >&6
31247 else
31248   ac_check_lib_save_LIBS=$LIBS
31249 LIBS="-lsocket  $LIBS"
31250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31251 /* end confdefs.h.  */
31252
31253 /* Override any GCC internal prototype to avoid an error.
31254    Use char because int might match the return type of a GCC
31255    builtin and then its argument prototype would still apply.  */
31256 #ifdef __cplusplus
31257 extern "C"
31258 #endif
31259 char inet_addr ();
31260 int
31261 main ()
31262 {
31263 return inet_addr ();
31264   ;
31265   return 0;
31266 }
31267 _ACEOF
31268 if ac_fn_c_try_link "$LINENO"; then :
31269   ac_cv_lib_socket_inet_addr=yes
31270 else
31271   ac_cv_lib_socket_inet_addr=no
31272 fi
31273 rm -f core conftest.err conftest.$ac_objext \
31274     conftest$ac_exeext conftest.$ac_ext
31275 LIBS=$ac_check_lib_save_LIBS
31276 fi
31277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31278 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31279 if test "x$ac_cv_lib_socket_inet_addr" = xyes; then :
31280   INET_LINK="socket"
31281
31282 fi
31283
31284
31285
31286 fi
31287
31288
31289
31290 fi
31291
31292
31293
31294 fi
31295 done
31296
31297
31298 for ac_func in inet_aton
31299 do :
31300   ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31301 if test "x$ac_cv_func_inet_aton" = xyes; then :
31302   cat >>confdefs.h <<_ACEOF
31303 #define HAVE_INET_ATON 1
31304 _ACEOF
31305  $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31306
31307 else
31308
31309                         as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31311 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31312 if eval \${$as_ac_Lib+:} false; then :
31313   $as_echo_n "(cached) " >&6
31314 else
31315   ac_check_lib_save_LIBS=$LIBS
31316 LIBS="-l$INET_LINK  $LIBS"
31317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31318 /* end confdefs.h.  */
31319
31320 /* Override any GCC internal prototype to avoid an error.
31321    Use char because int might match the return type of a GCC
31322    builtin and then its argument prototype would still apply.  */
31323 #ifdef __cplusplus
31324 extern "C"
31325 #endif
31326 char inet_aton ();
31327 int
31328 main ()
31329 {
31330 return inet_aton ();
31331   ;
31332   return 0;
31333 }
31334 _ACEOF
31335 if ac_fn_c_try_link "$LINENO"; then :
31336   eval "$as_ac_Lib=yes"
31337 else
31338   eval "$as_ac_Lib=no"
31339 fi
31340 rm -f core conftest.err conftest.$ac_objext \
31341     conftest$ac_exeext conftest.$ac_ext
31342 LIBS=$ac_check_lib_save_LIBS
31343 fi
31344 eval ac_res=\$$as_ac_Lib
31345                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31346 $as_echo "$ac_res" >&6; }
31347 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31348   $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31349
31350 fi
31351
31352
31353 fi
31354 done
31355
31356
31357 if test "x$INET_LINK" != "x"; then
31358     $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31359
31360     INET_LINK=" -l$INET_LINK"
31361 fi
31362
31363
31364   for wx_func in fdopen
31365   do
31366     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31367 $as_echo_n "checking for $wx_func... " >&6; }
31368 if eval \${wx_cv_func_$wx_func+:} false; then :
31369   $as_echo_n "(cached) " >&6
31370 else
31371
31372         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31373 /* end confdefs.h.  */
31374
31375
31376
31377                 $ac_includes_default
31378
31379 int
31380 main ()
31381 {
31382
31383                 #ifndef $wx_func
31384                   &$wx_func;
31385                 #endif
31386
31387
31388   ;
31389   return 0;
31390 }
31391
31392 _ACEOF
31393 if ac_fn_c_try_link "$LINENO"; then :
31394   eval wx_cv_func_$wx_func=yes
31395 else
31396   eval wx_cv_func_$wx_func=no
31397 fi
31398 rm -f core conftest.err conftest.$ac_objext \
31399     conftest$ac_exeext conftest.$ac_ext
31400
31401 fi
31402 eval ac_res=\$wx_cv_func_$wx_func
31403                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31404 $as_echo "$ac_res" >&6; }
31405
31406     if eval test \$wx_cv_func_$wx_func = yes
31407     then
31408       cat >>confdefs.h <<_ACEOF
31409 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31410 _ACEOF
31411
31412
31413     else
31414       :
31415
31416     fi
31417   done
31418
31419
31420 if test "$wxUSE_TARSTREAM" = "yes"; then
31421
31422   for wx_func in sysconf
31423   do
31424     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31425 $as_echo_n "checking for $wx_func... " >&6; }
31426 if eval \${wx_cv_func_$wx_func+:} false; then :
31427   $as_echo_n "(cached) " >&6
31428 else
31429
31430         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31431 /* end confdefs.h.  */
31432
31433
31434
31435                 $ac_includes_default
31436
31437 int
31438 main ()
31439 {
31440
31441                 #ifndef $wx_func
31442                   &$wx_func;
31443                 #endif
31444
31445
31446   ;
31447   return 0;
31448 }
31449
31450 _ACEOF
31451 if ac_fn_c_try_link "$LINENO"; then :
31452   eval wx_cv_func_$wx_func=yes
31453 else
31454   eval wx_cv_func_$wx_func=no
31455 fi
31456 rm -f core conftest.err conftest.$ac_objext \
31457     conftest$ac_exeext conftest.$ac_ext
31458
31459 fi
31460 eval ac_res=\$wx_cv_func_$wx_func
31461                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31462 $as_echo "$ac_res" >&6; }
31463
31464     if eval test \$wx_cv_func_$wx_func = yes
31465     then
31466       cat >>confdefs.h <<_ACEOF
31467 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31468 _ACEOF
31469
31470
31471     else
31472       :
31473
31474     fi
31475   done
31476
31477
31478
31479   for wx_func in getpwuid_r
31480   do
31481     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31482 $as_echo_n "checking for $wx_func... " >&6; }
31483 if eval \${wx_cv_func_$wx_func+:} false; then :
31484   $as_echo_n "(cached) " >&6
31485 else
31486
31487         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31488 /* end confdefs.h.  */
31489
31490
31491
31492                     #define _REENTRANT
31493                     #include <pwd.h>
31494
31495                 $ac_includes_default
31496
31497 int
31498 main ()
31499 {
31500
31501                 #ifndef $wx_func
31502                   &$wx_func;
31503                 #endif
31504
31505                     struct passwd pw, *ppw;
31506                     char buf[1024];
31507                     getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31508
31509
31510   ;
31511   return 0;
31512 }
31513
31514 _ACEOF
31515 if ac_fn_c_try_link "$LINENO"; then :
31516   eval wx_cv_func_$wx_func=yes
31517 else
31518   eval wx_cv_func_$wx_func=no
31519 fi
31520 rm -f core conftest.err conftest.$ac_objext \
31521     conftest$ac_exeext conftest.$ac_ext
31522
31523 fi
31524 eval ac_res=\$wx_cv_func_$wx_func
31525                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31526 $as_echo "$ac_res" >&6; }
31527
31528     if eval test \$wx_cv_func_$wx_func = yes
31529     then
31530       cat >>confdefs.h <<_ACEOF
31531 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31532 _ACEOF
31533
31534
31535     else
31536       :
31537
31538     fi
31539   done
31540
31541
31542
31543   for wx_func in getgrgid_r
31544   do
31545     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31546 $as_echo_n "checking for $wx_func... " >&6; }
31547 if eval \${wx_cv_func_$wx_func+:} false; then :
31548   $as_echo_n "(cached) " >&6
31549 else
31550
31551         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31552 /* end confdefs.h.  */
31553
31554
31555
31556                     #define _REENTRANT
31557                     #include <grp.h>
31558
31559                 $ac_includes_default
31560
31561 int
31562 main ()
31563 {
31564
31565                 #ifndef $wx_func
31566                   &$wx_func;
31567                 #endif
31568
31569                     struct group grp, *pgrp;
31570                     char buf[1024];
31571                     getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31572
31573
31574   ;
31575   return 0;
31576 }
31577
31578 _ACEOF
31579 if ac_fn_c_try_link "$LINENO"; then :
31580   eval wx_cv_func_$wx_func=yes
31581 else
31582   eval wx_cv_func_$wx_func=no
31583 fi
31584 rm -f core conftest.err conftest.$ac_objext \
31585     conftest$ac_exeext conftest.$ac_ext
31586
31587 fi
31588 eval ac_res=\$wx_cv_func_$wx_func
31589                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31590 $as_echo "$ac_res" >&6; }
31591
31592     if eval test \$wx_cv_func_$wx_func = yes
31593     then
31594       cat >>confdefs.h <<_ACEOF
31595 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31596 _ACEOF
31597
31598
31599     else
31600       :
31601
31602     fi
31603   done
31604
31605 fi
31606
31607 fi
31608
31609
31610
31611 cat >confcache <<\_ACEOF
31612 # This file is a shell script that caches the results of configure
31613 # tests run on this system so they can be shared between configure
31614 # scripts and configure runs, see configure's option --config-cache.
31615 # It is not useful on other systems.  If it contains results you don't
31616 # want to keep, you may remove or edit it.
31617 #
31618 # config.status only pays attention to the cache file if you give it
31619 # the --recheck option to rerun configure.
31620 #
31621 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31622 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31623 # following values.
31624
31625 _ACEOF
31626
31627 # The following way of writing the cache mishandles newlines in values,
31628 # but we know of no workaround that is simple, portable, and efficient.
31629 # So, we kill variables containing newlines.
31630 # Ultrix sh set writes to stderr and can't be redirected directly,
31631 # and sets the high bit in the cache file unless we assign to the vars.
31632 (
31633   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31634     eval ac_val=\$$ac_var
31635     case $ac_val in #(
31636     *${as_nl}*)
31637       case $ac_var in #(
31638       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31639 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31640       esac
31641       case $ac_var in #(
31642       _ | IFS | as_nl) ;; #(
31643       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31644       *) { eval $ac_var=; unset $ac_var;} ;;
31645       esac ;;
31646     esac
31647   done
31648
31649   (set) 2>&1 |
31650     case $as_nl`(ac_space=' '; set) 2>&1` in #(
31651     *${as_nl}ac_space=\ *)
31652       # `set' does not quote correctly, so add quotes: double-quote
31653       # substitution turns \\\\ into \\, and sed turns \\ into \.
31654       sed -n \
31655         "s/'/'\\\\''/g;
31656           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31657       ;; #(
31658     *)
31659       # `set' quotes correctly as required by POSIX, so do not add quotes.
31660       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31661       ;;
31662     esac |
31663     sort
31664 ) |
31665   sed '
31666      /^ac_cv_env_/b end
31667      t clear
31668      :clear
31669      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31670      t end
31671      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31672      :end' >>confcache
31673 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31674   if test -w "$cache_file"; then
31675     if test "x$cache_file" != "x/dev/null"; then
31676       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31677 $as_echo "$as_me: updating cache $cache_file" >&6;}
31678       if test ! -f "$cache_file" || test -h "$cache_file"; then
31679         cat confcache >"$cache_file"
31680       else
31681         case $cache_file in #(
31682         */* | ?:*)
31683           mv -f confcache "$cache_file"$$ &&
31684           mv -f "$cache_file"$$ "$cache_file" ;; #(
31685         *)
31686           mv -f confcache "$cache_file" ;;
31687         esac
31688       fi
31689     fi
31690   else
31691     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31692 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31693   fi
31694 fi
31695 rm -f confcache
31696
31697
31698 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31699
31700
31701     THREADS_LINK=
31702     THREADS_CFLAGS=
31703
31704     if test "$wxUSE_THREADS" = "yes" ; then
31705         if test "$USE_BEOS" = 1; then
31706             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31707 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31708             wxUSE_THREADS="no"
31709         fi
31710     fi
31711
31712     if test "$wxUSE_THREADS" = "yes" ; then
31713
31714
31715                                 THREAD_OPTS="-pthread"
31716         if test "x$SUNCXX" = xyes; then
31717             THREAD_OPTS="-mt lthread $THREAD_OPTS"
31718         fi
31719
31720         case "${host}" in
31721           *-*-solaris2* | *-*-sunos4* )
31722                 if test "x$GCC" = "xyes"; then
31723                                         THREAD_OPTS="-pthreads $THREAD_OPTS"
31724                 fi
31725                 ;;
31726           *-*-freebsd*)
31727                                                 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31728                 ;;
31729           *-*-darwin* | *-*-cygwin* )
31730                                                 THREAD_OPTS=""
31731                 ;;
31732           *-*-aix*)
31733                                 THREAD_OPTS="pthreads"
31734                 ;;
31735           *-hp-hpux* )
31736                 if test "x$GCC" = "xyes"; then
31737                                         $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
31738                         THREAD_OPTS=""
31739                 else
31740                                                             THREAD_OPTS="-mt"
31741                 fi
31742                 ;;
31743
31744           *-*-irix* )
31745                                                                 if test "x$GCC" = "xyes"; then
31746                     THREAD_OPTS=""
31747                 fi
31748                 ;;
31749
31750           *-*-qnx*)
31751                                                 THREAD_OPTS=""
31752                 ;;
31753
31754           *-*-*UnixWare*)
31755                                 if test "x$GCC" != "xyes"; then
31756                     THREAD_OPTS="-Ethread"
31757                 fi
31758                 ;;
31759         esac
31760
31761         case "${host}" in
31762             *-*-qnx*)
31763                                                                 THREAD_OPTS="none pthread"
31764                 ;;
31765
31766             *)
31767                                                                                 THREAD_OPTS="$THREAD_OPTS pthread none"
31768                 ;;
31769         esac
31770
31771                 THREADS_OK=no
31772         for flag in $THREAD_OPTS; do
31773             case $flag in
31774                 none)
31775                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31776 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31777                     ;;
31778
31779                 -*)
31780                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31781 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31782                     THREADS_CFLAGS="$flag"
31783                     ;;
31784
31785                 *)
31786                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31787 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31788                     THREADS_LINK="-l$flag"
31789                     ;;
31790               esac
31791
31792               save_LIBS="$LIBS"
31793               save_CFLAGS="$CFLAGS"
31794               LIBS="$THREADS_LINK $LIBS"
31795               CFLAGS="$THREADS_CFLAGS $CFLAGS"
31796
31797               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31798 /* end confdefs.h.  */
31799 #include <pthread.h>
31800 int
31801 main ()
31802 {
31803 pthread_create(0,0,0,0);
31804   ;
31805   return 0;
31806 }
31807 _ACEOF
31808 if ac_fn_c_try_link "$LINENO"; then :
31809   THREADS_OK=yes
31810 fi
31811 rm -f core conftest.err conftest.$ac_objext \
31812     conftest$ac_exeext conftest.$ac_ext
31813
31814               LIBS="$save_LIBS"
31815               CFLAGS="$save_CFLAGS"
31816
31817               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31818 $as_echo "$THREADS_OK" >&6; }
31819               if test "x$THREADS_OK" = "xyes"; then
31820                       break;
31821               fi
31822
31823               THREADS_LINK=""
31824               THREADS_CFLAGS=""
31825       done
31826
31827       if test "x$THREADS_OK" != "xyes"; then
31828           wxUSE_THREADS=no
31829           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31830 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31831       else
31832                                                                                           LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31833           WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31834           LIBS="$THREADS_LINK $LIBS"
31835
31836           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31837 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31838           flag=no
31839           case "${host}" in
31840             *-aix*)
31841                                                                                                                 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31842                 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31843                 flag="-D_THREAD_SAFE"
31844                 ;;
31845             *-freebsd*)
31846                 flag="-D_THREAD_SAFE"
31847                 ;;
31848             *-hp-hpux* )
31849                 flag="-D_REENTRANT"
31850                 if test "x$GCC" != "xyes"; then
31851                                         flag="$flag -D_RWSTD_MULTI_THREAD"
31852                 fi
31853                 ;;
31854             *solaris* | alpha*-osf*)
31855                 flag="-D_REENTRANT"
31856                 ;;
31857           esac
31858           { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31859 $as_echo "${flag}" >&6; }
31860           if test "x$flag" != xno; then
31861               THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31862           fi
31863
31864                     WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31865       fi
31866     fi
31867
31868         if test "$wxUSE_THREADS" = "yes" ; then
31869         for ac_func in pthread_setconcurrency
31870 do :
31871   ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31872 if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
31873   cat >>confdefs.h <<_ACEOF
31874 #define HAVE_PTHREAD_SETCONCURRENCY 1
31875 _ACEOF
31876  $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31877
31878 else
31879
31880                 for ac_func in thr_setconcurrency
31881 do :
31882   ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31883 if test "x$ac_cv_func_thr_setconcurrency" = xyes; then :
31884   cat >>confdefs.h <<_ACEOF
31885 #define HAVE_THR_SETCONCURRENCY 1
31886 _ACEOF
31887  $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31888
31889 else
31890   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31891 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31892 fi
31893 done
31894
31895
31896 fi
31897 done
31898
31899
31900                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
31901 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
31902 if ${wx_cv_func_pthread_cleanup+:} false; then :
31903   $as_echo_n "(cached) " >&6
31904 else
31905
31906                                 ac_ext=cpp
31907 ac_cpp='$CXXCPP $CPPFLAGS'
31908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31911
31912         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31913 /* end confdefs.h.  */
31914 #include <pthread.h>
31915                void ThreadCleanupFunc(void *p);
31916
31917 int
31918 main ()
31919 {
31920
31921                 void *p;
31922                 pthread_cleanup_push(ThreadCleanupFunc, p);
31923                 pthread_cleanup_pop(0);
31924
31925   ;
31926   return 0;
31927 }
31928 _ACEOF
31929 if ac_fn_cxx_try_compile "$LINENO"; then :
31930
31931                wx_cv_func_pthread_cleanup=yes
31932
31933 else
31934
31935                wx_cv_func_pthread_cleanup=no
31936
31937
31938 fi
31939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31940         ac_ext=c
31941 ac_cpp='$CPP $CPPFLAGS'
31942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31945
31946
31947 fi
31948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
31949 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
31950       if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
31951         $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
31952
31953       fi
31954
31955       for ac_header in sched.h
31956 do :
31957   ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
31958 "
31959 if test "x$ac_cv_header_sched_h" = xyes; then :
31960   cat >>confdefs.h <<_ACEOF
31961 #define HAVE_SCHED_H 1
31962 _ACEOF
31963
31964 fi
31965
31966 done
31967
31968       if test "$ac_cv_header_sched_h" = "yes"; then
31969           ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
31970 if test "x$ac_cv_func_sched_yield" = xyes; then :
31971   $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31972
31973 else
31974
31975                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
31976 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
31977 if ${ac_cv_lib_posix4_sched_yield+:} false; then :
31978   $as_echo_n "(cached) " >&6
31979 else
31980   ac_check_lib_save_LIBS=$LIBS
31981 LIBS="-lposix4  $LIBS"
31982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31983 /* end confdefs.h.  */
31984
31985 /* Override any GCC internal prototype to avoid an error.
31986    Use char because int might match the return type of a GCC
31987    builtin and then its argument prototype would still apply.  */
31988 #ifdef __cplusplus
31989 extern "C"
31990 #endif
31991 char sched_yield ();
31992 int
31993 main ()
31994 {
31995 return sched_yield ();
31996   ;
31997   return 0;
31998 }
31999 _ACEOF
32000 if ac_fn_c_try_link "$LINENO"; then :
32001   ac_cv_lib_posix4_sched_yield=yes
32002 else
32003   ac_cv_lib_posix4_sched_yield=no
32004 fi
32005 rm -f core conftest.err conftest.$ac_objext \
32006     conftest$ac_exeext conftest.$ac_ext
32007 LIBS=$ac_check_lib_save_LIBS
32008 fi
32009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32010 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32011 if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
32012   $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32013  POSIX4_LINK=" -lposix4"
32014 else
32015   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32016 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32017
32018 fi
32019
32020
32021
32022 fi
32023
32024       fi
32025
32026                                           HAVE_PRIOR_FUNCS=0
32027       ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32028 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then :
32029   ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32030 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then :
32031   ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32032 if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
32033   HAVE_PRIOR_FUNCS=1
32034 else
32035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32036 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32037 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false; then :
32038   $as_echo_n "(cached) " >&6
32039 else
32040   ac_check_lib_save_LIBS=$LIBS
32041 LIBS="-lposix4  $LIBS"
32042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32043 /* end confdefs.h.  */
32044
32045 /* Override any GCC internal prototype to avoid an error.
32046    Use char because int might match the return type of a GCC
32047    builtin and then its argument prototype would still apply.  */
32048 #ifdef __cplusplus
32049 extern "C"
32050 #endif
32051 char sched_get_priority_max ();
32052 int
32053 main ()
32054 {
32055 return sched_get_priority_max ();
32056   ;
32057   return 0;
32058 }
32059 _ACEOF
32060 if ac_fn_c_try_link "$LINENO"; then :
32061   ac_cv_lib_posix4_sched_get_priority_max=yes
32062 else
32063   ac_cv_lib_posix4_sched_get_priority_max=no
32064 fi
32065 rm -f core conftest.err conftest.$ac_objext \
32066     conftest$ac_exeext conftest.$ac_ext
32067 LIBS=$ac_check_lib_save_LIBS
32068 fi
32069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32070 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32071 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes; then :
32072
32073                                 HAVE_PRIOR_FUNCS=1
32074                                 POSIX4_LINK=" -lposix4"
32075
32076 fi
32077
32078
32079 fi
32080
32081
32082 fi
32083
32084
32085 fi
32086
32087
32088       if test "$HAVE_PRIOR_FUNCS" = 1; then
32089         $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32090
32091       else
32092         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32093 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32094       fi
32095
32096       ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32097 if test "x$ac_cv_func_pthread_cancel" = xyes; then :
32098   $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32099
32100 else
32101   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32102 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32103 fi
32104
32105
32106       ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32107 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then :
32108   $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32109
32110 else
32111   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32112 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32113 fi
32114
32115
32116       ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32117 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then :
32118   $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32119
32120 fi
32121
32122
32123
32124       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32125 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32126 if ${wx_cv_type_pthread_mutexattr_t+:} false; then :
32127   $as_echo_n "(cached) " >&6
32128 else
32129
32130         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32131 /* end confdefs.h.  */
32132 #include <pthread.h>
32133 int
32134 main ()
32135 {
32136
32137                pthread_mutexattr_t attr;
32138                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32139
32140   ;
32141   return 0;
32142 }
32143 _ACEOF
32144 if ac_fn_c_try_compile "$LINENO"; then :
32145   wx_cv_type_pthread_mutexattr_t=yes
32146 else
32147   wx_cv_type_pthread_mutexattr_t=no
32148
32149 fi
32150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32151
32152 fi
32153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32154 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32155
32156       if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32157         $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32158
32159
32160                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32161 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32162 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false; then :
32163   $as_echo_n "(cached) " >&6
32164 else
32165
32166                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32167 /* end confdefs.h.  */
32168 #include <pthread.h>
32169 int
32170 main ()
32171 {
32172
32173                                pthread_mutexattr_t attr;
32174                                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32175
32176   ;
32177   return 0;
32178 }
32179 _ACEOF
32180 if ac_fn_c_try_compile "$LINENO"; then :
32181   wx_cv_func_pthread_mutexattr_settype_decl=yes
32182 else
32183   wx_cv_func_pthread_mutexattr_settype_decl=no
32184
32185 fi
32186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32187
32188 fi
32189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32190 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32191         if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32192             $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32193
32194         fi
32195       else
32196                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32197 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32198 if ${wx_cv_type_pthread_rec_mutex_init+:} false; then :
32199   $as_echo_n "(cached) " >&6
32200 else
32201
32202             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32203 /* end confdefs.h.  */
32204 #include <pthread.h>
32205 int
32206 main ()
32207 {
32208
32209                     pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32210
32211   ;
32212   return 0;
32213 }
32214 _ACEOF
32215 if ac_fn_c_try_compile "$LINENO"; then :
32216
32217                     wx_cv_type_pthread_rec_mutex_init=yes
32218
32219 else
32220
32221                     wx_cv_type_pthread_rec_mutex_init=no
32222
32223
32224 fi
32225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32226
32227 fi
32228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32229 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32230         if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32231           $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32232
32233         else
32234                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32235 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32236         fi
32237       fi
32238
32239       if test "$wxUSE_COMPILER_TLS" = "auto"; then
32240           if test "$USE_NETBSD" = 1; then
32241               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32242 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32243               wxUSE_COMPILER_TLS=no
32244           else
32245               wxUSE_COMPILER_TLS=yes
32246           fi
32247       fi
32248
32249       if test "$wxUSE_COMPILER_TLS" = "yes"; then
32250                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32251 $as_echo_n "checking for __thread keyword... " >&6; }
32252 if ${wx_cv_cc___thread+:} false; then :
32253   $as_echo_n "(cached) " >&6
32254 else
32255
32256                   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32257 /* end confdefs.h.  */
32258 #include <pthread.h>
32259 int
32260 main ()
32261 {
32262
32263                           static __thread int n = 0;
32264                           static __thread int *p = 0;
32265
32266   ;
32267   return 0;
32268 }
32269 _ACEOF
32270 if ac_fn_c_try_compile "$LINENO"; then :
32271   wx_cv_cc___thread=yes
32272 else
32273   wx_cv_cc___thread=no
32274
32275 fi
32276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32277
32278
32279 fi
32280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32281 $as_echo "$wx_cv_cc___thread" >&6; }
32282
32283           if test "$wx_cv_cc___thread" = "yes"; then
32284
32285   GXX_VERSION=""
32286
32287
32288
32289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32290 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32291
32292   if  test "x$GCC" = "xyes" ; then :
32293
32294     if  test -z "" ; then :
32295
32296       ax_gcc_option_test="int main()
32297 {
32298         return 0;
32299 }"
32300
32301 else
32302
32303       ax_gcc_option_test=""
32304
32305 fi
32306
32307     # Dump the test program to file
32308     cat <<EOF > conftest.c
32309 $ax_gcc_option_test
32310 EOF
32311
32312     # Dump back the file to the log, useful for debugging purposes
32313     { ac_try='cat conftest.c 1>&5'
32314   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32315   (eval $ac_try) 2>&5
32316   ac_status=$?
32317   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32318   test $ac_status = 0; }; }
32319
32320     if  { ac_try='$CC  -dumpversion -c conftest.c 1>&5'
32321   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32322   (eval $ac_try) 2>&5
32323   ac_status=$?
32324   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32325   test $ac_status = 0; }; } ; then :
32326
32327                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32328 $as_echo "yes" >&6; }
32329
32330     ax_gcc_version_option=yes
32331
32332
32333 else
32334
32335                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32336 $as_echo "no" >&6; }
32337
32338     ax_gcc_version_option=no
32339
32340
32341 fi
32342
32343 else
32344
32345     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32346 $as_echo "no gcc available" >&6; }
32347
32348 fi
32349
32350   if test "x$GXX" = "xyes"; then :
32351
32352     if test "x$ax_gxx_version_option" != "no"; then :
32353
32354       { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32355 $as_echo_n "checking gxx version... " >&6; }
32356 if ${ax_cv_gxx_version+:} false; then :
32357   $as_echo_n "(cached) " >&6
32358 else
32359
32360         ax_cv_gxx_version="`$CXX -dumpversion`"
32361         if test "x$ax_cv_gxx_version" = "x"; then :
32362
32363           ax_cv_gxx_version=""
32364
32365 fi
32366
32367 fi
32368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32369 $as_echo "$ax_cv_gxx_version" >&6; }
32370       GXX_VERSION=$ax_cv_gxx_version
32371
32372 fi
32373
32374 fi
32375
32376
32377               if test -n "$ax_cv_gxx_version"; then
32378                                                                                                                                                                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32379 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32380                   case "$ax_cv_gxx_version" in
32381                     1.* | 2.* | 3.* )
32382                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32383 $as_echo "no, it's broken" >&6; }
32384                         wx_cv_cc___thread=no
32385                         ;;
32386                     *)
32387                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32388 $as_echo "yes, it works" >&6; }
32389                         ;;
32390                   esac
32391               fi
32392           fi
32393
32394           if test "$wx_cv_cc___thread" = "yes"; then
32395             $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32396
32397           fi
32398         fi
32399
32400         if test "$ac_cv_header_cxxabi_h" = "yes"; then
32401             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
32402 $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
32403 if ${wx_cv_type_abi_forced_unwind+:} false; then :
32404   $as_echo_n "(cached) " >&6
32405 else
32406
32407                     ac_ext=cpp
32408 ac_cpp='$CXXCPP $CPPFLAGS'
32409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32412
32413                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32414 /* end confdefs.h.  */
32415 #include <cxxabi.h>
32416 int
32417 main ()
32418 {
32419
32420                             void foo(abi::__forced_unwind&);
32421
32422   ;
32423   return 0;
32424 }
32425 _ACEOF
32426 if ac_fn_cxx_try_compile "$LINENO"; then :
32427   wx_cv_type_abi_forced_unwind=yes
32428 else
32429   wx_cv_type_abi_forced_unwind=no
32430
32431 fi
32432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32433                     ac_ext=c
32434 ac_cpp='$CPP $CPPFLAGS'
32435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32438
32439
32440
32441 fi
32442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
32443 $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
32444         else
32445             wx_cv_type_abi_forced_unwind=no
32446         fi
32447
32448         if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
32449             $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
32450
32451         fi
32452     fi
32453
32454 else
32455     if test "$wxUSE_THREADS" = "yes" ; then
32456       case "${host}" in
32457         x86_64-*-mingw32* )
32458         ;;
32459         *-*-mingw32* )
32460                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32461 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32462 if ${wx_cv_cflags_mthread+:} false; then :
32463   $as_echo_n "(cached) " >&6
32464 else
32465
32466                     CFLAGS_OLD="$CFLAGS"
32467                     CFLAGS="-mthreads $CFLAGS"
32468                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32469 /* end confdefs.h.  */
32470
32471 int
32472 main ()
32473 {
32474
32475   ;
32476   return 0;
32477 }
32478 _ACEOF
32479 if ac_fn_c_try_compile "$LINENO"; then :
32480   wx_cv_cflags_mthread=yes
32481 else
32482   wx_cv_cflags_mthread=no
32483
32484 fi
32485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32486
32487
32488 fi
32489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32490 $as_echo "$wx_cv_cflags_mthread" >&6; }
32491
32492             if test "$wx_cv_cflags_mthread" = "yes"; then
32493                                 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32494                 LDFLAGS="$LDFLAGS -mthreads"
32495             else
32496                                 CFLAGS="$CFLAGS_OLD"
32497             fi
32498         ;;
32499         *-pc-os2*emx )
32500             WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32501             LDFLAGS="$LDFLAGS -Zmt"
32502         ;;
32503       esac
32504     fi
32505 fi
32506
32507 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32508 if test "x$ac_cv_func_localtime_r" = xyes; then :
32509    $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32510
32511 fi
32512
32513 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32514 if test "x$ac_cv_func_gmtime_r" = xyes; then :
32515    $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32516
32517 fi
32518
32519
32520
32521
32522     ac_ext=c
32523 ac_cpp='$CPP $CPPFLAGS'
32524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32527
32528     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32529 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32530
32531     if ${ac_cv_func_which_gethostbyname_r+:} false; then :
32532   $as_echo_n "(cached) " >&6
32533 else
32534
32535
32536 ################################################################
32537
32538 ac_cv_func_which_gethostbyname_r=unknown
32539
32540 #
32541 # ONE ARGUMENT (sanity check)
32542 #
32543
32544 # This should fail, as there is no variant of gethostbyname_r() that takes
32545 # a single argument. If it actually compiles, then we can assume that
32546 # netdb.h is not declaring the function, and the compiler is thereby
32547 # assuming an implicit prototype. In which case, we're out of luck.
32548 #
32549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32550 /* end confdefs.h.  */
32551 #include <netdb.h>
32552 int
32553 main ()
32554 {
32555
32556             char *name = "www.gnu.org";
32557             (void)gethostbyname_r(name) /* ; */
32558
32559
32560   ;
32561   return 0;
32562 }
32563 _ACEOF
32564 if ac_fn_c_try_compile "$LINENO"; then :
32565   ac_cv_func_which_gethostbyname_r=no
32566
32567 fi
32568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32569
32570 #
32571 # SIX ARGUMENTS
32572 # (e.g. Linux)
32573 #
32574
32575 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32576
32577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32578 /* end confdefs.h.  */
32579 #include <netdb.h>
32580 int
32581 main ()
32582 {
32583
32584             char *name = "www.gnu.org";
32585             struct hostent ret, *retp;
32586             char buf[1024];
32587             int buflen = 1024;
32588             int my_h_errno;
32589             (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32590
32591
32592   ;
32593   return 0;
32594 }
32595 _ACEOF
32596 if ac_fn_c_try_compile "$LINENO"; then :
32597   ac_cv_func_which_gethostbyname_r=six
32598
32599 fi
32600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32601
32602 fi
32603
32604 #
32605 # FIVE ARGUMENTS
32606 # (e.g. Solaris)
32607 #
32608
32609 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32610
32611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32612 /* end confdefs.h.  */
32613 #include <netdb.h>
32614 int
32615 main ()
32616 {
32617
32618             char *name = "www.gnu.org";
32619             struct hostent ret;
32620             char buf[1024];
32621             int buflen = 1024;
32622             int my_h_errno;
32623             (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32624
32625
32626   ;
32627   return 0;
32628 }
32629 _ACEOF
32630 if ac_fn_c_try_compile "$LINENO"; then :
32631   ac_cv_func_which_gethostbyname_r=five
32632
32633 fi
32634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32635
32636 fi
32637
32638 #
32639 # THREE ARGUMENTS
32640 # (e.g. AIX, HP-UX, Tru64)
32641 #
32642
32643 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32644
32645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32646 /* end confdefs.h.  */
32647 #include <netdb.h>
32648 int
32649 main ()
32650 {
32651
32652             char *name = "www.gnu.org";
32653             struct hostent ret;
32654             struct hostent_data data;
32655             (void)gethostbyname_r(name, &ret, &data) /* ; */
32656
32657
32658   ;
32659   return 0;
32660 }
32661 _ACEOF
32662 if ac_fn_c_try_compile "$LINENO"; then :
32663   ac_cv_func_which_gethostbyname_r=three
32664
32665 fi
32666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32667
32668 fi
32669
32670 ################################################################
32671
32672
32673 fi
32674
32675 case "$ac_cv_func_which_gethostbyname_r" in
32676     three)
32677     { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32678 $as_echo "three" >&6; }
32679     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32680
32681     ;;
32682
32683     five)
32684     { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32685 $as_echo "five" >&6; }
32686     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32687
32688     ;;
32689
32690     six)
32691     { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32692 $as_echo "six" >&6; }
32693     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32694
32695     ;;
32696
32697     no)
32698     { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32699 $as_echo "cannot find function declaration in netdb.h" >&6; }
32700     ;;
32701
32702     unknown)
32703     { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32704 $as_echo "can't tell" >&6; }
32705     ;;
32706
32707     *)
32708     as_fn_error $? "internal error" "$LINENO" 5
32709     ;;
32710 esac
32711
32712 ac_ext=c
32713 ac_cpp='$CPP $CPPFLAGS'
32714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32717
32718
32719
32720       if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32721               "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32722           ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32723 if test "x$ac_cv_func_gethostbyname" = xyes; then :
32724    $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32725
32726 fi
32727
32728       fi
32729
32730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32731 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32732 if ${ac_cv_func_which_getservbyname_r+:} false; then :
32733   $as_echo_n "(cached) " >&6
32734 else
32735
32736                 ac_ext=cpp
32737 ac_cpp='$CXXCPP $CPPFLAGS'
32738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32741
32742
32743         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32744 /* end confdefs.h.  */
32745 #include <netdb.h>
32746 int
32747 main ()
32748 {
32749
32750                 char *name;
32751                 char *proto;
32752                 struct servent *se, *res;
32753                 char buffer[2048];
32754                 int buflen = 2048;
32755                 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32756
32757   ;
32758   return 0;
32759 }
32760 _ACEOF
32761 if ac_fn_cxx_try_compile "$LINENO"; then :
32762   ac_cv_func_which_getservbyname_r=six
32763 else
32764
32765                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32766 /* end confdefs.h.  */
32767 #include <netdb.h>
32768 int
32769 main ()
32770 {
32771
32772                         char *name;
32773                         char *proto;
32774                         struct servent *se;
32775                         char buffer[2048];
32776                         int buflen = 2048;
32777                         (void) getservbyname_r(name, proto, se, buffer, buflen)
32778
32779   ;
32780   return 0;
32781 }
32782 _ACEOF
32783 if ac_fn_cxx_try_compile "$LINENO"; then :
32784   ac_cv_func_which_getservbyname_r=five
32785 else
32786
32787                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32788 /* end confdefs.h.  */
32789 #include <netdb.h>
32790 int
32791 main ()
32792 {
32793
32794                                 char *name;
32795                                 char *proto;
32796                                 struct servent *se;
32797                                 struct servent_data data;
32798                                 (void) getservbyname_r(name, proto, se, &data);
32799
32800   ;
32801   return 0;
32802 }
32803 _ACEOF
32804 if ac_fn_cxx_try_compile "$LINENO"; then :
32805   ac_cv_func_which_getservbyname_r=four
32806 else
32807   ac_cv_func_which_getservbyname_r=no
32808
32809 fi
32810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32811
32812
32813 fi
32814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32815
32816
32817 fi
32818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32819         ac_ext=c
32820 ac_cpp='$CPP $CPPFLAGS'
32821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32824
32825
32826
32827 fi
32828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32829 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32830
32831 if test $ac_cv_func_which_getservbyname_r = six; then
32832   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32833
32834 elif test $ac_cv_func_which_getservbyname_r = five; then
32835   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32836
32837 elif test $ac_cv_func_which_getservbyname_r = four; then
32838   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32839
32840 fi
32841
32842
32843       if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32844               "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32845           for ac_func in getservbyname
32846 do :
32847   ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32848 if test "x$ac_cv_func_getservbyname" = xyes; then :
32849   cat >>confdefs.h <<_ACEOF
32850 #define HAVE_GETSERVBYNAME 1
32851 _ACEOF
32852   $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32853
32854 fi
32855 done
32856
32857       fi
32858
32859 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32860
32861
32862 if test "$wxUSE_THREADS" = "yes"; then
32863   $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32864
32865
32866   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
32867 else
32868       if test "$wx_cv_func_strtok_r" = "yes"; then
32869     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32870 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32871     if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32872         WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32873         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32874 $as_echo "yes" >&6; }
32875     else
32876         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32877 $as_echo "no" >&6; }
32878     fi
32879   fi
32880 fi
32881
32882 if test "$WXGTK3" = 1 ; then
32883     cat >>confdefs.h <<_ACEOF
32884 #define __WXGTK3__ 1
32885 _ACEOF
32886
32887     WXGTK2=1
32888 fi
32889 if test "$WXGTK2" = 1 ; then
32890   cat >>confdefs.h <<_ACEOF
32891 #define __WXGTK20__ $WXGTK2
32892 _ACEOF
32893
32894 fi
32895
32896 if test "$WXGTK127" = 1 ; then
32897   cat >>confdefs.h <<_ACEOF
32898 #define __WXGTK127__ $WXGTK127
32899 _ACEOF
32900
32901 fi
32902
32903 if test "$WXGPE" = 1 ; then
32904   cat >>confdefs.h <<_ACEOF
32905 #define __WXGPE__ $WXGPE
32906 _ACEOF
32907
32908 fi
32909
32910 DEBUG_CFLAGS=
32911 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
32912                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
32913 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
32914 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
32915     DEBUG_CFLAGS="-g"
32916 fi
32917
32918 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32919     wxUSE_DEBUG_INFO=yes
32920     if test "$GCC" = yes; then
32921         DEBUG_CFLAGS="-ggdb"
32922     fi
32923 fi
32924
32925 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
32926     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
32927
32928     if test "$wxUSE_GTK" = 1 ; then
32929         if test "$WXGTK2" = 1 ; then
32930             CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
32931         else
32932             CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
32933         fi
32934     fi
32935 fi
32936
32937 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32938     $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
32939
32940     $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
32941
32942     $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
32943
32944     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
32945 fi
32946
32947 if test "$wxUSE_DMALLOC" = "yes" ; then
32948     DMALLOC_LIBS="-ldmallocthcxx"
32949 fi
32950
32951 PROFILE_FLAGS=
32952 if test "$wxUSE_PROFILE" = "yes" ; then
32953     PROFILE_FLAGS=" -pg"
32954 fi
32955
32956 if test "$GCC" = "yes" ; then
32957     if test "$wxUSE_NO_RTTI" = "yes" ; then
32958                                 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
32959     fi
32960     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32961         WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
32962     fi
32963     if test "$wxUSE_PERMISSIVE" = "yes" ; then
32964         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
32965     fi
32966
32967                                                 case "${host}" in
32968       powerpc*-*-aix* )
32969         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
32970         ;;
32971       *-hppa* )
32972         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
32973         ;;
32974     esac
32975 fi
32976
32977 OPTIMISE_CFLAGS=
32978 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
32979                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
32980 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
32981 else
32982     if test "$wxUSE_OPTIMISE" = "no" ; then
32983         if test "$GCC" = yes ; then
32984                                     OPTIMISE_CFLAGS="-O0"
32985         fi
32986     else
32987         if test "$GCC" = yes ; then
32988             case "${host}" in
32989                 *-pc-os2_emx | *-pc-os2-emx )
32990                                                             OPTIMISE_CFLAGS="-O2"
32991                 ;;
32992                 *)
32993                                                                                 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
32994                 ;;
32995             esac
32996         else
32997             OPTIMISE_CFLAGS="-O"
32998         fi
32999     fi
33000 fi
33001
33002
33003 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
33004     $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
33005
33006
33007     WXWIN_COMPATIBILITY_2_8="yes"
33008 fi
33009
33010 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
33011     $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
33012
33013 fi
33014
33015
33016 if test "$wxUSE_GUI" = "yes"; then
33017     $as_echo "#define wxUSE_GUI 1" >>confdefs.h
33018
33019
33020                                             fi
33021
33022
33023 if test "$wxUSE_UNIX" = "yes"; then
33024   $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
33025
33026 fi
33027
33028
33029 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33030
33031     HAVE_DL_FUNCS=0
33032     HAVE_SHL_FUNCS=0
33033     if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33034         if test "$USE_DOS" = 1; then
33035             HAVE_DL_FUNCS=0
33036         else
33037                                                 for ac_func in dlopen
33038 do :
33039   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
33040 if test "x$ac_cv_func_dlopen" = xyes; then :
33041   cat >>confdefs.h <<_ACEOF
33042 #define HAVE_DLOPEN 1
33043 _ACEOF
33044
33045                 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33046
33047                 HAVE_DL_FUNCS=1
33048
33049 else
33050
33051                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33052 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33053 if ${ac_cv_lib_dl_dlopen+:} false; then :
33054   $as_echo_n "(cached) " >&6
33055 else
33056   ac_check_lib_save_LIBS=$LIBS
33057 LIBS="-ldl  $LIBS"
33058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33059 /* end confdefs.h.  */
33060
33061 /* Override any GCC internal prototype to avoid an error.
33062    Use char because int might match the return type of a GCC
33063    builtin and then its argument prototype would still apply.  */
33064 #ifdef __cplusplus
33065 extern "C"
33066 #endif
33067 char dlopen ();
33068 int
33069 main ()
33070 {
33071 return dlopen ();
33072   ;
33073   return 0;
33074 }
33075 _ACEOF
33076 if ac_fn_c_try_link "$LINENO"; then :
33077   ac_cv_lib_dl_dlopen=yes
33078 else
33079   ac_cv_lib_dl_dlopen=no
33080 fi
33081 rm -f core conftest.err conftest.$ac_objext \
33082     conftest$ac_exeext conftest.$ac_ext
33083 LIBS=$ac_check_lib_save_LIBS
33084 fi
33085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33086 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33087 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
33088
33089                                 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33090
33091                                 HAVE_DL_FUNCS=1
33092                                 DL_LINK=" -ldl$DL_LINK"
33093
33094 else
33095
33096                                 for ac_func in shl_load
33097 do :
33098   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
33099 if test "x$ac_cv_func_shl_load" = xyes; then :
33100   cat >>confdefs.h <<_ACEOF
33101 #define HAVE_SHL_LOAD 1
33102 _ACEOF
33103
33104                                                 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33105
33106                                                 HAVE_SHL_FUNCS=1
33107
33108 else
33109
33110                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33111 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33112 if ${ac_cv_lib_shl_load_dld+:} false; then :
33113   $as_echo_n "(cached) " >&6
33114 else
33115   ac_check_lib_save_LIBS=$LIBS
33116 LIBS="-lshl_load  $LIBS"
33117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33118 /* end confdefs.h.  */
33119
33120 /* Override any GCC internal prototype to avoid an error.
33121    Use char because int might match the return type of a GCC
33122    builtin and then its argument prototype would still apply.  */
33123 #ifdef __cplusplus
33124 extern "C"
33125 #endif
33126 char dld ();
33127 int
33128 main ()
33129 {
33130 return dld ();
33131   ;
33132   return 0;
33133 }
33134 _ACEOF
33135 if ac_fn_c_try_link "$LINENO"; then :
33136   ac_cv_lib_shl_load_dld=yes
33137 else
33138   ac_cv_lib_shl_load_dld=no
33139 fi
33140 rm -f core conftest.err conftest.$ac_objext \
33141     conftest$ac_exeext conftest.$ac_ext
33142 LIBS=$ac_check_lib_save_LIBS
33143 fi
33144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33145 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33146 if test "x$ac_cv_lib_shl_load_dld" = xyes; then :
33147
33148                                                                 HAVE_SHL_FUNCS=1
33149                                                                 DL_LINK=" -ldld$DL_LINK"
33150
33151 fi
33152
33153
33154 fi
33155 done
33156
33157
33158 fi
33159
33160
33161 fi
33162 done
33163
33164
33165                         if test "$HAVE_DL_FUNCS" = 1; then
33166                 for ac_func in dlerror
33167 do :
33168   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
33169 if test "x$ac_cv_func_dlerror" = xyes; then :
33170   cat >>confdefs.h <<_ACEOF
33171 #define HAVE_DLERROR 1
33172 _ACEOF
33173  $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33174
33175 else
33176
33177                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33178 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33179 if ${ac_cv_lib_dl_dlerror+:} false; then :
33180   $as_echo_n "(cached) " >&6
33181 else
33182   ac_check_lib_save_LIBS=$LIBS
33183 LIBS="-ldl  $LIBS"
33184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33185 /* end confdefs.h.  */
33186
33187 /* Override any GCC internal prototype to avoid an error.
33188    Use char because int might match the return type of a GCC
33189    builtin and then its argument prototype would still apply.  */
33190 #ifdef __cplusplus
33191 extern "C"
33192 #endif
33193 char dlerror ();
33194 int
33195 main ()
33196 {
33197 return dlerror ();
33198   ;
33199   return 0;
33200 }
33201 _ACEOF
33202 if ac_fn_c_try_link "$LINENO"; then :
33203   ac_cv_lib_dl_dlerror=yes
33204 else
33205   ac_cv_lib_dl_dlerror=no
33206 fi
33207 rm -f core conftest.err conftest.$ac_objext \
33208     conftest$ac_exeext conftest.$ac_ext
33209 LIBS=$ac_check_lib_save_LIBS
33210 fi
33211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33212 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33213 if test "x$ac_cv_lib_dl_dlerror" = xyes; then :
33214   $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33215
33216 fi
33217
33218
33219
33220 fi
33221 done
33222
33223             fi
33224         fi
33225
33226                 if test "$USE_DARWIN" = 1; then
33227                         HAVE_DL_FUNCS=1
33228         fi
33229
33230         if test "$HAVE_DL_FUNCS" = 0; then
33231             if test "$HAVE_SHL_FUNCS" = 0; then
33232               if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33233                   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33234 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33235                   wxUSE_DYNAMIC_LOADER=no
33236                   wxUSE_DYNLIB_CLASS=no
33237               else
33238                   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33239 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33240               fi
33241             fi
33242         fi
33243     fi
33244 fi
33245
33246 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33247     $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33248
33249 fi
33250 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33251     $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33252
33253 fi
33254
33255
33256
33257 if test "$wxUSE_PLUGINS" = "yes" ; then
33258     if test "$wxUSE_SHARED" = "no" ; then
33259         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33260 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33261         wxUSE_PLUGINS=no
33262     fi
33263     if test "$wxUSE_MONOLITHIC" = "yes" ; then
33264         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33265 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33266         wxUSE_PLUGINS=no
33267     fi
33268     if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33269         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33270 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33271         wxUSE_PLUGINS=no
33272     fi
33273     if test "$wxUSE_PLUGINS" = "yes" ; then
33274         $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33275
33276     fi
33277 fi
33278
33279
33280 if test "$wxUSE_FSWATCHER" = "yes"; then
33281                 if test "$wxUSE_MSW" != "1"; then
33282         if test "$wxUSE_UNIX" = "yes"; then
33283             for ac_header in sys/inotify.h
33284 do :
33285   ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33286 "
33287 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
33288   cat >>confdefs.h <<_ACEOF
33289 #define HAVE_SYS_INOTIFY_H 1
33290 _ACEOF
33291
33292 fi
33293
33294 done
33295
33296             if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33297                 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33298
33299             else
33300                 for ac_header in sys/event.h
33301 do :
33302   ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33303 "
33304 if test "x$ac_cv_header_sys_event_h" = xyes; then :
33305   cat >>confdefs.h <<_ACEOF
33306 #define HAVE_SYS_EVENT_H 1
33307 _ACEOF
33308
33309 fi
33310
33311 done
33312
33313                 if test "$ac_cv_header_sys_event_h" = "yes"; then
33314                     $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33315
33316                 else
33317                     wxUSE_FSWATCHER=no
33318                 fi
33319             fi
33320         else
33321             wxUSE_FSWATCHER=no
33322         fi
33323     else
33324         if test "$wxUSE_THREADS" != "yes"; then
33325             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33326 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33327             wxUSE_FSWATCHER=no
33328         fi
33329     fi
33330
33331     if test "$wxUSE_FSWATCHER" = "yes"; then
33332         $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33333
33334         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33335     else
33336         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33337 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33338     fi
33339 fi
33340
33341
33342 if test "$wxUSE_STL" = "yes"; then
33343   $as_echo "#define wxUSE_STL 1" >>confdefs.h
33344
33345 fi
33346
33347 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33348   $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33349
33350 fi
33351
33352 if test "$wxUSE_ANY" = "yes"; then
33353     $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33354
33355 fi
33356
33357 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33358   $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33359
33360 fi
33361
33362 if test "$wxUSE_TIMER" = "yes"; then
33363   $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33364
33365 fi
33366
33367 if test "$USE_UNIX" = 1 ; then
33368                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33369 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33370 if ${ac_cv_header_sys_soundcard+:} false; then :
33371   $as_echo_n "(cached) " >&6
33372 else
33373
33374         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33375 /* end confdefs.h.  */
33376
33377                 #include <sys/ioctl.h>
33378                 #include <sys/soundcard.h>
33379
33380 int
33381 main ()
33382 {
33383
33384                 ioctl(0, SNDCTL_DSP_SPEED, 0);
33385
33386   ;
33387   return 0;
33388 }
33389 _ACEOF
33390 if ac_fn_c_try_link "$LINENO"; then :
33391   ac_cv_header_sys_soundcard=yes
33392 else
33393
33394                 saveLibs="$LIBS"
33395                 LIBS="$saveLibs -lossaudio"
33396                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33397 /* end confdefs.h.  */
33398
33399                         #include <sys/ioctl.h>
33400                         #include <sys/soundcard.h>
33401
33402 int
33403 main ()
33404 {
33405
33406                         ioctl(0, SNDCTL_DSP_SPEED, 0);
33407
33408   ;
33409   return 0;
33410 }
33411 _ACEOF
33412 if ac_fn_c_try_link "$LINENO"; then :
33413   ac_cv_header_sys_soundcard=yes
33414 else
33415
33416                         LIBS="$saveLibs"
33417                         ac_cv_header_sys_soundcard=no
33418
33419
33420 fi
33421 rm -f core conftest.err conftest.$ac_objext \
33422     conftest$ac_exeext conftest.$ac_ext
33423
33424
33425 fi
33426 rm -f core conftest.err conftest.$ac_objext \
33427     conftest$ac_exeext conftest.$ac_ext
33428
33429 fi
33430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33431 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33432
33433     if test "$ac_cv_header_sys_soundcard" = "yes"; then
33434         $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33435
33436     fi
33437 fi
33438
33439 WITH_PLUGIN_SDL=0
33440 if test "$wxUSE_SOUND" = "yes"; then
33441   if test "$USE_UNIX" = 1 ; then
33442     if test "$wxUSE_LIBSDL" != "no"; then
33443
33444 # Check whether --with-sdl-prefix was given.
33445 if test "${with_sdl_prefix+set}" = set; then :
33446   withval=$with_sdl_prefix; sdl_prefix="$withval"
33447 else
33448   sdl_prefix=""
33449 fi
33450
33451
33452 # Check whether --with-sdl-exec-prefix was given.
33453 if test "${with_sdl_exec_prefix+set}" = set; then :
33454   withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33455 else
33456   sdl_exec_prefix=""
33457 fi
33458
33459 # Check whether --enable-sdltest was given.
33460 if test "${enable_sdltest+set}" = set; then :
33461   enableval=$enable_sdltest;
33462 else
33463   enable_sdltest=yes
33464 fi
33465
33466
33467   if test x$sdl_exec_prefix != x ; then
33468     sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33469     if test x${SDL_CONFIG+set} != xset ; then
33470       SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33471     fi
33472   fi
33473   if test x$sdl_prefix != x ; then
33474     sdl_args="$sdl_args --prefix=$sdl_prefix"
33475     if test x${SDL_CONFIG+set} != xset ; then
33476       SDL_CONFIG=$sdl_prefix/bin/sdl-config
33477     fi
33478   fi
33479
33480   if test "x$prefix" != xNONE; then
33481     PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33482   fi
33483   # Extract the first word of "sdl-config", so it can be a program name with args.
33484 set dummy sdl-config; ac_word=$2
33485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33486 $as_echo_n "checking for $ac_word... " >&6; }
33487 if ${ac_cv_path_SDL_CONFIG+:} false; then :
33488   $as_echo_n "(cached) " >&6
33489 else
33490   case $SDL_CONFIG in
33491   [\\/]* | ?:[\\/]*)
33492   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33493   ;;
33494   *)
33495   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33496 for as_dir in $PATH
33497 do
33498   IFS=$as_save_IFS
33499   test -z "$as_dir" && as_dir=.
33500     for ac_exec_ext in '' $ac_executable_extensions; do
33501   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33502     ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33503     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33504     break 2
33505   fi
33506 done
33507   done
33508 IFS=$as_save_IFS
33509
33510   test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33511   ;;
33512 esac
33513 fi
33514 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33515 if test -n "$SDL_CONFIG"; then
33516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33517 $as_echo "$SDL_CONFIG" >&6; }
33518 else
33519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33520 $as_echo "no" >&6; }
33521 fi
33522
33523
33524   min_sdl_version=1.2.0
33525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33526 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33527   no_sdl=""
33528   if test "$SDL_CONFIG" = "no" ; then
33529     no_sdl=yes
33530   else
33531     SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33532     SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33533
33534     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33535            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33536     sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33537            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33538     sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33539            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33540     if test "x$enable_sdltest" = "xyes" ; then
33541       ac_save_CFLAGS="$CFLAGS"
33542       ac_save_CXXFLAGS="$CXXFLAGS"
33543       ac_save_LIBS="$LIBS"
33544       CFLAGS="$CFLAGS $SDL_CFLAGS"
33545       CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33546       LIBS="$LIBS $SDL_LIBS"
33547       rm -f conf.sdltest
33548       if test "$cross_compiling" = yes; then :
33549   echo $ac_n "cross compiling; assumed OK... $ac_c"
33550 else
33551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33552 /* end confdefs.h.  */
33553
33554 #include <stdio.h>
33555 #include <stdlib.h>
33556 #include <string.h>
33557 #include "SDL.h"
33558
33559 char*
33560 my_strdup (char *str)
33561 {
33562   char *new_str;
33563
33564   if (str)
33565     {
33566       new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33567       strcpy (new_str, str);
33568     }
33569   else
33570     new_str = NULL;
33571
33572   return new_str;
33573 }
33574
33575 int main (int argc, char *argv[])
33576 {
33577   int major, minor, micro;
33578   char *tmp_version;
33579
33580   /* This hangs on some systems (?)
33581   system ("touch conf.sdltest");
33582   */
33583   { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33584
33585   /* HP/UX 9 (%@#!) writes to sscanf strings */
33586   tmp_version = my_strdup("$min_sdl_version");
33587   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33588      printf("%s, bad version string\n", "$min_sdl_version");
33589      exit(1);
33590    }
33591
33592    if (($sdl_major_version > major) ||
33593       (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33594       (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33595     {
33596       return 0;
33597     }
33598   else
33599     {
33600       printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33601       printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33602       printf("*** best to upgrade to the required version.\n");
33603       printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33604       printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33605       printf("*** config.cache before re-running configure\n");
33606       return 1;
33607     }
33608 }
33609
33610
33611 _ACEOF
33612 if ac_fn_c_try_run "$LINENO"; then :
33613
33614 else
33615   no_sdl=yes
33616 fi
33617 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33618   conftest.$ac_objext conftest.beam conftest.$ac_ext
33619 fi
33620
33621        CFLAGS="$ac_save_CFLAGS"
33622        CXXFLAGS="$ac_save_CXXFLAGS"
33623        LIBS="$ac_save_LIBS"
33624      fi
33625   fi
33626   if test "x$no_sdl" = x ; then
33627      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33628 $as_echo "yes" >&6; }
33629
33630                     EXTRALIBS_SDL="$SDL_LIBS"
33631                     CFLAGS="$SDL_CFLAGS $CFLAGS"
33632                     CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33633                     $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33634
33635
33636   else
33637      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33638 $as_echo "no" >&6; }
33639      if test "$SDL_CONFIG" = "no" ; then
33640        echo "*** The sdl-config script installed by SDL could not be found"
33641        echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33642        echo "*** your path, or set the SDL_CONFIG environment variable to the"
33643        echo "*** full path to sdl-config."
33644      else
33645        if test -f conf.sdltest ; then
33646         :
33647        else
33648           echo "*** Could not run SDL test program, checking why..."
33649           CFLAGS="$CFLAGS $SDL_CFLAGS"
33650           CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33651           LIBS="$LIBS $SDL_LIBS"
33652           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33653 /* end confdefs.h.  */
33654
33655 #include <stdio.h>
33656 #include "SDL.h"
33657
33658 int main(int argc, char *argv[])
33659 { return 0; }
33660 #undef  main
33661 #define main K_and_R_C_main
33662
33663 int
33664 main ()
33665 {
33666  return 0;
33667   ;
33668   return 0;
33669 }
33670 _ACEOF
33671 if ac_fn_c_try_link "$LINENO"; then :
33672    echo "*** The test program compiled, but did not run. This usually means"
33673           echo "*** that the run-time linker is not finding SDL or finding the wrong"
33674           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33675           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33676           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
33677           echo "*** is required on your system"
33678           echo "***"
33679           echo "*** If you have an old version installed, it is best to remove it, although"
33680           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33681 else
33682    echo "*** The test program failed to compile or link. See the file config.log for the"
33683           echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33684           echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33685           echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33686 fi
33687 rm -f core conftest.err conftest.$ac_objext \
33688     conftest$ac_exeext conftest.$ac_ext
33689           CFLAGS="$ac_save_CFLAGS"
33690           CXXFLAGS="$ac_save_CXXFLAGS"
33691           LIBS="$ac_save_LIBS"
33692        fi
33693      fi
33694      SDL_CFLAGS=""
33695      SDL_LIBS=""
33696      wxUSE_LIBSDL="no"
33697   fi
33698
33699
33700   rm -f conf.sdltest
33701
33702       if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33703         WITH_PLUGIN_SDL=1
33704       fi
33705     fi
33706   fi
33707 fi
33708
33709 if test "$wxUSE_SOUND" = "yes"; then
33710   $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33711
33712   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33713 fi
33714
33715 if test "$WXGTK2" = 1; then
33716
33717
33718 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33719         if test -n "$ac_tool_prefix"; then
33720   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33721 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33723 $as_echo_n "checking for $ac_word... " >&6; }
33724 if ${ac_cv_path_PKG_CONFIG+:} false; then :
33725   $as_echo_n "(cached) " >&6
33726 else
33727   case $PKG_CONFIG in
33728   [\\/]* | ?:[\\/]*)
33729   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33730   ;;
33731   *)
33732   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33733 for as_dir in $PATH
33734 do
33735   IFS=$as_save_IFS
33736   test -z "$as_dir" && as_dir=.
33737     for ac_exec_ext in '' $ac_executable_extensions; do
33738   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33739     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33740     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33741     break 2
33742   fi
33743 done
33744   done
33745 IFS=$as_save_IFS
33746
33747   ;;
33748 esac
33749 fi
33750 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33751 if test -n "$PKG_CONFIG"; then
33752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33753 $as_echo "$PKG_CONFIG" >&6; }
33754 else
33755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33756 $as_echo "no" >&6; }
33757 fi
33758
33759
33760 fi
33761 if test -z "$ac_cv_path_PKG_CONFIG"; then
33762   ac_pt_PKG_CONFIG=$PKG_CONFIG
33763   # Extract the first word of "pkg-config", so it can be a program name with args.
33764 set dummy pkg-config; ac_word=$2
33765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33766 $as_echo_n "checking for $ac_word... " >&6; }
33767 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
33768   $as_echo_n "(cached) " >&6
33769 else
33770   case $ac_pt_PKG_CONFIG in
33771   [\\/]* | ?:[\\/]*)
33772   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33773   ;;
33774   *)
33775   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33776 for as_dir in $PATH
33777 do
33778   IFS=$as_save_IFS
33779   test -z "$as_dir" && as_dir=.
33780     for ac_exec_ext in '' $ac_executable_extensions; do
33781   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33782     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33783     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33784     break 2
33785   fi
33786 done
33787   done
33788 IFS=$as_save_IFS
33789
33790   ;;
33791 esac
33792 fi
33793 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33794 if test -n "$ac_pt_PKG_CONFIG"; then
33795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33796 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33797 else
33798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33799 $as_echo "no" >&6; }
33800 fi
33801
33802   if test "x$ac_pt_PKG_CONFIG" = x; then
33803     PKG_CONFIG=""
33804   else
33805     case $cross_compiling:$ac_tool_warned in
33806 yes:)
33807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33809 ac_tool_warned=yes ;;
33810 esac
33811     PKG_CONFIG=$ac_pt_PKG_CONFIG
33812   fi
33813 else
33814   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33815 fi
33816
33817 fi
33818 if test -n "$PKG_CONFIG"; then
33819         _pkg_min_version=0.9.0
33820         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33821 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33822         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33823                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33824 $as_echo "yes" >&6; }
33825         else
33826                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33827 $as_echo "no" >&6; }
33828                 PKG_CONFIG=""
33829         fi
33830
33831 fi
33832
33833     if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33834
33835         if test "$wxUSE_GTKPRINT" = "yes" ; then
33836             if test "$WXGTK3" = 1; then
33837                 gtk_unix_print="gtk+-unix-print-3.0"
33838             else
33839                 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
33840             fi
33841
33842 pkg_failed=no
33843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33844 $as_echo_n "checking for GTKPRINT... " >&6; }
33845
33846 if test -n "$PKG_CONFIG"; then
33847     if test -n "$GTKPRINT_CFLAGS"; then
33848         pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
33849     else
33850         if test -n "$PKG_CONFIG" && \
33851     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33852   ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33853   ac_status=$?
33854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33855   test $ac_status = 0; }; then
33856   pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
33857 else
33858   pkg_failed=yes
33859 fi
33860     fi
33861 else
33862         pkg_failed=untried
33863 fi
33864 if test -n "$PKG_CONFIG"; then
33865     if test -n "$GTKPRINT_LIBS"; then
33866         pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
33867     else
33868         if test -n "$PKG_CONFIG" && \
33869     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33870   ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33871   ac_status=$?
33872   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33873   test $ac_status = 0; }; then
33874   pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
33875 else
33876   pkg_failed=yes
33877 fi
33878     fi
33879 else
33880         pkg_failed=untried
33881 fi
33882
33883
33884
33885 if test $pkg_failed = yes; then
33886
33887 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33888         _pkg_short_errors_supported=yes
33889 else
33890         _pkg_short_errors_supported=no
33891 fi
33892         if test $_pkg_short_errors_supported = yes; then
33893                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
33894         else
33895                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
33896         fi
33897         # Put the nasty error message in config.log where it belongs
33898         echo "$GTKPRINT_PKG_ERRORS" >&5
33899
33900
33901                         { $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
33902 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33903                         wxUSE_GTKPRINT="no"
33904
33905
33906 elif test $pkg_failed = untried; then
33907
33908                         { $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
33909 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33910                         wxUSE_GTKPRINT="no"
33911
33912
33913 else
33914         GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
33915         GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
33916         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33917 $as_echo "yes" >&6; }
33918
33919                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
33920                         CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
33921                         CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
33922                         $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
33923
33924
33925 fi
33926         fi
33927
33928         if test "$WXGTK3" = 1; then
33929             wxUSE_LIBGNOMEPRINT=no
33930         fi
33931
33932         if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
33933
33934
33935 pkg_failed=no
33936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
33937 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
33938
33939 if test -n "$PKG_CONFIG"; then
33940     if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
33941         pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
33942     else
33943         if test -n "$PKG_CONFIG" && \
33944     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33945   ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33946   ac_status=$?
33947   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33948   test $ac_status = 0; }; then
33949   pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33950 else
33951   pkg_failed=yes
33952 fi
33953     fi
33954 else
33955         pkg_failed=untried
33956 fi
33957 if test -n "$PKG_CONFIG"; then
33958     if test -n "$LIBGNOMEPRINTUI_LIBS"; then
33959         pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
33960     else
33961         if test -n "$PKG_CONFIG" && \
33962     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33963   ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33964   ac_status=$?
33965   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33966   test $ac_status = 0; }; then
33967   pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33968 else
33969   pkg_failed=yes
33970 fi
33971     fi
33972 else
33973         pkg_failed=untried
33974 fi
33975
33976
33977
33978 if test $pkg_failed = yes; then
33979
33980 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33981         _pkg_short_errors_supported=yes
33982 else
33983         _pkg_short_errors_supported=no
33984 fi
33985         if test $_pkg_short_errors_supported = yes; then
33986                 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33987         else
33988                 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33989         fi
33990         # Put the nasty error message in config.log where it belongs
33991         echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
33992
33993
33994                         if test "$wxUSE_GTKPRINT" = yes; then
33995                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33996 $as_echo "no" >&6; }
33997                         else
33998                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33999 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34000                         fi
34001                         wxUSE_LIBGNOMEPRINT="no"
34002
34003
34004 elif test $pkg_failed = untried; then
34005
34006                         if test "$wxUSE_GTKPRINT" = yes; then
34007                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34008 $as_echo "no" >&6; }
34009                         else
34010                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34011 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34012                         fi
34013                         wxUSE_LIBGNOMEPRINT="no"
34014
34015
34016 else
34017         LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
34018         LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
34019         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34020 $as_echo "yes" >&6; }
34021
34022                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
34023                         CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
34024                         CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
34025                         $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
34026
34027
34028 fi
34029         fi
34030     fi
34031
34032     if test "$wxUSE_MIMETYPE" = "yes" ; then
34033         if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34034
34035
34036 pkg_failed=no
34037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34038 $as_echo_n "checking for GNOMEVFS... " >&6; }
34039
34040 if test -n "$PKG_CONFIG"; then
34041     if test -n "$GNOMEVFS_CFLAGS"; then
34042         pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
34043     else
34044         if test -n "$PKG_CONFIG" && \
34045     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34046   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34047   ac_status=$?
34048   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34049   test $ac_status = 0; }; then
34050   pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34051 else
34052   pkg_failed=yes
34053 fi
34054     fi
34055 else
34056         pkg_failed=untried
34057 fi
34058 if test -n "$PKG_CONFIG"; then
34059     if test -n "$GNOMEVFS_LIBS"; then
34060         pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
34061     else
34062         if test -n "$PKG_CONFIG" && \
34063     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34064   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34065   ac_status=$?
34066   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34067   test $ac_status = 0; }; then
34068   pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34069 else
34070   pkg_failed=yes
34071 fi
34072     fi
34073 else
34074         pkg_failed=untried
34075 fi
34076
34077
34078
34079 if test $pkg_failed = yes; then
34080
34081 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34082         _pkg_short_errors_supported=yes
34083 else
34084         _pkg_short_errors_supported=no
34085 fi
34086         if test $_pkg_short_errors_supported = yes; then
34087                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34088         else
34089                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34090         fi
34091         # Put the nasty error message in config.log where it belongs
34092         echo "$GNOMEVFS_PKG_ERRORS" >&5
34093
34094
34095                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34096 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34097                         wxUSE_LIBGNOMEVFS="no"
34098
34099
34100 elif test $pkg_failed = untried; then
34101
34102                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34103 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34104                         wxUSE_LIBGNOMEVFS="no"
34105
34106
34107 else
34108         GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
34109         GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
34110         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34111 $as_echo "yes" >&6; }
34112
34113                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34114                         CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
34115                         CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
34116                         $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34117
34118
34119 fi
34120         fi
34121     fi
34122
34123     if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34124         if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34125             HAVE_LIBNOTIFY=0
34126
34127 pkg_failed=no
34128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34129 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34130
34131 if test -n "$PKG_CONFIG"; then
34132     if test -n "$LIBNOTIFY_CFLAGS"; then
34133         pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34134     else
34135         if test -n "$PKG_CONFIG" && \
34136     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34137   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34138   ac_status=$?
34139   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34140   test $ac_status = 0; }; then
34141   pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34142 else
34143   pkg_failed=yes
34144 fi
34145     fi
34146 else
34147         pkg_failed=untried
34148 fi
34149 if test -n "$PKG_CONFIG"; then
34150     if test -n "$LIBNOTIFY_LIBS"; then
34151         pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34152     else
34153         if test -n "$PKG_CONFIG" && \
34154     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34155   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34156   ac_status=$?
34157   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34158   test $ac_status = 0; }; then
34159   pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34160 else
34161   pkg_failed=yes
34162 fi
34163     fi
34164 else
34165         pkg_failed=untried
34166 fi
34167
34168
34169
34170 if test $pkg_failed = yes; then
34171
34172 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34173         _pkg_short_errors_supported=yes
34174 else
34175         _pkg_short_errors_supported=no
34176 fi
34177         if test $_pkg_short_errors_supported = yes; then
34178                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34179         else
34180                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34181         fi
34182         # Put the nasty error message in config.log where it belongs
34183         echo "$LIBNOTIFY_PKG_ERRORS" >&5
34184
34185
34186
34187 pkg_failed=no
34188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34189 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34190
34191 if test -n "$PKG_CONFIG"; then
34192     if test -n "$LIBNOTIFY_CFLAGS"; then
34193         pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34194     else
34195         if test -n "$PKG_CONFIG" && \
34196     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34197   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34198   ac_status=$?
34199   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34200   test $ac_status = 0; }; then
34201   pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34202 else
34203   pkg_failed=yes
34204 fi
34205     fi
34206 else
34207         pkg_failed=untried
34208 fi
34209 if test -n "$PKG_CONFIG"; then
34210     if test -n "$LIBNOTIFY_LIBS"; then
34211         pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34212     else
34213         if test -n "$PKG_CONFIG" && \
34214     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34215   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34216   ac_status=$?
34217   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34218   test $ac_status = 0; }; then
34219   pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34220 else
34221   pkg_failed=yes
34222 fi
34223     fi
34224 else
34225         pkg_failed=untried
34226 fi
34227
34228
34229
34230 if test $pkg_failed = yes; then
34231
34232 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34233         _pkg_short_errors_supported=yes
34234 else
34235         _pkg_short_errors_supported=no
34236 fi
34237         if test $_pkg_short_errors_supported = yes; then
34238                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34239         else
34240                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34241         fi
34242         # Put the nasty error message in config.log where it belongs
34243         echo "$LIBNOTIFY_PKG_ERRORS" >&5
34244
34245         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34246 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34247
34248 elif test $pkg_failed = untried; then
34249         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34250 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34251
34252 else
34253         LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34254         LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34255         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34256 $as_echo "yes" >&6; }
34257         HAVE_LIBNOTIFY=1
34258 fi
34259
34260
34261 elif test $pkg_failed = untried; then
34262
34263
34264 pkg_failed=no
34265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34266 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34267
34268 if test -n "$PKG_CONFIG"; then
34269     if test -n "$LIBNOTIFY_CFLAGS"; then
34270         pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34271     else
34272         if test -n "$PKG_CONFIG" && \
34273     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34274   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34275   ac_status=$?
34276   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34277   test $ac_status = 0; }; then
34278   pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34279 else
34280   pkg_failed=yes
34281 fi
34282     fi
34283 else
34284         pkg_failed=untried
34285 fi
34286 if test -n "$PKG_CONFIG"; then
34287     if test -n "$LIBNOTIFY_LIBS"; then
34288         pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34289     else
34290         if test -n "$PKG_CONFIG" && \
34291     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34292   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34293   ac_status=$?
34294   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34295   test $ac_status = 0; }; then
34296   pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34297 else
34298   pkg_failed=yes
34299 fi
34300     fi
34301 else
34302         pkg_failed=untried
34303 fi
34304
34305
34306
34307 if test $pkg_failed = yes; then
34308
34309 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34310         _pkg_short_errors_supported=yes
34311 else
34312         _pkg_short_errors_supported=no
34313 fi
34314         if test $_pkg_short_errors_supported = yes; then
34315                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34316         else
34317                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34318         fi
34319         # Put the nasty error message in config.log where it belongs
34320         echo "$LIBNOTIFY_PKG_ERRORS" >&5
34321
34322         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34323 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34324
34325 elif test $pkg_failed = untried; then
34326         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34327 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34328
34329 else
34330         LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34331         LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34332         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34333 $as_echo "yes" >&6; }
34334         HAVE_LIBNOTIFY=1
34335 fi
34336
34337
34338 else
34339         LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34340         LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34341         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34342 $as_echo "yes" >&6; }
34343
34344                     HAVE_LIBNOTIFY=1
34345                     $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34346
34347
34348 fi
34349
34350             if test "$HAVE_LIBNOTIFY" = "1" ; then
34351                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34352                 CFLAGS="$LIBNOTIFY_CFLAGS $CFLAGS"
34353                 CXXFLAGS="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34354                 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34355
34356             fi
34357         fi
34358     fi
34359
34360     if test "$wxUSE_LIBHILDON" = "yes" ; then
34361
34362 pkg_failed=no
34363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34364 $as_echo_n "checking for HILDON... " >&6; }
34365
34366 if test -n "$PKG_CONFIG"; then
34367     if test -n "$HILDON_CFLAGS"; then
34368         pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
34369     else
34370         if test -n "$PKG_CONFIG" && \
34371     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34372   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34373   ac_status=$?
34374   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34375   test $ac_status = 0; }; then
34376   pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34377 else
34378   pkg_failed=yes
34379 fi
34380     fi
34381 else
34382         pkg_failed=untried
34383 fi
34384 if test -n "$PKG_CONFIG"; then
34385     if test -n "$HILDON_LIBS"; then
34386         pkg_cv_HILDON_LIBS="$HILDON_LIBS"
34387     else
34388         if test -n "$PKG_CONFIG" && \
34389     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34390   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34391   ac_status=$?
34392   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34393   test $ac_status = 0; }; then
34394   pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34395 else
34396   pkg_failed=yes
34397 fi
34398     fi
34399 else
34400         pkg_failed=untried
34401 fi
34402
34403
34404
34405 if test $pkg_failed = yes; then
34406
34407 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34408         _pkg_short_errors_supported=yes
34409 else
34410         _pkg_short_errors_supported=no
34411 fi
34412         if test $_pkg_short_errors_supported = yes; then
34413                 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34414         else
34415                 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34416         fi
34417         # Put the nasty error message in config.log where it belongs
34418         echo "$HILDON_PKG_ERRORS" >&5
34419
34420
34421                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34422 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34423                         wxUSE_LIBHILDON="no"
34424                         ac_hildon_lgpl=0
34425
34426
34427 elif test $pkg_failed = untried; then
34428
34429                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34430 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34431                         wxUSE_LIBHILDON="no"
34432                         ac_hildon_lgpl=0
34433
34434
34435 else
34436         HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
34437         HILDON_LIBS=$pkg_cv_HILDON_LIBS
34438         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34439 $as_echo "yes" >&6; }
34440
34441                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON_LIBS"
34442                 CFLAGS="$CFLAGS $HILDON_CFLAGS"
34443                 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
34444                 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34445
34446                 ac_hildon_lgpl=1
34447
34448 fi
34449
34450         if test "$ac_hildon_lgpl" = 0 ; then
34451
34452 pkg_failed=no
34453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34454 $as_echo_n "checking for HILDON2... " >&6; }
34455
34456 if test -n "$PKG_CONFIG"; then
34457     if test -n "$HILDON2_CFLAGS"; then
34458         pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34459     else
34460         if test -n "$PKG_CONFIG" && \
34461     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34462   ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34463   ac_status=$?
34464   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34465   test $ac_status = 0; }; then
34466   pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34467 else
34468   pkg_failed=yes
34469 fi
34470     fi
34471 else
34472         pkg_failed=untried
34473 fi
34474 if test -n "$PKG_CONFIG"; then
34475     if test -n "$HILDON2_LIBS"; then
34476         pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34477     else
34478         if test -n "$PKG_CONFIG" && \
34479     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34480   ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34481   ac_status=$?
34482   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34483   test $ac_status = 0; }; then
34484   pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34485 else
34486   pkg_failed=yes
34487 fi
34488     fi
34489 else
34490         pkg_failed=untried
34491 fi
34492
34493
34494
34495 if test $pkg_failed = yes; then
34496
34497 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34498         _pkg_short_errors_supported=yes
34499 else
34500         _pkg_short_errors_supported=no
34501 fi
34502         if test $_pkg_short_errors_supported = yes; then
34503                 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34504         else
34505                 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34506         fi
34507         # Put the nasty error message in config.log where it belongs
34508         echo "$HILDON2_PKG_ERRORS" >&5
34509
34510
34511                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34512 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34513                             wxUSE_LIBHILDON2="no"
34514
34515
34516 elif test $pkg_failed = untried; then
34517
34518                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34519 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34520                             wxUSE_LIBHILDON2="no"
34521
34522
34523 else
34524         HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34525         HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34526         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34527 $as_echo "yes" >&6; }
34528
34529                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON2_LIBS"
34530                     CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34531                     CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34532                     $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34533
34534
34535 fi
34536         fi
34537     fi
34538 fi
34539
34540 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34541   $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34542
34543 fi
34544
34545 if test "$wxUSE_STOPWATCH" = "yes"; then
34546   $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34547
34548 fi
34549
34550 if test "$wxUSE_DATETIME" = "yes"; then
34551   $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34552
34553 fi
34554
34555 if test "$wxUSE_FILE" = "yes"; then
34556   $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34557
34558 fi
34559
34560 if test "$wxUSE_FFILE" = "yes"; then
34561   $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34562
34563 fi
34564
34565 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34566   if test "$wxUSE_STREAMS" != yes; then
34567     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34568 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34569     wxUSE_ARCHIVE_STREAMS=no
34570   else
34571     $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34572
34573   fi
34574 fi
34575
34576 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34577   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34578     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34579 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34580   elif test "$wxUSE_ZLIB" = "no"; then
34581     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34582 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34583   else
34584     $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34585
34586   fi
34587 fi
34588
34589 if test "$wxUSE_TARSTREAM" = "yes"; then
34590   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34591     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34592 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34593   else
34594     $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34595
34596   fi
34597 fi
34598
34599 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34600   $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34601
34602 fi
34603
34604 if test "$wxUSE_FILESYSTEM" = "yes"; then
34605   if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34606     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34607 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34608     wxUSE_FILESYSTEM=no
34609   else
34610     $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34611
34612   fi
34613 fi
34614
34615 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34616   if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34617     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34618 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34619   else
34620     $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34621
34622   fi
34623 fi
34624
34625 if test "$wxUSE_FS_ZIP" = "yes"; then
34626   if test "$wxUSE_FS_ARCHIVE" != yes; then
34627     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34628 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34629   else
34630     $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34631
34632   fi
34633 fi
34634
34635 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34636   if test "$USE_UNIX" != 1; then
34637     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34638 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34639     wxUSE_ON_FATAL_EXCEPTION=no
34640   else
34641     $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34642
34643   fi
34644 fi
34645
34646 if test "$wxUSE_STACKWALKER" = "yes"; then
34647     $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34648
34649 fi
34650
34651 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34652     if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34653         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34654 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34655         wxUSE_DEBUGREPORT=no
34656     else
34657         $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34658
34659         if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34660             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34661         fi
34662     fi
34663 fi
34664
34665 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34666   $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34667
34668 fi
34669
34670 if test "$wxUSE_BUSYINFO" = "yes"; then
34671   $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34672
34673 fi
34674
34675 if test "$wxUSE_HOTKEY" = "yes"; then
34676   if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34677     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34678 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34679     wxUSE_HOTKEY=no
34680   fi
34681 elif test "$wxUSE_HOTKEY" = "auto"; then
34682   if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34683     wxUSE_HOTKEY=yes
34684   fi
34685 fi
34686 if test "$wxUSE_HOTKEY" = "yes"; then
34687   $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34688
34689 fi
34690
34691 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34692   $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34693
34694 fi
34695
34696 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34697   $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34698
34699 fi
34700
34701 if test "$wxUSE_STD_STRING" = "yes"; then
34702   $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34703
34704 fi
34705
34706 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34707   $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34708
34709 fi
34710
34711 if test "$wxUSE_STDPATHS" = "yes"; then
34712   $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34713
34714 fi
34715
34716 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34717     $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34718
34719 fi
34720
34721 if test "$wxUSE_TEXTFILE" = "yes"; then
34722   if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34723     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34724 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34725   else
34726     $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34727
34728   fi
34729 fi
34730
34731 if test "$wxUSE_CONFIG" = "yes" ; then
34732   if test "$wxUSE_TEXTFILE" != "yes"; then
34733     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34734 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34735   else
34736     $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34737
34738     $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34739
34740     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34741   fi
34742 fi
34743
34744 if test "$wxUSE_INTL" = "yes" ; then
34745   if test "$wxUSE_FILE" != "yes"; then
34746     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34747 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34748   else
34749     $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34750
34751     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34752     GUIDIST="$GUIDIST INTL_DIST"
34753   fi
34754 fi
34755
34756 if test "$wxUSE_XLOCALE" = "yes" ; then
34757     $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34758
34759     ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34760                     #include <locale.h>
34761 "
34762 if test "x$ac_cv_type_locale_t" = xyes; then :
34763
34764 cat >>confdefs.h <<_ACEOF
34765 #define HAVE_LOCALE_T 1
34766 _ACEOF
34767
34768
34769 fi
34770
34771 fi
34772
34773 if test "$wxUSE_LOG" = "yes"; then
34774   $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34775
34776
34777     if test "$wxUSE_LOGGUI" = "yes"; then
34778       $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34779
34780     fi
34781
34782     if test "$wxUSE_LOGWINDOW" = "yes"; then
34783       $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34784
34785     fi
34786
34787     if test "$wxUSE_LOGDIALOG" = "yes"; then
34788       $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34789
34790     fi
34791
34792         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
34793 fi
34794
34795 if test "$wxUSE_LONGLONG" = "yes"; then
34796   $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34797
34798 fi
34799
34800 if test "$wxUSE_GEOMETRY" = "yes"; then
34801   $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34802
34803 fi
34804
34805 if test "$wxUSE_BASE64" = "yes"; then
34806   $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34807
34808 fi
34809
34810 if test "$wxUSE_STREAMS" = "yes" ; then
34811   $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34812
34813 fi
34814
34815 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34816   $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34817
34818 fi
34819
34820 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34821   $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34822
34823 fi
34824
34825
34826 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34827     $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34828
34829
34830     if test "$wxUSE_UNIX" = "yes"; then
34831         if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34832             $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34833
34834         fi
34835
34836         if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34837             for ac_header in sys/epoll.h
34838 do :
34839   ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34840 "
34841 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
34842   cat >>confdefs.h <<_ACEOF
34843 #define HAVE_SYS_EPOLL_H 1
34844 _ACEOF
34845
34846 fi
34847
34848 done
34849
34850             if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34851                 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34852
34853             else
34854                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34855 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34856             fi
34857         fi
34858     fi
34859 fi
34860
34861
34862 for ac_func in gettimeofday ftime
34863 do :
34864   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34865 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34866 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34867   cat >>confdefs.h <<_ACEOF
34868 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34869 _ACEOF
34870  break
34871 fi
34872 done
34873
34874
34875 if test "$ac_cv_func_gettimeofday" = "yes"; then
34876     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34877 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34878 if ${wx_cv_func_gettimeofday_has_2_args+:} false; then :
34879   $as_echo_n "(cached) " >&6
34880 else
34881
34882                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34883 /* end confdefs.h.  */
34884
34885                 #include <sys/time.h>
34886                 #include <unistd.h>
34887
34888 int
34889 main ()
34890 {
34891
34892                 struct timeval tv;
34893                 gettimeofday(&tv, NULL);
34894
34895   ;
34896   return 0;
34897 }
34898 _ACEOF
34899 if ac_fn_c_try_compile "$LINENO"; then :
34900   wx_cv_func_gettimeofday_has_2_args=yes
34901 else
34902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34903 /* end confdefs.h.  */
34904
34905                     #include <sys/time.h>
34906                     #include <unistd.h>
34907
34908 int
34909 main ()
34910 {
34911
34912                     struct timeval tv;
34913                     gettimeofday(&tv);
34914
34915   ;
34916   return 0;
34917 }
34918 _ACEOF
34919 if ac_fn_c_try_compile "$LINENO"; then :
34920   wx_cv_func_gettimeofday_has_2_args=no
34921 else
34922
34923                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34924 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34925                     wx_cv_func_gettimeofday_has_2_args=unknown
34926
34927
34928 fi
34929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34930
34931 fi
34932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34933
34934 fi
34935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34936 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
34937
34938     if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34939         $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
34940
34941     fi
34942 fi
34943
34944 if test "$wxUSE_DATETIME" = "yes"; then
34945             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
34946 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
34947 if ${wx_cv_var_timezone+:} false; then :
34948   $as_echo_n "(cached) " >&6
34949 else
34950
34951                         ac_ext=cpp
34952 ac_cpp='$CXXCPP $CPPFLAGS'
34953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34956
34957                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34958 /* end confdefs.h.  */
34959
34960                                 #include <time.h>
34961
34962 int
34963 main ()
34964 {
34965
34966                                 int tz;
34967                                 tz = timezone;
34968
34969   ;
34970   return 0;
34971 }
34972 _ACEOF
34973 if ac_fn_cxx_try_compile "$LINENO"; then :
34974
34975                                 wx_cv_var_timezone=timezone
34976
34977 else
34978
34979                                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34980 /* end confdefs.h.  */
34981
34982                                         #include <time.h>
34983
34984 int
34985 main ()
34986 {
34987
34988                                         int tz;
34989                                         tz = _timezone;
34990
34991   ;
34992   return 0;
34993 }
34994 _ACEOF
34995 if ac_fn_cxx_try_compile "$LINENO"; then :
34996
34997                                         wx_cv_var_timezone=_timezone
34998
34999 else
35000
35001                                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35002 /* end confdefs.h.  */
35003
35004                                                 #include <time.h>
35005
35006 int
35007 main ()
35008 {
35009
35010                                                 int tz;
35011                                                 tz = __timezone;
35012
35013   ;
35014   return 0;
35015 }
35016 _ACEOF
35017 if ac_fn_cxx_try_compile "$LINENO"; then :
35018
35019                                                 wx_cv_var_timezone=__timezone
35020
35021 else
35022
35023                                                 if test "$USE_DOS" = 0 ; then
35024                                                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
35025 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
35026                                                 fi
35027
35028
35029 fi
35030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35031
35032
35033 fi
35034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35035
35036
35037 fi
35038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35039                         ac_ext=c
35040 ac_cpp='$CPP $CPPFLAGS'
35041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35044
35045
35046
35047 fi
35048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
35049 $as_echo "$wx_cv_var_timezone" >&6; }
35050
35051         if test "x$wx_cv_var_timezone" != x ; then
35052         cat >>confdefs.h <<_ACEOF
35053 #define WX_TIMEZONE $wx_cv_var_timezone
35054 _ACEOF
35055
35056     fi
35057
35058         for ac_func in localtime
35059 do :
35060   ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
35061 if test "x$ac_cv_func_localtime" = xyes; then :
35062   cat >>confdefs.h <<_ACEOF
35063 #define HAVE_LOCALTIME 1
35064 _ACEOF
35065
35066 fi
35067 done
35068
35069
35070     if test "$ac_cv_func_localtime" = "yes"; then
35071         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35072 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35073 if ${wx_cv_struct_tm_has_gmtoff+:} false; then :
35074   $as_echo_n "(cached) " >&6
35075 else
35076
35077             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35078 /* end confdefs.h.  */
35079
35080                     #include <time.h>
35081
35082 int
35083 main ()
35084 {
35085
35086                     struct tm tm;
35087                     tm.tm_gmtoff++;
35088
35089   ;
35090   return 0;
35091 }
35092 _ACEOF
35093 if ac_fn_c_try_compile "$LINENO"; then :
35094
35095                     wx_cv_struct_tm_has_gmtoff=yes
35096
35097 else
35098   wx_cv_struct_tm_has_gmtoff=no
35099
35100 fi
35101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35102
35103 fi
35104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35105 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35106     fi
35107
35108     if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35109         $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35110
35111     fi
35112
35113     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35114 fi
35115
35116
35117 if test "$wxUSE_SOCKETS" = "yes"; then
35118         if test "$TOOLKIT" != "MSW"; then
35119                 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
35120 if test "x$ac_cv_func_socket" = xyes; then :
35121
35122 else
35123
35124                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35125 $as_echo_n "checking for socket in -lsocket... " >&6; }
35126 if ${ac_cv_lib_socket_socket+:} false; then :
35127   $as_echo_n "(cached) " >&6
35128 else
35129   ac_check_lib_save_LIBS=$LIBS
35130 LIBS="-lsocket  $LIBS"
35131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35132 /* end confdefs.h.  */
35133
35134 /* Override any GCC internal prototype to avoid an error.
35135    Use char because int might match the return type of a GCC
35136    builtin and then its argument prototype would still apply.  */
35137 #ifdef __cplusplus
35138 extern "C"
35139 #endif
35140 char socket ();
35141 int
35142 main ()
35143 {
35144 return socket ();
35145   ;
35146   return 0;
35147 }
35148 _ACEOF
35149 if ac_fn_c_try_link "$LINENO"; then :
35150   ac_cv_lib_socket_socket=yes
35151 else
35152   ac_cv_lib_socket_socket=no
35153 fi
35154 rm -f core conftest.err conftest.$ac_objext \
35155     conftest$ac_exeext conftest.$ac_ext
35156 LIBS=$ac_check_lib_save_LIBS
35157 fi
35158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35159 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35160 if test "x$ac_cv_lib_socket_socket" = xyes; then :
35161   if test "$INET_LINK" != " -lsocket"; then
35162                         INET_LINK="$INET_LINK -lsocket"
35163                     fi
35164 else
35165
35166                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35167 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35168                         wxUSE_SOCKETS=no
35169
35170
35171 fi
35172
35173
35174
35175 fi
35176
35177     fi
35178 fi
35179
35180 if test "$wxUSE_SOCKETS" = "yes" ; then
35181                 if test "$TOOLKIT" != "MSW"; then
35182                                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35183 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35184 if ${wx_cv_type_getsockname3+:} false; then :
35185   $as_echo_n "(cached) " >&6
35186 else
35187
35188                 ac_ext=cpp
35189 ac_cpp='$CXXCPP $CPPFLAGS'
35190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35193
35194                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35195 /* end confdefs.h.  */
35196
35197                         #include <sys/types.h>
35198                         #include <sys/socket.h>
35199
35200 int
35201 main ()
35202 {
35203
35204                         socklen_t len;
35205                         getsockname(0, 0, &len);
35206
35207   ;
35208   return 0;
35209 }
35210 _ACEOF
35211 if ac_fn_cxx_try_compile "$LINENO"; then :
35212   wx_cv_type_getsockname3=socklen_t
35213 else
35214
35215                                                                                                                                                                         CFLAGS_OLD="$CFLAGS"
35216                         if test "$GCC" = yes ; then
35217                             CFLAGS="-Werror $CFLAGS"
35218                         fi
35219
35220                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35221 /* end confdefs.h.  */
35222
35223                                 #include <sys/types.h>
35224                                 #include <sys/socket.h>
35225
35226 int
35227 main ()
35228 {
35229
35230                                 size_t len;
35231                                 getsockname(0, 0, &len);
35232
35233   ;
35234   return 0;
35235 }
35236 _ACEOF
35237 if ac_fn_cxx_try_compile "$LINENO"; then :
35238   wx_cv_type_getsockname3=size_t
35239 else
35240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35241 /* end confdefs.h.  */
35242
35243                                     #include <sys/types.h>
35244                                     #include <sys/socket.h>
35245
35246 int
35247 main ()
35248 {
35249
35250                                     int len;
35251                                     getsockname(0, 0, &len);
35252
35253   ;
35254   return 0;
35255 }
35256 _ACEOF
35257 if ac_fn_cxx_try_compile "$LINENO"; then :
35258   wx_cv_type_getsockname3=int
35259 else
35260   wx_cv_type_getsockname3=unknown
35261
35262 fi
35263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35264
35265 fi
35266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35267
35268                         CFLAGS="$CFLAGS_OLD"
35269
35270
35271 fi
35272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35273                 ac_ext=c
35274 ac_cpp='$CPP $CPPFLAGS'
35275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35278
35279
35280 fi
35281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35282 $as_echo "$wx_cv_type_getsockname3" >&6; }
35283
35284         if test "$wx_cv_type_getsockname3" = "unknown"; then
35285             wxUSE_SOCKETS=no
35286             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35287 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35288         else
35289             cat >>confdefs.h <<_ACEOF
35290 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35291 _ACEOF
35292
35293         fi
35294                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35295 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35296 if ${wx_cv_type_getsockopt5+:} false; then :
35297   $as_echo_n "(cached) " >&6
35298 else
35299
35300                                                                                                 ac_ext=cpp
35301 ac_cpp='$CXXCPP $CPPFLAGS'
35302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35305
35306                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35307 /* end confdefs.h.  */
35308
35309                         #include <sys/types.h>
35310                         #include <sys/socket.h>
35311
35312 int
35313 main ()
35314 {
35315
35316                         socklen_t len;
35317                         getsockopt(0, 0, 0, 0, &len);
35318
35319   ;
35320   return 0;
35321 }
35322 _ACEOF
35323 if ac_fn_cxx_try_compile "$LINENO"; then :
35324   wx_cv_type_getsockopt5=socklen_t
35325 else
35326
35327                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35328 /* end confdefs.h.  */
35329
35330                                 #include <sys/types.h>
35331                                 #include <sys/socket.h>
35332
35333 int
35334 main ()
35335 {
35336
35337                                 size_t len;
35338                                 getsockopt(0, 0, 0, 0, &len);
35339
35340   ;
35341   return 0;
35342 }
35343 _ACEOF
35344 if ac_fn_cxx_try_compile "$LINENO"; then :
35345   wx_cv_type_getsockopt5=size_t
35346 else
35347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35348 /* end confdefs.h.  */
35349
35350                                     #include <sys/types.h>
35351                                     #include <sys/socket.h>
35352
35353 int
35354 main ()
35355 {
35356
35357                                     int len;
35358                                     getsockopt(0, 0, 0, 0, &len);
35359
35360   ;
35361   return 0;
35362 }
35363 _ACEOF
35364 if ac_fn_cxx_try_compile "$LINENO"; then :
35365   wx_cv_type_getsockopt5=int
35366 else
35367   wx_cv_type_getsockopt5=unknown
35368
35369 fi
35370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35371
35372 fi
35373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35374
35375
35376 fi
35377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35378                 ac_ext=c
35379 ac_cpp='$CPP $CPPFLAGS'
35380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35383
35384
35385 fi
35386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35387 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35388
35389         if test "$wx_cv_type_getsockopt5" = "unknown"; then
35390             wxUSE_SOCKETS=no
35391             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35392 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35393         else
35394             cat >>confdefs.h <<_ACEOF
35395 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35396 _ACEOF
35397
35398         fi
35399     fi
35400 fi
35401
35402 if test "$wxUSE_SOCKETS" = "yes" ; then
35403     if test "$wxUSE_IPV6" = "yes"; then
35404         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35405 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35406 if ${wx_cv_type_sockaddr_in6+:} false; then :
35407   $as_echo_n "(cached) " >&6
35408 else
35409
35410                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35411 /* end confdefs.h.  */
35412
35413                         #include <sys/types.h>
35414                         #include <sys/socket.h>
35415                         #include <netinet/in.h>
35416
35417 int
35418 main ()
35419 {
35420
35421                         struct sockaddr_in6 sa6;
35422
35423   ;
35424   return 0;
35425 }
35426 _ACEOF
35427 if ac_fn_c_try_compile "$LINENO"; then :
35428   wx_cv_type_sockaddr_in6=yes
35429 else
35430   wx_cv_type_sockaddr_in6=no
35431
35432 fi
35433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35434
35435
35436 fi
35437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35438 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35439
35440         if test "$wx_cv_type_sockaddr_in6"="yes"; then
35441             $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35442
35443         else
35444             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35445 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35446         fi
35447     fi
35448
35449     $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35450
35451     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35452 fi
35453
35454 if test "$wxUSE_PROTOCOL" = "yes"; then
35455     if test "$wxUSE_SOCKETS" != "yes"; then
35456         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35457 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35458         wxUSE_PROTOCOL=no
35459     fi
35460 fi
35461
35462 if test "$wxUSE_PROTOCOL" = "yes"; then
35463     $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35464
35465
35466     if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35467         $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35468
35469     fi
35470     if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35471         $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35472
35473     fi
35474     if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35475         $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35476
35477     fi
35478 else
35479     if test "$wxUSE_FS_INET" = "yes"; then
35480         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35481 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35482         wxUSE_FS_INET="no"
35483     fi
35484 fi
35485
35486 if test "$wxUSE_URL" = "yes"; then
35487     if test "$wxUSE_PROTOCOL" != "yes"; then
35488         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35489 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35490         wxUSE_URL=no
35491     fi
35492     if test "$wxUSE_URL" = "yes"; then
35493         $as_echo "#define wxUSE_URL 1" >>confdefs.h
35494
35495     fi
35496 fi
35497
35498 if test "$wxUSE_VARIANT" = "yes"; then
35499     $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35500
35501 fi
35502
35503 if test "$wxUSE_FS_INET" = "yes"; then
35504   $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35505
35506 fi
35507
35508
35509 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35510     wxUSE_JOYSTICK=no
35511
35512         if test "$TOOLKIT" = "MSW"; then
35513         wxUSE_JOYSTICK=yes
35514
35515         elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35516         if test "$USE_DARWIN" = 1; then
35517                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35518 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35519             ac_ext=cpp
35520 ac_cpp='$CXXCPP $CPPFLAGS'
35521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35524
35525             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35526 /* end confdefs.h.  */
35527  #include <IOKit/hid/IOHIDLib.h>
35528 int
35529 main ()
35530 {
35531  IOHIDQueueInterface *qi = NULL;
35532                               IOHIDCallbackFunction cb = NULL;
35533                               qi->setEventCallout(NULL, cb, NULL, NULL);
35534   ;
35535   return 0;
35536 }
35537 _ACEOF
35538 if ac_fn_cxx_try_compile "$LINENO"; then :
35539    wxUSE_JOYSTICK=yes
35540
35541 fi
35542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35543             ac_ext=c
35544 ac_cpp='$CPP $CPPFLAGS'
35545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35548
35549             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35550 $as_echo "$wxUSE_JOYSTICK" >&6; }
35551         fi
35552
35553         else
35554                                                         for ac_header in linux/joystick.h
35555 do :
35556   ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35557 "
35558 if test "x$ac_cv_header_linux_joystick_h" = xyes; then :
35559   cat >>confdefs.h <<_ACEOF
35560 #define HAVE_LINUX_JOYSTICK_H 1
35561 _ACEOF
35562  wxUSE_JOYSTICK=yes
35563 fi
35564
35565 done
35566
35567     fi
35568
35569     if test "$wxUSE_JOYSTICK" = "yes"; then
35570         $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35571
35572         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35573     else
35574         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35575 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35576     fi
35577 fi
35578
35579
35580
35581 if test "$wxUSE_FONTENUM" = "yes" ; then
35582   $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35583
35584 fi
35585
35586 if test "$wxUSE_FONTMAP" = "yes" ; then
35587   $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35588
35589 fi
35590
35591 if test "$wxUSE_UNICODE" = "yes" ; then
35592   $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35593
35594
35595   if test "$USE_WIN32" != 1; then
35596       wxUSE_UNICODE_MSLU=no
35597   fi
35598
35599   if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35600         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35601 $as_echo_n "checking for main in -lunicows... " >&6; }
35602 if ${ac_cv_lib_unicows_main+:} false; then :
35603   $as_echo_n "(cached) " >&6
35604 else
35605   ac_check_lib_save_LIBS=$LIBS
35606 LIBS="-lunicows  $LIBS"
35607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35608 /* end confdefs.h.  */
35609
35610
35611 int
35612 main ()
35613 {
35614 return main ();
35615   ;
35616   return 0;
35617 }
35618 _ACEOF
35619 if ac_fn_c_try_link "$LINENO"; then :
35620   ac_cv_lib_unicows_main=yes
35621 else
35622   ac_cv_lib_unicows_main=no
35623 fi
35624 rm -f core conftest.err conftest.$ac_objext \
35625     conftest$ac_exeext conftest.$ac_ext
35626 LIBS=$ac_check_lib_save_LIBS
35627 fi
35628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35629 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35630 if test "x$ac_cv_lib_unicows_main" = xyes; then :
35631
35632                 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35633
35634
35635 else
35636
35637                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35638                              Applications will only run on Windows NT/2000/XP!" >&5
35639 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35640                              Applications will only run on Windows NT/2000/XP!" >&2;}
35641                 wxUSE_UNICODE_MSLU=no
35642
35643 fi
35644
35645     fi
35646 fi
35647
35648 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35649     $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35650
35651
35652     if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35653         $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35654
35655     fi
35656 fi
35657
35658
35659 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35660     $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35661
35662     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35663 fi
35664
35665 if test "$wxUSE_MDI" = "yes"; then
35666     $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35667
35668
35669     if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35670         $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35671
35672         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35673     fi
35674 fi
35675
35676 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35677     $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35678
35679     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35680 fi
35681
35682 if test "$wxUSE_HELP" = "yes"; then
35683     $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35684
35685     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35686
35687     if test "$wxUSE_MSW" = 1; then
35688       if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35689         $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35690
35691       fi
35692     fi
35693
35694     if test "$wxUSE_WXHTML_HELP" = "yes"; then
35695       if test "$wxUSE_HTML" = "yes"; then
35696         $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35697
35698       else
35699         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35700 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35701         wxUSE_WXHTML_HELP=no
35702       fi
35703     fi
35704 fi
35705
35706 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35707     $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35708
35709     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35710 fi
35711
35712 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35713   $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35714
35715 fi
35716
35717 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35718
35719
35720 if test "$wxUSE_SVG" = "yes"; then
35721     $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35722
35723 fi
35724
35725
35726 if test "$wxUSE_METAFILE" = "yes"; then
35727     if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35728         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35729 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35730         wxUSE_METAFILE=no
35731     fi
35732 elif test "$wxUSE_METAFILE" = "auto"; then
35733     if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35734         wxUSE_METAFILE=yes
35735     fi
35736 fi
35737
35738 if test "$wxUSE_METAFILE" = "yes"; then
35739     $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35740
35741     if test "$wxUSE_MSW" = 1; then
35742                 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35743
35744     fi
35745 fi
35746
35747
35748 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ"       = "yes" \
35749                           -o "$wxUSE_CLIPBOARD"     = "yes" \
35750                           -o "$wxUSE_OLE"     = "yes" \
35751                           -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35752     ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35753 "
35754 if test "x$ac_cv_header_ole2_h" = xyes; then :
35755
35756 fi
35757
35758
35759
35760     if test "$ac_cv_header_ole2_h" = "yes" ; then
35761         if test "$GCC" = yes ; then
35762             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35763 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35764             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35765 /* end confdefs.h.  */
35766 #include <windows.h>
35767                             #include <ole2.h>
35768 int
35769 main ()
35770 {
35771
35772   ;
35773   return 0;
35774 }
35775 _ACEOF
35776 if ac_fn_c_try_compile "$LINENO"; then :
35777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35778 $as_echo "no" >&6; }
35779 else
35780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35781 $as_echo "yes" >&6; }
35782                             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35783 fi
35784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35785             LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35786             if test "$wxUSE_OLE" = "yes" ; then
35787                 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35788
35789                 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35790
35791                 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35792
35793                 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
35794             fi
35795         fi
35796
35797                 if test "$wxUSE_DATAOBJ" = "yes" ; then
35798             $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35799
35800         fi
35801     else
35802         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35803 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35804
35805         wxUSE_CLIPBOARD=no
35806         wxUSE_DRAG_AND_DROP=no
35807         wxUSE_DATAOBJ=no
35808         wxUSE_OLE=no
35809     fi
35810 fi
35811
35812 if test "$wxUSE_IPC" = "yes"; then
35813     if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35814         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35815 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35816         wxUSE_IPC=no
35817     fi
35818
35819     if test "$wxUSE_IPC" = "yes"; then
35820         $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35821
35822         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
35823     fi
35824 fi
35825
35826 if test "$wxUSE_DATAOBJ" = "yes"; then
35827     $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35828
35829 else
35830     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35831 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35832     wxUSE_CLIPBOARD=no
35833     wxUSE_DRAG_AND_DROP=no
35834 fi
35835
35836 if test "$wxUSE_CLIPBOARD" = "yes"; then
35837     if test "$wxUSE_DFB" = 1; then
35838         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35839 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35840         wxUSE_CLIPBOARD=no
35841     fi
35842
35843     if test "$wxUSE_CLIPBOARD" = "yes"; then
35844         $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35845
35846     fi
35847 fi
35848
35849 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35850     if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35851         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35852 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35853         wxUSE_DRAG_AND_DROP=no
35854     fi
35855
35856     if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35857         $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35858
35859     fi
35860
35861 fi
35862
35863 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35864     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
35865 fi
35866
35867 if test "$wxUSE_CLIPBOARD" = "yes"; then
35868     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
35869 fi
35870
35871 if test "$wxUSE_SPLINES" = "yes" ; then
35872   $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35873
35874 fi
35875
35876 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35877   $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35878
35879 fi
35880
35881 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35882     $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35883
35884     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
35885 fi
35886
35887 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35888     $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35889
35890 fi
35891
35892
35893 USES_CONTROLS=0
35894 if test "$wxUSE_CONTROLS" = "yes"; then
35895   USES_CONTROLS=1
35896 fi
35897
35898 if test "$wxUSE_MARKUP" = "yes"; then
35899   $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35900
35901 fi
35902
35903 if test "$wxUSE_ACCEL" = "yes"; then
35904   $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35905
35906   USES_CONTROLS=1
35907 fi
35908
35909 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35910   $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
35911
35912   USES_CONTROLS=1
35913   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
35914 fi
35915
35916 if test "$wxUSE_BANNERWINDOW" = "yes"; then
35917   $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
35918
35919 fi
35920
35921 if test "$wxUSE_BUTTON" = "yes"; then
35922   $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
35923
35924   USES_CONTROLS=1
35925 fi
35926
35927 if test "$wxUSE_BMPBUTTON" = "yes"; then
35928   $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
35929
35930   USES_CONTROLS=1
35931 fi
35932
35933 if test "$wxUSE_CALCTRL" = "yes"; then
35934   $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
35935
35936   USES_CONTROLS=1
35937   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
35938 fi
35939
35940 if test "$wxUSE_CARET" = "yes"; then
35941   $as_echo "#define wxUSE_CARET 1" >>confdefs.h
35942
35943   USES_CONTROLS=1
35944   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
35945 fi
35946
35947 if test "$wxUSE_COLLPANE" = "yes"; then
35948     $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
35949
35950     USES_CONTROLS=1
35951     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
35952 fi
35953
35954 if test "$wxUSE_COMBOBOX" = "yes"; then
35955   $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
35956
35957   USES_CONTROLS=1
35958 fi
35959
35960 if test "$wxUSE_COMBOCTRL" = "yes"; then
35961   $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
35962
35963   USES_CONTROLS=1
35964 fi
35965
35966 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
35967   $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
35968
35969   USES_CONTROLS=1
35970 fi
35971
35972 if test "$wxUSE_CHOICE" = "yes"; then
35973   $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
35974
35975   USES_CONTROLS=1
35976 fi
35977
35978 if test "$wxUSE_CHOICEBOOK" = "yes"; then
35979     $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
35980
35981     USES_CONTROLS=1
35982 fi
35983
35984 if test "$wxUSE_CHECKBOX" = "yes"; then
35985   $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
35986
35987   USES_CONTROLS=1
35988 fi
35989
35990 if test "$wxUSE_CHECKLST" = "yes"; then
35991   $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
35992
35993   USES_CONTROLS=1
35994 fi
35995
35996 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
35997   $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
35998
35999   USES_CONTROLS=1
36000 fi
36001
36002 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
36003   $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
36004
36005   USES_CONTROLS=1
36006 fi
36007
36008 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
36009   $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
36010
36011   USES_CONTROLS=1
36012 fi
36013
36014 if test "$wxUSE_FILECTRL" = "yes"; then
36015   $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
36016
36017   USES_CONTROLS=1
36018 fi
36019
36020 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
36021   $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
36022
36023   USES_CONTROLS=1
36024 fi
36025
36026 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
36027   $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
36028
36029   USES_CONTROLS=1
36030 fi
36031
36032 if test "$wxUSE_DISPLAY" = "yes"; then
36033     if test "$wxUSE_DFB" = 1; then
36034         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
36035 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
36036         wxUSE_DISPLAY=no
36037     else
36038         $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
36039
36040         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36041     fi
36042 fi
36043
36044 if test "$wxUSE_DETECT_SM" = "yes"; then
36045     $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
36046
36047 fi
36048
36049 if test "$wxUSE_GAUGE" = "yes"; then
36050   $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
36051
36052   USES_CONTROLS=1
36053 fi
36054
36055 if test "$wxUSE_GRID" = "yes"; then
36056   $as_echo "#define wxUSE_GRID 1" >>confdefs.h
36057
36058   USES_CONTROLS=1
36059   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36060 fi
36061
36062 if test "$wxUSE_HEADERCTRL" = "yes"; then
36063   $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36064
36065   USES_CONTROLS=1
36066 fi
36067
36068 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36069   $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36070
36071   USES_CONTROLS=1
36072 fi
36073
36074 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36075   $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36076
36077   USES_CONTROLS=1
36078 fi
36079
36080 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36081   $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36082
36083   USES_CONTROLS=1
36084   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
36085 fi
36086
36087 if test "$wxUSE_IMAGLIST" = "yes"; then
36088     $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36089
36090 fi
36091
36092 if test "$wxUSE_INFOBAR" = "yes"; then
36093     $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36094
36095 fi
36096
36097 if test "$wxUSE_LISTBOOK" = "yes"; then
36098     $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36099
36100     USES_CONTROLS=1
36101 fi
36102
36103 if test "$wxUSE_LISTBOX" = "yes"; then
36104     $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36105
36106     USES_CONTROLS=1
36107 fi
36108
36109 if test "$wxUSE_LISTCTRL" = "yes"; then
36110     if test "$wxUSE_IMAGLIST" = "yes"; then
36111         $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36112
36113         USES_CONTROLS=1
36114         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36115     else
36116         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36117 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36118     fi
36119 fi
36120
36121 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36122     $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36123
36124     USES_CONTROLS=1
36125 fi
36126
36127 if test "$wxUSE_NOTEBOOK" = "yes"; then
36128     $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36129
36130     USES_CONTROLS=1
36131     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36132 fi
36133
36134 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36135     $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36136
36137 fi
36138
36139 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36140   $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36141
36142   USES_CONTROLS=1
36143   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
36144 fi
36145
36146 if test "$wxUSE_RADIOBOX" = "yes"; then
36147     $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36148
36149     USES_CONTROLS=1
36150 fi
36151
36152 if test "$wxUSE_RADIOBTN" = "yes"; then
36153     $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36154
36155     USES_CONTROLS=1
36156 fi
36157
36158 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36159     $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36160
36161 fi
36162
36163 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36164     $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36165
36166 fi
36167
36168 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36169     $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36170
36171 fi
36172
36173 if test "$wxUSE_SASH" = "yes"; then
36174     $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36175
36176     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36177 fi
36178
36179 if test "$wxUSE_SCROLLBAR" = "yes"; then
36180     $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36181
36182     USES_CONTROLS=1
36183     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
36184 fi
36185
36186 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36187     $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36188
36189     USES_CONTROLS=1
36190 fi
36191
36192 if test "$wxUSE_SLIDER" = "yes"; then
36193     $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36194
36195     USES_CONTROLS=1
36196 fi
36197
36198 if test "$wxUSE_SPINBTN" = "yes"; then
36199     $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36200
36201     USES_CONTROLS=1
36202 fi
36203
36204 if test "$wxUSE_SPINCTRL" = "yes"; then
36205     $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36206
36207     USES_CONTROLS=1
36208 fi
36209
36210 if test "$wxUSE_SPLITTER" = "yes"; then
36211     $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36212
36213     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36214 fi
36215
36216 if test "$wxUSE_STATBMP" = "yes"; then
36217     $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36218
36219     USES_CONTROLS=1
36220 fi
36221
36222 if test "$wxUSE_STATBOX" = "yes"; then
36223     $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36224
36225     USES_CONTROLS=1
36226 fi
36227
36228 if test "$wxUSE_STATTEXT" = "yes"; then
36229     $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36230
36231     USES_CONTROLS=1
36232 fi
36233
36234 if test "$wxUSE_STATLINE" = "yes"; then
36235     $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36236
36237     USES_CONTROLS=1
36238 fi
36239
36240 if test "$wxUSE_STATUSBAR" = "yes"; then
36241         $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36242
36243     $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36244
36245     USES_CONTROLS=1
36246
36247     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36248 fi
36249
36250 if test "$wxUSE_TEXTCTRL" = "yes"; then
36251     $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36252
36253     USES_CONTROLS=1
36254     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36255
36256             $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36257
36258     $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36259
36260 fi
36261
36262 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36263   $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36264
36265   USES_CONTROLS=1
36266 fi
36267
36268 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36269     if test "$wxUSE_OLD_COCOA" = 1 ; then
36270         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36271 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36272         wxUSE_TOGGLEBTN=no
36273     fi
36274
36275     if test "$wxUSE_TOGGLEBTN" = "yes"; then
36276         $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36277
36278         USES_CONTROLS=1
36279     fi
36280 fi
36281
36282 if test "$wxUSE_TOOLBAR" = "yes"; then
36283     $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36284
36285     USES_CONTROLS=1
36286
36287     if test "$wxUSE_UNIVERSAL" = "yes"; then
36288         wxUSE_TOOLBAR_NATIVE="no"
36289     else
36290         wxUSE_TOOLBAR_NATIVE="yes"
36291         $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36292
36293     fi
36294
36295     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36296 fi
36297
36298 if test "$wxUSE_TOOLTIPS" = "yes"; then
36299     if test "$wxUSE_MOTIF" = 1; then
36300         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36301 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36302     else
36303         if test "$wxUSE_UNIVERSAL" = "yes"; then
36304             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36305 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36306         else
36307             $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36308
36309         fi
36310     fi
36311 fi
36312
36313 if test "$wxUSE_TREEBOOK" = "yes"; then
36314     $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36315
36316     USES_CONTROLS=1
36317 fi
36318
36319 if test "$wxUSE_TOOLBOOK" = "yes"; then
36320     $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36321
36322     USES_CONTROLS=1
36323 fi
36324
36325 if test "$wxUSE_TREECTRL" = "yes"; then
36326     if test "$wxUSE_IMAGLIST" = "yes"; then
36327         $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36328
36329         USES_CONTROLS=1
36330         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36331     else
36332         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36333 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36334     fi
36335 fi
36336
36337 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36338     $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36339
36340     USES_CONTROLS=1
36341     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
36342 fi
36343
36344 if test "$wxUSE_POPUPWIN" = "yes"; then
36345     if test "$wxUSE_OLD_COCOA" = 1 ; then
36346         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36347 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36348     else
36349         if test "$wxUSE_PM" = 1; then
36350             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36351 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36352         else
36353             $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36354
36355             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
36356
36357             USES_CONTROLS=1
36358         fi
36359     fi
36360 fi
36361
36362 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36363     if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36364         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36365 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36366     else
36367         $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36368
36369         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
36370     fi
36371 fi
36372
36373 if test "$wxUSE_TIPWINDOW" = "yes"; then
36374     if test "$wxUSE_PM" = 1; then
36375         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36376 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36377     else
36378         $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36379
36380     fi
36381 fi
36382
36383 if test "$USES_CONTROLS" = 1; then
36384     $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36385
36386 fi
36387
36388
36389 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36390     $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36391
36392     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36393 fi
36394
36395 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36396     $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36397
36398 fi
36399
36400 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36401             if test "$wxUSE_GTK" != 1; then
36402                 if test "$wxUSE_LIBPNG" != no -a \
36403                 "$wxUSE_IMAGE" = yes -a \
36404                 "$wxUSE_STREAMS" = yes; then
36405             wxUSE_ARTPROVIDER_TANGO="yes"
36406         fi
36407     fi
36408 fi
36409
36410 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36411     $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36412
36413 fi
36414
36415 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36416     $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36417
36418     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36419 fi
36420
36421 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36422     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36423         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36424 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36425     else
36426         $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36427
36428         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36429     fi
36430 fi
36431
36432 USE_HTML=0
36433 if test "$wxUSE_HTML" = "yes"; then
36434     $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36435
36436     USE_HTML=1
36437     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36438 fi
36439 if test "$wxUSE_WEBKIT" = "yes"; then
36440     if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36441         old_CPPFLAGS="$CPPFLAGS"
36442         CPPFLAGS="-x objective-c++ $CPPFLAGS"
36443         ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36444                            #include <Carbon/Carbon.h>
36445                            #include <WebKit/WebKit.h>
36446
36447 "
36448 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36449
36450                            $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36451
36452                            WEBKIT_LINK="-framework WebKit"
36453
36454 else
36455
36456                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36457 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36458                            wxUSE_WEBKIT=no
36459
36460 fi
36461
36462
36463         CPPFLAGS="$old_CPPFLAGS"
36464     elif test "$wxUSE_OLD_COCOA" = 1; then
36465         $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36466
36467     else
36468         wxUSE_WEBKIT=no
36469     fi
36470     if test "$wxUSE_WEBKIT" = "yes"; then
36471         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36472     fi
36473 fi
36474
36475 USE_XRC=0
36476 if test "$wxUSE_XRC" = "yes"; then
36477     if test "$wxUSE_XML" != "yes"; then
36478         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36479 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36480         wxUSE_XRC=no
36481     else
36482         $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36483
36484         USE_XRC=1
36485         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36486     fi
36487 fi
36488
36489 USE_AUI=0
36490 if test "$wxUSE_AUI" = "yes"; then
36491    $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36492
36493    USE_AUI=1
36494    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36495 fi
36496
36497 USE_PROPGRID=0
36498 if test "$wxUSE_PROPGRID" = "yes"; then
36499    $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36500
36501    USE_PROPGRID=1
36502    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36503 fi
36504
36505 USE_RIBBON=0
36506 if test "$wxUSE_RIBBON" = "yes"; then
36507    $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36508
36509    USE_RIBBON=1
36510    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36511 fi
36512
36513 USE_STC=0
36514 if test "$wxUSE_STC" = "yes"; then
36515    $as_echo "#define wxUSE_STC 1" >>confdefs.h
36516
36517    USE_STC=1
36518    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36519
36520       # Extract the first word of "python", so it can be a program name with args.
36521 set dummy python; ac_word=$2
36522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36523 $as_echo_n "checking for $ac_word... " >&6; }
36524 if ${ac_cv_path_PYTHON+:} false; then :
36525   $as_echo_n "(cached) " >&6
36526 else
36527   case $PYTHON in
36528   [\\/]* | ?:[\\/]*)
36529   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36530   ;;
36531   *)
36532   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36533 for as_dir in $PATH
36534 do
36535   IFS=$as_save_IFS
36536   test -z "$as_dir" && as_dir=.
36537     for ac_exec_ext in '' $ac_executable_extensions; do
36538   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36539     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36541     break 2
36542   fi
36543 done
36544   done
36545 IFS=$as_save_IFS
36546
36547   ;;
36548 esac
36549 fi
36550 PYTHON=$ac_cv_path_PYTHON
36551 if test -n "$PYTHON"; then
36552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36553 $as_echo "$PYTHON" >&6; }
36554 else
36555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36556 $as_echo "no" >&6; }
36557 fi
36558
36559
36560    if test "x$PYTHON" = "x"; then
36561      COND_PYTHON="#"
36562    fi
36563
36564 fi
36565
36566 if test "$wxUSE_MENUS" = "yes"; then
36567     $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36568
36569     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36570 fi
36571
36572 if test "$wxUSE_MIMETYPE" = "yes"; then
36573     $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36574
36575 fi
36576
36577 if test "$wxUSE_MINIFRAME" = "yes"; then
36578     $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36579
36580 fi
36581
36582 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36583     $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36584
36585 fi
36586
36587 if test "$wxUSE_TASKBARICON" = "yes"; then
36588     $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36589
36590                 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36591
36592     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36593 fi
36594
36595
36596 if test "$wxUSE_VALIDATORS" = "yes"; then
36597     $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36598
36599     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36600 fi
36601
36602 if test "$wxUSE_PALETTE" = "yes" ; then
36603     if test "$wxUSE_DFB" = 1; then
36604         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36605 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36606         wxUSE_PALETTE=no
36607     else
36608         $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36609
36610     fi
36611 fi
36612
36613 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36614     LIBS=" -lunicows $LIBS"
36615 fi
36616
36617 USE_RICHTEXT=0
36618 if test "$wxUSE_RICHTEXT" = "yes"; then
36619     $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36620
36621     USE_RICHTEXT=1
36622     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36623 fi
36624
36625 if test "$wxUSE_WEBVIEW" = "yes"; then
36626     USE_WEBVIEW_WEBKIT=0
36627     if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36628         if test "$wxUSE_GTK" = 1; then
36629             webkitgtk=webkit-1.0
36630             if test "$WXGTK3" = 1; then
36631                 webkitgtk=webkitgtk-3.0
36632             fi
36633
36634 pkg_failed=no
36635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36636 $as_echo_n "checking for WEBKIT... " >&6; }
36637
36638 if test -n "$PKG_CONFIG"; then
36639     if test -n "$WEBKIT_CFLAGS"; then
36640         pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36641     else
36642         if test -n "$PKG_CONFIG" && \
36643     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36644   ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36645   ac_status=$?
36646   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36647   test $ac_status = 0; }; then
36648   pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36649 else
36650   pkg_failed=yes
36651 fi
36652     fi
36653 else
36654         pkg_failed=untried
36655 fi
36656 if test -n "$PKG_CONFIG"; then
36657     if test -n "$WEBKIT_LIBS"; then
36658         pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36659     else
36660         if test -n "$PKG_CONFIG" && \
36661     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36662   ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36663   ac_status=$?
36664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36665   test $ac_status = 0; }; then
36666   pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36667 else
36668   pkg_failed=yes
36669 fi
36670     fi
36671 else
36672         pkg_failed=untried
36673 fi
36674
36675
36676
36677 if test $pkg_failed = yes; then
36678
36679 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36680         _pkg_short_errors_supported=yes
36681 else
36682         _pkg_short_errors_supported=no
36683 fi
36684         if test $_pkg_short_errors_supported = yes; then
36685                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36686         else
36687                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36688         fi
36689         # Put the nasty error message in config.log where it belongs
36690         echo "$WEBKIT_PKG_ERRORS" >&5
36691
36692
36693                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36694 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36695
36696 elif test $pkg_failed = untried; then
36697
36698                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36699 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36700
36701 else
36702         WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36703         WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36704         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36705 $as_echo "yes" >&6; }
36706
36707                                 USE_WEBVIEW_WEBKIT=1
36708                                 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36709                                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36710
36711 fi
36712         elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36713                                     old_CPPFLAGS="$CPPFLAGS"
36714             CPPFLAGS="-x objective-c++ $CPPFLAGS"
36715             ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36716                                 #include <Carbon/Carbon.h>
36717                                 #include <WebKit/WebKit.h>
36718
36719 "
36720 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36721
36722                                 USE_WEBVIEW_WEBKIT=1
36723                                 WEBKIT_LINK="-framework WebKit"
36724
36725 else
36726
36727                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36728 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36729
36730 fi
36731
36732
36733             CPPFLAGS="$old_CPPFLAGS"
36734         fi
36735     fi
36736
36737     wxUSE_WEBVIEW="no"
36738     if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36739         if test "$USE_WEBVIEW_WEBKIT" = 1; then
36740             wxUSE_WEBVIEW="yes"
36741             $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36742
36743         else
36744             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36745 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36746         fi
36747     elif test "$wxUSE_MSW" = 1; then
36748         if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36749                                     wxUSE_WEBVIEW="yes"
36750             $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36751
36752         fi
36753     fi
36754 fi
36755
36756 if test "$wxUSE_WEBVIEW" = "yes"; then
36757     USE_WEBVIEW=1
36758     $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36759
36760     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
36761 else
36762     USE_WEBVIEW=0
36763 fi
36764
36765
36766 if test "$wxUSE_IMAGE" = "yes" ; then
36767     $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36768
36769
36770     if test "$wxUSE_GIF" = "yes" ; then
36771       $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36772
36773     fi
36774
36775     if test "$wxUSE_PCX" = "yes" ; then
36776       $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36777
36778     fi
36779
36780     if test "$wxUSE_TGA" = "yes" ; then
36781       $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36782
36783     fi
36784
36785     if test "$wxUSE_IFF" = "yes" ; then
36786       $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36787
36788     fi
36789
36790     if test "$wxUSE_PNM" = "yes" ; then
36791       $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36792
36793     fi
36794
36795     if test "$wxUSE_XPM" = "yes" ; then
36796       $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36797
36798     fi
36799
36800     if test "$wxUSE_ICO_CUR" = "yes" ; then
36801       $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36802
36803     fi
36804 fi
36805
36806
36807 if test "$wxUSE_ABOUTDLG" = "yes"; then
36808     $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36809
36810 fi
36811
36812 if test "$wxUSE_CHOICEDLG" = "yes"; then
36813     $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36814
36815 fi
36816
36817 if test "$wxUSE_COLOURDLG" = "yes"; then
36818     $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36819
36820 fi
36821
36822 if test "$wxUSE_FILEDLG" = "yes"; then
36823     $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36824
36825 fi
36826
36827 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36828     $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36829
36830 fi
36831
36832 if test "$wxUSE_FONTDLG" = "yes"; then
36833     $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36834
36835 fi
36836
36837 if test "$wxUSE_DIRDLG" = "yes"; then
36838     if test "$wxUSE_TREECTRL" != "yes"; then
36839         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36840 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36841     else
36842         $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36843
36844     fi
36845 fi
36846
36847 if test "$wxUSE_MSGDLG" = "yes"; then
36848     $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36849
36850 fi
36851
36852 if test "$wxUSE_NUMBERDLG" = "yes"; then
36853     $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36854
36855 fi
36856
36857 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36858     $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36859
36860 fi
36861
36862 if test "$wxUSE_SPLASH" = "yes"; then
36863     $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36864
36865     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
36866 fi
36867
36868 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36869     $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36870
36871 fi
36872
36873 if test "$wxUSE_TEXTDLG" = "yes"; then
36874     $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36875
36876 fi
36877
36878 if test "$wxUSE_WIZARDDLG" = "yes"; then
36879     $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36880
36881     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
36882 fi
36883
36884
36885 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36886     if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36887         $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36888
36889     fi
36890 fi
36891
36892
36893 if test "$wxUSE_MSW" = 1 ; then
36894
36895     if test "$wxUSE_DC_CACHEING" = "yes"; then
36896         $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36897
36898     fi
36899
36900     if test "$wxUSE_DIB" = "yes"; then
36901         $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36902
36903     fi
36904
36905     if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
36906         $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
36907
36908     fi
36909
36910     if test "$wxUSE_UXTHEME" = "yes"; then
36911         $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
36912
36913     fi
36914
36915 fi
36916
36917 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
36918     $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
36919
36920 fi
36921
36922 if test "$USE_WIN32" = 1 ; then
36923     if test "$wxUSE_INICONF" = "yes"; then
36924         $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
36925
36926     fi
36927
36928     if test "$wxUSE_REGKEY" = "yes"; then
36929         $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
36930
36931     fi
36932 fi
36933
36934
36935 if test "$wxUSE_MAC" = 1; then
36936     wxUSE_GRAPHICS_CONTEXT="yes"
36937 fi
36938
36939 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
36940     wx_has_graphics=0
36941     if test "$wxUSE_MSW" = 1; then
36942         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
36943 $as_echo_n "checking if GDI+ is available... " >&6; }
36944 if ${wx_cv_lib_gdiplus+:} false; then :
36945   $as_echo_n "(cached) " >&6
36946 else
36947
36948                                                 ac_ext=cpp
36949 ac_cpp='$CXXCPP $CPPFLAGS'
36950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36953
36954                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36955 /* end confdefs.h.  */
36956 #include <windows.h>
36957                      #include <gdiplus.h>
36958 int
36959 main ()
36960 {
36961
36962                         using namespace Gdiplus;
36963
36964   ;
36965   return 0;
36966 }
36967 _ACEOF
36968 if ac_fn_cxx_try_compile "$LINENO"; then :
36969   wx_cv_lib_gdiplus=yes
36970 else
36971   wx_cv_lib_gdiplus=no
36972
36973 fi
36974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36975                 ac_ext=c
36976 ac_cpp='$CPP $CPPFLAGS'
36977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36980
36981
36982
36983 fi
36984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
36985 $as_echo "$wx_cv_lib_gdiplus" >&6; }
36986         if test "$wx_cv_lib_gdiplus" = "yes"; then
36987             wx_has_graphics=1
36988         fi
36989     elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
36990
36991 pkg_failed=no
36992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
36993 $as_echo_n "checking for CAIRO... " >&6; }
36994
36995 if test -n "$PKG_CONFIG"; then
36996     if test -n "$CAIRO_CFLAGS"; then
36997         pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
36998     else
36999         if test -n "$PKG_CONFIG" && \
37000     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37001   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37002   ac_status=$?
37003   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37004   test $ac_status = 0; }; then
37005   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
37006 else
37007   pkg_failed=yes
37008 fi
37009     fi
37010 else
37011         pkg_failed=untried
37012 fi
37013 if test -n "$PKG_CONFIG"; then
37014     if test -n "$CAIRO_LIBS"; then
37015         pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
37016     else
37017         if test -n "$PKG_CONFIG" && \
37018     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37019   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37020   ac_status=$?
37021   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37022   test $ac_status = 0; }; then
37023   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
37024 else
37025   pkg_failed=yes
37026 fi
37027     fi
37028 else
37029         pkg_failed=untried
37030 fi
37031
37032
37033
37034 if test $pkg_failed = yes; then
37035
37036 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37037         _pkg_short_errors_supported=yes
37038 else
37039         _pkg_short_errors_supported=no
37040 fi
37041         if test $_pkg_short_errors_supported = yes; then
37042                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
37043         else
37044                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
37045         fi
37046         # Put the nasty error message in config.log where it belongs
37047         echo "$CAIRO_PKG_ERRORS" >&5
37048
37049         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37050 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37051
37052 elif test $pkg_failed = untried; then
37053         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37054 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37055
37056 else
37057         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
37058         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
37059         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37060 $as_echo "yes" >&6; }
37061         wx_has_graphics=1
37062 fi
37063         if test "$wx_has_graphics" = 1; then
37064                                                 save_LIBS="$LIBS"
37065             LIBS="$LIBS $CAIRO_LIBS"
37066             for ac_func in cairo_push_group
37067 do :
37068   ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37069 if test "x$ac_cv_func_cairo_push_group" = xyes; then :
37070   cat >>confdefs.h <<_ACEOF
37071 #define HAVE_CAIRO_PUSH_GROUP 1
37072 _ACEOF
37073
37074 fi
37075 done
37076
37077             LIBS="$save_LIBS"
37078             if test "$ac_cv_func_cairo_push_group" = "no"; then
37079                 wx_has_graphics=0
37080                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37081 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37082             else
37083                 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37084
37085
37086                                                 if test "$wxUSE_GTK" != 1; then
37087                     CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
37088                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
37089                 fi
37090             fi
37091         fi
37092     else
37093                 wx_has_graphics=1
37094     fi
37095
37096     if test "$wx_has_graphics" = 1; then
37097         $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37098
37099     else
37100         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37101 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37102     fi
37103 fi
37104
37105
37106 USE_MEDIA=0
37107
37108 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37109     USE_MEDIA=1
37110
37111                 if test "$wxUSE_GTK" = 1; then
37112         wxUSE_GSTREAMER="no"
37113
37114                                                                 GST_VERSION_MAJOR=0
37115         GST_VERSION_MINOR=10
37116         GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37117
37118         if test "$wxUSE_GSTREAMER8" = "no"; then
37119
37120 pkg_failed=no
37121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37122 $as_echo_n "checking for GST... " >&6; }
37123
37124 if test -n "$PKG_CONFIG"; then
37125     if test -n "$GST_CFLAGS"; then
37126         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37127     else
37128         if test -n "$PKG_CONFIG" && \
37129     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37130   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37131   ac_status=$?
37132   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37133   test $ac_status = 0; }; then
37134   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37135 else
37136   pkg_failed=yes
37137 fi
37138     fi
37139 else
37140         pkg_failed=untried
37141 fi
37142 if test -n "$PKG_CONFIG"; then
37143     if test -n "$GST_LIBS"; then
37144         pkg_cv_GST_LIBS="$GST_LIBS"
37145     else
37146         if test -n "$PKG_CONFIG" && \
37147     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37148   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37149   ac_status=$?
37150   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37151   test $ac_status = 0; }; then
37152   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37153 else
37154   pkg_failed=yes
37155 fi
37156     fi
37157 else
37158         pkg_failed=untried
37159 fi
37160
37161
37162
37163 if test $pkg_failed = yes; then
37164
37165 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37166         _pkg_short_errors_supported=yes
37167 else
37168         _pkg_short_errors_supported=no
37169 fi
37170         if test $_pkg_short_errors_supported = yes; then
37171                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37172         else
37173                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37174         fi
37175         # Put the nasty error message in config.log where it belongs
37176         echo "$GST_PKG_ERRORS" >&5
37177
37178
37179                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37180 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37181                     GST_VERSION_MINOR=8
37182
37183
37184 elif test $pkg_failed = untried; then
37185
37186                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37187 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37188                     GST_VERSION_MINOR=8
37189
37190
37191 else
37192         GST_CFLAGS=$pkg_cv_GST_CFLAGS
37193         GST_LIBS=$pkg_cv_GST_LIBS
37194         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37195 $as_echo "yes" >&6; }
37196
37197                     wxUSE_GSTREAMER="yes"
37198                     GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37199
37200 fi
37201         else
37202                         GST_VERSION_MINOR=8
37203         fi
37204
37205         if test $GST_VERSION_MINOR = "8"; then
37206             GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37207
37208 pkg_failed=no
37209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37210 $as_echo_n "checking for GST... " >&6; }
37211
37212 if test -n "$PKG_CONFIG"; then
37213     if test -n "$GST_CFLAGS"; then
37214         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37215     else
37216         if test -n "$PKG_CONFIG" && \
37217     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37218   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37219   ac_status=$?
37220   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37221   test $ac_status = 0; }; then
37222   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37223 else
37224   pkg_failed=yes
37225 fi
37226     fi
37227 else
37228         pkg_failed=untried
37229 fi
37230 if test -n "$PKG_CONFIG"; then
37231     if test -n "$GST_LIBS"; then
37232         pkg_cv_GST_LIBS="$GST_LIBS"
37233     else
37234         if test -n "$PKG_CONFIG" && \
37235     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37236   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37237   ac_status=$?
37238   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37239   test $ac_status = 0; }; then
37240   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37241 else
37242   pkg_failed=yes
37243 fi
37244     fi
37245 else
37246         pkg_failed=untried
37247 fi
37248
37249
37250
37251 if test $pkg_failed = yes; then
37252
37253 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37254         _pkg_short_errors_supported=yes
37255 else
37256         _pkg_short_errors_supported=no
37257 fi
37258         if test $_pkg_short_errors_supported = yes; then
37259                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37260         else
37261                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37262         fi
37263         # Put the nasty error message in config.log where it belongs
37264         echo "$GST_PKG_ERRORS" >&5
37265
37266
37267                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37268 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37269
37270 elif test $pkg_failed = untried; then
37271
37272                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37273 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37274
37275 else
37276         GST_CFLAGS=$pkg_cv_GST_CFLAGS
37277         GST_LIBS=$pkg_cv_GST_LIBS
37278         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37279 $as_echo "yes" >&6; }
37280         wxUSE_GSTREAMER="yes"
37281 fi
37282         fi
37283
37284
37285         if test "$wxUSE_GSTREAMER" = "yes"; then
37286             CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
37287             EXTRALIBS_MEDIA="$GST_LIBS"
37288
37289             $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37290
37291         else
37292             USE_MEDIA=0
37293         fi
37294
37295     elif test "$wxUSE_MAC" = 1; then
37296                            GST_LIBS="-framework QTKit"
37297     fi
37298
37299     if test $USE_MEDIA = 1; then
37300         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
37301         $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37302
37303     else
37304         if test "$wxUSE_MEDIACTRL" = "yes"; then
37305             as_fn_error $? "GStreamer not available" "$LINENO" 5
37306         else
37307                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37308 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37309         fi
37310     fi
37311 fi
37312
37313
37314 if test "$cross_compiling" != "no"; then
37315         OSINFO="\"$host\""
37316 else
37317         OSINFO=`uname -s -r -m`
37318     OSINFO="\"$OSINFO\""
37319 fi
37320
37321 cat >>confdefs.h <<_ACEOF
37322 #define WXWIN_OS_DESCRIPTION $OSINFO
37323 _ACEOF
37324
37325
37326
37327 if test "x$prefix" != "xNONE"; then
37328     wxPREFIX=$prefix
37329 else
37330     wxPREFIX=$ac_default_prefix
37331 fi
37332
37333 cat >>confdefs.h <<_ACEOF
37334 #define wxINSTALL_PREFIX "$wxPREFIX"
37335 _ACEOF
37336
37337
37338
37339
37340 STD_BASE_LIBS="base"
37341 STD_GUI_LIBS=""
37342 BUILT_WX_LIBS="base"
37343 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
37344
37345 if test "$wxUSE_SOCKETS" = "yes" ; then
37346     STD_BASE_LIBS="net $STD_BASE_LIBS"
37347     BUILT_WX_LIBS="net $BUILT_WX_LIBS"
37348 fi
37349 if test "$wxUSE_XML" = "yes" ; then
37350     STD_BASE_LIBS="xml $STD_BASE_LIBS"
37351     BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
37352 fi
37353
37354 if test "$wxUSE_GUI" = "yes"; then
37355     STD_GUI_LIBS="adv core"
37356     BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
37357
37358     if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37359         STD_GUI_LIBS="qa $STD_GUI_LIBS"
37360         BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
37361     fi
37362     if test "$wxUSE_HTML" = "yes" ; then
37363         STD_GUI_LIBS="html $STD_GUI_LIBS"
37364         BUILT_WX_LIBS="html $BUILT_WX_LIBS"
37365     fi
37366     if test "$wxUSE_MEDIACTRL" = "yes" ; then
37367         BUILT_WX_LIBS="media $BUILT_WX_LIBS"
37368     fi
37369     if test "$wxUSE_OPENGL" = "yes" ; then
37370         BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
37371     fi
37372     if test "$wxUSE_AUI" = "yes" ; then
37373         BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
37374     fi
37375     if test "$wxUSE_PROPGRID" = "yes" ; then
37376         BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
37377     fi
37378     if test "$wxUSE_RIBBON" = "yes" ; then
37379         BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
37380     fi
37381     if test "$wxUSE_RICHTEXT" = "yes" ; then
37382         BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
37383     fi
37384     if test "$wxUSE_STC" = "yes" ; then
37385         BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
37386     fi
37387     if test "$wxUSE_WEBVIEW" = "yes" ; then
37388         STD_GUI_LIBS="webview $STD_GUI_LIBS"
37389         BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
37390     fi
37391     if test "$wxUSE_XRC" = "yes" ; then
37392         STD_GUI_LIBS="xrc $STD_GUI_LIBS"
37393         BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
37394     fi
37395 fi
37396
37397
37398
37399
37400
37401
37402
37403 EXTRA_FRAMEWORKS=
37404 if test "$wxUSE_MAC" = 1 ; then
37405     if test "$USE_DARWIN" = 1; then
37406         if test "$wxUSE_OSX_IPHONE" = 1; then
37407             EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37408         else
37409             EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37410
37411
37412             if test "$cross_compiling" != "no"; then
37413                                                                                                 wx_cv_target_x86_64=no
37414             else
37415                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37416 $as_echo_n "checking if we target only x86_64... " >&6; }
37417 if ${wx_cv_target_x86_64+:} false; then :
37418   $as_echo_n "(cached) " >&6
37419 else
37420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37421 /* end confdefs.h.  */
37422 int main() { return 0; }
37423 _ACEOF
37424 if ac_fn_c_try_link "$LINENO"; then :
37425   if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
37426                             wx_cv_target_x86_64=no
37427                         else
37428                             wx_cv_target_x86_64=yes
37429                         fi
37430
37431 fi
37432 rm -f core conftest.err conftest.$ac_objext \
37433     conftest$ac_exeext conftest.$ac_ext
37434
37435 fi
37436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37437 $as_echo "$wx_cv_target_x86_64" >&6; }
37438             fi
37439
37440             if test "$wx_cv_target_x86_64" != "yes"; then
37441                 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37442             fi
37443         fi
37444     fi
37445 fi
37446 if test "$wxUSE_OLD_COCOA" = 1 ; then
37447     EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
37448     if test "$wxUSE_MEDIACTRL" = "yes"; then
37449         EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37450     fi
37451 fi
37452 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37453     EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37454 fi
37455
37456 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37457 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37458
37459 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37460
37461 if test "$wxUSE_GUI" = "yes"; then
37462
37463
37464         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37465                      erase event exec font image minimal render \
37466                      shaped svg taborder vscroll widgets wrapsizer"
37467
37468     if test "$wxUSE_MONOLITHIC" != "yes"; then
37469         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37470     fi
37471     if test "$TOOLKIT" = "MSW"; then
37472         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37473         if test "$wxUSE_UNIVERSAL" != "yes"; then
37474             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37475         fi
37476     fi
37477     if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37478         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37479     fi
37480 else
37481     SAMPLES_SUBDIRS="console"
37482     if test "$wxUSE_SOCKETS" = "yes" ; then
37483         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37484     fi
37485     if test "$wxUSE_IPC" = "yes" ; then
37486         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37487     fi
37488 fi
37489
37490
37491 if test "x$INTELCC" = "xyes" ; then
37492                                         CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37493 elif test "$GCC" = yes ; then
37494     CWARNINGS="-Wall -Wundef"
37495 fi
37496
37497 if test "x$INTELCXX" = "xyes" ; then
37498                                                                 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37499 elif test "$GXX" = yes ; then
37500     CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37501     { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37502 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37503 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false; then :
37504   $as_echo_n "(cached) " >&6
37505 else
37506   ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37507
37508  ac_ext=cpp
37509 ac_cpp='$CXXCPP $CPPFLAGS'
37510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37513
37514  ac_save_CXXFLAGS="$CXXFLAGS"
37515 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual"     "-pedantic % -Woverloaded-virtual %% no, obsolete"     #
37516 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37517    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37518 /* end confdefs.h.  */
37519
37520 int
37521 main ()
37522 {
37523 return 0;
37524   ;
37525   return 0;
37526 }
37527 _ACEOF
37528 if ac_fn_cxx_try_compile "$LINENO"; then :
37529   ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37530 fi
37531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37532 done
37533  CXXFLAGS="$ac_save_CXXFLAGS"
37534  ac_ext=c
37535 ac_cpp='$CPP $CPPFLAGS'
37536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37539
37540
37541 fi
37542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37543 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37544 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37545      .ok|.ok,*)  ;;
37546    .|.no|.no,*)  ;;
37547    *)
37548    if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37549    then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37550   (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37551   ac_status=$?
37552   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37553   test $ac_status = 0; }
37554    else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37555   (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37556   ac_status=$?
37557   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37558   test $ac_status = 0; }
37559                       CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37560    fi
37561  ;;
37562 esac
37563
37564
37565                     if test "$wxUSE_MAC" = 1 ; then
37566         CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37567     fi
37568 fi
37569
37570
37571 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37572 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37573
37574
37575 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37576  -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37577  -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37578  $CPPFLAGS `
37579
37580 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37581 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37582 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37583 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37584 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37585
37586 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37587
37588
37589 if test "x$MWCC" = "xyes"; then
37590
37591             CC="$CC -cwd source -I-"
37592     CXX="$CXX -cwd source -I-"
37593 fi
37594
37595
37596 LIBS=`echo $LIBS`
37597 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37598 EXTRALIBS_XML="$EXPAT_LINK"
37599 EXTRALIBS_HTML="$MSPACK_LINK"
37600 EXTRALIBS_MEDIA="$GST_LIBS"
37601 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37602 if test "$wxUSE_GUI" = "yes"; then
37603     EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37604 fi
37605 if test "$wxUSE_OPENGL" = "yes"; then
37606     EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37607 fi
37608
37609 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37610
37611 WXCONFIG_LIBS="$LIBS"
37612
37613 if test "$wxUSE_REGEX" = "builtin" ; then
37614     wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37615 fi
37616 if test "$wxUSE_EXPAT" = "builtin" ; then
37617     wxconfig_3rdparty="expat $wxconfig_3rdparty"
37618 fi
37619 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37620     wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37621 fi
37622 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37623     wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37624 fi
37625 if test "$wxUSE_LIBPNG" = "builtin" ; then
37626     wxconfig_3rdparty="png $wxconfig_3rdparty"
37627 fi
37628 if test "$wxUSE_ZLIB" = "builtin" ; then
37629     wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37630 fi
37631
37632 for i in $wxconfig_3rdparty ; do
37633     WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37634 done
37635
37636
37637 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37638     WXUNIV=1
37639
37640     case "$wxUNIV_THEMES" in
37641         ''|all)
37642             $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37643
37644             ;;
37645
37646         *)
37647             for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37648                 cat >>confdefs.h <<_ACEOF
37649 #define wxUSE_THEME_$t 1
37650 _ACEOF
37651
37652             done
37653     esac
37654 else
37655     WXUNIV=0
37656 fi
37657
37658
37659
37660
37661
37662
37663
37664
37665 if test $wxUSE_MONOLITHIC = "yes" ; then
37666     MONOLITHIC=1
37667 else
37668     MONOLITHIC=0
37669 fi
37670
37671 if test $wxUSE_PLUGINS = "yes" ; then
37672     USE_PLUGINS=1
37673 else
37674     USE_PLUGINS=0
37675 fi
37676
37677 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37678     USE_QA=1
37679 else
37680     USE_QA=0
37681 fi
37682
37683 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37684     OFFICIAL_BUILD=1
37685 else
37686     OFFICIAL_BUILD=0
37687 fi
37688
37689
37690
37691
37692
37693
37694
37695
37696
37697
37698
37699
37700
37701
37702
37703
37704
37705
37706
37707
37708
37709
37710
37711 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37712
37713
37714
37715
37716
37717
37718
37719
37720
37721
37722 case "$TOOLKIT" in
37723     GTK)
37724         TOOLKIT_DESC="GTK+"
37725         if test "$WXGTK2" = 1; then
37726             if test "$WXGTK3" = 1; then
37727                 TOOLKIT_DESC="$TOOLKIT_DESC 3"
37728             else
37729                 TOOLKIT_DESC="$TOOLKIT_DESC 2"
37730             fi
37731             if test "$wxUSE_GTKPRINT" = "yes" ; then
37732                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
37733             fi
37734             if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37735                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
37736             fi
37737             if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37738                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
37739             fi
37740             if test "$wxUSE_LIBNOTIFY" = "yes" ; then
37741                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA libnotify"
37742             fi
37743             if test "$wxUSE_LIBHILDON" = "yes"; then
37744                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37745             fi
37746             if test "$wxUSE_LIBHILDON2" = "yes"; then
37747                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37748             fi
37749
37750             if test "$TOOLKIT_EXTRA" != ""; then
37751                 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37752             fi
37753         fi
37754         ;;
37755
37756     ?*)
37757         TOOLKIT_DESC=$TOOLKIT_LOWERCASE
37758         ;;
37759
37760     *)
37761         TOOLKIT_DESC="base only"
37762         ;;
37763 esac
37764
37765 if test "$wxUSE_WINE" = "yes"; then
37766     BAKEFILE_FORCE_PLATFORM=win32
37767 fi
37768
37769 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37770 then
37771     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37772 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37773 if ${wx_cv_gcc_pch_bug+:} false; then :
37774   $as_echo_n "(cached) " >&6
37775 else
37776
37777             echo '#include <stdio.h>
37778                   const wchar_t test_var[] = L"awidetest";' > conftest.h
37779
37780             echo '#include "conftest.h"
37781                   int main()
37782                   {
37783                      printf("%ls", test_var);
37784                      return 0;
37785                   }' > conftest.cpp
37786
37787             wx_cv_gcc_pch_bug="pch not supported"
37788
37789             if $CXX conftest.h >/dev/null 2>&1
37790             then
37791                 wx_cv_gcc_pch_bug=
37792
37793                 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
37794                 then
37795                     if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
37796                         grep awidetest >/dev/null
37797                     then
37798                         wx_cv_gcc_pch_bug=no
37799                     else
37800                         wx_cv_gcc_pch_bug=yes
37801                     fi
37802                 fi
37803             fi
37804
37805             rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
37806
37807 fi
37808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37809 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37810
37811     if test "$wx_cv_gcc_pch_bug" = yes; then
37812                         bk_use_pch=no
37813     fi
37814 fi
37815
37816 # Find a good install program.  We prefer a C program (faster),
37817 # so one script is as good as another.  But avoid the broken or
37818 # incompatible versions:
37819 # SysV /etc/install, /usr/sbin/install
37820 # SunOS /usr/etc/install
37821 # IRIX /sbin/install
37822 # AIX /bin/install
37823 # AmigaOS /C/install, which installs bootblocks on floppy discs
37824 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37825 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37826 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37827 # OS/2's system install, which has a completely different semantic
37828 # ./install, which can be erroneously created by make from ./install.sh.
37829 # Reject install programs that cannot install multiple files.
37830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37831 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37832 if test -z "$INSTALL"; then
37833 if ${ac_cv_path_install+:} false; then :
37834   $as_echo_n "(cached) " >&6
37835 else
37836   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37837 for as_dir in $PATH
37838 do
37839   IFS=$as_save_IFS
37840   test -z "$as_dir" && as_dir=.
37841     # Account for people who put trailing slashes in PATH elements.
37842 case $as_dir/ in #((
37843   ./ | .// | /[cC]/* | \
37844   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37845   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
37846   /usr/ucb/* ) ;;
37847   *)
37848     # OSF1 and SCO ODT 3.0 have their own names for install.
37849     # Don't use installbsd from OSF since it installs stuff as root
37850     # by default.
37851     for ac_prog in ginstall scoinst install; do
37852       for ac_exec_ext in '' $ac_executable_extensions; do
37853         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37854           if test $ac_prog = install &&
37855             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37856             # AIX install.  It has an incompatible calling convention.
37857             :
37858           elif test $ac_prog = install &&
37859             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37860             # program-specific install script used by HP pwplus--don't use.
37861             :
37862           else
37863             rm -rf conftest.one conftest.two conftest.dir
37864             echo one > conftest.one
37865             echo two > conftest.two
37866             mkdir conftest.dir
37867             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
37868               test -s conftest.one && test -s conftest.two &&
37869               test -s conftest.dir/conftest.one &&
37870               test -s conftest.dir/conftest.two
37871             then
37872               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37873               break 3
37874             fi
37875           fi
37876         fi
37877       done
37878     done
37879     ;;
37880 esac
37881
37882   done
37883 IFS=$as_save_IFS
37884
37885 rm -rf conftest.one conftest.two conftest.dir
37886
37887 fi
37888   if test "${ac_cv_path_install+set}" = set; then
37889     INSTALL=$ac_cv_path_install
37890   else
37891     # As a last resort, use the slow shell script.  Don't cache a
37892     # value for INSTALL within a source directory, because that will
37893     # break other packages using the cache if that directory is
37894     # removed, or if the value is a relative name.
37895     INSTALL=$ac_install_sh
37896   fi
37897 fi
37898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37899 $as_echo "$INSTALL" >&6; }
37900
37901 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37902 # It thinks the first close brace ends the variable substitution.
37903 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
37904
37905 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
37906
37907 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
37908
37909
37910
37911
37912
37913
37914
37915     if test "x$BAKEFILE_HOST" = "x"; then
37916                if test "x${host}" = "x" ; then
37917                        as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
37918                fi
37919
37920         BAKEFILE_HOST="${host}"
37921     fi
37922
37923     if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37924
37925     if test -n "$ac_tool_prefix"; then
37926   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37927 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37929 $as_echo_n "checking for $ac_word... " >&6; }
37930 if ${ac_cv_prog_RANLIB+:} false; then :
37931   $as_echo_n "(cached) " >&6
37932 else
37933   if test -n "$RANLIB"; then
37934   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37935 else
37936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37937 for as_dir in $PATH
37938 do
37939   IFS=$as_save_IFS
37940   test -z "$as_dir" && as_dir=.
37941     for ac_exec_ext in '' $ac_executable_extensions; do
37942   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37943     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37944     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37945     break 2
37946   fi
37947 done
37948   done
37949 IFS=$as_save_IFS
37950
37951 fi
37952 fi
37953 RANLIB=$ac_cv_prog_RANLIB
37954 if test -n "$RANLIB"; then
37955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
37956 $as_echo "$RANLIB" >&6; }
37957 else
37958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37959 $as_echo "no" >&6; }
37960 fi
37961
37962
37963 fi
37964 if test -z "$ac_cv_prog_RANLIB"; then
37965   ac_ct_RANLIB=$RANLIB
37966   # Extract the first word of "ranlib", so it can be a program name with args.
37967 set dummy ranlib; ac_word=$2
37968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37969 $as_echo_n "checking for $ac_word... " >&6; }
37970 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
37971   $as_echo_n "(cached) " >&6
37972 else
37973   if test -n "$ac_ct_RANLIB"; then
37974   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37975 else
37976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37977 for as_dir in $PATH
37978 do
37979   IFS=$as_save_IFS
37980   test -z "$as_dir" && as_dir=.
37981     for ac_exec_ext in '' $ac_executable_extensions; do
37982   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37983     ac_cv_prog_ac_ct_RANLIB="ranlib"
37984     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37985     break 2
37986   fi
37987 done
37988   done
37989 IFS=$as_save_IFS
37990
37991 fi
37992 fi
37993 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37994 if test -n "$ac_ct_RANLIB"; then
37995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
37996 $as_echo "$ac_ct_RANLIB" >&6; }
37997 else
37998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37999 $as_echo "no" >&6; }
38000 fi
38001
38002   if test "x$ac_ct_RANLIB" = x; then
38003     RANLIB=":"
38004   else
38005     case $cross_compiling:$ac_tool_warned in
38006 yes:)
38007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38009 ac_tool_warned=yes ;;
38010 esac
38011     RANLIB=$ac_ct_RANLIB
38012   fi
38013 else
38014   RANLIB="$ac_cv_prog_RANLIB"
38015 fi
38016
38017
38018     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
38019 $as_echo_n "checking whether ln -s works... " >&6; }
38020 LN_S=$as_ln_s
38021 if test "$LN_S" = "ln -s"; then
38022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38023 $as_echo "yes" >&6; }
38024 else
38025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
38026 $as_echo "no, using $LN_S" >&6; }
38027 fi
38028
38029
38030     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38031 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
38032 set x ${MAKE-make}
38033 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
38034 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
38035   $as_echo_n "(cached) " >&6
38036 else
38037   cat >conftest.make <<\_ACEOF
38038 SHELL = /bin/sh
38039 all:
38040         @echo '@@@%%%=$(MAKE)=@@@%%%'
38041 _ACEOF
38042 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38043 case `${MAKE-make} -f conftest.make 2>/dev/null` in
38044   *@@@%%%=?*=@@@%%%*)
38045     eval ac_cv_prog_make_${ac_make}_set=yes;;
38046   *)
38047     eval ac_cv_prog_make_${ac_make}_set=no;;
38048 esac
38049 rm -f conftest.make
38050 fi
38051 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
38052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38053 $as_echo "yes" >&6; }
38054   SET_MAKE=
38055 else
38056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38057 $as_echo "no" >&6; }
38058   SET_MAKE="MAKE=${MAKE-make}"
38059 fi
38060
38061
38062
38063     if test "x$SUNCXX" = "xyes"; then
38064                                 AR=$CXX
38065         AROPTIONS="-xar -o"
38066
38067     elif test "x$SGICC" = "xyes"; then
38068                 AR=$CXX
38069         AROPTIONS="-ar -o"
38070
38071     else
38072         if test -n "$ac_tool_prefix"; then
38073   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38074 set dummy ${ac_tool_prefix}ar; ac_word=$2
38075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38076 $as_echo_n "checking for $ac_word... " >&6; }
38077 if ${ac_cv_prog_AR+:} false; then :
38078   $as_echo_n "(cached) " >&6
38079 else
38080   if test -n "$AR"; then
38081   ac_cv_prog_AR="$AR" # Let the user override the test.
38082 else
38083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38084 for as_dir in $PATH
38085 do
38086   IFS=$as_save_IFS
38087   test -z "$as_dir" && as_dir=.
38088     for ac_exec_ext in '' $ac_executable_extensions; do
38089   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38090     ac_cv_prog_AR="${ac_tool_prefix}ar"
38091     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38092     break 2
38093   fi
38094 done
38095   done
38096 IFS=$as_save_IFS
38097
38098 fi
38099 fi
38100 AR=$ac_cv_prog_AR
38101 if test -n "$AR"; then
38102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38103 $as_echo "$AR" >&6; }
38104 else
38105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38106 $as_echo "no" >&6; }
38107 fi
38108
38109
38110 fi
38111 if test -z "$ac_cv_prog_AR"; then
38112   ac_ct_AR=$AR
38113   # Extract the first word of "ar", so it can be a program name with args.
38114 set dummy ar; ac_word=$2
38115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38116 $as_echo_n "checking for $ac_word... " >&6; }
38117 if ${ac_cv_prog_ac_ct_AR+:} false; then :
38118   $as_echo_n "(cached) " >&6
38119 else
38120   if test -n "$ac_ct_AR"; then
38121   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38122 else
38123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38124 for as_dir in $PATH
38125 do
38126   IFS=$as_save_IFS
38127   test -z "$as_dir" && as_dir=.
38128     for ac_exec_ext in '' $ac_executable_extensions; do
38129   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38130     ac_cv_prog_ac_ct_AR="ar"
38131     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38132     break 2
38133   fi
38134 done
38135   done
38136 IFS=$as_save_IFS
38137
38138 fi
38139 fi
38140 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38141 if test -n "$ac_ct_AR"; then
38142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38143 $as_echo "$ac_ct_AR" >&6; }
38144 else
38145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38146 $as_echo "no" >&6; }
38147 fi
38148
38149   if test "x$ac_ct_AR" = x; then
38150     AR="ar"
38151   else
38152     case $cross_compiling:$ac_tool_warned in
38153 yes:)
38154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38156 ac_tool_warned=yes ;;
38157 esac
38158     AR=$ac_ct_AR
38159   fi
38160 else
38161   AR="$ac_cv_prog_AR"
38162 fi
38163
38164         AROPTIONS=rcu
38165     fi
38166
38167
38168     if test -n "$ac_tool_prefix"; then
38169   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38170 set dummy ${ac_tool_prefix}strip; ac_word=$2
38171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38172 $as_echo_n "checking for $ac_word... " >&6; }
38173 if ${ac_cv_prog_STRIP+:} false; then :
38174   $as_echo_n "(cached) " >&6
38175 else
38176   if test -n "$STRIP"; then
38177   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38178 else
38179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38180 for as_dir in $PATH
38181 do
38182   IFS=$as_save_IFS
38183   test -z "$as_dir" && as_dir=.
38184     for ac_exec_ext in '' $ac_executable_extensions; do
38185   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38186     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38187     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38188     break 2
38189   fi
38190 done
38191   done
38192 IFS=$as_save_IFS
38193
38194 fi
38195 fi
38196 STRIP=$ac_cv_prog_STRIP
38197 if test -n "$STRIP"; then
38198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38199 $as_echo "$STRIP" >&6; }
38200 else
38201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38202 $as_echo "no" >&6; }
38203 fi
38204
38205
38206 fi
38207 if test -z "$ac_cv_prog_STRIP"; then
38208   ac_ct_STRIP=$STRIP
38209   # Extract the first word of "strip", so it can be a program name with args.
38210 set dummy strip; ac_word=$2
38211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38212 $as_echo_n "checking for $ac_word... " >&6; }
38213 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
38214   $as_echo_n "(cached) " >&6
38215 else
38216   if test -n "$ac_ct_STRIP"; then
38217   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38218 else
38219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38220 for as_dir in $PATH
38221 do
38222   IFS=$as_save_IFS
38223   test -z "$as_dir" && as_dir=.
38224     for ac_exec_ext in '' $ac_executable_extensions; do
38225   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38226     ac_cv_prog_ac_ct_STRIP="strip"
38227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38228     break 2
38229   fi
38230 done
38231   done
38232 IFS=$as_save_IFS
38233
38234 fi
38235 fi
38236 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38237 if test -n "$ac_ct_STRIP"; then
38238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38239 $as_echo "$ac_ct_STRIP" >&6; }
38240 else
38241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38242 $as_echo "no" >&6; }
38243 fi
38244
38245   if test "x$ac_ct_STRIP" = x; then
38246     STRIP=":"
38247   else
38248     case $cross_compiling:$ac_tool_warned in
38249 yes:)
38250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38252 ac_tool_warned=yes ;;
38253 esac
38254     STRIP=$ac_ct_STRIP
38255   fi
38256 else
38257   STRIP="$ac_cv_prog_STRIP"
38258 fi
38259
38260     if test -n "$ac_tool_prefix"; then
38261   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38262 set dummy ${ac_tool_prefix}nm; ac_word=$2
38263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38264 $as_echo_n "checking for $ac_word... " >&6; }
38265 if ${ac_cv_prog_NM+:} false; then :
38266   $as_echo_n "(cached) " >&6
38267 else
38268   if test -n "$NM"; then
38269   ac_cv_prog_NM="$NM" # Let the user override the test.
38270 else
38271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38272 for as_dir in $PATH
38273 do
38274   IFS=$as_save_IFS
38275   test -z "$as_dir" && as_dir=.
38276     for ac_exec_ext in '' $ac_executable_extensions; do
38277   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38278     ac_cv_prog_NM="${ac_tool_prefix}nm"
38279     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38280     break 2
38281   fi
38282 done
38283   done
38284 IFS=$as_save_IFS
38285
38286 fi
38287 fi
38288 NM=$ac_cv_prog_NM
38289 if test -n "$NM"; then
38290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38291 $as_echo "$NM" >&6; }
38292 else
38293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38294 $as_echo "no" >&6; }
38295 fi
38296
38297
38298 fi
38299 if test -z "$ac_cv_prog_NM"; then
38300   ac_ct_NM=$NM
38301   # Extract the first word of "nm", so it can be a program name with args.
38302 set dummy nm; ac_word=$2
38303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38304 $as_echo_n "checking for $ac_word... " >&6; }
38305 if ${ac_cv_prog_ac_ct_NM+:} false; then :
38306   $as_echo_n "(cached) " >&6
38307 else
38308   if test -n "$ac_ct_NM"; then
38309   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38310 else
38311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38312 for as_dir in $PATH
38313 do
38314   IFS=$as_save_IFS
38315   test -z "$as_dir" && as_dir=.
38316     for ac_exec_ext in '' $ac_executable_extensions; do
38317   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38318     ac_cv_prog_ac_ct_NM="nm"
38319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38320     break 2
38321   fi
38322 done
38323   done
38324 IFS=$as_save_IFS
38325
38326 fi
38327 fi
38328 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38329 if test -n "$ac_ct_NM"; then
38330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38331 $as_echo "$ac_ct_NM" >&6; }
38332 else
38333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38334 $as_echo "no" >&6; }
38335 fi
38336
38337   if test "x$ac_ct_NM" = x; then
38338     NM=":"
38339   else
38340     case $cross_compiling:$ac_tool_warned in
38341 yes:)
38342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38344 ac_tool_warned=yes ;;
38345 esac
38346     NM=$ac_ct_NM
38347   fi
38348 else
38349   NM="$ac_cv_prog_NM"
38350 fi
38351
38352
38353         INSTALL_DIR="mkdir -p"
38354
38355
38356     LDFLAGS_GUI=
38357     case ${BAKEFILE_HOST} in
38358         *-*-cygwin* | *-*-mingw32* )
38359         LDFLAGS_GUI="-mwindows"
38360     esac
38361
38362
38363     fi
38364
38365         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38366 $as_echo_n "checking if make is GNU make... " >&6; }
38367 if ${bakefile_cv_prog_makeisgnu+:} false; then :
38368   $as_echo_n "(cached) " >&6
38369 else
38370
38371         if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38372                 egrep -s GNU > /dev/null); then
38373             bakefile_cv_prog_makeisgnu="yes"
38374         else
38375             bakefile_cv_prog_makeisgnu="no"
38376         fi
38377
38378 fi
38379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38380 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38381
38382     if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38383         IF_GNU_MAKE=""
38384     else
38385         IF_GNU_MAKE="#"
38386     fi
38387
38388
38389
38390     PLATFORM_UNIX=0
38391     PLATFORM_WIN32=0
38392     PLATFORM_MSDOS=0
38393     PLATFORM_MAC=0
38394     PLATFORM_MACOS=0
38395     PLATFORM_MACOSX=0
38396     PLATFORM_OS2=0
38397     PLATFORM_BEOS=0
38398
38399     if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38400         case "${BAKEFILE_HOST}" in
38401             *-*-mingw32* )
38402                 PLATFORM_WIN32=1
38403             ;;
38404             *-pc-msdosdjgpp )
38405                 PLATFORM_MSDOS=1
38406             ;;
38407             *-pc-os2_emx | *-pc-os2-emx )
38408                 PLATFORM_OS2=1
38409             ;;
38410             *-*-darwin* )
38411                 PLATFORM_MAC=1
38412                 PLATFORM_MACOSX=1
38413             ;;
38414             *-*-beos* )
38415                 PLATFORM_BEOS=1
38416             ;;
38417             powerpc-apple-macos* )
38418                 PLATFORM_MAC=1
38419                 PLATFORM_MACOS=1
38420             ;;
38421             * )
38422                 PLATFORM_UNIX=1
38423             ;;
38424         esac
38425     else
38426         case "$BAKEFILE_FORCE_PLATFORM" in
38427             win32 )
38428                 PLATFORM_WIN32=1
38429             ;;
38430             msdos )
38431                 PLATFORM_MSDOS=1
38432             ;;
38433             os2 )
38434                 PLATFORM_OS2=1
38435             ;;
38436             darwin )
38437                 PLATFORM_MAC=1
38438                 PLATFORM_MACOSX=1
38439             ;;
38440             unix )
38441                 PLATFORM_UNIX=1
38442             ;;
38443             beos )
38444                 PLATFORM_BEOS=1
38445             ;;
38446             * )
38447                 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38448             ;;
38449         esac
38450     fi
38451
38452
38453
38454
38455
38456
38457
38458
38459
38460
38461
38462     # Check whether --enable-omf was given.
38463 if test "${enable_omf+set}" = set; then :
38464   enableval=$enable_omf; bk_os2_use_omf="$enableval"
38465 fi
38466
38467
38468     case "${BAKEFILE_HOST}" in
38469       *-*-darwin* )
38470                         if test "x$GCC" = "xyes"; then
38471             CFLAGS="$CFLAGS -fno-common"
38472             CXXFLAGS="$CXXFLAGS -fno-common"
38473         fi
38474         if test "x$XLCC" = "xyes"; then
38475             CFLAGS="$CFLAGS -qnocommon"
38476             CXXFLAGS="$CXXFLAGS -qnocommon"
38477         fi
38478         ;;
38479
38480       *-pc-os2_emx | *-pc-os2-emx )
38481         if test "x$bk_os2_use_omf" = "xyes" ; then
38482             AR=emxomfar
38483             RANLIB=:
38484             LDFLAGS="-Zomf $LDFLAGS"
38485             CFLAGS="-Zomf $CFLAGS"
38486             CXXFLAGS="-Zomf $CXXFLAGS"
38487             OS2_LIBEXT="lib"
38488         else
38489             OS2_LIBEXT="a"
38490         fi
38491         ;;
38492
38493       i*86-*-beos* )
38494         LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38495         ;;
38496     esac
38497
38498
38499     SO_SUFFIX="so"
38500     SO_SUFFIX_MODULE="so"
38501     EXEEXT=""
38502     LIBPREFIX="lib"
38503     LIBEXT=".a"
38504     DLLPREFIX="lib"
38505     DLLPREFIX_MODULE=""
38506     DLLIMP_SUFFIX=""
38507     dlldir="$libdir"
38508
38509     case "${BAKEFILE_HOST}" in
38510                         ia64-hp-hpux* )
38511         ;;
38512         *-hp-hpux* )
38513             SO_SUFFIX="sl"
38514             SO_SUFFIX_MODULE="sl"
38515         ;;
38516         *-*-aix* )
38517                                                                         SO_SUFFIX="a"
38518             SO_SUFFIX_MODULE="a"
38519         ;;
38520         *-*-cygwin* )
38521             SO_SUFFIX="dll"
38522             SO_SUFFIX_MODULE="dll"
38523             DLLIMP_SUFFIX="dll.a"
38524             EXEEXT=".exe"
38525             DLLPREFIX="cyg"
38526             dlldir="$bindir"
38527         ;;
38528         *-*-mingw32* )
38529             SO_SUFFIX="dll"
38530             SO_SUFFIX_MODULE="dll"
38531             DLLIMP_SUFFIX="dll.a"
38532             EXEEXT=".exe"
38533             DLLPREFIX=""
38534             dlldir="$bindir"
38535         ;;
38536         *-pc-msdosdjgpp )
38537             EXEEXT=".exe"
38538             DLLPREFIX=""
38539             dlldir="$bindir"
38540         ;;
38541         *-pc-os2_emx | *-pc-os2-emx )
38542             SO_SUFFIX="dll"
38543             SO_SUFFIX_MODULE="dll"
38544             DLLIMP_SUFFIX=$OS2_LIBEXT
38545             EXEEXT=".exe"
38546             DLLPREFIX=""
38547             LIBPREFIX=""
38548             LIBEXT=".$OS2_LIBEXT"
38549             dlldir="$bindir"
38550         ;;
38551         *-*-darwin* )
38552             SO_SUFFIX="dylib"
38553             SO_SUFFIX_MODULE="bundle"
38554         ;;
38555     esac
38556
38557     if test "x$DLLIMP_SUFFIX" = "x" ; then
38558         DLLIMP_SUFFIX="$SO_SUFFIX"
38559     fi
38560
38561
38562
38563
38564
38565
38566
38567
38568
38569
38570
38571
38572         PIC_FLAG=""
38573     if test "x$GCC" = "xyes"; then
38574                 PIC_FLAG="-fPIC"
38575     fi
38576
38577         SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38578     SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38579     WINDOWS_IMPLIB=0
38580
38581     case "${BAKEFILE_HOST}" in
38582       *-hp-hpux* )
38583                 if test "x$GCC" != "xyes"; then
38584                         LDFLAGS="$LDFLAGS -L/usr/lib"
38585
38586             SHARED_LD_CC="${CC} -b -o"
38587             SHARED_LD_CXX="${CXX} -b -o"
38588             PIC_FLAG="+Z"
38589         fi
38590       ;;
38591
38592       *-*-linux* )
38593                         if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38594             PIC_FLAG="-KPIC"
38595         elif test "x$SUNCXX" = "xyes"; then
38596             SHARED_LD_CC="${CC} -G -o"
38597             SHARED_LD_CXX="${CXX} -G -o"
38598             PIC_FLAG="-KPIC"
38599         fi
38600       ;;
38601
38602       *-*-solaris2* )
38603         if test "x$SUNCXX" = xyes ; then
38604             SHARED_LD_CC="${CC} -G -o"
38605             SHARED_LD_CXX="${CXX} -G -o"
38606             PIC_FLAG="-KPIC"
38607         fi
38608       ;;
38609
38610       *-*-darwin* )
38611
38612 D='$'
38613 cat <<EOF >shared-ld-sh
38614 #!/bin/sh
38615 #-----------------------------------------------------------------------------
38616 #-- Name:        distrib/mac/shared-ld-sh
38617 #-- Purpose:     Link a mach-o dynamic shared library for Darwin / Mac OS X
38618 #-- Author:      Gilles Depeyrot
38619 #-- Copyright:   (c) 2002 Gilles Depeyrot
38620 #-- Licence:     any use permitted
38621 #-----------------------------------------------------------------------------
38622
38623 verbose=0
38624 args=""
38625 objects=""
38626 linking_flag="-dynamiclib"
38627 ldargs="-r -keep_private_externs -nostdlib"
38628
38629 if test "x${D}CXX" = "x"; then
38630     CXX="c++"
38631 fi
38632
38633 while test ${D}# -gt 0; do
38634     case ${D}1 in
38635
38636        -v)
38637         verbose=1
38638         ;;
38639
38640        -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38641         # collect these options and values
38642         args="${D}{args} ${D}1 ${D}2"
38643         shift
38644         ;;
38645
38646        -arch|-isysroot)
38647         # collect these options and values
38648         ldargs="${D}{ldargs} ${D}1 ${D}2"
38649         shift
38650         ;;
38651
38652        -s|-Wl,*)
38653         # collect these load args
38654         ldargs="${D}{ldargs} ${D}1"
38655         ;;
38656
38657        -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38658         # collect these options
38659         args="${D}{args} ${D}1"
38660         ;;
38661
38662        -dynamiclib|-bundle)
38663         linking_flag="${D}1"
38664         ;;
38665
38666        -*)
38667         echo "shared-ld: unhandled option '${D}1'"
38668         exit 1
38669         ;;
38670
38671         *.o | *.a | *.dylib)
38672         # collect object files
38673         objects="${D}{objects} ${D}1"
38674         ;;
38675
38676         *)
38677         echo "shared-ld: unhandled argument '${D}1'"
38678         exit 1
38679         ;;
38680
38681     esac
38682     shift
38683 done
38684
38685 status=0
38686
38687 #
38688 # Link one module containing all the others
38689 #
38690 if test ${D}{verbose} = 1; then
38691     echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38692 fi
38693 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38694 status=${D}?
38695
38696 #
38697 # Link the shared library from the single module created, but only if the
38698 # previous command didn't fail:
38699 #
38700 if test ${D}{status} = 0; then
38701     if test ${D}{verbose} = 1; then
38702         echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38703     fi
38704     ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38705     status=${D}?
38706 fi
38707
38708 #
38709 # Remove intermediate module
38710 #
38711 rm -f master.${D}${D}.o
38712
38713 exit ${D}status
38714 EOF
38715
38716         chmod +x shared-ld-sh
38717
38718         SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38719         SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38720
38721
38722                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38723 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38724 if ${bakefile_cv_gcc31+:} false; then :
38725   $as_echo_n "(cached) " >&6
38726 else
38727
38728            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38729 /* end confdefs.h.  */
38730
38731 int
38732 main ()
38733 {
38734
38735                    #if (__GNUC__ < 3) || \
38736                        ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38737                        This is old gcc
38738                    #endif
38739
38740   ;
38741   return 0;
38742 }
38743 _ACEOF
38744 if ac_fn_c_try_compile "$LINENO"; then :
38745
38746                    bakefile_cv_gcc31=yes
38747
38748 else
38749
38750                    bakefile_cv_gcc31=no
38751
38752
38753 fi
38754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38755
38756 fi
38757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38758 $as_echo "$bakefile_cv_gcc31" >&6; }
38759         if test "$bakefile_cv_gcc31" = "no"; then
38760                         SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38761             SHARED_LD_CXX="$SHARED_LD_CC"
38762         else
38763                         SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38764             SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38765         fi
38766
38767         if test "x$GCC" == "xyes"; then
38768             PIC_FLAG="-dynamic -fPIC"
38769         fi
38770         if test "x$XLCC" = "xyes"; then
38771             PIC_FLAG="-dynamic -DPIC"
38772         fi
38773       ;;
38774
38775       *-*-aix* )
38776         if test "x$GCC" = "xyes"; then
38777                                                             PIC_FLAG=""
38778
38779                                                                                     case "${BAKEFILE_HOST}" in
38780                 *-*-aix5* )
38781                     LD_EXPFULL="-Wl,-bexpfull"
38782                     ;;
38783             esac
38784
38785             SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
38786             SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
38787         else
38788                                     # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38789 set dummy makeC++SharedLib; ac_word=$2
38790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38791 $as_echo_n "checking for $ac_word... " >&6; }
38792 if ${ac_cv_prog_AIX_CXX_LD+:} false; then :
38793   $as_echo_n "(cached) " >&6
38794 else
38795   if test -n "$AIX_CXX_LD"; then
38796   ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38797 else
38798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38799 for as_dir in $PATH
38800 do
38801   IFS=$as_save_IFS
38802   test -z "$as_dir" && as_dir=.
38803     for ac_exec_ext in '' $ac_executable_extensions; do
38804   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38805     ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38806     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38807     break 2
38808   fi
38809 done
38810   done
38811 IFS=$as_save_IFS
38812
38813   test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38814 fi
38815 fi
38816 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38817 if test -n "$AIX_CXX_LD"; then
38818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38819 $as_echo "$AIX_CXX_LD" >&6; }
38820 else
38821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38822 $as_echo "no" >&6; }
38823 fi
38824
38825
38826             SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38827             SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38828         fi
38829       ;;
38830
38831       *-*-beos* )
38832                         SHARED_LD_CC="${LD} -nostart -o"
38833         SHARED_LD_CXX="${LD} -nostart -o"
38834       ;;
38835
38836       *-*-irix* )
38837                 if test "x$GCC" != "xyes"; then
38838             PIC_FLAG="-KPIC"
38839         fi
38840       ;;
38841
38842       *-*-cygwin* | *-*-mingw32* )
38843         PIC_FLAG=""
38844         SHARED_LD_CC="\$(CC) -shared -o"
38845         SHARED_LD_CXX="\$(CXX) -shared -o"
38846         WINDOWS_IMPLIB=1
38847       ;;
38848
38849       *-pc-os2_emx | *-pc-os2-emx )
38850         SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38851         SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38852         PIC_FLAG=""
38853
38854 D='$'
38855 cat <<EOF >dllar.sh
38856 #!/bin/sh
38857 #
38858 # dllar - a tool to build both a .dll and an .a file
38859 # from a set of object (.o) files for EMX/OS2.
38860 #
38861 #  Written by Andrew Zabolotny, bit@freya.etu.ru
38862 #  Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38863 #
38864 #  This script will accept a set of files on the command line.
38865 #  All the public symbols from the .o files will be exported into
38866 #  a .DEF file, then linker will be run (through gcc) against them to
38867 #  build a shared library consisting of all given .o files. All libraries
38868 #  (.a) will be first decompressed into component .o files then act as
38869 #  described above. You can optionally give a description (-d "description")
38870 #  which will be put into .DLL. To see the list of accepted options (as well
38871 #  as command-line format) simply run this program without options. The .DLL
38872 #  is built to be imported by name (there is no guarantee that new versions
38873 #  of the library you build will have same ordinals for same symbols).
38874 #
38875 #  dllar is free software; you can redistribute it and/or modify
38876 #  it under the terms of the GNU General Public License as published by
38877 #  the Free Software Foundation; either version 2, or (at your option)
38878 #  any later version.
38879 #
38880 #  dllar is distributed in the hope that it will be useful,
38881 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
38882 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
38883 #  GNU General Public License for more details.
38884 #
38885 #  You should have received a copy of the GNU General Public License
38886 #  along with dllar; see the file COPYING.  If not, write to the Free
38887 #  Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38888 #  02111-1307, USA.
38889
38890 # To successfuly run this program you will need:
38891 #  - Current drive should have LFN support (HPFS, ext2, network, etc)
38892 #    (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38893 #  - gcc
38894 #    (used to build the .dll)
38895 #  - emxexp
38896 #    (used to create .def file from .o files)
38897 #  - emximp
38898 #    (used to create .a file from .def file)
38899 #  - GNU text utilites (cat, sort, uniq)
38900 #    used to process emxexp output
38901 #  - GNU file utilities (mv, rm)
38902 #  - GNU sed
38903 #  - lxlite (optional, see flag below)
38904 #    (used for general .dll cleanup)
38905 #
38906
38907 flag_USE_LXLITE=1;
38908
38909 #
38910 # helper functions
38911 # basnam, variant of basename, which does _not_ remove the path, _iff_
38912 #                              second argument (suffix to remove) is given
38913 basnam(){
38914     case ${D}# in
38915     1)
38916         echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
38917         ;;
38918     2)
38919         echo ${D}1 | sed 's/'${D}2'${D}//'
38920         ;;
38921     *)
38922         echo "error in basnam ${D}*"
38923         exit 8
38924         ;;
38925     esac
38926 }
38927
38928 # Cleanup temporary files and output
38929 CleanUp() {
38930     cd ${D}curDir
38931     for i in ${D}inputFiles ; do
38932         case ${D}i in
38933         *!)
38934             rm -rf \`basnam ${D}i !\`
38935             ;;
38936         *)
38937             ;;
38938         esac
38939     done
38940
38941     # Kill result in case of failure as there is just to many stupid make/nmake
38942     # things out there which doesn't do this.
38943     if [ ${D}# -eq 0 ]; then
38944         rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38945     fi
38946 }
38947
38948 # Print usage and exit script with rc=1.
38949 PrintHelp() {
38950  echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
38951  echo '       [-name-mangler-script script.sh]'
38952  echo '       [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
38953  echo '       [-ord[inals]] -ex[clude] "symbol(s)"'
38954  echo '       [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
38955  echo '       [*.o] [*.a]'
38956  echo '*> "output_file" should have no extension.'
38957  echo '   If it has the .o, .a or .dll extension, it is automatically removed.'
38958  echo '   The import library name is derived from this and is set to "name".a,'
38959  echo '   unless overridden by -import'
38960  echo '*> "importlib_name" should have no extension.'
38961  echo '   If it has the .o, or .a extension, it is automatically removed.'
38962  echo '   This name is used as the import library name and may be longer and'
38963  echo '   more descriptive than the DLL name which has to follow the old '
38964  echo '   8.3 convention of FAT.'
38965  echo '*> "script.sh may be given to override the output_file name by a'
38966  echo '   different name. It is mainly useful if the regular make process'
38967  echo '   of some package does not take into account OS/2 restriction of'
38968  echo '   DLL name lengths. It takes the importlib name as input and is'
38969  echo '   supposed to procude a shorter name as output. The script should'
38970  echo '   expect to get importlib_name without extension and should produce'
38971  echo '   a (max.) 8 letter name without extension.'
38972  echo '*> "cc" is used to use another GCC executable.   (default: gcc.exe)'
38973  echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38974  echo '   These flags will be put at the start of GCC command line.'
38975  echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
38976  echo '*> -ex[clude] defines symbols which will not be exported. You can define'
38977  echo '   multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38978  echo '   If the last character of a symbol is "*", all symbols beginning'
38979  echo '   with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38980  echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
38981  echo '   TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38982  echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
38983  echo '   C runtime DLLs.'
38984  echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
38985  echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38986  echo '   unchanged to GCC at the end of command line.'
38987  echo '*> If you create a DLL from a library and you do not specify -o,'
38988  echo '   the basename for DLL and import library will be set to library name,'
38989  echo '   the initial library will be renamed to 'name'_s.a (_s for static)'
38990  echo '   i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38991  echo '   library will be renamed into gcc_s.a.'
38992  echo '--------'
38993  echo 'Example:'
38994  echo '   dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38995  echo '    -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38996  CleanUp
38997  exit 1
38998 }
38999
39000 # Execute a command.
39001 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39002 # @Uses    Whatever CleanUp() uses.
39003 doCommand() {
39004     echo "${D}*"
39005     eval ${D}*
39006     rcCmd=${D}?
39007
39008     if [ ${D}rcCmd -ne 0 ]; then
39009         echo "command failed, exit code="${D}rcCmd
39010         CleanUp
39011         exit ${D}rcCmd
39012     fi
39013 }
39014
39015 # main routine
39016 # setup globals
39017 cmdLine=${D}*
39018 outFile=""
39019 outimpFile=""
39020 inputFiles=""
39021 renameScript=""
39022 description=""
39023 CC=gcc.exe
39024 CFLAGS="-s -Zcrtdll"
39025 EXTRA_CFLAGS=""
39026 EXPORT_BY_ORDINALS=0
39027 exclude_symbols=""
39028 library_flags=""
39029 curDir=\`pwd\`
39030 curDirS=curDir
39031 case ${D}curDirS in
39032 */)
39033   ;;
39034 *)
39035   curDirS=${D}{curDirS}"/"
39036   ;;
39037 esac
39038 # Parse commandline
39039 libsToLink=0
39040 omfLinking=0
39041 while [ ${D}1 ]; do
39042     case ${D}1 in
39043     -ord*)
39044         EXPORT_BY_ORDINALS=1;
39045         ;;
39046     -o*)
39047         shift
39048         outFile=${D}1
39049         ;;
39050     -i*)
39051         shift
39052         outimpFile=${D}1
39053         ;;
39054     -name-mangler-script)
39055         shift
39056         renameScript=${D}1
39057         ;;
39058     -d*)
39059         shift
39060         description=${D}1
39061         ;;
39062     -f*)
39063         shift
39064         CFLAGS=${D}1
39065         ;;
39066     -c*)
39067         shift
39068         CC=${D}1
39069         ;;
39070     -h*)
39071         PrintHelp
39072         ;;
39073     -ex*)
39074         shift
39075         exclude_symbols=${D}{exclude_symbols}${D}1" "
39076         ;;
39077     -libf*)
39078         shift
39079         library_flags=${D}{library_flags}${D}1" "
39080         ;;
39081     -nocrt*)
39082         CFLAGS="-s"
39083         ;;
39084     -nolxl*)
39085         flag_USE_LXLITE=0
39086         ;;
39087     -* | /*)
39088         case ${D}1 in
39089         -L* | -l*)
39090             libsToLink=1
39091             ;;
39092         -Zomf)
39093             omfLinking=1
39094             ;;
39095         *)
39096             ;;
39097         esac
39098         EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39099         ;;
39100     *.dll)
39101         EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39102         if [ ${D}omfLinking -eq 1 ]; then
39103             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39104         else
39105             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39106         fi
39107         ;;
39108     *)
39109         found=0;
39110         if [ ${D}libsToLink -ne 0 ]; then
39111             EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39112         else
39113             for file in ${D}1 ; do
39114                 if [ -f ${D}file ]; then
39115                     inputFiles="${D}{inputFiles} ${D}file"
39116                     found=1
39117                 fi
39118             done
39119             if [ ${D}found -eq 0 ]; then
39120                 echo "ERROR: No file(s) found: "${D}1
39121                 exit 8
39122             fi
39123         fi
39124       ;;
39125     esac
39126     shift
39127 done # iterate cmdline words
39128
39129 #
39130 if [ -z "${D}inputFiles" ]; then
39131     echo "dllar: no input files"
39132     PrintHelp
39133 fi
39134
39135 # Now extract all .o files from .a files
39136 newInputFiles=""
39137 for file in ${D}inputFiles ; do
39138     case ${D}file in
39139     *.a | *.lib)
39140         case ${D}file in
39141         *.a)
39142             suffix=".a"
39143             AR="ar"
39144             ;;
39145         *.lib)
39146             suffix=".lib"
39147             AR="emxomfar"
39148             EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39149             ;;
39150         *)
39151             ;;
39152         esac
39153         dirname=\`basnam ${D}file ${D}suffix\`"_%"
39154         mkdir ${D}dirname
39155         if [ ${D}? -ne 0 ]; then
39156             echo "Failed to create subdirectory ./${D}dirname"
39157             CleanUp
39158             exit 8;
39159         fi
39160         # Append '!' to indicate archive
39161         newInputFiles="${D}newInputFiles ${D}{dirname}!"
39162         doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39163         cd ${D}curDir
39164         found=0;
39165         for subfile in ${D}dirname/*.o* ; do
39166             if [ -f ${D}subfile ]; then
39167                 found=1
39168                 if [ -s ${D}subfile ]; then
39169                     # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39170                     newInputFiles="${D}newInputFiles ${D}subfile"
39171                 fi
39172             fi
39173         done
39174         if [ ${D}found -eq 0 ]; then
39175             echo "WARNING: there are no files in archive \\'${D}file\\'"
39176         fi
39177         ;;
39178     *)
39179         newInputFiles="${D}{newInputFiles} ${D}file"
39180         ;;
39181     esac
39182 done
39183 inputFiles="${D}newInputFiles"
39184
39185 # Output filename(s).
39186 do_backup=0;
39187 if [ -z ${D}outFile ]; then
39188     do_backup=1;
39189     set outFile ${D}inputFiles; outFile=${D}2
39190 fi
39191
39192 # If it is an archive, remove the '!' and the '_%' suffixes
39193 case ${D}outFile in
39194 *_%!)
39195     outFile=\`basnam ${D}outFile _%!\`
39196     ;;
39197 *)
39198     ;;
39199 esac
39200 case ${D}outFile in
39201 *.dll)
39202     outFile=\`basnam ${D}outFile .dll\`
39203     ;;
39204 *.DLL)
39205     outFile=\`basnam ${D}outFile .DLL\`
39206     ;;
39207 *.o)
39208     outFile=\`basnam ${D}outFile .o\`
39209     ;;
39210 *.obj)
39211     outFile=\`basnam ${D}outFile .obj\`
39212     ;;
39213 *.a)
39214     outFile=\`basnam ${D}outFile .a\`
39215     ;;
39216 *.lib)
39217     outFile=\`basnam ${D}outFile .lib\`
39218     ;;
39219 *)
39220     ;;
39221 esac
39222 case ${D}outimpFile in
39223 *.a)
39224     outimpFile=\`basnam ${D}outimpFile .a\`
39225     ;;
39226 *.lib)
39227     outimpFile=\`basnam ${D}outimpFile .lib\`
39228     ;;
39229 *)
39230     ;;
39231 esac
39232 if [ -z ${D}outimpFile ]; then
39233     outimpFile=${D}outFile
39234 fi
39235 defFile="${D}{outFile}.def"
39236 arcFile="${D}{outimpFile}.a"
39237 arcFile2="${D}{outimpFile}.lib"
39238
39239 #create ${D}dllFile as something matching 8.3 restrictions,
39240 if [ -z ${D}renameScript ] ; then
39241     dllFile="${D}outFile"
39242 else
39243     dllFile=\`${D}renameScript ${D}outimpFile\`
39244 fi
39245
39246 if [ ${D}do_backup -ne 0 ] ; then
39247     if [ -f ${D}arcFile ] ; then
39248         doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39249     fi
39250     if [ -f ${D}arcFile2 ] ; then
39251         doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39252     fi
39253 fi
39254
39255 # Extract public symbols from all the object files.
39256 tmpdefFile=${D}{defFile}_%
39257 rm -f ${D}tmpdefFile
39258 for file in ${D}inputFiles ; do
39259     case ${D}file in
39260     *!)
39261         ;;
39262     *)
39263         doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39264         ;;
39265     esac
39266 done
39267
39268 # Create the def file.
39269 rm -f ${D}defFile
39270 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39271 dllFile="${D}{dllFile}.dll"
39272 if [ ! -z ${D}description ]; then
39273     echo "DESCRIPTION  \\"${D}{description}\\"" >> ${D}defFile
39274 fi
39275 echo "EXPORTS" >> ${D}defFile
39276
39277 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39278 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39279
39280 # Checks if the export is ok or not.
39281 for word in ${D}exclude_symbols; do
39282     grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39283     mv ${D}{tmpdefFile}% ${D}tmpdefFile
39284 done
39285
39286
39287 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39288     sed "=" < ${D}tmpdefFile | \\
39289     sed '
39290       N
39291       : loop
39292       s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39293       t loop
39294     ' > ${D}{tmpdefFile}%
39295     grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39296 else
39297     rm -f ${D}{tmpdefFile}%
39298 fi
39299 cat ${D}tmpdefFile >> ${D}defFile
39300 rm -f ${D}tmpdefFile
39301
39302 # Do linking, create implib, and apply lxlite.
39303 gccCmdl="";
39304 for file in ${D}inputFiles ; do
39305     case ${D}file in
39306     *!)
39307         ;;
39308     *)
39309         gccCmdl="${D}gccCmdl ${D}file"
39310         ;;
39311     esac
39312 done
39313 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39314 touch "${D}{outFile}.dll"
39315
39316 doCommand "emximp -o ${D}arcFile ${D}defFile"
39317 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39318     add_flags="";
39319     if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39320         add_flags="-ynd"
39321     fi
39322     doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39323 fi
39324 doCommand "emxomf -s -l ${D}arcFile"
39325
39326 # Successful exit.
39327 CleanUp 1
39328 exit 0
39329 EOF
39330
39331         chmod +x dllar.sh
39332       ;;
39333
39334       powerpc-apple-macos* | \
39335       *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
39336       *-*-mirbsd* | \
39337       *-*-sunos4* | \
39338       *-*-osf* | \
39339       *-*-dgux5* | \
39340       *-*-sysv5* | \
39341       *-pc-msdosdjgpp )
39342               ;;
39343
39344       *)
39345         as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
39346     esac
39347
39348     if test "x$PIC_FLAG" != "x" ; then
39349         PIC_FLAG="$PIC_FLAG -DPIC"
39350     fi
39351
39352     if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39353         SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39354     fi
39355     if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39356         SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39357     fi
39358
39359
39360
39361
39362
39363
39364
39365
39366
39367     USE_SOVERSION=0
39368     USE_SOVERLINUX=0
39369     USE_SOVERSOLARIS=0
39370     USE_SOVERCYGWIN=0
39371     USE_SOTWOSYMLINKS=0
39372     USE_MACVERSION=0
39373     SONAME_FLAG=
39374
39375     case "${BAKEFILE_HOST}" in
39376       *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39377       *-*-k*bsd*-gnu | *-*-mirbsd* )
39378         if test "x$SUNCXX" = "xyes"; then
39379             SONAME_FLAG="-h "
39380         else
39381             SONAME_FLAG="-Wl,-soname,"
39382         fi
39383         USE_SOVERSION=1
39384         USE_SOVERLINUX=1
39385         USE_SOTWOSYMLINKS=1
39386       ;;
39387
39388       *-*-solaris2* )
39389         SONAME_FLAG="-h "
39390         USE_SOVERSION=1
39391         USE_SOVERSOLARIS=1
39392       ;;
39393
39394       *-*-darwin* )
39395         USE_MACVERSION=1
39396         USE_SOVERSION=1
39397         USE_SOTWOSYMLINKS=1
39398       ;;
39399
39400       *-*-cygwin* )
39401         USE_SOVERSION=1
39402         USE_SOVERCYGWIN=1
39403       ;;
39404     esac
39405
39406
39407
39408
39409
39410
39411
39412
39413
39414
39415     # Check whether --enable-dependency-tracking was given.
39416 if test "${enable_dependency_tracking+set}" = set; then :
39417   enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
39418 fi
39419
39420
39421     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39422 $as_echo_n "checking for dependency tracking method... " >&6; }
39423
39424     BK_DEPS=""
39425     if test "x$bk_use_trackdeps" = "xno" ; then
39426         DEPS_TRACKING=0
39427         { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39428 $as_echo "disabled" >&6; }
39429     else
39430         DEPS_TRACKING=1
39431
39432         if test "x$GCC" = "xyes"; then
39433             DEPSMODE=gcc
39434             DEPSFLAG="-MMD"
39435             { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39436 $as_echo "gcc" >&6; }
39437         elif test "x$MWCC" = "xyes"; then
39438             DEPSMODE=mwcc
39439             DEPSFLAG="-MM"
39440             { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39441 $as_echo "mwcc" >&6; }
39442         elif test "x$SUNCC" = "xyes"; then
39443             DEPSMODE=unixcc
39444             DEPSFLAG="-xM1"
39445             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39446 $as_echo "Sun cc" >&6; }
39447         elif test "x$SGICC" = "xyes"; then
39448             DEPSMODE=unixcc
39449             DEPSFLAG="-M"
39450             { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39451 $as_echo "SGI cc" >&6; }
39452         elif test "x$HPCC" = "xyes"; then
39453             DEPSMODE=unixcc
39454             DEPSFLAG="+make"
39455             { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39456 $as_echo "HP cc" >&6; }
39457         elif test "x$COMPAQCC" = "xyes"; then
39458             DEPSMODE=gcc
39459             DEPSFLAG="-MD"
39460             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39461 $as_echo "Compaq cc" >&6; }
39462         else
39463             DEPS_TRACKING=0
39464             { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39465 $as_echo "none" >&6; }
39466         fi
39467
39468         if test $DEPS_TRACKING = 1 ; then
39469
39470 D='$'
39471 cat <<EOF >bk-deps
39472 #!/bin/sh
39473
39474 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39475 # script. It is used to track C/C++ files dependencies in portable way.
39476 #
39477 # Permission is given to use this file in any way.
39478
39479 DEPSMODE=${DEPSMODE}
39480 DEPSFLAG="${DEPSFLAG}"
39481 DEPSDIRBASE=.deps
39482
39483 if test ${D}DEPSMODE = gcc ; then
39484     ${D}* ${D}{DEPSFLAG}
39485     status=${D}?
39486
39487     # determine location of created files:
39488     while test ${D}# -gt 0; do
39489         case "${D}1" in
39490             -o )
39491                 shift
39492                 objfile=${D}1
39493             ;;
39494             -* )
39495             ;;
39496             * )
39497                 srcfile=${D}1
39498             ;;
39499         esac
39500         shift
39501     done
39502     objfilebase=\`basename ${D}objfile\`
39503     builddir=\`dirname ${D}objfile\`
39504     depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39505     depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39506     depsdir=${D}builddir/${D}DEPSDIRBASE
39507     mkdir -p ${D}depsdir
39508
39509     # if the compiler failed, we're done:
39510     if test ${D}{status} != 0 ; then
39511         rm -f ${D}depfile
39512         exit ${D}{status}
39513     fi
39514
39515     # move created file to the location we want it in:
39516     if test -f ${D}depfile ; then
39517         sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39518         rm -f ${D}depfile
39519     else
39520         # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39521         depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39522         if test ! -f ${D}depfile ; then
39523             # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39524             depfile="${D}objfile.d"
39525         fi
39526         if test -f ${D}depfile ; then
39527             sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39528             rm -f ${D}depfile
39529         fi
39530     fi
39531     exit 0
39532
39533 elif test ${D}DEPSMODE = mwcc ; then
39534     ${D}* || exit ${D}?
39535     # Run mwcc again with -MM and redirect into the dep file we want
39536     # NOTE: We can't use shift here because we need ${D}* to be valid
39537     prevarg=
39538     for arg in ${D}* ; do
39539         if test "${D}prevarg" = "-o"; then
39540             objfile=${D}arg
39541         else
39542             case "${D}arg" in
39543                 -* )
39544                 ;;
39545                 * )
39546                     srcfile=${D}arg
39547                 ;;
39548             esac
39549         fi
39550         prevarg="${D}arg"
39551     done
39552
39553     objfilebase=\`basename ${D}objfile\`
39554     builddir=\`dirname ${D}objfile\`
39555     depsdir=${D}builddir/${D}DEPSDIRBASE
39556     mkdir -p ${D}depsdir
39557
39558     ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39559     exit 0
39560
39561 elif test ${D}DEPSMODE = unixcc; then
39562     ${D}* || exit ${D}?
39563     # Run compiler again with deps flag and redirect into the dep file.
39564     # It doesn't work if the '-o FILE' option is used, but without it the
39565     # dependency file will contain the wrong name for the object. So it is
39566     # removed from the command line, and the dep file is fixed with sed.
39567     cmd=""
39568     while test ${D}# -gt 0; do
39569         case "${D}1" in
39570             -o )
39571                 shift
39572                 objfile=${D}1
39573             ;;
39574             * )
39575                 eval arg${D}#=\\${D}1
39576                 cmd="${D}cmd \\${D}arg${D}#"
39577             ;;
39578         esac
39579         shift
39580     done
39581
39582     objfilebase=\`basename ${D}objfile\`
39583     builddir=\`dirname ${D}objfile\`
39584     depsdir=${D}builddir/${D}DEPSDIRBASE
39585     mkdir -p ${D}depsdir
39586
39587     eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39588     exit 0
39589
39590 else
39591     ${D}*
39592     exit ${D}?
39593 fi
39594 EOF
39595
39596             chmod +x bk-deps
39597                                     BK_DEPS="`pwd`/bk-deps"
39598         fi
39599     fi
39600
39601
39602
39603
39604
39605     case ${BAKEFILE_HOST} in
39606         *-*-cygwin* | *-*-mingw32* )
39607                         if test -n "$ac_tool_prefix"; then
39608   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39609 set dummy ${ac_tool_prefix}windres; ac_word=$2
39610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39611 $as_echo_n "checking for $ac_word... " >&6; }
39612 if ${ac_cv_prog_WINDRES+:} false; then :
39613   $as_echo_n "(cached) " >&6
39614 else
39615   if test -n "$WINDRES"; then
39616   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39617 else
39618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39619 for as_dir in $PATH
39620 do
39621   IFS=$as_save_IFS
39622   test -z "$as_dir" && as_dir=.
39623     for ac_exec_ext in '' $ac_executable_extensions; do
39624   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39625     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39626     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39627     break 2
39628   fi
39629 done
39630   done
39631 IFS=$as_save_IFS
39632
39633 fi
39634 fi
39635 WINDRES=$ac_cv_prog_WINDRES
39636 if test -n "$WINDRES"; then
39637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39638 $as_echo "$WINDRES" >&6; }
39639 else
39640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39641 $as_echo "no" >&6; }
39642 fi
39643
39644
39645 fi
39646 if test -z "$ac_cv_prog_WINDRES"; then
39647   ac_ct_WINDRES=$WINDRES
39648   # Extract the first word of "windres", so it can be a program name with args.
39649 set dummy windres; ac_word=$2
39650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39651 $as_echo_n "checking for $ac_word... " >&6; }
39652 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
39653   $as_echo_n "(cached) " >&6
39654 else
39655   if test -n "$ac_ct_WINDRES"; then
39656   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39657 else
39658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39659 for as_dir in $PATH
39660 do
39661   IFS=$as_save_IFS
39662   test -z "$as_dir" && as_dir=.
39663     for ac_exec_ext in '' $ac_executable_extensions; do
39664   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39665     ac_cv_prog_ac_ct_WINDRES="windres"
39666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39667     break 2
39668   fi
39669 done
39670   done
39671 IFS=$as_save_IFS
39672
39673 fi
39674 fi
39675 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39676 if test -n "$ac_ct_WINDRES"; then
39677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39678 $as_echo "$ac_ct_WINDRES" >&6; }
39679 else
39680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39681 $as_echo "no" >&6; }
39682 fi
39683
39684   if test "x$ac_ct_WINDRES" = x; then
39685     WINDRES=""
39686   else
39687     case $cross_compiling:$ac_tool_warned in
39688 yes:)
39689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39691 ac_tool_warned=yes ;;
39692 esac
39693     WINDRES=$ac_ct_WINDRES
39694   fi
39695 else
39696   WINDRES="$ac_cv_prog_WINDRES"
39697 fi
39698
39699          ;;
39700
39701       *-*-darwin* | powerpc-apple-macos* )
39702             # Extract the first word of "Rez", so it can be a program name with args.
39703 set dummy Rez; ac_word=$2
39704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39705 $as_echo_n "checking for $ac_word... " >&6; }
39706 if ${ac_cv_prog_REZ+:} false; then :
39707   $as_echo_n "(cached) " >&6
39708 else
39709   if test -n "$REZ"; then
39710   ac_cv_prog_REZ="$REZ" # Let the user override the test.
39711 else
39712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39713 for as_dir in $PATH
39714 do
39715   IFS=$as_save_IFS
39716   test -z "$as_dir" && as_dir=.
39717     for ac_exec_ext in '' $ac_executable_extensions; do
39718   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39719     ac_cv_prog_REZ="Rez"
39720     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39721     break 2
39722   fi
39723 done
39724   done
39725 IFS=$as_save_IFS
39726
39727   test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
39728 fi
39729 fi
39730 REZ=$ac_cv_prog_REZ
39731 if test -n "$REZ"; then
39732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39733 $as_echo "$REZ" >&6; }
39734 else
39735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39736 $as_echo "no" >&6; }
39737 fi
39738
39739
39740             # Extract the first word of "SetFile", so it can be a program name with args.
39741 set dummy SetFile; ac_word=$2
39742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39743 $as_echo_n "checking for $ac_word... " >&6; }
39744 if ${ac_cv_prog_SETFILE+:} false; then :
39745   $as_echo_n "(cached) " >&6
39746 else
39747   if test -n "$SETFILE"; then
39748   ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39749 else
39750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39751 for as_dir in $PATH
39752 do
39753   IFS=$as_save_IFS
39754   test -z "$as_dir" && as_dir=.
39755     for ac_exec_ext in '' $ac_executable_extensions; do
39756   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39757     ac_cv_prog_SETFILE="SetFile"
39758     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39759     break 2
39760   fi
39761 done
39762   done
39763 IFS=$as_save_IFS
39764
39765   test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39766 fi
39767 fi
39768 SETFILE=$ac_cv_prog_SETFILE
39769 if test -n "$SETFILE"; then
39770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39771 $as_echo "$SETFILE" >&6; }
39772 else
39773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39774 $as_echo "no" >&6; }
39775 fi
39776
39777
39778         ;;
39779     esac
39780
39781
39782
39783
39784
39785
39786
39787
39788
39789     BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
39790
39791
39792 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
39793
39794
39795
39796     # Check whether --enable-precomp-headers was given.
39797 if test "${enable_precomp_headers+set}" = set; then :
39798   enableval=$enable_precomp_headers; bk_use_pch="$enableval"
39799 fi
39800
39801
39802     GCC_PCH=0
39803     ICC_PCH=0
39804     USE_PCH=0
39805     BK_MAKE_PCH=""
39806
39807     case ${BAKEFILE_HOST} in
39808         *-*-cygwin* )
39809                                                 bk_use_pch="no"
39810             ;;
39811     esac
39812
39813     if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39814         if test "x$GCC" = "xyes"; then
39815                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39816 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39817             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39818 /* end confdefs.h.  */
39819
39820 int
39821 main ()
39822 {
39823
39824                     #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39825                         There is no PCH support
39826                     #endif
39827                     #if (__GNUC__ < 3)
39828                         There is no PCH support
39829                     #endif
39830                     #if (__GNUC__ == 3) && \
39831                        ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39832                        ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39833                        ( defined(__INTEL_COMPILER) )
39834                         There is no PCH support
39835                     #endif
39836
39837   ;
39838   return 0;
39839 }
39840 _ACEOF
39841 if ac_fn_c_try_compile "$LINENO"; then :
39842
39843                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39844 $as_echo "yes" >&6; }
39845                     GCC_PCH=1
39846
39847 else
39848
39849                     if test "$INTELCXX8" = "yes"; then
39850                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39851 $as_echo "yes" >&6; }
39852                         ICC_PCH=1
39853                         if test "$INTELCXX10" = "yes"; then
39854                             ICC_PCH_CREATE_SWITCH="-pch-create"
39855                             ICC_PCH_USE_SWITCH="-pch-use"
39856                         else
39857                             ICC_PCH_CREATE_SWITCH="-create-pch"
39858                             ICC_PCH_USE_SWITCH="-use-pch"
39859                         fi
39860                     else
39861                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39862 $as_echo "no" >&6; }
39863                     fi
39864
39865 fi
39866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39867             if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39868                 USE_PCH=1
39869
39870 D='$'
39871 cat <<EOF >bk-make-pch
39872 #!/bin/sh
39873
39874 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39875 # script. It is used to generated precompiled headers.
39876 #
39877 # Permission is given to use this file in any way.
39878
39879 outfile="${D}{1}"
39880 header="${D}{2}"
39881 shift
39882 shift
39883
39884 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39885
39886 compiler=""
39887 headerfile=""
39888
39889 while test ${D}{#} -gt 0; do
39890     add_to_cmdline=1
39891     case "${D}{1}" in
39892         -I* )
39893             incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39894             if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39895                 headerfile="${D}{incdir}/${D}{header}"
39896             fi
39897         ;;
39898         -use-pch|-use_pch|-pch-use )
39899             shift
39900             add_to_cmdline=0
39901         ;;
39902     esac
39903     if test ${D}add_to_cmdline = 1 ; then
39904         compiler="${D}{compiler} ${D}{1}"
39905     fi
39906     shift
39907 done
39908
39909 if test "x${D}{headerfile}" = "x" ; then
39910     echo "error: can't find header ${D}{header} in include paths" >&2
39911 else
39912     if test -f ${D}{outfile} ; then
39913         rm -f ${D}{outfile}
39914     else
39915         mkdir -p \`dirname ${D}{outfile}\`
39916     fi
39917     depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
39918     mkdir -p ${D}{builddir}/.deps
39919     if test "x${GCC_PCH}" = "x1" ; then
39920         # can do this because gcc is >= 3.4:
39921         ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
39922     elif test "x${ICC_PCH}" = "x1" ; then
39923         filename=pch_gen-${D}${D}
39924         file=${D}{filename}.c
39925         dfile=${D}{filename}.d
39926         cat > ${D}file <<EOT
39927 #include "${D}header"
39928 EOT
39929         # using -MF icc complains about differing command lines in creation/use
39930         ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
39931           sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
39932           rm -f ${D}file ${D}dfile ${D}{filename}.o
39933     fi
39934     exit ${D}{?}
39935 fi
39936 EOF
39937
39938                 chmod +x bk-make-pch
39939                                                                 BK_MAKE_PCH="`pwd`/bk-make-pch"
39940             fi
39941         fi
39942     fi
39943
39944
39945
39946
39947
39948
39949
39950     COND_BUILD_DEBUG="#"
39951     if test "x$BUILD" = "xdebug" ; then
39952         COND_BUILD_DEBUG=""
39953     fi
39954
39955     COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39956     if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39957         COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39958     fi
39959
39960     COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39961     if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39962         COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39963     fi
39964
39965     COND_BUILD_DEBUG_UNICODE_0="#"
39966     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39967         COND_BUILD_DEBUG_UNICODE_0=""
39968     fi
39969
39970     COND_BUILD_DEBUG_UNICODE_1="#"
39971     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39972         COND_BUILD_DEBUG_UNICODE_1=""
39973     fi
39974
39975     COND_BUILD_RELEASE="#"
39976     if test "x$BUILD" = "xrelease" ; then
39977         COND_BUILD_RELEASE=""
39978     fi
39979
39980     COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39981     if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39982         COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39983     fi
39984
39985     COND_BUILD_RELEASE_UNICODE_0="#"
39986     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39987         COND_BUILD_RELEASE_UNICODE_0=""
39988     fi
39989
39990     COND_BUILD_RELEASE_UNICODE_1="#"
39991     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39992         COND_BUILD_RELEASE_UNICODE_1=""
39993     fi
39994
39995     COND_BUILD_debug="#"
39996     if test "x$BUILD" = "xdebug" ; then
39997         COND_BUILD_debug=""
39998     fi
39999
40000     COND_BUILD_debug_DEBUG_FLAG_default="#"
40001     if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40002         COND_BUILD_debug_DEBUG_FLAG_default=""
40003     fi
40004
40005     COND_BUILD_debug_DEBUG_INFO_default="#"
40006     if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40007         COND_BUILD_debug_DEBUG_INFO_default=""
40008     fi
40009
40010     COND_BUILD_debug_UNICODE_0="#"
40011     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40012         COND_BUILD_debug_UNICODE_0=""
40013     fi
40014
40015     COND_BUILD_debug_UNICODE_1="#"
40016     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40017         COND_BUILD_debug_UNICODE_1=""
40018     fi
40019
40020     COND_BUILD_release="#"
40021     if test "x$BUILD" = "xrelease" ; then
40022         COND_BUILD_release=""
40023     fi
40024
40025     COND_BUILD_release_DEBUG_INFO_default="#"
40026     if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40027         COND_BUILD_release_DEBUG_INFO_default=""
40028     fi
40029
40030     COND_BUILD_release_UNICODE_0="#"
40031     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40032         COND_BUILD_release_UNICODE_0=""
40033     fi
40034
40035     COND_BUILD_release_UNICODE_1="#"
40036     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40037         COND_BUILD_release_UNICODE_1=""
40038     fi
40039
40040     COND_DEBUG_FLAG_0="#"
40041     if test "x$DEBUG_FLAG" = "x0" ; then
40042         COND_DEBUG_FLAG_0=""
40043     fi
40044
40045     COND_DEBUG_FLAG_1="#"
40046     if test "x$DEBUG_FLAG" = "x1" ; then
40047         COND_DEBUG_FLAG_1=""
40048     fi
40049
40050     COND_DEBUG_INFO_0="#"
40051     if test "x$DEBUG_INFO" = "x0" ; then
40052         COND_DEBUG_INFO_0=""
40053     fi
40054
40055     COND_DEBUG_INFO_1="#"
40056     if test "x$DEBUG_INFO" = "x1" ; then
40057         COND_DEBUG_INFO_1=""
40058     fi
40059
40060     COND_DEPS_TRACKING_0="#"
40061     if test "x$DEPS_TRACKING" = "x0" ; then
40062         COND_DEPS_TRACKING_0=""
40063     fi
40064
40065     COND_DEPS_TRACKING_1="#"
40066     if test "x$DEPS_TRACKING" = "x1" ; then
40067         COND_DEPS_TRACKING_1=""
40068     fi
40069
40070     COND_GCC_PCH_1="#"
40071     if test "x$GCC_PCH" = "x1" ; then
40072         COND_GCC_PCH_1=""
40073     fi
40074
40075     COND_ICC_PCH_1="#"
40076     if test "x$ICC_PCH" = "x1" ; then
40077         COND_ICC_PCH_1=""
40078     fi
40079
40080     COND_MONOLITHIC_0="#"
40081     if test "x$MONOLITHIC" = "x0" ; then
40082         COND_MONOLITHIC_0=""
40083     fi
40084
40085     COND_MONOLITHIC_0_SHARED_0="#"
40086     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40087         COND_MONOLITHIC_0_SHARED_0=""
40088     fi
40089
40090     COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
40091     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40092         COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
40093     fi
40094
40095     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40096     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40097         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40098     fi
40099
40100     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
40101     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40102         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
40103     fi
40104
40105     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
40106     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40107         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
40108     fi
40109
40110     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
40111     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40112         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
40113     fi
40114
40115     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
40116     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40117         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
40118     fi
40119
40120     COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
40121     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40122         COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
40123     fi
40124
40125     COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
40126     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40127         COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
40128     fi
40129
40130     COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
40131     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40132         COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
40133     fi
40134
40135     COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
40136     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40137         COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
40138     fi
40139
40140     COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40141     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40142         COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40143     fi
40144
40145     COND_MONOLITHIC_0_SHARED_1="#"
40146     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40147         COND_MONOLITHIC_0_SHARED_1=""
40148     fi
40149
40150     COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
40151     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40152         COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
40153     fi
40154
40155     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40156     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40157         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40158     fi
40159
40160     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
40161     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40162         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
40163     fi
40164
40165     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
40166     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40167         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
40168     fi
40169
40170     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
40171     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40172         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
40173     fi
40174
40175     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
40176     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40177         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
40178     fi
40179
40180     COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
40181     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40182         COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
40183     fi
40184
40185     COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
40186     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40187         COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
40188     fi
40189
40190     COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
40191     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40192         COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
40193     fi
40194
40195     COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
40196     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40197         COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
40198     fi
40199
40200     COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40201     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40202         COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40203     fi
40204
40205     COND_MONOLITHIC_0_USE_AUI_1="#"
40206     if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40207         COND_MONOLITHIC_0_USE_AUI_1=""
40208     fi
40209
40210     COND_MONOLITHIC_0_USE_GUI_1="#"
40211     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40212         COND_MONOLITHIC_0_USE_GUI_1=""
40213     fi
40214
40215     COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
40216     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40217         COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
40218     fi
40219
40220     COND_MONOLITHIC_0_USE_HTML_1="#"
40221     if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40222         COND_MONOLITHIC_0_USE_HTML_1=""
40223     fi
40224
40225     COND_MONOLITHIC_0_USE_MEDIA_1="#"
40226     if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40227         COND_MONOLITHIC_0_USE_MEDIA_1=""
40228     fi
40229
40230     COND_MONOLITHIC_0_USE_PROPGRID_1="#"
40231     if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40232         COND_MONOLITHIC_0_USE_PROPGRID_1=""
40233     fi
40234
40235     COND_MONOLITHIC_0_USE_QA_1="#"
40236     if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40237         COND_MONOLITHIC_0_USE_QA_1=""
40238     fi
40239
40240     COND_MONOLITHIC_0_USE_RIBBON_1="#"
40241     if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40242         COND_MONOLITHIC_0_USE_RIBBON_1=""
40243     fi
40244
40245     COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
40246     if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40247         COND_MONOLITHIC_0_USE_RICHTEXT_1=""
40248     fi
40249
40250     COND_MONOLITHIC_0_USE_STC_1="#"
40251     if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40252         COND_MONOLITHIC_0_USE_STC_1=""
40253     fi
40254
40255     COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
40256     if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40257         COND_MONOLITHIC_0_USE_WEBVIEW_1=""
40258     fi
40259
40260     COND_MONOLITHIC_0_USE_XRC_1="#"
40261     if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40262         COND_MONOLITHIC_0_USE_XRC_1=""
40263     fi
40264
40265     COND_MONOLITHIC_1="#"
40266     if test "x$MONOLITHIC" = "x1" ; then
40267         COND_MONOLITHIC_1=""
40268     fi
40269
40270     COND_MONOLITHIC_1_SHARED_0="#"
40271     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40272         COND_MONOLITHIC_1_SHARED_0=""
40273     fi
40274
40275     COND_MONOLITHIC_1_SHARED_1="#"
40276     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40277         COND_MONOLITHIC_1_SHARED_1=""
40278     fi
40279
40280     COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40281     if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40282         COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40283     fi
40284
40285     COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40286     if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40287         COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40288     fi
40289
40290     COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
40291     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40292         COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
40293     fi
40294
40295     COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40296     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40297         COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40298     fi
40299
40300     COND_PLATFORM_MACOSX_1="#"
40301     if test "x$PLATFORM_MACOSX" = "x1" ; then
40302         COND_PLATFORM_MACOSX_1=""
40303     fi
40304
40305     COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
40306     if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40307         COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
40308     fi
40309
40310     COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
40311     if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40312         COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
40313     fi
40314
40315     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40316     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40317         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40318     fi
40319
40320     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40321     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40322         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40323     fi
40324
40325     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40326     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40327         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40328     fi
40329
40330     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40331     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40332         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40333     fi
40334
40335     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40336     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40337         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40338     fi
40339
40340     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
40341     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40342         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
40343     fi
40344
40345     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40346     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40347         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40348     fi
40349
40350     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
40351     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40352         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
40353     fi
40354
40355     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40356     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40357         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40358     fi
40359
40360     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40361     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40362         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40363     fi
40364
40365     COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40366     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40367         COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40368     fi
40369
40370     COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
40371     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40372         COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
40373     fi
40374
40375     COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40376     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40377         COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40378     fi
40379
40380     COND_PLATFORM_MACOS_1="#"
40381     if test "x$PLATFORM_MACOS" = "x1" ; then
40382         COND_PLATFORM_MACOS_1=""
40383     fi
40384
40385     COND_PLATFORM_MAC_0="#"
40386     if test "x$PLATFORM_MAC" = "x0" ; then
40387         COND_PLATFORM_MAC_0=""
40388     fi
40389
40390     COND_PLATFORM_MAC_1="#"
40391     if test "x$PLATFORM_MAC" = "x1" ; then
40392         COND_PLATFORM_MAC_1=""
40393     fi
40394
40395     COND_PLATFORM_MSDOS_0="#"
40396     if test "x$PLATFORM_MSDOS" = "x0" ; then
40397         COND_PLATFORM_MSDOS_0=""
40398     fi
40399
40400     COND_PLATFORM_MSDOS_1="#"
40401     if test "x$PLATFORM_MSDOS" = "x1" ; then
40402         COND_PLATFORM_MSDOS_1=""
40403     fi
40404
40405     COND_PLATFORM_OS2_1="#"
40406     if test "x$PLATFORM_OS2" = "x1" ; then
40407         COND_PLATFORM_OS2_1=""
40408     fi
40409
40410     COND_PLATFORM_UNIX_0="#"
40411     if test "x$PLATFORM_UNIX" = "x0" ; then
40412         COND_PLATFORM_UNIX_0=""
40413     fi
40414
40415     COND_PLATFORM_UNIX_1="#"
40416     if test "x$PLATFORM_UNIX" = "x1" ; then
40417         COND_PLATFORM_UNIX_1=""
40418     fi
40419
40420     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40421     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40422         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40423     fi
40424
40425     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40426     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40427         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40428     fi
40429
40430     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40431     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40432         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40433     fi
40434
40435     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40436     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40437         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40438     fi
40439
40440     COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40441     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40442         COND_PLATFORM_UNIX_1_USE_GUI_1=""
40443     fi
40444
40445     COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40446     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40447         COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40448     fi
40449
40450     COND_PLATFORM_WIN32_0="#"
40451     if test "x$PLATFORM_WIN32" = "x0" ; then
40452         COND_PLATFORM_WIN32_0=""
40453     fi
40454
40455     COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40456     if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40457         COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40458     fi
40459
40460     COND_PLATFORM_WIN32_1="#"
40461     if test "x$PLATFORM_WIN32" = "x1" ; then
40462         COND_PLATFORM_WIN32_1=""
40463     fi
40464
40465     COND_PLATFORM_WIN32_1_SHARED_0="#"
40466     if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40467         COND_PLATFORM_WIN32_1_SHARED_0=""
40468     fi
40469
40470     COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40471     if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40472         COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40473     fi
40474
40475     COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40476     if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40477         COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40478     fi
40479
40480     COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40481     if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40482         COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40483     fi
40484
40485     COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40486     if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40487         COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40488     fi
40489
40490     COND_SHARED_0="#"
40491     if test "x$SHARED" = "x0" ; then
40492         COND_SHARED_0=""
40493     fi
40494
40495     COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40496     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40497         COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40498     fi
40499
40500     COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40501     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40502         COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40503     fi
40504
40505     COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40506     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40507         COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40508     fi
40509
40510     COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40511     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40512         COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40513     fi
40514
40515     COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40516     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40517         COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40518     fi
40519
40520     COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40521     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40522         COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40523     fi
40524
40525     COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40526     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40527         COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40528     fi
40529
40530     COND_SHARED_0_USE_STC_1="#"
40531     if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40532         COND_SHARED_0_USE_STC_1=""
40533     fi
40534
40535     COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40536     if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40537         COND_SHARED_0_wxUSE_EXPAT_builtin=""
40538     fi
40539
40540     COND_SHARED_0_wxUSE_REGEX_builtin="#"
40541     if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40542         COND_SHARED_0_wxUSE_REGEX_builtin=""
40543     fi
40544
40545     COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40546     if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40547         COND_SHARED_0_wxUSE_ZLIB_builtin=""
40548     fi
40549
40550     COND_SHARED_1="#"
40551     if test "x$SHARED" = "x1" ; then
40552         COND_SHARED_1=""
40553     fi
40554
40555     COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40556     if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40557         COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40558     fi
40559
40560     COND_TOOLKIT_="#"
40561     if test "x$TOOLKIT" = "x" ; then
40562         COND_TOOLKIT_=""
40563     fi
40564
40565     COND_TOOLKIT_COCOA="#"
40566     if test "x$TOOLKIT" = "xCOCOA" ; then
40567         COND_TOOLKIT_COCOA=""
40568     fi
40569
40570     COND_TOOLKIT_COCOA_USE_GUI_1="#"
40571     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40572         COND_TOOLKIT_COCOA_USE_GUI_1=""
40573     fi
40574
40575     COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40576     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40577         COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40578     fi
40579
40580     COND_TOOLKIT_DFB="#"
40581     if test "x$TOOLKIT" = "xDFB" ; then
40582         COND_TOOLKIT_DFB=""
40583     fi
40584
40585     COND_TOOLKIT_DFB_USE_GUI_1="#"
40586     if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40587         COND_TOOLKIT_DFB_USE_GUI_1=""
40588     fi
40589
40590     COND_TOOLKIT_GTK="#"
40591     if test "x$TOOLKIT" = "xGTK" ; then
40592         COND_TOOLKIT_GTK=""
40593     fi
40594
40595     COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40596     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40597         COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40598     fi
40599
40600     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40601     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40602         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40603     fi
40604
40605     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40606     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40607         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40608     fi
40609
40610     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40611     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40612         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40613     fi
40614
40615     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1="#"
40616     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40617         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1=""
40618     fi
40619
40620     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40621     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40622         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40623     fi
40624
40625     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1="#"
40626     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x1" ; then
40627         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1=""
40628     fi
40629
40630     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40631     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40632         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40633     fi
40634
40635     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40636     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40637         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40638     fi
40639
40640     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40641     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40642         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40643     fi
40644
40645     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40646     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40647         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40648     fi
40649
40650     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40651     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40652         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40653     fi
40654
40655     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40656     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40657         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40658     fi
40659
40660     COND_TOOLKIT_GTK_USE_GUI_1="#"
40661     if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40662         COND_TOOLKIT_GTK_USE_GUI_1=""
40663     fi
40664
40665     COND_TOOLKIT_MAC="#"
40666     if test "x$TOOLKIT" = "xMAC" ; then
40667         COND_TOOLKIT_MAC=""
40668     fi
40669
40670     COND_TOOLKIT_MOTIF="#"
40671     if test "x$TOOLKIT" = "xMOTIF" ; then
40672         COND_TOOLKIT_MOTIF=""
40673     fi
40674
40675     COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40676     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40677         COND_TOOLKIT_MOTIF_USE_GUI_1=""
40678     fi
40679
40680     COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40681     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40682         COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40683     fi
40684
40685     COND_TOOLKIT_MSW="#"
40686     if test "x$TOOLKIT" = "xMSW" ; then
40687         COND_TOOLKIT_MSW=""
40688     fi
40689
40690     COND_TOOLKIT_MSW_USE_GUI_1="#"
40691     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40692         COND_TOOLKIT_MSW_USE_GUI_1=""
40693     fi
40694
40695     COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40696     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40697         COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40698     fi
40699
40700     COND_TOOLKIT_MSW_WXUNIV_0="#"
40701     if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40702         COND_TOOLKIT_MSW_WXUNIV_0=""
40703     fi
40704
40705     COND_TOOLKIT_OSX_CARBON="#"
40706     if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40707         COND_TOOLKIT_OSX_CARBON=""
40708     fi
40709
40710     COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40711     if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40712         COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40713     fi
40714
40715     COND_TOOLKIT_OSX_COCOA="#"
40716     if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40717         COND_TOOLKIT_OSX_COCOA=""
40718     fi
40719
40720     COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40721     if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40722         COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40723     fi
40724
40725     COND_TOOLKIT_OSX_IPHONE="#"
40726     if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40727         COND_TOOLKIT_OSX_IPHONE=""
40728     fi
40729
40730     COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40731     if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40732         COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40733     fi
40734
40735     COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40736     if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40737         COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40738     fi
40739
40740     COND_TOOLKIT_PM="#"
40741     if test "x$TOOLKIT" = "xPM" ; then
40742         COND_TOOLKIT_PM=""
40743     fi
40744
40745     COND_TOOLKIT_PM_USE_GUI_1="#"
40746     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40747         COND_TOOLKIT_PM_USE_GUI_1=""
40748     fi
40749
40750     COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40751     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40752         COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40753     fi
40754
40755     COND_TOOLKIT_WINCE="#"
40756     if test "x$TOOLKIT" = "xWINCE" ; then
40757         COND_TOOLKIT_WINCE=""
40758     fi
40759
40760     COND_TOOLKIT_WINCE_USE_GUI_1="#"
40761     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40762         COND_TOOLKIT_WINCE_USE_GUI_1=""
40763     fi
40764
40765     COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40766     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40767         COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40768     fi
40769
40770     COND_TOOLKIT_WINCE_WXUNIV_0="#"
40771     if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40772         COND_TOOLKIT_WINCE_WXUNIV_0=""
40773     fi
40774
40775     COND_TOOLKIT_X11="#"
40776     if test "x$TOOLKIT" = "xX11" ; then
40777         COND_TOOLKIT_X11=""
40778     fi
40779
40780     COND_TOOLKIT_X11_USE_GUI_1="#"
40781     if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40782         COND_TOOLKIT_X11_USE_GUI_1=""
40783     fi
40784
40785     COND_UNICODE_1="#"
40786     if test "x$UNICODE" = "x1" ; then
40787         COND_UNICODE_1=""
40788     fi
40789
40790     COND_USE_CAIRO_1="#"
40791     if test "x$USE_CAIRO" = "x1" ; then
40792         COND_USE_CAIRO_1=""
40793     fi
40794
40795     COND_USE_EXCEPTIONS_0="#"
40796     if test "x$USE_EXCEPTIONS" = "x0" ; then
40797         COND_USE_EXCEPTIONS_0=""
40798     fi
40799
40800     COND_USE_EXCEPTIONS_1="#"
40801     if test "x$USE_EXCEPTIONS" = "x1" ; then
40802         COND_USE_EXCEPTIONS_1=""
40803     fi
40804
40805     COND_USE_GUI_0="#"
40806     if test "x$USE_GUI" = "x0" ; then
40807         COND_USE_GUI_0=""
40808     fi
40809
40810     COND_USE_GUI_1="#"
40811     if test "x$USE_GUI" = "x1" ; then
40812         COND_USE_GUI_1=""
40813     fi
40814
40815     COND_USE_GUI_1_USE_OPENGL_1="#"
40816     if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40817         COND_USE_GUI_1_USE_OPENGL_1=""
40818     fi
40819
40820     COND_USE_GUI_1_WXUNIV_0="#"
40821     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40822         COND_USE_GUI_1_WXUNIV_0=""
40823     fi
40824
40825     COND_USE_GUI_1_WXUNIV_1="#"
40826     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40827         COND_USE_GUI_1_WXUNIV_1=""
40828     fi
40829
40830     COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40831     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40832         COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40833     fi
40834
40835     COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40836     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40837         COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40838     fi
40839
40840     COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40841     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40842         COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40843     fi
40844
40845     COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40846     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40847         COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40848     fi
40849
40850     COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40851     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40852         COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40853     fi
40854
40855     COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40856     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40857         COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40858     fi
40859
40860     COND_USE_OPENGL_1="#"
40861     if test "x$USE_OPENGL" = "x1" ; then
40862         COND_USE_OPENGL_1=""
40863     fi
40864
40865     COND_USE_PCH_1="#"
40866     if test "x$USE_PCH" = "x1" ; then
40867         COND_USE_PCH_1=""
40868     fi
40869
40870     COND_USE_PLUGINS_0="#"
40871     if test "x$USE_PLUGINS" = "x0" ; then
40872         COND_USE_PLUGINS_0=""
40873     fi
40874
40875     COND_USE_RTTI_0="#"
40876     if test "x$USE_RTTI" = "x0" ; then
40877         COND_USE_RTTI_0=""
40878     fi
40879
40880     COND_USE_RTTI_1="#"
40881     if test "x$USE_RTTI" = "x1" ; then
40882         COND_USE_RTTI_1=""
40883     fi
40884
40885     COND_USE_SOTWOSYMLINKS_1="#"
40886     if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40887         COND_USE_SOTWOSYMLINKS_1=""
40888     fi
40889
40890     COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
40891     if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40892         COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
40893     fi
40894
40895     COND_USE_SOVERLINUX_1="#"
40896     if test "x$USE_SOVERLINUX" = "x1" ; then
40897         COND_USE_SOVERLINUX_1=""
40898     fi
40899
40900     COND_USE_SOVERSION_0="#"
40901     if test "x$USE_SOVERSION" = "x0" ; then
40902         COND_USE_SOVERSION_0=""
40903     fi
40904
40905     COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
40906     if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40907         COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
40908     fi
40909
40910     COND_USE_SOVERSOLARIS_1="#"
40911     if test "x$USE_SOVERSOLARIS" = "x1" ; then
40912         COND_USE_SOVERSOLARIS_1=""
40913     fi
40914
40915     COND_USE_STC_1="#"
40916     if test "x$USE_STC" = "x1" ; then
40917         COND_USE_STC_1=""
40918     fi
40919
40920     COND_USE_THREADS_0="#"
40921     if test "x$USE_THREADS" = "x0" ; then
40922         COND_USE_THREADS_0=""
40923     fi
40924
40925     COND_USE_THREADS_1="#"
40926     if test "x$USE_THREADS" = "x1" ; then
40927         COND_USE_THREADS_1=""
40928     fi
40929
40930     COND_USE_XRC_1="#"
40931     if test "x$USE_XRC" = "x1" ; then
40932         COND_USE_XRC_1=""
40933     fi
40934
40935     COND_WINDOWS_IMPLIB_1="#"
40936     if test "x$WINDOWS_IMPLIB" = "x1" ; then
40937         COND_WINDOWS_IMPLIB_1=""
40938     fi
40939
40940     COND_WITH_PLUGIN_SDL_1="#"
40941     if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40942         COND_WITH_PLUGIN_SDL_1=""
40943     fi
40944
40945     COND_WXUNIV_0="#"
40946     if test "x$WXUNIV" = "x0" ; then
40947         COND_WXUNIV_0=""
40948     fi
40949
40950     COND_WXUNIV_1="#"
40951     if test "x$WXUNIV" = "x1" ; then
40952         COND_WXUNIV_1=""
40953     fi
40954
40955     COND_WXUSE_EXPAT_BUILTIN="#"
40956     if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40957         COND_WXUSE_EXPAT_BUILTIN=""
40958     fi
40959
40960     COND_WXUSE_LIBJPEG_BUILTIN="#"
40961     if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40962         COND_WXUSE_LIBJPEG_BUILTIN=""
40963     fi
40964
40965     COND_WXUSE_LIBPNG_BUILTIN="#"
40966     if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40967         COND_WXUSE_LIBPNG_BUILTIN=""
40968     fi
40969
40970     COND_WXUSE_LIBTIFF_BUILTIN="#"
40971     if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40972         COND_WXUSE_LIBTIFF_BUILTIN=""
40973     fi
40974
40975     COND_WXUSE_REGEX_BUILTIN="#"
40976     if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40977         COND_WXUSE_REGEX_BUILTIN=""
40978     fi
40979
40980     COND_WXUSE_ZLIB_BUILTIN="#"
40981     if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40982         COND_WXUSE_ZLIB_BUILTIN=""
40983     fi
40984
40985     COND_wxUSE_EXPAT_builtin="#"
40986     if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40987         COND_wxUSE_EXPAT_builtin=""
40988     fi
40989
40990     COND_wxUSE_LIBJPEG_builtin="#"
40991     if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40992         COND_wxUSE_LIBJPEG_builtin=""
40993     fi
40994
40995     COND_wxUSE_LIBPNG_builtin="#"
40996     if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40997         COND_wxUSE_LIBPNG_builtin=""
40998     fi
40999
41000     COND_wxUSE_LIBTIFF_builtin="#"
41001     if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41002         COND_wxUSE_LIBTIFF_builtin=""
41003     fi
41004
41005     COND_wxUSE_REGEX_builtin="#"
41006     if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41007         COND_wxUSE_REGEX_builtin=""
41008     fi
41009
41010     COND_wxUSE_ZLIB_builtin="#"
41011     if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41012         COND_wxUSE_ZLIB_builtin=""
41013     fi
41014
41015
41016
41017     if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
41018         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
41019     fi
41020
41021     if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41022         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
41023     fi
41024
41025
41026 case ${INSTALL} in
41027   /* ) # Absolute
41028      ;;
41029   ?:* ) # Drive letter, considered as absolute.
41030      ;;
41031   *)
41032      INSTALL=`pwd`/${INSTALL} ;;
41033 esac
41034
41035 if test "$wxUSE_GUI" = "yes"; then
41036
41037 if test "$wxUSE_MSW" = 1 ; then
41038     if test "x$WINDRES" = "x"; then
41039         as_fn_error $? "Required windres program not found" "$LINENO" 5
41040     fi
41041
41042     RESCOMP="$WINDRES"
41043 fi
41044
41045 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
41046             WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
41047     WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
41048
41049         LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
41050
41051     # Extract the first word of "DeRez", so it can be a program name with args.
41052 set dummy DeRez; ac_word=$2
41053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41054 $as_echo_n "checking for $ac_word... " >&6; }
41055 if ${ac_cv_prog_DEREZ+:} false; then :
41056   $as_echo_n "(cached) " >&6
41057 else
41058   if test -n "$DEREZ"; then
41059   ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
41060 else
41061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41062 for as_dir in $PATH
41063 do
41064   IFS=$as_save_IFS
41065   test -z "$as_dir" && as_dir=.
41066     for ac_exec_ext in '' $ac_executable_extensions; do
41067   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41068     ac_cv_prog_DEREZ="DeRez"
41069     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41070     break 2
41071   fi
41072 done
41073   done
41074 IFS=$as_save_IFS
41075
41076   test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
41077 fi
41078 fi
41079 DEREZ=$ac_cv_prog_DEREZ
41080 if test -n "$DEREZ"; then
41081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
41082 $as_echo "$DEREZ" >&6; }
41083 else
41084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41085 $as_echo "no" >&6; }
41086 fi
41087
41088
41089
41090     MACSETFILE="\$(SETFILE)"
41091
41092             if test "$wxUSE_OSX_CARBON" = 1; then
41093         POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
41094         RESCOMP="$REZ"
41095         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
41096     else
41097         POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
41098         RESCOMP="cat /dev/null \| $REZ"
41099         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41100     fi
41101
41102 else
41103         MACSETFILE="@true"
41104
41105     if test "$wxUSE_PM" = 1; then
41106         RESCOMP="emxbind"
41107         WXCONFIG_RESFLAGS="-ep"
41108
41109                 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
41110     else
41111         POSTLINK_COMMAND="@true"
41112     fi
41113 fi
41114
41115 fi
41116
41117
41118 if test $GCC_PCH = 1
41119 then
41120     if test "$wx_cv_gcc_pch_bug" = yes; then
41121         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41122 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41123         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41124 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41125         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41126 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41127     fi
41128
41129     # Our WX_PRECOMP flag does not make sense for any language except C++ because
41130     # the headers that benefit from precompilation are mostly C++ headers.
41131     CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41132     # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41133     #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41134 fi
41135
41136
41137 if test "$wxUSE_MAC" = 1 ; then
41138     if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41139         if test "x$disable_macosx_deps" = "xyes"; then
41140             sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
41141                 mv temp bk-deps
41142             chmod +x bk-deps
41143         fi
41144     fi
41145 fi
41146
41147 if test "$wxUSE_SHARED" = "yes"; then
41148                 case "${host}" in
41149       *-pc-os2_emx | *-pc-os2-emx )
41150         SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41151         SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41152         cp -p ${srcdir}/src/os2/dllnames.sh .
41153         cp -p ${srcdir}/src/os2/dllar.sh .
41154       ;;
41155     esac
41156 fi
41157 if test "$wxUSE_OMF" = "yes"; then
41158     case "${host}" in
41159       *-pc-os2_emx | *-pc-os2-emx )
41160         LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
41161         LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41162         WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41163       ;;
41164     esac
41165 fi
41166
41167 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41168
41169
41170 case "${host}" in
41171     *-*-solaris2* )
41172                         if test "$GCC" = yes; then
41173             CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
41174             LIBS=`echo $LIBS | sed 's/-mt//g'`
41175             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41176         fi
41177         ;;
41178
41179     *-*-linux* )
41180                         if test "x$SUNCXX" = xyes; then
41181             CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
41182             LIBS=`echo $LIBS | sed 's/-pthread//g'`
41183             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41184         fi
41185         ;;
41186 esac
41187
41188 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
41189 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41190 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
41191 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41192
41193 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41194
41195
41196
41197
41198
41199
41200
41201
41202
41203
41204
41205
41206
41207
41208
41209
41210
41211
41212
41213
41214
41215
41216
41217
41218
41219
41220
41221
41222
41223
41224
41225
41226
41227
41228
41229
41230
41231
41232
41233
41234
41235
41236
41237
41238
41239
41240
41241
41242
41243
41244
41245
41246
41247
41248
41249
41250
41251
41252
41253
41254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41255 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41256 set x ${MAKE-make}
41257 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41258 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
41259   $as_echo_n "(cached) " >&6
41260 else
41261   cat >conftest.make <<\_ACEOF
41262 SHELL = /bin/sh
41263 all:
41264         @echo '@@@%%%=$(MAKE)=@@@%%%'
41265 _ACEOF
41266 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41267 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41268   *@@@%%%=?*=@@@%%%*)
41269     eval ac_cv_prog_make_${ac_make}_set=yes;;
41270   *)
41271     eval ac_cv_prog_make_${ac_make}_set=no;;
41272 esac
41273 rm -f conftest.make
41274 fi
41275 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
41276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41277 $as_echo "yes" >&6; }
41278   SET_MAKE=
41279 else
41280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41281 $as_echo "no" >&6; }
41282   SET_MAKE="MAKE=${MAKE-make}"
41283 fi
41284
41285
41286
41287 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41288
41289
41290 if test "$USE_WIN32" = 1; then
41291     ac_config_commands="$ac_config_commands rcdefs.h"
41292
41293 fi
41294
41295 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41296
41297
41298 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41299
41300
41301 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
41302
41303
41304 if test "$wx_cv_version_script" = "yes"; then
41305     ac_config_files="$ac_config_files version-script"
41306
41307 fi
41308 ac_config_files="$ac_config_files Makefile"
41309
41310
41311 ac_config_commands="$ac_config_commands wx-config"
41312
41313
41314
41315 if test "$wxWITH_SUBDIRS" != "no"; then
41316 if test "$wxUSE_GUI" = "yes"; then
41317     SUBDIRS="samples demos utils"
41318 else
41319             SUBDIRS="samples utils"
41320 fi
41321
41322
41323
41324 # Check whether --with-cppunit-prefix was given.
41325 if test "${with_cppunit_prefix+set}" = set; then :
41326   withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
41327 else
41328   cppunit_config_prefix=""
41329 fi
41330
41331
41332 # Check whether --with-cppunit-exec-prefix was given.
41333 if test "${with_cppunit_exec_prefix+set}" = set; then :
41334   withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
41335 else
41336   cppunit_config_exec_prefix=""
41337 fi
41338
41339
41340   if test x$cppunit_config_exec_prefix != x ; then
41341      cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41342      if test x${CPPUNIT_CONFIG+set} != xset ; then
41343         CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41344      fi
41345   fi
41346   if test x$cppunit_config_prefix != x ; then
41347      cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41348      if test x${CPPUNIT_CONFIG+set} != xset ; then
41349         CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41350      fi
41351   fi
41352
41353   # Extract the first word of "cppunit-config", so it can be a program name with args.
41354 set dummy cppunit-config; ac_word=$2
41355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41356 $as_echo_n "checking for $ac_word... " >&6; }
41357 if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
41358   $as_echo_n "(cached) " >&6
41359 else
41360   case $CPPUNIT_CONFIG in
41361   [\\/]* | ?:[\\/]*)
41362   ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41363   ;;
41364   *)
41365   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41366 for as_dir in $PATH
41367 do
41368   IFS=$as_save_IFS
41369   test -z "$as_dir" && as_dir=.
41370     for ac_exec_ext in '' $ac_executable_extensions; do
41371   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41372     ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41373     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41374     break 2
41375   fi
41376 done
41377   done
41378 IFS=$as_save_IFS
41379
41380   test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41381   ;;
41382 esac
41383 fi
41384 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41385 if test -n "$CPPUNIT_CONFIG"; then
41386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41387 $as_echo "$CPPUNIT_CONFIG" >&6; }
41388 else
41389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41390 $as_echo "no" >&6; }
41391 fi
41392
41393
41394   cppunit_version_min=1.8.0
41395
41396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41397 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41398   no_cppunit=""
41399   if test "$CPPUNIT_CONFIG" = "no" ; then
41400     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41401 $as_echo "no" >&6; }
41402     no_cppunit=yes
41403   else
41404     CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41405     CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41406     cppunit_version=`$CPPUNIT_CONFIG --version`
41407
41408     cppunit_major_version=`echo $cppunit_version | \
41409            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41410     cppunit_minor_version=`echo $cppunit_version | \
41411            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41412     cppunit_micro_version=`echo $cppunit_version | \
41413            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41414
41415     cppunit_major_min=`echo $cppunit_version_min | \
41416            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41417     cppunit_minor_min=`echo $cppunit_version_min | \
41418            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41419     cppunit_micro_min=`echo $cppunit_version_min | \
41420            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41421
41422     cppunit_version_proper=`expr \
41423         $cppunit_major_version \> $cppunit_major_min \| \
41424         $cppunit_major_version \= $cppunit_major_min \& \
41425         $cppunit_minor_version \> $cppunit_minor_min \| \
41426         $cppunit_major_version \= $cppunit_major_min \& \
41427         $cppunit_minor_version \= $cppunit_minor_min \& \
41428         $cppunit_micro_version \>= $cppunit_micro_min `
41429
41430     if test "$cppunit_version_proper" = "1" ; then
41431       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41432 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41433     else
41434       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41435 $as_echo "no" >&6; }
41436       no_cppunit=yes
41437     fi
41438   fi
41439
41440   if test "x$no_cppunit" = x ; then
41441      SUBDIRS="$SUBDIRS tests"
41442   else
41443      CPPUNIT_CFLAGS=""
41444      CPPUNIT_LIBS=""
41445      :
41446   fi
41447
41448
41449
41450
41451
41452 for subdir in $SUBDIRS; do
41453     if test -d ${srcdir}/${subdir} ; then
41454         if test "$wxUSE_GUI" = "yes"; then
41455             if test ${subdir} = "samples"; then
41456                                                 makefiles="samples/Makefile.in $makefiles"
41457                 for sample in $SAMPLES_SUBDIRS; do
41458                     if test -d $srcdir/samples/$sample; then
41459                         makefiles="samples/$sample/Makefile.in $makefiles"
41460                     fi
41461                 done
41462             else
41463                                                                 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
41464                 eval "disabled=\$$disabled_var"
41465                 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
41466                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41467             fi
41468         else
41469                                     if test ${subdir} = "samples"; then
41470                                                 makefiles="samples/Makefile.in $makefiles"
41471                 for sample in `echo $SAMPLES_SUBDIRS`; do
41472                     if test -d $srcdir/samples/$sample; then
41473                         makefiles="samples/$sample/Makefile.in $makefiles"
41474                     fi
41475                 done
41476             elif test ${subdir} = "utils"; then
41477                 makefiles=""
41478                 for util in ifacecheck ; do
41479                     if test -d $srcdir/utils/$util ; then
41480                         makefiles="utils/$util/src/Makefile.in \
41481                                    $makefiles"
41482                     fi
41483                 done
41484             else
41485                                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41486             fi
41487         fi
41488
41489         for mkin in $makefiles ; do
41490             mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41491             ac_config_files="$ac_config_files $mk"
41492
41493         done
41494     fi
41495 done
41496 fi
41497 cat >confcache <<\_ACEOF
41498 # This file is a shell script that caches the results of configure
41499 # tests run on this system so they can be shared between configure
41500 # scripts and configure runs, see configure's option --config-cache.
41501 # It is not useful on other systems.  If it contains results you don't
41502 # want to keep, you may remove or edit it.
41503 #
41504 # config.status only pays attention to the cache file if you give it
41505 # the --recheck option to rerun configure.
41506 #
41507 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41508 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41509 # following values.
41510
41511 _ACEOF
41512
41513 # The following way of writing the cache mishandles newlines in values,
41514 # but we know of no workaround that is simple, portable, and efficient.
41515 # So, we kill variables containing newlines.
41516 # Ultrix sh set writes to stderr and can't be redirected directly,
41517 # and sets the high bit in the cache file unless we assign to the vars.
41518 (
41519   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41520     eval ac_val=\$$ac_var
41521     case $ac_val in #(
41522     *${as_nl}*)
41523       case $ac_var in #(
41524       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41525 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41526       esac
41527       case $ac_var in #(
41528       _ | IFS | as_nl) ;; #(
41529       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41530       *) { eval $ac_var=; unset $ac_var;} ;;
41531       esac ;;
41532     esac
41533   done
41534
41535   (set) 2>&1 |
41536     case $as_nl`(ac_space=' '; set) 2>&1` in #(
41537     *${as_nl}ac_space=\ *)
41538       # `set' does not quote correctly, so add quotes: double-quote
41539       # substitution turns \\\\ into \\, and sed turns \\ into \.
41540       sed -n \
41541         "s/'/'\\\\''/g;
41542           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41543       ;; #(
41544     *)
41545       # `set' quotes correctly as required by POSIX, so do not add quotes.
41546       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41547       ;;
41548     esac |
41549     sort
41550 ) |
41551   sed '
41552      /^ac_cv_env_/b end
41553      t clear
41554      :clear
41555      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41556      t end
41557      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41558      :end' >>confcache
41559 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41560   if test -w "$cache_file"; then
41561     if test "x$cache_file" != "x/dev/null"; then
41562       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41563 $as_echo "$as_me: updating cache $cache_file" >&6;}
41564       if test ! -f "$cache_file" || test -h "$cache_file"; then
41565         cat confcache >"$cache_file"
41566       else
41567         case $cache_file in #(
41568         */* | ?:*)
41569           mv -f confcache "$cache_file"$$ &&
41570           mv -f "$cache_file"$$ "$cache_file" ;; #(
41571         *)
41572           mv -f confcache "$cache_file" ;;
41573         esac
41574       fi
41575     fi
41576   else
41577     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41578 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41579   fi
41580 fi
41581 rm -f confcache
41582
41583 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41584 # Let make expand exec_prefix.
41585 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41586
41587 DEFS=-DHAVE_CONFIG_H
41588
41589 ac_libobjs=
41590 ac_ltlibobjs=
41591 U=
41592 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41593   # 1. Remove the extension, and $U if already installed.
41594   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41595   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41596   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
41597   #    will be set to the directory where LIBOBJS objects are built.
41598   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41599   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41600 done
41601 LIBOBJS=$ac_libobjs
41602
41603 LTLIBOBJS=$ac_ltlibobjs
41604
41605
41606
41607 : "${CONFIG_STATUS=./config.status}"
41608 ac_write_fail=0
41609 ac_clean_files_save=$ac_clean_files
41610 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41611 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41612 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41613 as_write_fail=0
41614 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41615 #! $SHELL
41616 # Generated by $as_me.
41617 # Run this file to recreate the current configuration.
41618 # Compiler output produced by configure, useful for debugging
41619 # configure, is in config.log if it exists.
41620
41621 debug=false
41622 ac_cs_recheck=false
41623 ac_cs_silent=false
41624
41625 SHELL=\${CONFIG_SHELL-$SHELL}
41626 export SHELL
41627 _ASEOF
41628 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41629 ## -------------------- ##
41630 ## M4sh Initialization. ##
41631 ## -------------------- ##
41632
41633 # Be more Bourne compatible
41634 DUALCASE=1; export DUALCASE # for MKS sh
41635 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41636   emulate sh
41637   NULLCMD=:
41638   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41639   # is contrary to our usage.  Disable this feature.
41640   alias -g '${1+"$@"}'='"$@"'
41641   setopt NO_GLOB_SUBST
41642 else
41643   case `(set -o) 2>/dev/null` in #(
41644   *posix*) :
41645     set -o posix ;; #(
41646   *) :
41647      ;;
41648 esac
41649 fi
41650
41651
41652 as_nl='
41653 '
41654 export as_nl
41655 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41656 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41657 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41658 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41659 # Prefer a ksh shell builtin over an external printf program on Solaris,
41660 # but without wasting forks for bash or zsh.
41661 if test -z "$BASH_VERSION$ZSH_VERSION" \
41662     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41663   as_echo='print -r --'
41664   as_echo_n='print -rn --'
41665 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41666   as_echo='printf %s\n'
41667   as_echo_n='printf %s'
41668 else
41669   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41670     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41671     as_echo_n='/usr/ucb/echo -n'
41672   else
41673     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41674     as_echo_n_body='eval
41675       arg=$1;
41676       case $arg in #(
41677       *"$as_nl"*)
41678         expr "X$arg" : "X\\(.*\\)$as_nl";
41679         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41680       esac;
41681       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41682     '
41683     export as_echo_n_body
41684     as_echo_n='sh -c $as_echo_n_body as_echo'
41685   fi
41686   export as_echo_body
41687   as_echo='sh -c $as_echo_body as_echo'
41688 fi
41689
41690 # The user is always right.
41691 if test "${PATH_SEPARATOR+set}" != set; then
41692   PATH_SEPARATOR=:
41693   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41694     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41695       PATH_SEPARATOR=';'
41696   }
41697 fi
41698
41699
41700 # IFS
41701 # We need space, tab and new line, in precisely that order.  Quoting is
41702 # there to prevent editors from complaining about space-tab.
41703 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41704 # splitting by setting IFS to empty value.)
41705 IFS=" ""        $as_nl"
41706
41707 # Find who we are.  Look in the path if we contain no directory separator.
41708 as_myself=
41709 case $0 in #((
41710   *[\\/]* ) as_myself=$0 ;;
41711   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41712 for as_dir in $PATH
41713 do
41714   IFS=$as_save_IFS
41715   test -z "$as_dir" && as_dir=.
41716     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41717   done
41718 IFS=$as_save_IFS
41719
41720      ;;
41721 esac
41722 # We did not find ourselves, most probably we were run as `sh COMMAND'
41723 # in which case we are not to be found in the path.
41724 if test "x$as_myself" = x; then
41725   as_myself=$0
41726 fi
41727 if test ! -f "$as_myself"; then
41728   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41729   exit 1
41730 fi
41731
41732 # Unset variables that we do not need and which cause bugs (e.g. in
41733 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
41734 # suppresses any "Segmentation fault" message there.  '((' could
41735 # trigger a bug in pdksh 5.2.14.
41736 for as_var in BASH_ENV ENV MAIL MAILPATH
41737 do eval test x\${$as_var+set} = xset \
41738   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41739 done
41740 PS1='$ '
41741 PS2='> '
41742 PS4='+ '
41743
41744 # NLS nuisances.
41745 LC_ALL=C
41746 export LC_ALL
41747 LANGUAGE=C
41748 export LANGUAGE
41749
41750 # CDPATH.
41751 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41752
41753
41754 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41755 # ----------------------------------------
41756 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41757 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41758 # script with STATUS, using 1 if that was 0.
41759 as_fn_error ()
41760 {
41761   as_status=$1; test $as_status -eq 0 && as_status=1
41762   if test "$4"; then
41763     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41764     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41765   fi
41766   $as_echo "$as_me: error: $2" >&2
41767   as_fn_exit $as_status
41768 } # as_fn_error
41769
41770
41771 # as_fn_set_status STATUS
41772 # -----------------------
41773 # Set $? to STATUS, without forking.
41774 as_fn_set_status ()
41775 {
41776   return $1
41777 } # as_fn_set_status
41778
41779 # as_fn_exit STATUS
41780 # -----------------
41781 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41782 as_fn_exit ()
41783 {
41784   set +e
41785   as_fn_set_status $1
41786   exit $1
41787 } # as_fn_exit
41788
41789 # as_fn_unset VAR
41790 # ---------------
41791 # Portably unset VAR.
41792 as_fn_unset ()
41793 {
41794   { eval $1=; unset $1;}
41795 }
41796 as_unset=as_fn_unset
41797 # as_fn_append VAR VALUE
41798 # ----------------------
41799 # Append the text in VALUE to the end of the definition contained in VAR. Take
41800 # advantage of any shell optimizations that allow amortized linear growth over
41801 # repeated appends, instead of the typical quadratic growth present in naive
41802 # implementations.
41803 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41804   eval 'as_fn_append ()
41805   {
41806     eval $1+=\$2
41807   }'
41808 else
41809   as_fn_append ()
41810   {
41811     eval $1=\$$1\$2
41812   }
41813 fi # as_fn_append
41814
41815 # as_fn_arith ARG...
41816 # ------------------
41817 # Perform arithmetic evaluation on the ARGs, and store the result in the
41818 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41819 # must be portable across $(()) and expr.
41820 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41821   eval 'as_fn_arith ()
41822   {
41823     as_val=$(( $* ))
41824   }'
41825 else
41826   as_fn_arith ()
41827   {
41828     as_val=`expr "$@" || test $? -eq 1`
41829   }
41830 fi # as_fn_arith
41831
41832
41833 if expr a : '\(a\)' >/dev/null 2>&1 &&
41834    test "X`expr 00001 : '.*\(...\)'`" = X001; then
41835   as_expr=expr
41836 else
41837   as_expr=false
41838 fi
41839
41840 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41841   as_basename=basename
41842 else
41843   as_basename=false
41844 fi
41845
41846 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41847   as_dirname=dirname
41848 else
41849   as_dirname=false
41850 fi
41851
41852 as_me=`$as_basename -- "$0" ||
41853 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41854          X"$0" : 'X\(//\)$' \| \
41855          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41856 $as_echo X/"$0" |
41857     sed '/^.*\/\([^/][^/]*\)\/*$/{
41858             s//\1/
41859             q
41860           }
41861           /^X\/\(\/\/\)$/{
41862             s//\1/
41863             q
41864           }
41865           /^X\/\(\/\).*/{
41866             s//\1/
41867             q
41868           }
41869           s/.*/./; q'`
41870
41871 # Avoid depending upon Character Ranges.
41872 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41873 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41874 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41875 as_cr_digits='0123456789'
41876 as_cr_alnum=$as_cr_Letters$as_cr_digits
41877
41878 ECHO_C= ECHO_N= ECHO_T=
41879 case `echo -n x` in #(((((
41880 -n*)
41881   case `echo 'xy\c'` in
41882   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
41883   xy)  ECHO_C='\c';;
41884   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
41885        ECHO_T=' ';;
41886   esac;;
41887 *)
41888   ECHO_N='-n';;
41889 esac
41890
41891 rm -f conf$$ conf$$.exe conf$$.file
41892 if test -d conf$$.dir; then
41893   rm -f conf$$.dir/conf$$.file
41894 else
41895   rm -f conf$$.dir
41896   mkdir conf$$.dir 2>/dev/null
41897 fi
41898 if (echo >conf$$.file) 2>/dev/null; then
41899   if ln -s conf$$.file conf$$ 2>/dev/null; then
41900     as_ln_s='ln -s'
41901     # ... but there are two gotchas:
41902     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41903     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41904     # In both cases, we have to default to `cp -pR'.
41905     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
41906       as_ln_s='cp -pR'
41907   elif ln conf$$.file conf$$ 2>/dev/null; then
41908     as_ln_s=ln
41909   else
41910     as_ln_s='cp -pR'
41911   fi
41912 else
41913   as_ln_s='cp -pR'
41914 fi
41915 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
41916 rmdir conf$$.dir 2>/dev/null
41917
41918
41919 # as_fn_mkdir_p
41920 # -------------
41921 # Create "$as_dir" as a directory, including parents if necessary.
41922 as_fn_mkdir_p ()
41923 {
41924
41925   case $as_dir in #(
41926   -*) as_dir=./$as_dir;;
41927   esac
41928   test -d "$as_dir" || eval $as_mkdir_p || {
41929     as_dirs=
41930     while :; do
41931       case $as_dir in #(
41932       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41933       *) as_qdir=$as_dir;;
41934       esac
41935       as_dirs="'$as_qdir' $as_dirs"
41936       as_dir=`$as_dirname -- "$as_dir" ||
41937 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41938          X"$as_dir" : 'X\(//\)[^/]' \| \
41939          X"$as_dir" : 'X\(//\)$' \| \
41940          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41941 $as_echo X"$as_dir" |
41942     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41943             s//\1/
41944             q
41945           }
41946           /^X\(\/\/\)[^/].*/{
41947             s//\1/
41948             q
41949           }
41950           /^X\(\/\/\)$/{
41951             s//\1/
41952             q
41953           }
41954           /^X\(\/\).*/{
41955             s//\1/
41956             q
41957           }
41958           s/.*/./; q'`
41959       test -d "$as_dir" && break
41960     done
41961     test -z "$as_dirs" || eval "mkdir $as_dirs"
41962   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
41963
41964
41965 } # as_fn_mkdir_p
41966 if mkdir -p . 2>/dev/null; then
41967   as_mkdir_p='mkdir -p "$as_dir"'
41968 else
41969   test -d ./-p && rmdir ./-p
41970   as_mkdir_p=false
41971 fi
41972
41973
41974 # as_fn_executable_p FILE
41975 # -----------------------
41976 # Test if FILE is an executable regular file.
41977 as_fn_executable_p ()
41978 {
41979   test -f "$1" && test -x "$1"
41980 } # as_fn_executable_p
41981 as_test_x='test -x'
41982 as_executable_p=as_fn_executable_p
41983
41984 # Sed expression to map a string onto a valid CPP name.
41985 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41986
41987 # Sed expression to map a string onto a valid variable name.
41988 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41989
41990
41991 exec 6>&1
41992 ## ----------------------------------- ##
41993 ## Main body of $CONFIG_STATUS script. ##
41994 ## ----------------------------------- ##
41995 _ASEOF
41996 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
41997
41998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41999 # Save the log message, to keep $0 and so on meaningful, and to
42000 # report actual input values of CONFIG_FILES etc. instead of their
42001 # values after options handling.
42002 ac_log="
42003 This file was extended by wxWidgets $as_me 2.9.5, which was
42004 generated by GNU Autoconf 2.69.  Invocation command line was
42005
42006   CONFIG_FILES    = $CONFIG_FILES
42007   CONFIG_HEADERS  = $CONFIG_HEADERS
42008   CONFIG_LINKS    = $CONFIG_LINKS
42009   CONFIG_COMMANDS = $CONFIG_COMMANDS
42010   $ $0 $@
42011
42012 on `(hostname || uname -n) 2>/dev/null | sed 1q`
42013 "
42014
42015 _ACEOF
42016
42017 case $ac_config_files in *"
42018 "*) set x $ac_config_files; shift; ac_config_files=$*;;
42019 esac
42020
42021 case $ac_config_headers in *"
42022 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
42023 esac
42024
42025
42026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42027 # Files that config.status was made for.
42028 config_files="$ac_config_files"
42029 config_headers="$ac_config_headers"
42030 config_commands="$ac_config_commands"
42031
42032 _ACEOF
42033
42034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42035 ac_cs_usage="\
42036 \`$as_me' instantiates files and other configuration actions
42037 from templates according to the current configuration.  Unless the files
42038 and actions are specified as TAGs, all are instantiated by default.
42039
42040 Usage: $0 [OPTION]... [TAG]...
42041
42042   -h, --help       print this help, then exit
42043   -V, --version    print version number and configuration settings, then exit
42044       --config     print configuration, then exit
42045   -q, --quiet, --silent
42046                    do not print progress messages
42047   -d, --debug      don't remove temporary files
42048       --recheck    update $as_me by reconfiguring in the same conditions
42049       --file=FILE[:TEMPLATE]
42050                    instantiate the configuration file FILE
42051       --header=FILE[:TEMPLATE]
42052                    instantiate the configuration header FILE
42053
42054 Configuration files:
42055 $config_files
42056
42057 Configuration headers:
42058 $config_headers
42059
42060 Configuration commands:
42061 $config_commands
42062
42063 Report bugs to <wx-dev@lists.wxwidgets.org>."
42064
42065 _ACEOF
42066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42067 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42068 ac_cs_version="\\
42069 wxWidgets config.status 2.9.5
42070 configured by $0, generated by GNU Autoconf 2.69,
42071   with options \\"\$ac_cs_config\\"
42072
42073 Copyright (C) 2012 Free Software Foundation, Inc.
42074 This config.status script is free software; the Free Software Foundation
42075 gives unlimited permission to copy, distribute and modify it."
42076
42077 ac_pwd='$ac_pwd'
42078 srcdir='$srcdir'
42079 INSTALL='$INSTALL'
42080 test -n "\$AWK" || AWK=awk
42081 _ACEOF
42082
42083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42084 # The default lists apply if the user does not specify any file.
42085 ac_need_defaults=:
42086 while test $# != 0
42087 do
42088   case $1 in
42089   --*=?*)
42090     ac_option=`expr "X$1" : 'X\([^=]*\)='`
42091     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
42092     ac_shift=:
42093     ;;
42094   --*=)
42095     ac_option=`expr "X$1" : 'X\([^=]*\)='`
42096     ac_optarg=
42097     ac_shift=:
42098     ;;
42099   *)
42100     ac_option=$1
42101     ac_optarg=$2
42102     ac_shift=shift
42103     ;;
42104   esac
42105
42106   case $ac_option in
42107   # Handling of the options.
42108   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42109     ac_cs_recheck=: ;;
42110   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42111     $as_echo "$ac_cs_version"; exit ;;
42112   --config | --confi | --conf | --con | --co | --c )
42113     $as_echo "$ac_cs_config"; exit ;;
42114   --debug | --debu | --deb | --de | --d | -d )
42115     debug=: ;;
42116   --file | --fil | --fi | --f )
42117     $ac_shift
42118     case $ac_optarg in
42119     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42120     '') as_fn_error $? "missing file argument" ;;
42121     esac
42122     as_fn_append CONFIG_FILES " '$ac_optarg'"
42123     ac_need_defaults=false;;
42124   --header | --heade | --head | --hea )
42125     $ac_shift
42126     case $ac_optarg in
42127     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42128     esac
42129     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
42130     ac_need_defaults=false;;
42131   --he | --h)
42132     # Conflict between --help and --header
42133     as_fn_error $? "ambiguous option: \`$1'
42134 Try \`$0 --help' for more information.";;
42135   --help | --hel | -h )
42136     $as_echo "$ac_cs_usage"; exit ;;
42137   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42138   | -silent | --silent | --silen | --sile | --sil | --si | --s)
42139     ac_cs_silent=: ;;
42140
42141   # This is an error.
42142   -*) as_fn_error $? "unrecognized option: \`$1'
42143 Try \`$0 --help' for more information." ;;
42144
42145   *) as_fn_append ac_config_targets " $1"
42146      ac_need_defaults=false ;;
42147
42148   esac
42149   shift
42150 done
42151
42152 ac_configure_extra_args=
42153
42154 if $ac_cs_silent; then
42155   exec 6>/dev/null
42156   ac_configure_extra_args="$ac_configure_extra_args --silent"
42157 fi
42158
42159 _ACEOF
42160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42161 if \$ac_cs_recheck; then
42162   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42163   shift
42164   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42165   CONFIG_SHELL='$SHELL'
42166   export CONFIG_SHELL
42167   exec "\$@"
42168 fi
42169
42170 _ACEOF
42171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42172 exec 5>>config.log
42173 {
42174   echo
42175   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42176 ## Running $as_me. ##
42177 _ASBOX
42178   $as_echo "$ac_log"
42179 } >&5
42180
42181 _ACEOF
42182 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42183 #
42184 # INIT-COMMANDS
42185 #
42186
42187             CPP="$CPP"
42188             infile="$srcdir/include/wx/msw/genrcdefs.h"
42189             outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42190
42191
42192  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42193  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42194  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42195                      LN_S="${LN_S}"
42196
42197
42198 _ACEOF
42199
42200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42201
42202 # Handling of arguments.
42203 for ac_config_target in $ac_config_targets
42204 do
42205   case $ac_config_target in
42206     "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42207     "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
42208     "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42209     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42210     "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42211     "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
42212     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42213     "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42214     "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
42215
42216   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42217   esac
42218 done
42219
42220
42221 # If the user did not use the arguments to specify the items to instantiate,
42222 # then the envvar interface is used.  Set only those that are not.
42223 # We use the long form for the default assignment because of an extremely
42224 # bizarre bug on SunOS 4.1.3.
42225 if $ac_need_defaults; then
42226   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42227   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42228   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42229 fi
42230
42231 # Have a temporary directory for convenience.  Make it in the build tree
42232 # simply because there is no reason against having it here, and in addition,
42233 # creating and moving files from /tmp can sometimes cause problems.
42234 # Hook for its removal unless debugging.
42235 # Note that there is a small window in which the directory will not be cleaned:
42236 # after its creation but before its name has been assigned to `$tmp'.
42237 $debug ||
42238 {
42239   tmp= ac_tmp=
42240   trap 'exit_status=$?
42241   : "${ac_tmp:=$tmp}"
42242   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42243 ' 0
42244   trap 'as_fn_exit 1' 1 2 13 15
42245 }
42246 # Create a (secure) tmp directory for tmp files.
42247
42248 {
42249   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42250   test -d "$tmp"
42251 }  ||
42252 {
42253   tmp=./conf$$-$RANDOM
42254   (umask 077 && mkdir "$tmp")
42255 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
42256 ac_tmp=$tmp
42257
42258 # Set up the scripts for CONFIG_FILES section.
42259 # No need to generate them if there are no CONFIG_FILES.
42260 # This happens for instance with `./config.status config.h'.
42261 if test -n "$CONFIG_FILES"; then
42262
42263
42264 ac_cr=`echo X | tr X '\015'`
42265 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42266 # But we know of no other shell where ac_cr would be empty at this
42267 # point, so we can use a bashism as a fallback.
42268 if test "x$ac_cr" = x; then
42269   eval ac_cr=\$\'\\r\'
42270 fi
42271 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42272 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42273   ac_cs_awk_cr='\\r'
42274 else
42275   ac_cs_awk_cr=$ac_cr
42276 fi
42277
42278 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42279 _ACEOF
42280
42281
42282 {
42283   echo "cat >conf$$subs.awk <<_ACEOF" &&
42284   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42285   echo "_ACEOF"
42286 } >conf$$subs.sh ||
42287   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42288 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42289 ac_delim='%!_!# '
42290 for ac_last_try in false false false false false :; do
42291   . ./conf$$subs.sh ||
42292     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42293
42294   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
42295   if test $ac_delim_n = $ac_delim_num; then
42296     break
42297   elif $ac_last_try; then
42298     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42299   else
42300     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42301   fi
42302 done
42303 rm -f conf$$subs.sh
42304
42305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42306 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
42307 _ACEOF
42308 sed -n '
42309 h
42310 s/^/S["/; s/!.*/"]=/
42311 p
42312 g
42313 s/^[^!]*!//
42314 :repl
42315 t repl
42316 s/'"$ac_delim"'$//
42317 t delim
42318 :nl
42319 h
42320 s/\(.\{148\}\)..*/\1/
42321 t more1
42322 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
42323 p
42324 n
42325 b repl
42326 :more1
42327 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42328 p
42329 g
42330 s/.\{148\}//
42331 t nl
42332 :delim
42333 h
42334 s/\(.\{148\}\)..*/\1/
42335 t more2
42336 s/["\\]/\\&/g; s/^/"/; s/$/"/
42337 p
42338 b
42339 :more2
42340 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42341 p
42342 g
42343 s/.\{148\}//
42344 t delim
42345 ' <conf$$subs.awk | sed '
42346 /^[^""]/{
42347   N
42348   s/\n//
42349 }
42350 ' >>$CONFIG_STATUS || ac_write_fail=1
42351 rm -f conf$$subs.awk
42352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42353 _ACAWK
42354 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
42355   for (key in S) S_is_set[key] = 1
42356   FS = "\a"
42357
42358 }
42359 {
42360   line = $ 0
42361   nfields = split(line, field, "@")
42362   substed = 0
42363   len = length(field[1])
42364   for (i = 2; i < nfields; i++) {
42365     key = field[i]
42366     keylen = length(key)
42367     if (S_is_set[key]) {
42368       value = S[key]
42369       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42370       len += length(value) + length(field[++i])
42371       substed = 1
42372     } else
42373       len += 1 + keylen
42374   }
42375
42376   print line
42377 }
42378
42379 _ACAWK
42380 _ACEOF
42381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42382 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42383   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
42384 else
42385   cat
42386 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
42387   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
42388 _ACEOF
42389
42390 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42391 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
42392 # trailing colons and then remove the whole line if VPATH becomes empty
42393 # (actually we leave an empty line to preserve line numbers).
42394 if test "x$srcdir" = x.; then
42395   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
42396 h
42397 s///
42398 s/^/:/
42399 s/[      ]*$/:/
42400 s/:\$(srcdir):/:/g
42401 s/:\${srcdir}:/:/g
42402 s/:@srcdir@:/:/g
42403 s/^:*//
42404 s/:*$//
42405 x
42406 s/\(=[   ]*\).*/\1/
42407 G
42408 s/\n//
42409 s/^[^=]*=[       ]*$//
42410 }'
42411 fi
42412
42413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42414 fi # test -n "$CONFIG_FILES"
42415
42416 # Set up the scripts for CONFIG_HEADERS section.
42417 # No need to generate them if there are no CONFIG_HEADERS.
42418 # This happens for instance with `./config.status Makefile'.
42419 if test -n "$CONFIG_HEADERS"; then
42420 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
42421 BEGIN {
42422 _ACEOF
42423
42424 # Transform confdefs.h into an awk script `defines.awk', embedded as
42425 # here-document in config.status, that substitutes the proper values into
42426 # config.h.in to produce config.h.
42427
42428 # Create a delimiter string that does not exist in confdefs.h, to ease
42429 # handling of long lines.
42430 ac_delim='%!_!# '
42431 for ac_last_try in false false :; do
42432   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
42433   if test -z "$ac_tt"; then
42434     break
42435   elif $ac_last_try; then
42436     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
42437   else
42438     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42439   fi
42440 done
42441
42442 # For the awk script, D is an array of macro values keyed by name,
42443 # likewise P contains macro parameters if any.  Preserve backslash
42444 # newline sequences.
42445
42446 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42447 sed -n '
42448 s/.\{148\}/&'"$ac_delim"'/g
42449 t rset
42450 :rset
42451 s/^[     ]*#[    ]*define[       ][      ]*/ /
42452 t def
42453 d
42454 :def
42455 s/\\$//
42456 t bsnl
42457 s/["\\]/\\&/g
42458 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
42459 D["\1"]=" \3"/p
42460 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
42461 d
42462 :bsnl
42463 s/["\\]/\\&/g
42464 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
42465 D["\1"]=" \3\\\\\\n"\\/p
42466 t cont
42467 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
42468 t cont
42469 d
42470 :cont
42471 n
42472 s/.\{148\}/&'"$ac_delim"'/g
42473 t clear
42474 :clear
42475 s/\\$//
42476 t bsnlc
42477 s/["\\]/\\&/g; s/^/"/; s/$/"/p
42478 d
42479 :bsnlc
42480 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
42481 b cont
42482 ' <confdefs.h | sed '
42483 s/'"$ac_delim"'/"\\\
42484 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42485
42486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42487   for (key in D) D_is_set[key] = 1
42488   FS = "\a"
42489 }
42490 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42491   line = \$ 0
42492   split(line, arg, " ")
42493   if (arg[1] == "#") {
42494     defundef = arg[2]
42495     mac1 = arg[3]
42496   } else {
42497     defundef = substr(arg[1], 2)
42498     mac1 = arg[2]
42499   }
42500   split(mac1, mac2, "(") #)
42501   macro = mac2[1]
42502   prefix = substr(line, 1, index(line, defundef) - 1)
42503   if (D_is_set[macro]) {
42504     # Preserve the white space surrounding the "#".
42505     print prefix "define", macro P[macro] D[macro]
42506     next
42507   } else {
42508     # Replace #undef with comments.  This is necessary, for example,
42509     # in the case of _POSIX_SOURCE, which is predefined and required
42510     # on some systems where configure will not decide to define it.
42511     if (defundef == "undef") {
42512       print "/*", prefix defundef, macro, "*/"
42513       next
42514     }
42515   }
42516 }
42517 { print }
42518 _ACAWK
42519 _ACEOF
42520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42521   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42522 fi # test -n "$CONFIG_HEADERS"
42523
42524
42525 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
42526 shift
42527 for ac_tag
42528 do
42529   case $ac_tag in
42530   :[FHLC]) ac_mode=$ac_tag; continue;;
42531   esac
42532   case $ac_mode$ac_tag in
42533   :[FHL]*:*);;
42534   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
42535   :[FH]-) ac_tag=-:-;;
42536   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42537   esac
42538   ac_save_IFS=$IFS
42539   IFS=:
42540   set x $ac_tag
42541   IFS=$ac_save_IFS
42542   shift
42543   ac_file=$1
42544   shift
42545
42546   case $ac_mode in
42547   :L) ac_source=$1;;
42548   :[FH])
42549     ac_file_inputs=
42550     for ac_f
42551     do
42552       case $ac_f in
42553       -) ac_f="$ac_tmp/stdin";;
42554       *) # Look for the file first in the build tree, then in the source tree
42555          # (if the path is not absolute).  The absolute path cannot be DOS-style,
42556          # because $ac_f cannot contain `:'.
42557          test -f "$ac_f" ||
42558            case $ac_f in
42559            [\\/$]*) false;;
42560            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42561            esac ||
42562            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42563       esac
42564       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42565       as_fn_append ac_file_inputs " '$ac_f'"
42566     done
42567
42568     # Let's still pretend it is `configure' which instantiates (i.e., don't
42569     # use $as_me), people would be surprised to read:
42570     #    /* config.h.  Generated by config.status.  */
42571     configure_input='Generated from '`
42572           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42573         `' by configure.'
42574     if test x"$ac_file" != x-; then
42575       configure_input="$ac_file.  $configure_input"
42576       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42577 $as_echo "$as_me: creating $ac_file" >&6;}
42578     fi
42579     # Neutralize special characters interpreted by sed in replacement strings.
42580     case $configure_input in #(
42581     *\&* | *\|* | *\\* )
42582        ac_sed_conf_input=`$as_echo "$configure_input" |
42583        sed 's/[\\\\&|]/\\\\&/g'`;; #(
42584     *) ac_sed_conf_input=$configure_input;;
42585     esac
42586
42587     case $ac_tag in
42588     *:-:* | *:-) cat >"$ac_tmp/stdin" \
42589       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42590     esac
42591     ;;
42592   esac
42593
42594   ac_dir=`$as_dirname -- "$ac_file" ||
42595 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42596          X"$ac_file" : 'X\(//\)[^/]' \| \
42597          X"$ac_file" : 'X\(//\)$' \| \
42598          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42599 $as_echo X"$ac_file" |
42600     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42601             s//\1/
42602             q
42603           }
42604           /^X\(\/\/\)[^/].*/{
42605             s//\1/
42606             q
42607           }
42608           /^X\(\/\/\)$/{
42609             s//\1/
42610             q
42611           }
42612           /^X\(\/\).*/{
42613             s//\1/
42614             q
42615           }
42616           s/.*/./; q'`
42617   as_dir="$ac_dir"; as_fn_mkdir_p
42618   ac_builddir=.
42619
42620 case "$ac_dir" in
42621 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42622 *)
42623   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42624   # A ".." for each directory in $ac_dir_suffix.
42625   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42626   case $ac_top_builddir_sub in
42627   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42628   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42629   esac ;;
42630 esac
42631 ac_abs_top_builddir=$ac_pwd
42632 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42633 # for backward compatibility:
42634 ac_top_builddir=$ac_top_build_prefix
42635
42636 case $srcdir in
42637   .)  # We are building in place.
42638     ac_srcdir=.
42639     ac_top_srcdir=$ac_top_builddir_sub
42640     ac_abs_top_srcdir=$ac_pwd ;;
42641   [\\/]* | ?:[\\/]* )  # Absolute name.
42642     ac_srcdir=$srcdir$ac_dir_suffix;
42643     ac_top_srcdir=$srcdir
42644     ac_abs_top_srcdir=$srcdir ;;
42645   *) # Relative name.
42646     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42647     ac_top_srcdir=$ac_top_build_prefix$srcdir
42648     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42649 esac
42650 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42651
42652
42653   case $ac_mode in
42654   :F)
42655   #
42656   # CONFIG_FILE
42657   #
42658
42659   case $INSTALL in
42660   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42661   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42662   esac
42663 _ACEOF
42664
42665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42666 # If the template does not know about datarootdir, expand it.
42667 # FIXME: This hack should be removed a few years after 2.60.
42668 ac_datarootdir_hack=; ac_datarootdir_seen=
42669 ac_sed_dataroot='
42670 /datarootdir/ {
42671   p
42672   q
42673 }
42674 /@datadir@/p
42675 /@docdir@/p
42676 /@infodir@/p
42677 /@localedir@/p
42678 /@mandir@/p'
42679 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42680 *datarootdir*) ac_datarootdir_seen=yes;;
42681 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42682   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42683 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42684 _ACEOF
42685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42686   ac_datarootdir_hack='
42687   s&@datadir@&$datadir&g
42688   s&@docdir@&$docdir&g
42689   s&@infodir@&$infodir&g
42690   s&@localedir@&$localedir&g
42691   s&@mandir@&$mandir&g
42692   s&\\\${datarootdir}&$datarootdir&g' ;;
42693 esac
42694 _ACEOF
42695
42696 # Neutralize VPATH when `$srcdir' = `.'.
42697 # Shell code in configure.ac might set extrasub.
42698 # FIXME: do we really want to maintain this feature?
42699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42700 ac_sed_extra="$ac_vpsub
42701 $extrasub
42702 _ACEOF
42703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42704 :t
42705 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42706 s|@configure_input@|$ac_sed_conf_input|;t t
42707 s&@top_builddir@&$ac_top_builddir_sub&;t t
42708 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42709 s&@srcdir@&$ac_srcdir&;t t
42710 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42711 s&@top_srcdir@&$ac_top_srcdir&;t t
42712 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42713 s&@builddir@&$ac_builddir&;t t
42714 s&@abs_builddir@&$ac_abs_builddir&;t t
42715 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42716 s&@INSTALL@&$ac_INSTALL&;t t
42717 $ac_datarootdir_hack
42718 "
42719 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
42720   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42721
42722 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42723   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
42724   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
42725       "$ac_tmp/out"`; test -z "$ac_out"; } &&
42726   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42727 which seems to be undefined.  Please make sure it is defined" >&5
42728 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42729 which seems to be undefined.  Please make sure it is defined" >&2;}
42730
42731   rm -f "$ac_tmp/stdin"
42732   case $ac_file in
42733   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42734   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42735   esac \
42736   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42737  ;;
42738   :H)
42739   #
42740   # CONFIG_HEADER
42741   #
42742   if test x"$ac_file" != x-; then
42743     {
42744       $as_echo "/* $configure_input  */" \
42745       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42746     } >"$ac_tmp/config.h" \
42747       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42748     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42749       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42750 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42751     else
42752       rm -f "$ac_file"
42753       mv "$ac_tmp/config.h" "$ac_file" \
42754         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42755     fi
42756   else
42757     $as_echo "/* $configure_input  */" \
42758       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42759       || as_fn_error $? "could not create -" "$LINENO" 5
42760   fi
42761  ;;
42762
42763   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42764 $as_echo "$as_me: executing $ac_file commands" >&6;}
42765  ;;
42766   esac
42767
42768
42769   case $ac_file$ac_mode in
42770     "rcdefs.h":C)
42771             mkdir -p $outdir &&
42772             $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42773          ;;
42774     "lib/wx/config/${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME}  ;;
42775     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}  ;;
42776     "utils/ifacecheck/rungccxml.sh":F)  chmod +x utils/ifacecheck/rungccxml.sh  ;;
42777     "wx-config":C)  rm -f wx-config
42778                      ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42779                     ;;
42780
42781   esac
42782 done # for ac_tag
42783
42784
42785 as_fn_exit 0
42786 _ACEOF
42787 ac_clean_files=$ac_clean_files_save
42788
42789 test $ac_write_fail = 0 ||
42790   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42791
42792
42793 # configure is writing to config.log, and then calls config.status.
42794 # config.status does its own redirection, appending to config.log.
42795 # Unfortunately, on DOS this fails, as config.log is still kept open
42796 # by configure, so config.status won't be able to write to it; its
42797 # output is simply discarded.  So we exec the FD to /dev/null,
42798 # effectively closing config.log, so it can be properly (re)opened and
42799 # appended to by config.status.  When coming back to configure, we
42800 # need to make the FD available again.
42801 if test "$no_create" != yes; then
42802   ac_cs_success=:
42803   ac_config_status_args=
42804   test "$silent" = yes &&
42805     ac_config_status_args="$ac_config_status_args --quiet"
42806   exec 5>/dev/null
42807   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42808   exec 5>>config.log
42809   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42810   # would make configure fail if this is the last instruction.
42811   $ac_cs_success || as_fn_exit 1
42812 fi
42813
42814 #
42815 # CONFIG_SUBDIRS section.
42816 #
42817 if test "$no_recursion" != yes; then
42818
42819   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42820   # so they do not pile up.
42821   ac_sub_configure_args=
42822   ac_prev=
42823   eval "set x $ac_configure_args"
42824   shift
42825   for ac_arg
42826   do
42827     if test -n "$ac_prev"; then
42828       ac_prev=
42829       continue
42830     fi
42831     case $ac_arg in
42832     -cache-file | --cache-file | --cache-fil | --cache-fi \
42833     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42834       ac_prev=cache_file ;;
42835     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42836     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42837     | --c=*)
42838       ;;
42839     --config-cache | -C)
42840       ;;
42841     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42842       ac_prev=srcdir ;;
42843     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42844       ;;
42845     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42846       ac_prev=prefix ;;
42847     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42848       ;;
42849     --disable-option-checking)
42850       ;;
42851     *)
42852       case $ac_arg in
42853       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42854       esac
42855       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
42856     esac
42857   done
42858
42859   # Always prepend --prefix to ensure using the same prefix
42860   # in subdir configurations.
42861   ac_arg="--prefix=$prefix"
42862   case $ac_arg in
42863   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42864   esac
42865   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
42866
42867   # Pass --silent
42868   if test "$silent" = yes; then
42869     ac_sub_configure_args="--silent $ac_sub_configure_args"
42870   fi
42871
42872   # Always prepend --disable-option-checking to silence warnings, since
42873   # different subdirs can have different --enable and --with options.
42874   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
42875
42876   ac_popdir=`pwd`
42877   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42878
42879     # Do not complain, so a configure script can configure whichever
42880     # parts of a large source tree are present.
42881     test -d "$srcdir/$ac_dir" || continue
42882
42883     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42884     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42885     $as_echo "$ac_msg" >&6
42886     as_dir="$ac_dir"; as_fn_mkdir_p
42887     ac_builddir=.
42888
42889 case "$ac_dir" in
42890 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42891 *)
42892   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42893   # A ".." for each directory in $ac_dir_suffix.
42894   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42895   case $ac_top_builddir_sub in
42896   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42897   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42898   esac ;;
42899 esac
42900 ac_abs_top_builddir=$ac_pwd
42901 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42902 # for backward compatibility:
42903 ac_top_builddir=$ac_top_build_prefix
42904
42905 case $srcdir in
42906   .)  # We are building in place.
42907     ac_srcdir=.
42908     ac_top_srcdir=$ac_top_builddir_sub
42909     ac_abs_top_srcdir=$ac_pwd ;;
42910   [\\/]* | ?:[\\/]* )  # Absolute name.
42911     ac_srcdir=$srcdir$ac_dir_suffix;
42912     ac_top_srcdir=$srcdir
42913     ac_abs_top_srcdir=$srcdir ;;
42914   *) # Relative name.
42915     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42916     ac_top_srcdir=$ac_top_build_prefix$srcdir
42917     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42918 esac
42919 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42920
42921
42922     cd "$ac_dir"
42923
42924     # Check for guested configure; otherwise get Cygnus style configure.
42925     if test -f "$ac_srcdir/configure.gnu"; then
42926       ac_sub_configure=$ac_srcdir/configure.gnu
42927     elif test -f "$ac_srcdir/configure"; then
42928       ac_sub_configure=$ac_srcdir/configure
42929     elif test -f "$ac_srcdir/configure.in"; then
42930       # This should be Cygnus configure.
42931       ac_sub_configure=$ac_aux_dir/configure
42932     else
42933       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42934 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42935       ac_sub_configure=
42936     fi
42937
42938     # The recursion is here.
42939     if test -n "$ac_sub_configure"; then
42940       # Make the cache file name correct relative to the subdirectory.
42941       case $cache_file in
42942       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
42943       *) # Relative name.
42944         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
42945       esac
42946
42947       { $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
42948 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42949       # The eval makes quoting arguments work.
42950       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42951            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42952         as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42953     fi
42954
42955     cd "$ac_popdir"
42956   done
42957 fi
42958 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
42959   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42960 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42961 fi
42962
42963
42964 echo
42965 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42966 echo ""
42967 echo "  Which GUI toolkit should wxWidgets use?                 ${TOOLKIT_DESC}"
42968 echo "  Should wxWidgets be compiled into single library?       ${wxUSE_MONOLITHIC:-yes}"
42969 echo "  Should wxWidgets be linked as a shared library?         ${wxUSE_SHARED:-no}"
42970 echo $ECHO_N "  Should wxWidgets support Unicode?                       ${wxUSE_UNICODE:-no}$ECHO_C"
42971 if test "$wxUSE_UNICODE" = "yes"; then
42972     if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42973         echo " (using UTF-8)"
42974     else
42975         echo " (using wchar_t)"
42976     fi
42977 else
42978     echo
42979 fi
42980
42981 echo "  What level of wxWidgets compatibility should be enabled?"
42982 echo "                                       wxWidgets 2.6      ${WXWIN_COMPATIBILITY_2_6:-no}"
42983 echo "                                       wxWidgets 2.8      ${WXWIN_COMPATIBILITY_2_8:-yes}"
42984
42985 echo "  Which libraries should wxWidgets use?"
42986 echo "                                       STL                ${wxUSE_STL}"
42987 echo "                                       jpeg               ${wxUSE_LIBJPEG-none}"
42988 echo "                                       png                ${wxUSE_LIBPNG-none}"
42989 echo "                                       regex              ${wxUSE_REGEX}"
42990 echo "                                       tiff               ${wxUSE_LIBTIFF-none}"
42991 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42992 echo "                                       xpm                ${wxUSE_LIBXPM-none}"
42993 fi
42994 echo "                                       zlib               ${wxUSE_ZLIB}"
42995 echo "                                       expat              ${wxUSE_EXPAT}"
42996 echo "                                       libmspack          ${wxUSE_LIBMSPACK}"
42997 echo "                                       sdl                ${wxUSE_LIBSDL}"
42998
42999 echo ""
43000