Reconcile HAVE_VARIADIC_MACROS and wxHAS_VARIADIC_MACROS definitions.
[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_WXUNIV_1
679 COND_WXUNIV_0
680 COND_WITH_PLUGIN_SDL_1
681 COND_WINDOWS_IMPLIB_1
682 COND_USE_XRC_1
683 COND_USE_THREADS_1
684 COND_USE_THREADS_0
685 COND_USE_STC_1
686 COND_USE_SOVERSOLARIS_1
687 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
688 COND_USE_SOVERSION_0
689 COND_USE_SOVERLINUX_1
690 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
691 COND_USE_SOTWOSYMLINKS_1
692 COND_USE_RTTI_1
693 COND_USE_RTTI_0
694 COND_USE_PLUGINS_0
695 COND_USE_PCH_1
696 COND_USE_OPENGL_1
697 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
698 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
699 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
700 COND_USE_GUI_1_WXUNIV_1
701 COND_USE_GUI_1_WXUNIV_0
702 COND_USE_GUI_1_USE_OPENGL_1
703 COND_USE_GUI_1
704 COND_USE_GUI_0
705 COND_USE_EXCEPTIONS_1
706 COND_USE_EXCEPTIONS_0
707 COND_USE_CAIRO_1
708 COND_UNICODE_1
709 COND_TOOLKIT_X11_USE_GUI_1
710 COND_TOOLKIT_X11
711 COND_TOOLKIT_WINCE_WXUNIV_0
712 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
713 COND_TOOLKIT_WINCE_USE_GUI_1
714 COND_TOOLKIT_WINCE
715 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
716 COND_TOOLKIT_PM_USE_GUI_1
717 COND_TOOLKIT_PM
718 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
719 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
720 COND_TOOLKIT_OSX_IPHONE
721 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
722 COND_TOOLKIT_OSX_COCOA
723 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
724 COND_TOOLKIT_OSX_CARBON
725 COND_TOOLKIT_MSW_WXUNIV_0
726 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
727 COND_TOOLKIT_MSW_USE_GUI_1
728 COND_TOOLKIT_MSW
729 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
730 COND_TOOLKIT_MOTIF_USE_GUI_1
731 COND_TOOLKIT_MOTIF
732 COND_TOOLKIT_MAC
733 COND_TOOLKIT_GTK_USE_GUI_1
734 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
735 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
736 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
737 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
738 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
739 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
740 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
741 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
742 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
744 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
745 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
746 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
747 COND_TOOLKIT_GTK
748 COND_TOOLKIT_DFB_USE_GUI_1
749 COND_TOOLKIT_DFB
750 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
751 COND_TOOLKIT_COCOA_USE_GUI_1
752 COND_TOOLKIT_COCOA
753 COND_TOOLKIT_
754 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
755 COND_SHARED_1
756 COND_SHARED_0_wxUSE_ZLIB_builtin
757 COND_SHARED_0_wxUSE_REGEX_builtin
758 COND_SHARED_0_wxUSE_EXPAT_builtin
759 COND_SHARED_0_USE_STC_1
760 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
761 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
762 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
763 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
764 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
765 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
766 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
767 COND_SHARED_0
768 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
769 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
770 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
771 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
772 COND_PLATFORM_WIN32_1_SHARED_0
773 COND_PLATFORM_WIN32_1
774 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
775 COND_PLATFORM_WIN32_0
776 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
777 COND_PLATFORM_UNIX_1_USE_GUI_1
778 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
779 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
780 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
781 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
782 COND_PLATFORM_UNIX_1
783 COND_PLATFORM_UNIX_0
784 COND_PLATFORM_OS2_1
785 COND_PLATFORM_MSDOS_1
786 COND_PLATFORM_MSDOS_0
787 COND_PLATFORM_MAC_1
788 COND_PLATFORM_MAC_0
789 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
790 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
791 COND_PLATFORM_MACOSX_1_USE_GUI_1
792 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
793 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
794 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
795 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
796 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
797 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
798 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
799 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
800 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
801 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
802 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
803 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
804 COND_PLATFORM_MACOSX_1
805 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
806 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
807 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
808 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
809 COND_MONOLITHIC_1_USE_STC_1
810 COND_MONOLITHIC_1_SHARED_1
811 COND_MONOLITHIC_1_SHARED_0
812 COND_MONOLITHIC_1
813 COND_MONOLITHIC_0_USE_XRC_1
814 COND_MONOLITHIC_0_USE_WEBVIEW_1
815 COND_MONOLITHIC_0_USE_STC_1
816 COND_MONOLITHIC_0_USE_RICHTEXT_1
817 COND_MONOLITHIC_0_USE_RIBBON_1
818 COND_MONOLITHIC_0_USE_QA_1
819 COND_MONOLITHIC_0_USE_PROPGRID_1
820 COND_MONOLITHIC_0_USE_MEDIA_1
821 COND_MONOLITHIC_0_USE_HTML_1
822 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
823 COND_MONOLITHIC_0_USE_GUI_1
824 COND_MONOLITHIC_0_USE_AUI_1
825 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
826 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
827 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
828 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
829 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
834 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
835 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
836 COND_MONOLITHIC_0_SHARED_1
837 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
838 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
839 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
840 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
841 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0
849 COND_MONOLITHIC_0
850 COND_ICC_PCH_1
851 COND_GCC_PCH_1
852 COND_DEPS_TRACKING_1
853 COND_DEPS_TRACKING_0
854 COND_DEBUG_INFO_1
855 COND_DEBUG_INFO_0
856 COND_DEBUG_FLAG_0
857 COND_BUILD_release_DEBUG_INFO_default
858 COND_BUILD_release
859 COND_BUILD_debug_DEBUG_INFO_default
860 COND_BUILD_debug
861 BK_MAKE_PCH
862 ICC_PCH_USE_SWITCH
863 ICC_PCH_CREATE_SWITCH
864 ICC_PCH
865 GCC_PCH
866 OBJCXXFLAGS
867 SETFILE
868 REZ
869 WINDRES
870 BK_DEPS
871 DEPS_TRACKING
872 SONAME_FLAG
873 USE_SOTWOSYMLINKS
874 USE_MACVERSION
875 USE_SOVERCYGWIN
876 USE_SOVERSOLARIS
877 USE_SOVERLINUX
878 USE_SOVERSION
879 WINDOWS_IMPLIB
880 PIC_FLAG
881 SHARED_LD_MODULE_CXX
882 SHARED_LD_MODULE_CC
883 SHARED_LD_CXX
884 SHARED_LD_CC
885 AIX_CXX_LD
886 dlldir
887 DLLPREFIX_MODULE
888 DLLPREFIX
889 LIBEXT
890 LIBPREFIX
891 DLLIMP_SUFFIX
892 SO_SUFFIX_MODULE
893 SO_SUFFIX
894 PLATFORM_BEOS
895 PLATFORM_OS2
896 PLATFORM_MACOSX
897 PLATFORM_MACOS
898 PLATFORM_MAC
899 PLATFORM_MSDOS
900 PLATFORM_WIN32
901 PLATFORM_UNIX
902 IF_GNU_MAKE
903 LDFLAGS_GUI
904 INSTALL_DIR
905 NM
906 STRIP
907 AROPTIONS
908 MAKE_SET
909 SET_MAKE
910 LN_S
911 INSTALL_DATA
912 INSTALL_SCRIPT
913 INSTALL_PROGRAM
914 RANLIB
915 CPPUNIT_LIBS
916 CPPUNIT_CFLAGS
917 HOST_SUFFIX
918 HEADER_PAD_OPTION
919 SAMPLES_RPATH_FLAG
920 DYLIB_RPATH_POSTLINK
921 DYLIB_RPATH_INSTALL
922 TOOLKIT_VERSION
923 TOOLKIT_LOWERCASE
924 DEBUG_FLAG
925 DEBUG_INFO
926 UNICODE
927 WITH_PLUGIN_SDL
928 EXTRALIBS_STC
929 EXTRALIBS_SDL
930 EXTRALIBS_OPENGL
931 EXTRALIBS_GUI
932 EXTRALIBS_MEDIA
933 EXTRALIBS_HTML
934 EXTRALIBS_XML
935 EXTRALIBS
936 CXXWARNINGS
937 USE_PLUGINS
938 MONOLITHIC
939 WXUNIV
940 WX_LIB_FLAVOUR
941 WX_FLAVOUR
942 OFFICIAL_BUILD
943 VENDOR
944 wxUSE_LIBTIFF
945 wxUSE_LIBPNG
946 wxUSE_LIBJPEG
947 wxUSE_EXPAT
948 wxUSE_REGEX
949 wxUSE_ZLIB
950 STD_GUI_LIBS
951 STD_BASE_LIBS
952 BUILT_WX_LIBS
953 ALL_WX_LIBS
954 GST_LIBS
955 GST_CFLAGS
956 CAIRO_LIBS
957 CAIRO_CFLAGS
958 WEBKIT_LIBS
959 WEBKIT_CFLAGS
960 COND_PYTHON
961 PYTHON
962 HILDON2_LIBS
963 HILDON2_CFLAGS
964 HILDON_LIBS
965 HILDON_CFLAGS
966 LIBNOTIFY_LIBS
967 LIBNOTIFY_CFLAGS
968 GNOMEVFS_LIBS
969 GNOMEVFS_CFLAGS
970 LIBGNOMEPRINTUI_LIBS
971 LIBGNOMEPRINTUI_CFLAGS
972 GTKPRINT_LIBS
973 GTKPRINT_CFLAGS
974 SDL_LIBS
975 SDL_CFLAGS
976 SDL_CONFIG
977 GXX_VERSION
978 LIBICONV
979 CXXFLAGS_VISIBILITY
980 CFLAGS_VISIBILITY
981 MesaGL_LIBS
982 MesaGL_CFLAGS
983 GLU_LIBS
984 GLU_CFLAGS
985 GL_LIBS
986 GL_CFLAGS
987 SM_LIBS
988 SM_CFLAGS
989 Xxf86vm_LIBS
990 Xxf86vm_CFLAGS
991 Xinerama_LIBS
992 Xinerama_CFLAGS
993 PANGOXFT_LIBS
994 PANGOXFT_CFLAGS
995 PANGOFT2_LIBS
996 PANGOFT2_CFLAGS
997 PANGOX_LIBS
998 PANGOX_CFLAGS
999 X_EXTRA_LIBS
1000 X_LIBS
1001 X_PRE_LIBS
1002 X_CFLAGS
1003 XMKMF
1004 DIRECTFB_LIBS
1005 DIRECTFB_CFLAGS
1006 GTK_CONFIG
1007 GTK_LIBS
1008 GTK_CFLAGS
1009 PKG_CONFIG
1010 subdirs
1011 CXXCPP
1012 AR
1013 ac_ct_CXX
1014 CXXFLAGS
1015 CXX
1016 EGREP
1017 GREP
1018 CPP
1019 OBJEXT
1020 EXEEXT
1021 ac_ct_CC
1022 CPPFLAGS
1023 LDFLAGS
1024 CFLAGS
1025 CC
1026 wx_top_builddir
1027 host_os
1028 host_vendor
1029 host_cpu
1030 host
1031 build_os
1032 build_vendor
1033 build_cpu
1034 build
1035 target_alias
1036 host_alias
1037 build_alias
1038 LIBS
1039 ECHO_T
1040 ECHO_N
1041 ECHO_C
1042 DEFS
1043 mandir
1044 localedir
1045 libdir
1046 psdir
1047 pdfdir
1048 dvidir
1049 htmldir
1050 infodir
1051 docdir
1052 oldincludedir
1053 includedir
1054 localstatedir
1055 sharedstatedir
1056 sysconfdir
1057 datadir
1058 datarootdir
1059 libexecdir
1060 sbindir
1061 bindir
1062 program_transform_name
1063 prefix
1064 exec_prefix
1065 PACKAGE_URL
1066 PACKAGE_BUGREPORT
1067 PACKAGE_STRING
1068 PACKAGE_VERSION
1069 PACKAGE_TARNAME
1070 PACKAGE_NAME
1071 PATH_SEPARATOR
1072 SHELL'
1073 ac_subst_files=''
1074 ac_user_opts='
1075 enable_option_checking
1076 enable_gui
1077 enable_monolithic
1078 enable_plugins
1079 with_subdirs
1080 with_flavour
1081 enable_official_build
1082 enable_vendor
1083 enable_all_features
1084 enable_universal
1085 with_themes
1086 with_gtk
1087 with_motif
1088 with_osx_carbon
1089 with_osx_cocoa
1090 with_osx_iphone
1091 with_osx
1092 with_carbon
1093 with_cocoa
1094 with_iphone
1095 with_mac
1096 with_old_cocoa
1097 with_wine
1098 with_msw
1099 with_pm
1100 with_directfb
1101 with_microwin
1102 with_x11
1103 enable_nanox
1104 enable_gpe
1105 with_libpng
1106 with_libjpeg
1107 with_libtiff
1108 with_libjbig
1109 with_liblzma
1110 with_libxpm
1111 with_libiconv
1112 with_libmspack
1113 with_gtkprint
1114 with_gnomeprint
1115 with_gnomevfs
1116 with_libnotify
1117 with_hildon
1118 with_opengl
1119 with_dmalloc
1120 with_sdl
1121 with_regex
1122 with_zlib
1123 with_expat
1124 with_macosx_sdk
1125 with_macosx_version_min
1126 enable_debug
1127 enable_debug_flag
1128 enable_debug_info
1129 enable_debug_gdb
1130 enable_debug_cntxt
1131 enable_mem_tracing
1132 enable_shared
1133 enable_stl
1134 enable_std_containers
1135 enable_std_iostreams
1136 enable_std_string
1137 enable_std_string_conv_in_wxstring
1138 enable_unicode
1139 enable_mslu
1140 enable_utf8
1141 enable_utf8only
1142 enable_extended_rtti
1143 enable_omf
1144 enable_optimise
1145 enable_profile
1146 enable_no_rtti
1147 enable_no_exceptions
1148 enable_permissive
1149 enable_no_deps
1150 enable_vararg_macros
1151 enable_universal_binary
1152 enable_macosx_arch
1153 enable_compat26
1154 enable_compat28
1155 enable_rpath
1156 enable_objc_uniquifying
1157 enable_visibility
1158 enable_tls
1159 enable_intl
1160 enable_xlocale
1161 enable_config
1162 enable_protocols
1163 enable_ftp
1164 enable_http
1165 enable_fileproto
1166 enable_sockets
1167 enable_ipv6
1168 enable_ole
1169 enable_dataobj
1170 enable_ipc
1171 enable_baseevtloop
1172 enable_epollloop
1173 enable_selectloop
1174 enable_any
1175 enable_apple_ieee
1176 enable_arcstream
1177 enable_base64
1178 enable_backtrace
1179 enable_catch_segvs
1180 enable_cmdline
1181 enable_datetime
1182 enable_debugreport
1183 enable_dialupman
1184 enable_dynlib
1185 enable_dynamicloader
1186 enable_exceptions
1187 enable_ffile
1188 enable_file
1189 enable_filehistory
1190 enable_filesystem
1191 enable_fontenum
1192 enable_fontmap
1193 enable_fs_archive
1194 enable_fs_inet
1195 enable_fs_zip
1196 enable_fsvolume
1197 enable_fswatcher
1198 enable_geometry
1199 enable_log
1200 enable_longlong
1201 enable_mimetype
1202 enable_printfposparam
1203 enable_snglinst
1204 enable_sound
1205 enable_stdpaths
1206 enable_stopwatch
1207 enable_streams
1208 enable_sysoptions
1209 enable_tarstream
1210 enable_textbuf
1211 enable_textfile
1212 enable_timer
1213 enable_variant
1214 enable_zipstream
1215 enable_url
1216 enable_protocol
1217 enable_protocol_http
1218 enable_protocol_ftp
1219 enable_protocol_file
1220 enable_threads
1221 enable_iniconf
1222 enable_regkey
1223 enable_docview
1224 enable_help
1225 enable_mshtmlhelp
1226 enable_html
1227 enable_htmlhelp
1228 enable_xrc
1229 enable_aui
1230 enable_propgrid
1231 enable_ribbon
1232 enable_stc
1233 enable_constraints
1234 enable_loggui
1235 enable_logwin
1236 enable_logdialog
1237 enable_mdi
1238 enable_mdidoc
1239 enable_mediactrl
1240 enable_gstreamer8
1241 enable_richtext
1242 enable_postscript
1243 enable_printarch
1244 enable_svg
1245 enable_webkit
1246 enable_webview
1247 enable_graphics_ctx
1248 enable_clipboard
1249 enable_dnd
1250 enable_controls
1251 enable_markup
1252 enable_accel
1253 enable_animatectrl
1254 enable_bannerwindow
1255 enable_artstd
1256 enable_arttango
1257 enable_bmpbutton
1258 enable_bmpcombobox
1259 enable_button
1260 enable_calendar
1261 enable_caret
1262 enable_checkbox
1263 enable_checklst
1264 enable_choice
1265 enable_choicebook
1266 enable_collpane
1267 enable_colourpicker
1268 enable_combobox
1269 enable_comboctrl
1270 enable_commandlinkbutton
1271 enable_dataviewctrl
1272 enable_datepick
1273 enable_detect_sm
1274 enable_dirpicker
1275 enable_display
1276 enable_editablebox
1277 enable_filectrl
1278 enable_filepicker
1279 enable_fontpicker
1280 enable_gauge
1281 enable_grid
1282 enable_headerctrl
1283 enable_hyperlink
1284 enable_imaglist
1285 enable_infobar
1286 enable_listbook
1287 enable_listbox
1288 enable_listctrl
1289 enable_notebook
1290 enable_notifmsg
1291 enable_odcombobox
1292 enable_popupwin
1293 enable_radiobox
1294 enable_radiobtn
1295 enable_richmsgdlg
1296 enable_richtooltip
1297 enable_rearrangectrl
1298 enable_sash
1299 enable_scrollbar
1300 enable_searchctrl
1301 enable_slider
1302 enable_spinbtn
1303 enable_spinctrl
1304 enable_splitter
1305 enable_statbmp
1306 enable_statbox
1307 enable_statline
1308 enable_stattext
1309 enable_statusbar
1310 enable_taskbaricon
1311 enable_tbarnative
1312 enable_textctrl
1313 enable_tipwindow
1314 enable_togglebtn
1315 enable_toolbar
1316 enable_toolbook
1317 enable_treebook
1318 enable_treectrl
1319 enable_treelist
1320 enable_commondlg
1321 enable_aboutdlg
1322 enable_choicedlg
1323 enable_coldlg
1324 enable_filedlg
1325 enable_finddlg
1326 enable_fontdlg
1327 enable_dirdlg
1328 enable_msgdlg
1329 enable_numberdlg
1330 enable_splash
1331 enable_textdlg
1332 enable_tipdlg
1333 enable_progressdlg
1334 enable_wizarddlg
1335 enable_menus
1336 enable_miniframe
1337 enable_tooltips
1338 enable_splines
1339 enable_mousewheel
1340 enable_validators
1341 enable_busyinfo
1342 enable_hotkey
1343 enable_joystick
1344 enable_metafile
1345 enable_dragimage
1346 enable_accessibility
1347 enable_uiactionsim
1348 enable_dctransform
1349 enable_webviewwebkit
1350 enable_palette
1351 enable_image
1352 enable_gif
1353 enable_pcx
1354 enable_tga
1355 enable_iff
1356 enable_pnm
1357 enable_xpm
1358 enable_ico_cur
1359 enable_dccache
1360 enable_ps_in_msw
1361 enable_ownerdrawn
1362 enable_uxtheme
1363 enable_wxdib
1364 enable_webviewie
1365 enable_autoidman
1366 enable_largefile
1367 enable_gtktest
1368 with_gtk_prefix
1369 with_gtk_exec_prefix
1370 with_x
1371 with_libiconv_prefix
1372 with_sdl_prefix
1373 with_sdl_exec_prefix
1374 enable_sdltest
1375 enable_dependency_tracking
1376 enable_precomp_headers
1377 with_cppunit_prefix
1378 with_cppunit_exec_prefix
1379 '
1380       ac_precious_vars='build_alias
1381 host_alias
1382 target_alias
1383 CC
1384 CFLAGS
1385 LDFLAGS
1386 LIBS
1387 CPPFLAGS
1388 CPP
1389 CXX
1390 CXXFLAGS
1391 CCC
1392 CXXCPP
1393 PKG_CONFIG
1394 DIRECTFB_CFLAGS
1395 DIRECTFB_LIBS
1396 XMKMF
1397 PANGOX_CFLAGS
1398 PANGOX_LIBS
1399 PANGOFT2_CFLAGS
1400 PANGOFT2_LIBS
1401 PANGOXFT_CFLAGS
1402 PANGOXFT_LIBS
1403 Xinerama_CFLAGS
1404 Xinerama_LIBS
1405 Xxf86vm_CFLAGS
1406 Xxf86vm_LIBS
1407 SM_CFLAGS
1408 SM_LIBS
1409 GL_CFLAGS
1410 GL_LIBS
1411 GLU_CFLAGS
1412 GLU_LIBS
1413 MesaGL_CFLAGS
1414 MesaGL_LIBS
1415 GTKPRINT_CFLAGS
1416 GTKPRINT_LIBS
1417 LIBGNOMEPRINTUI_CFLAGS
1418 LIBGNOMEPRINTUI_LIBS
1419 GNOMEVFS_CFLAGS
1420 GNOMEVFS_LIBS
1421 LIBNOTIFY_CFLAGS
1422 LIBNOTIFY_LIBS
1423 HILDON_CFLAGS
1424 HILDON_LIBS
1425 HILDON2_CFLAGS
1426 HILDON2_LIBS
1427 WEBKIT_CFLAGS
1428 WEBKIT_LIBS
1429 CAIRO_CFLAGS
1430 CAIRO_LIBS
1431 GST_CFLAGS
1432 GST_LIBS'
1433 ac_subdirs_all='src/tiff
1434 src/expat'
1435
1436 # Initialize some variables set by options.
1437 ac_init_help=
1438 ac_init_version=false
1439 ac_unrecognized_opts=
1440 ac_unrecognized_sep=
1441 # The variables have the same names as the options, with
1442 # dashes changed to underlines.
1443 cache_file=/dev/null
1444 exec_prefix=NONE
1445 no_create=
1446 no_recursion=
1447 prefix=NONE
1448 program_prefix=NONE
1449 program_suffix=NONE
1450 program_transform_name=s,x,x,
1451 silent=
1452 site=
1453 srcdir=
1454 verbose=
1455 x_includes=NONE
1456 x_libraries=NONE
1457
1458 # Installation directory options.
1459 # These are left unexpanded so users can "make install exec_prefix=/foo"
1460 # and all the variables that are supposed to be based on exec_prefix
1461 # by default will actually change.
1462 # Use braces instead of parens because sh, perl, etc. also accept them.
1463 # (The list follows the same order as the GNU Coding Standards.)
1464 bindir='${exec_prefix}/bin'
1465 sbindir='${exec_prefix}/sbin'
1466 libexecdir='${exec_prefix}/libexec'
1467 datarootdir='${prefix}/share'
1468 datadir='${datarootdir}'
1469 sysconfdir='${prefix}/etc'
1470 sharedstatedir='${prefix}/com'
1471 localstatedir='${prefix}/var'
1472 includedir='${prefix}/include'
1473 oldincludedir='/usr/include'
1474 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1475 infodir='${datarootdir}/info'
1476 htmldir='${docdir}'
1477 dvidir='${docdir}'
1478 pdfdir='${docdir}'
1479 psdir='${docdir}'
1480 libdir='${exec_prefix}/lib'
1481 localedir='${datarootdir}/locale'
1482 mandir='${datarootdir}/man'
1483
1484 ac_prev=
1485 ac_dashdash=
1486 for ac_option
1487 do
1488   # If the previous option needs an argument, assign it.
1489   if test -n "$ac_prev"; then
1490     eval $ac_prev=\$ac_option
1491     ac_prev=
1492     continue
1493   fi
1494
1495   case $ac_option in
1496   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1497   *=)   ac_optarg= ;;
1498   *)    ac_optarg=yes ;;
1499   esac
1500
1501   # Accept the important Cygnus configure options, so we can diagnose typos.
1502
1503   case $ac_dashdash$ac_option in
1504   --)
1505     ac_dashdash=yes ;;
1506
1507   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1508     ac_prev=bindir ;;
1509   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1510     bindir=$ac_optarg ;;
1511
1512   -build | --build | --buil | --bui | --bu)
1513     ac_prev=build_alias ;;
1514   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1515     build_alias=$ac_optarg ;;
1516
1517   -cache-file | --cache-file | --cache-fil | --cache-fi \
1518   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1519     ac_prev=cache_file ;;
1520   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1521   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1522     cache_file=$ac_optarg ;;
1523
1524   --config-cache | -C)
1525     cache_file=config.cache ;;
1526
1527   -datadir | --datadir | --datadi | --datad)
1528     ac_prev=datadir ;;
1529   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1530     datadir=$ac_optarg ;;
1531
1532   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1533   | --dataroo | --dataro | --datar)
1534     ac_prev=datarootdir ;;
1535   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1536   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1537     datarootdir=$ac_optarg ;;
1538
1539   -disable-* | --disable-*)
1540     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1541     # Reject names that are not valid shell variable names.
1542     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1543       as_fn_error $? "invalid feature name: $ac_useropt"
1544     ac_useropt_orig=$ac_useropt
1545     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1546     case $ac_user_opts in
1547       *"
1548 "enable_$ac_useropt"
1549 "*) ;;
1550       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1551          ac_unrecognized_sep=', ';;
1552     esac
1553     eval enable_$ac_useropt=no ;;
1554
1555   -docdir | --docdir | --docdi | --doc | --do)
1556     ac_prev=docdir ;;
1557   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1558     docdir=$ac_optarg ;;
1559
1560   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1561     ac_prev=dvidir ;;
1562   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1563     dvidir=$ac_optarg ;;
1564
1565   -enable-* | --enable-*)
1566     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1567     # Reject names that are not valid shell variable names.
1568     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1569       as_fn_error $? "invalid feature name: $ac_useropt"
1570     ac_useropt_orig=$ac_useropt
1571     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1572     case $ac_user_opts in
1573       *"
1574 "enable_$ac_useropt"
1575 "*) ;;
1576       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1577          ac_unrecognized_sep=', ';;
1578     esac
1579     eval enable_$ac_useropt=\$ac_optarg ;;
1580
1581   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1582   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1583   | --exec | --exe | --ex)
1584     ac_prev=exec_prefix ;;
1585   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1586   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1587   | --exec=* | --exe=* | --ex=*)
1588     exec_prefix=$ac_optarg ;;
1589
1590   -gas | --gas | --ga | --g)
1591     # Obsolete; use --with-gas.
1592     with_gas=yes ;;
1593
1594   -help | --help | --hel | --he | -h)
1595     ac_init_help=long ;;
1596   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1597     ac_init_help=recursive ;;
1598   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1599     ac_init_help=short ;;
1600
1601   -host | --host | --hos | --ho)
1602     ac_prev=host_alias ;;
1603   -host=* | --host=* | --hos=* | --ho=*)
1604     host_alias=$ac_optarg ;;
1605
1606   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1607     ac_prev=htmldir ;;
1608   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1609   | --ht=*)
1610     htmldir=$ac_optarg ;;
1611
1612   -includedir | --includedir | --includedi | --included | --include \
1613   | --includ | --inclu | --incl | --inc)
1614     ac_prev=includedir ;;
1615   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1616   | --includ=* | --inclu=* | --incl=* | --inc=*)
1617     includedir=$ac_optarg ;;
1618
1619   -infodir | --infodir | --infodi | --infod | --info | --inf)
1620     ac_prev=infodir ;;
1621   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1622     infodir=$ac_optarg ;;
1623
1624   -libdir | --libdir | --libdi | --libd)
1625     ac_prev=libdir ;;
1626   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1627     libdir=$ac_optarg ;;
1628
1629   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1630   | --libexe | --libex | --libe)
1631     ac_prev=libexecdir ;;
1632   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1633   | --libexe=* | --libex=* | --libe=*)
1634     libexecdir=$ac_optarg ;;
1635
1636   -localedir | --localedir | --localedi | --localed | --locale)
1637     ac_prev=localedir ;;
1638   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1639     localedir=$ac_optarg ;;
1640
1641   -localstatedir | --localstatedir | --localstatedi | --localstated \
1642   | --localstate | --localstat | --localsta | --localst | --locals)
1643     ac_prev=localstatedir ;;
1644   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1645   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1646     localstatedir=$ac_optarg ;;
1647
1648   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1649     ac_prev=mandir ;;
1650   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1651     mandir=$ac_optarg ;;
1652
1653   -nfp | --nfp | --nf)
1654     # Obsolete; use --without-fp.
1655     with_fp=no ;;
1656
1657   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1658   | --no-cr | --no-c | -n)
1659     no_create=yes ;;
1660
1661   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1662   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1663     no_recursion=yes ;;
1664
1665   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1666   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1667   | --oldin | --oldi | --old | --ol | --o)
1668     ac_prev=oldincludedir ;;
1669   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1670   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1671   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1672     oldincludedir=$ac_optarg ;;
1673
1674   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1675     ac_prev=prefix ;;
1676   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1677     prefix=$ac_optarg ;;
1678
1679   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1680   | --program-pre | --program-pr | --program-p)
1681     ac_prev=program_prefix ;;
1682   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1683   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1684     program_prefix=$ac_optarg ;;
1685
1686   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1687   | --program-suf | --program-su | --program-s)
1688     ac_prev=program_suffix ;;
1689   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1690   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1691     program_suffix=$ac_optarg ;;
1692
1693   -program-transform-name | --program-transform-name \
1694   | --program-transform-nam | --program-transform-na \
1695   | --program-transform-n | --program-transform- \
1696   | --program-transform | --program-transfor \
1697   | --program-transfo | --program-transf \
1698   | --program-trans | --program-tran \
1699   | --progr-tra | --program-tr | --program-t)
1700     ac_prev=program_transform_name ;;
1701   -program-transform-name=* | --program-transform-name=* \
1702   | --program-transform-nam=* | --program-transform-na=* \
1703   | --program-transform-n=* | --program-transform-=* \
1704   | --program-transform=* | --program-transfor=* \
1705   | --program-transfo=* | --program-transf=* \
1706   | --program-trans=* | --program-tran=* \
1707   | --progr-tra=* | --program-tr=* | --program-t=*)
1708     program_transform_name=$ac_optarg ;;
1709
1710   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1711     ac_prev=pdfdir ;;
1712   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1713     pdfdir=$ac_optarg ;;
1714
1715   -psdir | --psdir | --psdi | --psd | --ps)
1716     ac_prev=psdir ;;
1717   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1718     psdir=$ac_optarg ;;
1719
1720   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1721   | -silent | --silent | --silen | --sile | --sil)
1722     silent=yes ;;
1723
1724   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1725     ac_prev=sbindir ;;
1726   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1727   | --sbi=* | --sb=*)
1728     sbindir=$ac_optarg ;;
1729
1730   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1731   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1732   | --sharedst | --shareds | --shared | --share | --shar \
1733   | --sha | --sh)
1734     ac_prev=sharedstatedir ;;
1735   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1736   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1737   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1738   | --sha=* | --sh=*)
1739     sharedstatedir=$ac_optarg ;;
1740
1741   -site | --site | --sit)
1742     ac_prev=site ;;
1743   -site=* | --site=* | --sit=*)
1744     site=$ac_optarg ;;
1745
1746   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1747     ac_prev=srcdir ;;
1748   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1749     srcdir=$ac_optarg ;;
1750
1751   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1752   | --syscon | --sysco | --sysc | --sys | --sy)
1753     ac_prev=sysconfdir ;;
1754   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1755   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1756     sysconfdir=$ac_optarg ;;
1757
1758   -target | --target | --targe | --targ | --tar | --ta | --t)
1759     ac_prev=target_alias ;;
1760   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1761     target_alias=$ac_optarg ;;
1762
1763   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1764     verbose=yes ;;
1765
1766   -version | --version | --versio | --versi | --vers | -V)
1767     ac_init_version=: ;;
1768
1769   -with-* | --with-*)
1770     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1771     # Reject names that are not valid shell variable names.
1772     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1773       as_fn_error $? "invalid package name: $ac_useropt"
1774     ac_useropt_orig=$ac_useropt
1775     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1776     case $ac_user_opts in
1777       *"
1778 "with_$ac_useropt"
1779 "*) ;;
1780       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1781          ac_unrecognized_sep=', ';;
1782     esac
1783     eval with_$ac_useropt=\$ac_optarg ;;
1784
1785   -without-* | --without-*)
1786     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1787     # Reject names that are not valid shell variable names.
1788     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1789       as_fn_error $? "invalid package name: $ac_useropt"
1790     ac_useropt_orig=$ac_useropt
1791     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1792     case $ac_user_opts in
1793       *"
1794 "with_$ac_useropt"
1795 "*) ;;
1796       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1797          ac_unrecognized_sep=', ';;
1798     esac
1799     eval with_$ac_useropt=no ;;
1800
1801   --x)
1802     # Obsolete; use --with-x.
1803     with_x=yes ;;
1804
1805   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1806   | --x-incl | --x-inc | --x-in | --x-i)
1807     ac_prev=x_includes ;;
1808   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1809   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1810     x_includes=$ac_optarg ;;
1811
1812   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1813   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1814     ac_prev=x_libraries ;;
1815   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1816   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1817     x_libraries=$ac_optarg ;;
1818
1819   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1820 Try \`$0 --help' for more information"
1821     ;;
1822
1823   *=*)
1824     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1825     # Reject names that are not valid shell variable names.
1826     case $ac_envvar in #(
1827       '' | [0-9]* | *[!_$as_cr_alnum]* )
1828       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1829     esac
1830     eval $ac_envvar=\$ac_optarg
1831     export $ac_envvar ;;
1832
1833   *)
1834     # FIXME: should be removed in autoconf 3.0.
1835     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1836     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1837       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1838     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1839     ;;
1840
1841   esac
1842 done
1843
1844 if test -n "$ac_prev"; then
1845   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1846   as_fn_error $? "missing argument to $ac_option"
1847 fi
1848
1849 if test -n "$ac_unrecognized_opts"; then
1850   case $enable_option_checking in
1851     no) ;;
1852     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1853     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1854   esac
1855 fi
1856
1857 # Check all directory arguments for consistency.
1858 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1859                 datadir sysconfdir sharedstatedir localstatedir includedir \
1860                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1861                 libdir localedir mandir
1862 do
1863   eval ac_val=\$$ac_var
1864   # Remove trailing slashes.
1865   case $ac_val in
1866     */ )
1867       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1868       eval $ac_var=\$ac_val;;
1869   esac
1870   # Be sure to have absolute directory names.
1871   case $ac_val in
1872     [\\/$]* | ?:[\\/]* )  continue;;
1873     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1874   esac
1875   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1876 done
1877
1878 # There might be people who depend on the old broken behavior: `$host'
1879 # used to hold the argument of --host etc.
1880 # FIXME: To remove some day.
1881 build=$build_alias
1882 host=$host_alias
1883 target=$target_alias
1884
1885 # FIXME: To remove some day.
1886 if test "x$host_alias" != x; then
1887   if test "x$build_alias" = x; then
1888     cross_compiling=maybe
1889   elif test "x$build_alias" != "x$host_alias"; then
1890     cross_compiling=yes
1891   fi
1892 fi
1893
1894 ac_tool_prefix=
1895 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1896
1897 test "$silent" = yes && exec 6>/dev/null
1898
1899
1900 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1901 ac_ls_di=`ls -di .` &&
1902 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1903   as_fn_error $? "working directory cannot be determined"
1904 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1905   as_fn_error $? "pwd does not report name of working directory"
1906
1907
1908 # Find the source files, if location was not specified.
1909 if test -z "$srcdir"; then
1910   ac_srcdir_defaulted=yes
1911   # Try the directory containing this script, then the parent directory.
1912   ac_confdir=`$as_dirname -- "$as_myself" ||
1913 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1914          X"$as_myself" : 'X\(//\)[^/]' \| \
1915          X"$as_myself" : 'X\(//\)$' \| \
1916          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1917 $as_echo X"$as_myself" |
1918     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1919             s//\1/
1920             q
1921           }
1922           /^X\(\/\/\)[^/].*/{
1923             s//\1/
1924             q
1925           }
1926           /^X\(\/\/\)$/{
1927             s//\1/
1928             q
1929           }
1930           /^X\(\/\).*/{
1931             s//\1/
1932             q
1933           }
1934           s/.*/./; q'`
1935   srcdir=$ac_confdir
1936   if test ! -r "$srcdir/$ac_unique_file"; then
1937     srcdir=..
1938   fi
1939 else
1940   ac_srcdir_defaulted=no
1941 fi
1942 if test ! -r "$srcdir/$ac_unique_file"; then
1943   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1944   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1945 fi
1946 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1947 ac_abs_confdir=`(
1948         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1949         pwd)`
1950 # When building in place, set srcdir=.
1951 if test "$ac_abs_confdir" = "$ac_pwd"; then
1952   srcdir=.
1953 fi
1954 # Remove unnecessary trailing slashes from srcdir.
1955 # Double slashes in file names in object file debugging info
1956 # mess up M-x gdb in Emacs.
1957 case $srcdir in
1958 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1959 esac
1960 for ac_var in $ac_precious_vars; do
1961   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1962   eval ac_env_${ac_var}_value=\$${ac_var}
1963   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1964   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1965 done
1966
1967 #
1968 # Report the --help message.
1969 #
1970 if test "$ac_init_help" = "long"; then
1971   # Omit some internal or obsolete options to make the list less imposing.
1972   # This message is too long to be a string in the A/UX 3.1 sh.
1973   cat <<_ACEOF
1974 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1975
1976 Usage: $0 [OPTION]... [VAR=VALUE]...
1977
1978 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1979 VAR=VALUE.  See below for descriptions of some of the useful variables.
1980
1981 Defaults for the options are specified in brackets.
1982
1983 Configuration:
1984   -h, --help              display this help and exit
1985       --help=short        display options specific to this package
1986       --help=recursive    display the short help of all the included packages
1987   -V, --version           display version information and exit
1988   -q, --quiet, --silent   do not print \`checking ...' messages
1989       --cache-file=FILE   cache test results in FILE [disabled]
1990   -C, --config-cache      alias for \`--cache-file=config.cache'
1991   -n, --no-create         do not create output files
1992       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1993
1994 Installation directories:
1995   --prefix=PREFIX         install architecture-independent files in PREFIX
1996                           [$ac_default_prefix]
1997   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1998                           [PREFIX]
1999
2000 By default, \`make install' will install all the files in
2001 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
2002 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2003 for instance \`--prefix=\$HOME'.
2004
2005 For better control, use the options below.
2006
2007 Fine tuning of the installation directories:
2008   --bindir=DIR            user executables [EPREFIX/bin]
2009   --sbindir=DIR           system admin executables [EPREFIX/sbin]
2010   --libexecdir=DIR        program executables [EPREFIX/libexec]
2011   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
2012   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
2013   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
2014   --libdir=DIR            object code libraries [EPREFIX/lib]
2015   --includedir=DIR        C header files [PREFIX/include]
2016   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
2017   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
2018   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
2019   --infodir=DIR           info documentation [DATAROOTDIR/info]
2020   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
2021   --mandir=DIR            man documentation [DATAROOTDIR/man]
2022   --docdir=DIR            documentation root [DATAROOTDIR/doc/wxwidgets]
2023   --htmldir=DIR           html documentation [DOCDIR]
2024   --dvidir=DIR            dvi documentation [DOCDIR]
2025   --pdfdir=DIR            pdf documentation [DOCDIR]
2026   --psdir=DIR             ps documentation [DOCDIR]
2027 _ACEOF
2028
2029   cat <<\_ACEOF
2030
2031 X features:
2032   --x-includes=DIR    X include files are in DIR
2033   --x-libraries=DIR   X library files are in DIR
2034
2035 System types:
2036   --build=BUILD     configure for building on BUILD [guessed]
2037   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
2038 _ACEOF
2039 fi
2040
2041 if test -n "$ac_init_help"; then
2042   case $ac_init_help in
2043      short | recursive ) echo "Configuration of wxWidgets 2.9.5:";;
2044    esac
2045   cat <<\_ACEOF
2046
2047 Optional Features:
2048   --disable-option-checking  ignore unrecognized --enable/--with options
2049   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
2050   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
2051   --disable-gui           don't build GUI parts of the library
2052   --enable-monolithic     build wxWidgets as single library
2053   --enable-plugins        build parts of wxWidgets as loadable components
2054   --enable-official_build official build of wxWidgets (win32 DLL only)
2055   --enable-vendor=VENDOR  vendor name (win32 DLL only)
2056   --disable-all-features  disable all optional features to build minimal library
2057   --enable-universal      use wxWidgets GUI controls instead of native ones
2058   --enable-nanox          use NanoX
2059   --enable-gpe            use GNOME PDA Environment features if possible
2060   --enable-debug          build library for debugging
2061   --disable-debug_flag    disable all debugging support
2062   --enable-debug_info     generate debug information
2063   --enable-debug_gdb      create code with extra GDB debugging information
2064   --enable-debug_cntxt    obsolete, don't use: use wxDebugContext
2065   --enable-mem_tracing    obsolete, don't use: create code with memory tracing
2066   --disable-shared        create static library instead of shared
2067   --enable-stl            use standard C++ classes for everything
2068   --enable-std_containers use standard C++ container classes
2069   --enable-std_iostreams  use standard C++ stream classes
2070   --enable-std_string     use standard C++ string classes
2071  --enable-std_string_conv_in_wxstring     provide implicit conversion to std::string in wxString
2072   --disable-unicode       compile without Unicode support
2073   --enable-mslu           use MS Layer for Unicode on Windows 9x (Win32 only)
2074   --enable-utf8           use UTF-8 representation for strings (Unix only)
2075   --enable-utf8only       only support UTF-8 locales in UTF-8 build (Unix only)
2076   --enable-extended_rtti  use extended RTTI (XTI)
2077   --enable-omf            use OMF object format
2078   --disable-optimise      compile without optimisations
2079   --enable-profile        create code with profiling information
2080   --enable-no_rtti        create code without RTTI information
2081   --enable-no_exceptions  create code without C++ exceptions handling
2082   --enable-permissive     compile code disregarding strict ANSI
2083   --enable-no_deps        create code without dependency information
2084   --disable-vararg_macros don't use vararg macros, even if they are supported
2085   --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2086   --enable-macosx_arch=ARCH  build for just the specified architecture
2087   --enable-compat26       enable wxWidgets 2.6 compatibility
2088   --disable-compat28      disable wxWidgets 2.8 compatibility
2089   --disable-rpath         disable use of rpath for uninstalled builds
2090   --enable-objc_uniquifying enable Objective-C class name uniquifying
2091   --disable-visibility    disable use of ELF symbols visibility even if supported
2092   --disable-tls           disable use of compiler TLS support
2093   --enable-intl           use internationalization system
2094   --enable-xlocale        use x-locale support (requires wxLocale)
2095   --enable-config         use wxConfig (and derived) classes
2096   --enable-protocols      use wxProtocol and derived classes
2097   --enable-ftp            use wxFTP (requires wxProtocol
2098   --enable-http           use wxHTTP (requires wxProtocol
2099   --enable-fileproto      use wxFileProto class (requires wxProtocol
2100   --enable-sockets        use socket/network classes
2101   --enable-ipv6           enable IPv6 support in wxSocket
2102   --enable-ole            use OLE classes (Win32 only)
2103   --enable-dataobj        use data object classes
2104   --enable-ipc            use interprocess communication (wxSocket etc.)
2105   --enable-baseevtloop    use event loop in console programs too
2106   --enable-epollloop      use wxEpollDispatcher class (Linux only)
2107   --enable-selectloop     use wxSelectDispatcher class
2108   --enable-any            use wxAny class
2109   --enable-apple_ieee     use the Apple IEEE codec
2110   --enable-arcstream      use wxArchive streams
2111   --enable-base64         use base64 encoding/decoding functions
2112   --enable-backtrace      use wxStackWalker class for getting backtraces
2113   --enable-catch_segvs    catch signals in wxApp::OnFatalException (Unix only)
2114   --enable-cmdline        use wxCmdLineParser class
2115   --enable-datetime       use wxDateTime class
2116   --enable-debugreport    use wxDebugReport class
2117   --enable-dialupman      use dialup network classes
2118   --enable-dynlib         use wxLibrary class for DLL loading
2119   --enable-dynamicloader  use (new) wxDynamicLibrary class
2120   --enable-exceptions     build exception-safe library
2121   --enable-ffile          use wxFFile class
2122   --enable-file           use wxFile class
2123   --enable-filehistory    use wxFileHistory class
2124   --enable-filesystem     use virtual file systems classes
2125   --enable-fontenum       use wxFontEnumerator class
2126   --enable-fontmap        use font encodings conversion classes
2127   --enable-fs_archive     use virtual archive filesystems
2128   --enable-fs_inet        use virtual HTTP/FTP filesystems
2129   --enable-fs_zip         now replaced by fs_archive
2130   --enable-fsvolume       use wxFSVolume class
2131   --enable-fswatcher      use wxFileSystemWatcher class
2132   --enable-geometry       use geometry class
2133   --enable-log            use logging system
2134   --enable-longlong       use wxLongLong class
2135   --enable-mimetype       use wxMimeTypesManager
2136   --enable-printfposparam use wxVsnprintf() which supports positional parameters
2137   --enable-snglinst       use wxSingleInstanceChecker class
2138   --enable-sound          use wxSound class
2139   --enable-stdpaths       use wxStandardPaths class
2140   --enable-stopwatch      use wxStopWatch class
2141   --enable-streams        use wxStream etc classes
2142   --enable-sysoptions     use wxSystemOptions
2143   --enable-tarstream      use wxTar streams
2144   --enable-textbuf        use wxTextBuffer class
2145   --enable-textfile       use wxTextFile class
2146   --enable-timer          use wxTimer class
2147   --enable-variant        use wxVariant class
2148   --enable-zipstream      use wxZip streams
2149   --enable-url            use wxURL class
2150   --enable-protocol       use wxProtocol class
2151   --enable-protocol-http  HTTP support in wxProtocol
2152   --enable-protocol-ftp   FTP support in wxProtocol
2153   --enable-protocol-file  FILE support in wxProtocol
2154   --enable-threads        use threads
2155   --enable-iniconf        use wxIniConfig (Win32 only)
2156   --enable-regkey         use wxRegKey class (Win32 only)
2157   --enable-docview        use document view architecture
2158   --enable-help           use help subsystem
2159   --enable-mshtmlhelp     use MS HTML Help (win32)
2160   --enable-html           use wxHTML sub-library
2161   --enable-htmlhelp       use wxHTML-based help
2162   --enable-xrc            use XRC resources sub-library
2163   --enable-aui            use AUI docking library
2164   --enable-propgrid       use wxPropertyGrid library
2165   --enable-ribbon         use wxRibbon library
2166   --enable-stc            use wxStyledTextCtrl library
2167   --enable-constraints    use layout-constraints system
2168   --enable-loggui         use standard GUI logger
2169   --enable-logwin         use wxLogWindow
2170   --enable-logdialog      use wxLogDialog
2171   --enable-mdi            use multiple document interface architecture
2172   --enable-mdidoc         use docview architecture with MDI
2173   --enable-mediactrl      use wxMediaCtrl class
2174   --enable-gstreamer8     force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2175   --enable-richtext       use wxRichTextCtrl
2176   --enable-postscript     use wxPostscriptDC device context (default for gtk+)
2177   --enable-printarch      use printing architecture
2178   --enable-svg            use wxSVGFileDC device context
2179   --enable-webkit         use wxWebKitCtrl (Mac-only, use wxWebView instead)
2180   --enable-webview        use wxWebView library
2181   --enable-graphics_ctx   use graphics context 2D drawing API
2182   --enable-clipboard      use wxClipboard class
2183   --enable-dnd            use Drag'n'Drop classes
2184   --disable-controls      disable compilation of all standard controls
2185   --enable-markup         support wxControl::SetLabelMarkup
2186   --enable-accel          use accelerators
2187   --enable-animatectrl    use wxAnimationCtrl class
2188   --enable-bannerwindow   use wxBannerWindow class
2189   --enable-artstd         use standard XPM icons in wxArtProvider
2190   --enable-arttango       use Tango icons in wxArtProvider
2191   --enable-bmpbutton      use wxBitmapButton class
2192   --enable-bmpcombobox    use wxBitmapComboBox class
2193   --enable-button         use wxButton class
2194   --enable-calendar       use wxCalendarCtrl class
2195   --enable-caret          use wxCaret class
2196   --enable-checkbox       use wxCheckBox class
2197   --enable-checklst       use wxCheckListBox (listbox with checkboxes) class
2198   --enable-choice         use wxChoice class
2199   --enable-choicebook     use wxChoicebook class
2200   --enable-collpane       use wxCollapsiblePane class
2201   --enable-colourpicker   use wxColourPickerCtrl class
2202   --enable-combobox       use wxComboBox class
2203   --enable-comboctrl      use wxComboCtrl class
2204   --enable-commandlinkbutton      use wxCommmandLinkButton class
2205   --enable-dataviewctrl   use wxDataViewCtrl class
2206   --enable-datepick       use wxDatePickerCtrl class
2207   --enable-detect_sm      use code to detect X11 session manager
2208   --enable-dirpicker      use wxDirPickerCtrl class
2209   --enable-display        use wxDisplay class
2210   --enable-editablebox    use wxEditableListBox class
2211   --enable-filectrl       use wxFileCtrl class
2212   --enable-filepicker     use wxFilePickerCtrl class
2213   --enable-fontpicker     use wxFontPickerCtrl class
2214   --enable-gauge          use wxGauge class
2215   --enable-grid           use wxGrid class
2216   --enable-headerctrl     use wxHeaderCtrl class
2217   --enable-hyperlink      use wxHyperlinkCtrl class
2218   --enable-imaglist       use wxImageList class
2219   --enable-infobar        use wxInfoBar class
2220   --enable-listbook       use wxListbook class
2221   --enable-listbox        use wxListBox class
2222   --enable-listctrl       use wxListCtrl class
2223   --enable-notebook       use wxNotebook class
2224   --enable-notifmsg       use wxNotificationMessage class
2225   --enable-odcombobox     use wxOwnerDrawnComboBox class
2226   --enable-popupwin       use wxPopUpWindow class
2227   --enable-radiobox       use wxRadioBox class
2228   --enable-radiobtn       use wxRadioButton class
2229   --enable-richmsgdlg     use wxRichMessageDialog class
2230   --enable-richtooltip    use wxRichToolTip class
2231   --enable-rearrangectrl  use wxRearrangeList/Ctrl/Dialog
2232   --enable-sash           use wxSashWindow class
2233   --enable-scrollbar      use wxScrollBar class and scrollable windows
2234   --enable-searchctrl     use wxSearchCtrl class
2235   --enable-slider         use wxSlider class
2236   --enable-spinbtn        use wxSpinButton class
2237   --enable-spinctrl       use wxSpinCtrl class
2238   --enable-splitter       use wxSplitterWindow class
2239   --enable-statbmp        use wxStaticBitmap class
2240   --enable-statbox        use wxStaticBox class
2241   --enable-statline       use wxStaticLine class
2242   --enable-stattext       use wxStaticText class
2243   --enable-statusbar      use wxStatusBar class
2244   --enable-taskbaricon    use wxTaskBarIcon class
2245   --enable-tbarnative     use native wxToolBar class
2246   --enable-textctrl       use wxTextCtrl class
2247   --enable-timepick       use wxTimePickerCtrl class
2248   --enable-tipwindow      use wxTipWindow class
2249   --enable-togglebtn      use wxToggleButton class
2250   --enable-toolbar        use wxToolBar class
2251   --enable-toolbook       use wxToolbook class
2252   --enable-treebook       use wxTreebook class
2253   --enable-treectrl       use wxTreeCtrl class
2254   --enable-treelist       use wxTreeListCtrl class
2255   --enable-commondlg      use all common dialogs
2256   --enable-aboutdlg       use wxAboutBox
2257   --enable-choicedlg      use wxChoiceDialog
2258   --enable-coldlg         use wxColourDialog
2259   --enable-filedlg        use wxFileDialog
2260   --enable-finddlg        use wxFindReplaceDialog
2261   --enable-fontdlg        use wxFontDialog
2262   --enable-dirdlg         use wxDirDialog
2263   --enable-msgdlg         use wxMessageDialog
2264   --enable-numberdlg      use wxNumberEntryDialog
2265   --enable-splash         use wxSplashScreen
2266   --enable-textdlg        use wxTextDialog
2267   --enable-tipdlg         use startup tips
2268   --enable-progressdlg    use wxProgressDialog
2269   --enable-wizarddlg      use wxWizard
2270   --enable-menus          use wxMenu/wxMenuBar/wxMenuItem classes
2271   --enable-miniframe      use wxMiniFrame class
2272   --enable-tooltips       use wxToolTip class
2273   --enable-splines        use spline drawing code
2274   --enable-mousewheel     use mousewheel
2275   --enable-validators     use wxValidator and derived classes
2276   --enable-busyinfo       use wxBusyInfo
2277   --enable-hotkey         use wxWindow::RegisterHotKey()
2278   --enable-joystick       use wxJoystick
2279   --enable-metafiles      use wxMetaFile
2280   --enable-dragimage      use wxDragImage
2281   --enable-accessibility  enable accessibility support
2282   --enable-uiactionsim    use wxUIActionSimulator (experimental)
2283   --enable-dctransform    use wxDC::SetTransformMatrix and related
2284   --enable-webviewwebkit  use wxWebView WebKit backend
2285   --enable-palette        use wxPalette class
2286   --enable-image          use wxImage class
2287   --enable-gif            use gif images (GIF file format)
2288   --enable-pcx            use pcx images (PCX file format)
2289   --enable-tga            use tga images (TGA file format)
2290   --enable-iff            use iff images (IFF file format)
2291   --enable-pnm            use pnm images (PNM file format)
2292   --enable-xpm            use xpm images (XPM file format)
2293   --enable-ico_cur        use Windows ICO and CUR formats
2294   --enable-dccache        cache temporary wxDC objects (Win32 only)
2295   --enable-ps-in-msw      use PS printing in wxMSW (Win32 only)
2296   --enable-ownerdrawn     use owner drawn controls (Win32 and OS/2 only)
2297   --enable-uxtheme        enable support for Windows XP themed look (Win32 only)
2298   --enable-wxdib          use wxDIB class (Win32 only)
2299   --enable-webviewie      use wxWebView IE backend (Win32 only)
2300   --enable-autoidman      use automatic ids management
2301   --disable-largefile     omit support for large files
2302   --disable-gtktest       do not try to compile and run a test GTK+ program
2303   --disable-gtktest       Do not try to compile and run a test GTK program
2304   --disable-sdltest       Do not try to compile and run a test SDL program
2305   --enable-omf            use OMF object format (OS/2)
2306   --disable-dependency-tracking
2307                           don't use dependency tracking even if the compiler
2308                           can
2309   --disable-precomp-headers
2310                           don't use precompiled headers even if compiler can
2311
2312 Optional Packages:
2313   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2314   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2315   --without-subdirs       don't generate makefiles for samples/demos/...
2316   --with-flavour=NAME     specify a name to identify this build
2317   --with-themes=all|list  use only the specified comma-separated list of wxUniversal themes
2318   --with-gtk[=VERSION]    use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2319   --with-motif            use Motif/Lesstif
2320   --with-osx_carbon       use Mac OS X (Carbon)
2321   --with-osx_cocoa        use Mac OS X (Cocoa)
2322   --with-osx_iphone       use iPhone OS X port
2323   --with-osx              use Mac OS X (default port, currently Carbon)
2324   --with-carbon           same as --with-osx_carbon
2325   --with-cocoa            same as --with-osx_cocoa
2326   --with-iphone           same as --with-osx_iphone
2327   --with-mac              same as --with-osx
2328   --with-old_cocoa        use old, deprecated, Cocoa port
2329   --with-wine             use Wine
2330   --with-msw              use MS-Windows
2331   --with-pm               use OS/2 Presentation Manager
2332   --with-directfb         use DirectFB
2333   --with-microwin         use MicroWindows
2334   --with-x11              use X11
2335   --with-libpng           use libpng (PNG image format)
2336   --with-libjpeg          use libjpeg (JPEG file format)
2337   --with-libtiff          use libtiff (TIFF file format)
2338   --without-libjbig       don't use libjbig in libtiff even if available)
2339   --without-liblzma       don't use liblzma in libtiff even if available)
2340   --with-libxpm           use libxpm (XPM file format)
2341   --with-libiconv         use libiconv (character conversion)
2342   --with-libmspack        use libmspack (CHM help files loading)
2343   --without-gtkprint      don't use GTK printing support
2344   --without-gnomeprint    don't use GNOME printing libraries
2345   --with-gnomevfs         use GNOME VFS for associating MIME types
2346   --with-libnotify        use libnotify for notifications
2347   --with-hildon           use Hildon framework for Nokia 770/800/810
2348   --with-opengl           use OpenGL (or Mesa)
2349   --with-dmalloc          use dmalloc library (http://dmalloc.com/)
2350   --with-sdl              use SDL for audio on Unix
2351   --with-regex            enable support for wxRegEx class
2352   --with-zlib             use zlib for LZW compression
2353   --with-expat            enable XML support using expat parser
2354   --with-macosx-sdk=PATH  use an OS X SDK at PATH
2355   --with-macosx-version-min=VER   build binaries which require at least this OS X version
2356   --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)
2357   --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2358   --with-x                use the X Window System
2359   --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
2360   --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
2361   --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2362   --with-cppunit-prefix=PFX   Prefix where CppUnit is installed (optional)
2363   --with-cppunit-exec-prefix=PFX  Exec prefix where CppUnit is installed (optional)
2364
2365 Some influential environment variables:
2366   CC          C compiler command
2367   CFLAGS      C compiler flags
2368   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
2369               nonstandard directory <lib dir>
2370   LIBS        libraries to pass to the linker, e.g. -l<library>
2371   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2372               you have headers in a nonstandard directory <include dir>
2373   CPP         C preprocessor
2374   CXX         C++ compiler command
2375   CXXFLAGS    C++ compiler flags
2376   CXXCPP      C++ preprocessor
2377   PKG_CONFIG  path to pkg-config utility
2378   DIRECTFB_CFLAGS
2379               C compiler flags for DIRECTFB, overriding pkg-config
2380   DIRECTFB_LIBS
2381               linker flags for DIRECTFB, overriding pkg-config
2382   XMKMF       Path to xmkmf, Makefile generator for X Window System
2383   PANGOX_CFLAGS
2384               C compiler flags for PANGOX, overriding pkg-config
2385   PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2386   PANGOFT2_CFLAGS
2387               C compiler flags for PANGOFT2, overriding pkg-config
2388   PANGOFT2_LIBS
2389               linker flags for PANGOFT2, overriding pkg-config
2390   PANGOXFT_CFLAGS
2391               C compiler flags for PANGOXFT, overriding pkg-config
2392   PANGOXFT_LIBS
2393               linker flags for PANGOXFT, overriding pkg-config
2394   Xinerama_CFLAGS
2395               C compiler flags for Xinerama, overriding pkg-config
2396   Xinerama_LIBS
2397               linker flags for Xinerama, overriding pkg-config
2398   Xxf86vm_CFLAGS
2399               C compiler flags for Xxf86vm, overriding pkg-config
2400   Xxf86vm_LIBS
2401               linker flags for Xxf86vm, overriding pkg-config
2402   SM_CFLAGS   C compiler flags for SM, overriding pkg-config
2403   SM_LIBS     linker flags for SM, overriding pkg-config
2404   GL_CFLAGS   C compiler flags for GL, overriding pkg-config
2405   GL_LIBS     linker flags for GL, overriding pkg-config
2406   GLU_CFLAGS  C compiler flags for GLU, overriding pkg-config
2407   GLU_LIBS    linker flags for GLU, overriding pkg-config
2408   MesaGL_CFLAGS
2409               C compiler flags for MesaGL, overriding pkg-config
2410   MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2411   GTKPRINT_CFLAGS
2412               C compiler flags for GTKPRINT, overriding pkg-config
2413   GTKPRINT_LIBS
2414               linker flags for GTKPRINT, overriding pkg-config
2415   LIBGNOMEPRINTUI_CFLAGS
2416               C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2417   LIBGNOMEPRINTUI_LIBS
2418               linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2419   GNOMEVFS_CFLAGS
2420               C compiler flags for GNOMEVFS, overriding pkg-config
2421   GNOMEVFS_LIBS
2422               linker flags for GNOMEVFS, overriding pkg-config
2423   LIBNOTIFY_CFLAGS
2424               C compiler flags for LIBNOTIFY, overriding pkg-config
2425   LIBNOTIFY_LIBS
2426               linker flags for LIBNOTIFY, overriding pkg-config
2427   HILDON_CFLAGS
2428               C compiler flags for HILDON, overriding pkg-config
2429   HILDON_LIBS linker flags for HILDON, overriding pkg-config
2430   HILDON2_CFLAGS
2431               C compiler flags for HILDON2, overriding pkg-config
2432   HILDON2_LIBS
2433               linker flags for HILDON2, overriding pkg-config
2434   WEBKIT_CFLAGS
2435               C compiler flags for WEBKIT, overriding pkg-config
2436   WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2437   CAIRO_CFLAGS
2438               C compiler flags for CAIRO, overriding pkg-config
2439   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
2440   GST_CFLAGS  C compiler flags for GST, overriding pkg-config
2441   GST_LIBS    linker flags for GST, overriding pkg-config
2442
2443 Use these variables to override the choices made by `configure' or to help
2444 it to find libraries and programs with nonstandard names/locations.
2445
2446 Report bugs to <wx-dev@lists.wxwidgets.org>.
2447 _ACEOF
2448 ac_status=$?
2449 fi
2450
2451 if test "$ac_init_help" = "recursive"; then
2452   # If there are subdirs, report their specific --help.
2453   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2454     test -d "$ac_dir" ||
2455       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2456       continue
2457     ac_builddir=.
2458
2459 case "$ac_dir" in
2460 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2461 *)
2462   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2463   # A ".." for each directory in $ac_dir_suffix.
2464   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2465   case $ac_top_builddir_sub in
2466   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2467   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2468   esac ;;
2469 esac
2470 ac_abs_top_builddir=$ac_pwd
2471 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2472 # for backward compatibility:
2473 ac_top_builddir=$ac_top_build_prefix
2474
2475 case $srcdir in
2476   .)  # We are building in place.
2477     ac_srcdir=.
2478     ac_top_srcdir=$ac_top_builddir_sub
2479     ac_abs_top_srcdir=$ac_pwd ;;
2480   [\\/]* | ?:[\\/]* )  # Absolute name.
2481     ac_srcdir=$srcdir$ac_dir_suffix;
2482     ac_top_srcdir=$srcdir
2483     ac_abs_top_srcdir=$srcdir ;;
2484   *) # Relative name.
2485     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2486     ac_top_srcdir=$ac_top_build_prefix$srcdir
2487     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2488 esac
2489 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2490
2491     cd "$ac_dir" || { ac_status=$?; continue; }
2492     # Check for guested configure.
2493     if test -f "$ac_srcdir/configure.gnu"; then
2494       echo &&
2495       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2496     elif test -f "$ac_srcdir/configure"; then
2497       echo &&
2498       $SHELL "$ac_srcdir/configure" --help=recursive
2499     else
2500       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2501     fi || ac_status=$?
2502     cd "$ac_pwd" || { ac_status=$?; break; }
2503   done
2504 fi
2505
2506 test -n "$ac_init_help" && exit $ac_status
2507 if $ac_init_version; then
2508   cat <<\_ACEOF
2509 wxWidgets configure 2.9.5
2510 generated by GNU Autoconf 2.69
2511
2512 Copyright (C) 2012 Free Software Foundation, Inc.
2513 This configure script is free software; the Free Software Foundation
2514 gives unlimited permission to copy, distribute and modify it.
2515 _ACEOF
2516   exit
2517 fi
2518
2519 ## ------------------------ ##
2520 ## Autoconf initialization. ##
2521 ## ------------------------ ##
2522
2523 # ac_fn_c_try_compile LINENO
2524 # --------------------------
2525 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2526 ac_fn_c_try_compile ()
2527 {
2528   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2529   rm -f conftest.$ac_objext
2530   if { { ac_try="$ac_compile"
2531 case "(($ac_try" in
2532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2533   *) ac_try_echo=$ac_try;;
2534 esac
2535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2536 $as_echo "$ac_try_echo"; } >&5
2537   (eval "$ac_compile") 2>conftest.err
2538   ac_status=$?
2539   if test -s conftest.err; then
2540     grep -v '^ *+' conftest.err >conftest.er1
2541     cat conftest.er1 >&5
2542     mv -f conftest.er1 conftest.err
2543   fi
2544   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2545   test $ac_status = 0; } && {
2546          test -z "$ac_c_werror_flag" ||
2547          test ! -s conftest.err
2548        } && test -s conftest.$ac_objext; then :
2549   ac_retval=0
2550 else
2551   $as_echo "$as_me: failed program was:" >&5
2552 sed 's/^/| /' conftest.$ac_ext >&5
2553
2554         ac_retval=1
2555 fi
2556   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2557   as_fn_set_status $ac_retval
2558
2559 } # ac_fn_c_try_compile
2560
2561 # ac_fn_c_try_cpp LINENO
2562 # ----------------------
2563 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2564 ac_fn_c_try_cpp ()
2565 {
2566   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2567   if { { ac_try="$ac_cpp conftest.$ac_ext"
2568 case "(($ac_try" in
2569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570   *) ac_try_echo=$ac_try;;
2571 esac
2572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2575   ac_status=$?
2576   if test -s conftest.err; then
2577     grep -v '^ *+' conftest.err >conftest.er1
2578     cat conftest.er1 >&5
2579     mv -f conftest.er1 conftest.err
2580   fi
2581   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2582   test $ac_status = 0; } > conftest.i && {
2583          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2584          test ! -s conftest.err
2585        }; then :
2586   ac_retval=0
2587 else
2588   $as_echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.$ac_ext >&5
2590
2591     ac_retval=1
2592 fi
2593   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2594   as_fn_set_status $ac_retval
2595
2596 } # ac_fn_c_try_cpp
2597
2598 # ac_fn_cxx_try_compile LINENO
2599 # ----------------------------
2600 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2601 ac_fn_cxx_try_compile ()
2602 {
2603   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2604   rm -f conftest.$ac_objext
2605   if { { ac_try="$ac_compile"
2606 case "(($ac_try" in
2607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2608   *) ac_try_echo=$ac_try;;
2609 esac
2610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2611 $as_echo "$ac_try_echo"; } >&5
2612   (eval "$ac_compile") 2>conftest.err
2613   ac_status=$?
2614   if test -s conftest.err; then
2615     grep -v '^ *+' conftest.err >conftest.er1
2616     cat conftest.er1 >&5
2617     mv -f conftest.er1 conftest.err
2618   fi
2619   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2620   test $ac_status = 0; } && {
2621          test -z "$ac_cxx_werror_flag" ||
2622          test ! -s conftest.err
2623        } && test -s conftest.$ac_objext; then :
2624   ac_retval=0
2625 else
2626   $as_echo "$as_me: failed program was:" >&5
2627 sed 's/^/| /' conftest.$ac_ext >&5
2628
2629         ac_retval=1
2630 fi
2631   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2632   as_fn_set_status $ac_retval
2633
2634 } # ac_fn_cxx_try_compile
2635
2636 # ac_fn_c_try_link LINENO
2637 # -----------------------
2638 # Try to link conftest.$ac_ext, and return whether this succeeded.
2639 ac_fn_c_try_link ()
2640 {
2641   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2642   rm -f conftest.$ac_objext conftest$ac_exeext
2643   if { { ac_try="$ac_link"
2644 case "(($ac_try" in
2645   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2646   *) ac_try_echo=$ac_try;;
2647 esac
2648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2649 $as_echo "$ac_try_echo"; } >&5
2650   (eval "$ac_link") 2>conftest.err
2651   ac_status=$?
2652   if test -s conftest.err; then
2653     grep -v '^ *+' conftest.err >conftest.er1
2654     cat conftest.er1 >&5
2655     mv -f conftest.er1 conftest.err
2656   fi
2657   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2658   test $ac_status = 0; } && {
2659          test -z "$ac_c_werror_flag" ||
2660          test ! -s conftest.err
2661        } && test -s conftest$ac_exeext && {
2662          test "$cross_compiling" = yes ||
2663          test -x conftest$ac_exeext
2664        }; then :
2665   ac_retval=0
2666 else
2667   $as_echo "$as_me: failed program was:" >&5
2668 sed 's/^/| /' conftest.$ac_ext >&5
2669
2670         ac_retval=1
2671 fi
2672   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2673   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2674   # interfere with the next link command; also delete a directory that is
2675   # left behind by Apple's compiler.  We do this before executing the actions.
2676   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2677   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2678   as_fn_set_status $ac_retval
2679
2680 } # ac_fn_c_try_link
2681
2682 # ac_fn_cxx_try_link LINENO
2683 # -------------------------
2684 # Try to link conftest.$ac_ext, and return whether this succeeded.
2685 ac_fn_cxx_try_link ()
2686 {
2687   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2688   rm -f conftest.$ac_objext conftest$ac_exeext
2689   if { { ac_try="$ac_link"
2690 case "(($ac_try" in
2691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2692   *) ac_try_echo=$ac_try;;
2693 esac
2694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2695 $as_echo "$ac_try_echo"; } >&5
2696   (eval "$ac_link") 2>conftest.err
2697   ac_status=$?
2698   if test -s conftest.err; then
2699     grep -v '^ *+' conftest.err >conftest.er1
2700     cat conftest.er1 >&5
2701     mv -f conftest.er1 conftest.err
2702   fi
2703   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2704   test $ac_status = 0; } && {
2705          test -z "$ac_cxx_werror_flag" ||
2706          test ! -s conftest.err
2707        } && test -s conftest$ac_exeext && {
2708          test "$cross_compiling" = yes ||
2709          test -x conftest$ac_exeext
2710        }; then :
2711   ac_retval=0
2712 else
2713   $as_echo "$as_me: failed program was:" >&5
2714 sed 's/^/| /' conftest.$ac_ext >&5
2715
2716         ac_retval=1
2717 fi
2718   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2719   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2720   # interfere with the next link command; also delete a directory that is
2721   # left behind by Apple's compiler.  We do this before executing the actions.
2722   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2723   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2724   as_fn_set_status $ac_retval
2725
2726 } # ac_fn_cxx_try_link
2727
2728 # ac_fn_c_try_run LINENO
2729 # ----------------------
2730 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2731 # that executables *can* be run.
2732 ac_fn_c_try_run ()
2733 {
2734   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2735   if { { ac_try="$ac_link"
2736 case "(($ac_try" in
2737   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738   *) ac_try_echo=$ac_try;;
2739 esac
2740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2741 $as_echo "$ac_try_echo"; } >&5
2742   (eval "$ac_link") 2>&5
2743   ac_status=$?
2744   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2745   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2746   { { case "(($ac_try" in
2747   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2748   *) ac_try_echo=$ac_try;;
2749 esac
2750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2751 $as_echo "$ac_try_echo"; } >&5
2752   (eval "$ac_try") 2>&5
2753   ac_status=$?
2754   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2755   test $ac_status = 0; }; }; then :
2756   ac_retval=0
2757 else
2758   $as_echo "$as_me: program exited with status $ac_status" >&5
2759        $as_echo "$as_me: failed program was:" >&5
2760 sed 's/^/| /' conftest.$ac_ext >&5
2761
2762        ac_retval=$ac_status
2763 fi
2764   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2765   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2766   as_fn_set_status $ac_retval
2767
2768 } # ac_fn_c_try_run
2769
2770 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2771 # -------------------------------------------------------
2772 # Tests whether HEADER exists and can be compiled using the include files in
2773 # INCLUDES, setting the cache variable VAR accordingly.
2774 ac_fn_c_check_header_compile ()
2775 {
2776   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2778 $as_echo_n "checking for $2... " >&6; }
2779 if eval \${$3+:} false; then :
2780   $as_echo_n "(cached) " >&6
2781 else
2782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2783 /* end confdefs.h.  */
2784 $4
2785 #include <$2>
2786 _ACEOF
2787 if ac_fn_c_try_compile "$LINENO"; then :
2788   eval "$3=yes"
2789 else
2790   eval "$3=no"
2791 fi
2792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2793 fi
2794 eval ac_res=\$$3
2795                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2796 $as_echo "$ac_res" >&6; }
2797   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2798
2799 } # ac_fn_c_check_header_compile
2800
2801 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2802 # ---------------------------------------------------------
2803 # Tests whether HEADER exists and can be compiled using the include files in
2804 # INCLUDES, setting the cache variable VAR accordingly.
2805 ac_fn_cxx_check_header_compile ()
2806 {
2807   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2809 $as_echo_n "checking for $2... " >&6; }
2810 if eval \${$3+:} false; then :
2811   $as_echo_n "(cached) " >&6
2812 else
2813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2814 /* end confdefs.h.  */
2815 $4
2816 #include <$2>
2817 _ACEOF
2818 if ac_fn_cxx_try_compile "$LINENO"; then :
2819   eval "$3=yes"
2820 else
2821   eval "$3=no"
2822 fi
2823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2824 fi
2825 eval ac_res=\$$3
2826                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2827 $as_echo "$ac_res" >&6; }
2828   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2829
2830 } # ac_fn_cxx_check_header_compile
2831
2832 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2833 # --------------------------------------------
2834 # Tries to find the compile-time value of EXPR in a program that includes
2835 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2836 # computed
2837 ac_fn_c_compute_int ()
2838 {
2839   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2840   if test "$cross_compiling" = yes; then
2841     # Depending upon the size, compute the lo and hi bounds.
2842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2843 /* end confdefs.h.  */
2844 $4
2845 int
2846 main ()
2847 {
2848 static int test_array [1 - 2 * !(($2) >= 0)];
2849 test_array [0] = 0;
2850 return test_array [0];
2851
2852   ;
2853   return 0;
2854 }
2855 _ACEOF
2856 if ac_fn_c_try_compile "$LINENO"; then :
2857   ac_lo=0 ac_mid=0
2858   while :; do
2859     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2860 /* end confdefs.h.  */
2861 $4
2862 int
2863 main ()
2864 {
2865 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2866 test_array [0] = 0;
2867 return test_array [0];
2868
2869   ;
2870   return 0;
2871 }
2872 _ACEOF
2873 if ac_fn_c_try_compile "$LINENO"; then :
2874   ac_hi=$ac_mid; break
2875 else
2876   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2877                         if test $ac_lo -le $ac_mid; then
2878                           ac_lo= ac_hi=
2879                           break
2880                         fi
2881                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2882 fi
2883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2884   done
2885 else
2886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h.  */
2888 $4
2889 int
2890 main ()
2891 {
2892 static int test_array [1 - 2 * !(($2) < 0)];
2893 test_array [0] = 0;
2894 return test_array [0];
2895
2896   ;
2897   return 0;
2898 }
2899 _ACEOF
2900 if ac_fn_c_try_compile "$LINENO"; then :
2901   ac_hi=-1 ac_mid=-1
2902   while :; do
2903     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2904 /* end confdefs.h.  */
2905 $4
2906 int
2907 main ()
2908 {
2909 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2910 test_array [0] = 0;
2911 return test_array [0];
2912
2913   ;
2914   return 0;
2915 }
2916 _ACEOF
2917 if ac_fn_c_try_compile "$LINENO"; then :
2918   ac_lo=$ac_mid; break
2919 else
2920   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2921                         if test $ac_mid -le $ac_hi; then
2922                           ac_lo= ac_hi=
2923                           break
2924                         fi
2925                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2926 fi
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928   done
2929 else
2930   ac_lo= ac_hi=
2931 fi
2932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2933 fi
2934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2935 # Binary search between lo and hi bounds.
2936 while test "x$ac_lo" != "x$ac_hi"; do
2937   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2939 /* end confdefs.h.  */
2940 $4
2941 int
2942 main ()
2943 {
2944 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2945 test_array [0] = 0;
2946 return test_array [0];
2947
2948   ;
2949   return 0;
2950 }
2951 _ACEOF
2952 if ac_fn_c_try_compile "$LINENO"; then :
2953   ac_hi=$ac_mid
2954 else
2955   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2956 fi
2957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2958 done
2959 case $ac_lo in #((
2960 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2961 '') ac_retval=1 ;;
2962 esac
2963   else
2964     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2965 /* end confdefs.h.  */
2966 $4
2967 static long int longval () { return $2; }
2968 static unsigned long int ulongval () { return $2; }
2969 #include <stdio.h>
2970 #include <stdlib.h>
2971 int
2972 main ()
2973 {
2974
2975   FILE *f = fopen ("conftest.val", "w");
2976   if (! f)
2977     return 1;
2978   if (($2) < 0)
2979     {
2980       long int i = longval ();
2981       if (i != ($2))
2982         return 1;
2983       fprintf (f, "%ld", i);
2984     }
2985   else
2986     {
2987       unsigned long int i = ulongval ();
2988       if (i != ($2))
2989         return 1;
2990       fprintf (f, "%lu", i);
2991     }
2992   /* Do not output a trailing newline, as this causes \r\n confusion
2993      on some platforms.  */
2994   return ferror (f) || fclose (f) != 0;
2995
2996   ;
2997   return 0;
2998 }
2999 _ACEOF
3000 if ac_fn_c_try_run "$LINENO"; then :
3001   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3002 else
3003   ac_retval=1
3004 fi
3005 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3006   conftest.$ac_objext conftest.beam conftest.$ac_ext
3007 rm -f conftest.val
3008
3009   fi
3010   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3011   as_fn_set_status $ac_retval
3012
3013 } # ac_fn_c_compute_int
3014
3015 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3016 # ---------------------------------------------
3017 # Tests whether TYPE exists after having included INCLUDES, setting cache
3018 # variable VAR accordingly.
3019 ac_fn_cxx_check_type ()
3020 {
3021   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3023 $as_echo_n "checking for $2... " >&6; }
3024 if eval \${$3+:} false; then :
3025   $as_echo_n "(cached) " >&6
3026 else
3027   eval "$3=no"
3028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3029 /* end confdefs.h.  */
3030 $4
3031 int
3032 main ()
3033 {
3034 if (sizeof ($2))
3035          return 0;
3036   ;
3037   return 0;
3038 }
3039 _ACEOF
3040 if ac_fn_cxx_try_compile "$LINENO"; then :
3041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h.  */
3043 $4
3044 int
3045 main ()
3046 {
3047 if (sizeof (($2)))
3048             return 0;
3049   ;
3050   return 0;
3051 }
3052 _ACEOF
3053 if ac_fn_cxx_try_compile "$LINENO"; then :
3054
3055 else
3056   eval "$3=yes"
3057 fi
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3059 fi
3060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3061 fi
3062 eval ac_res=\$$3
3063                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3064 $as_echo "$ac_res" >&6; }
3065   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3066
3067 } # ac_fn_cxx_check_type
3068
3069 # ac_fn_cxx_try_cpp LINENO
3070 # ------------------------
3071 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3072 ac_fn_cxx_try_cpp ()
3073 {
3074   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3075   if { { ac_try="$ac_cpp conftest.$ac_ext"
3076 case "(($ac_try" in
3077   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078   *) ac_try_echo=$ac_try;;
3079 esac
3080 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3081 $as_echo "$ac_try_echo"; } >&5
3082   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3083   ac_status=$?
3084   if test -s conftest.err; then
3085     grep -v '^ *+' conftest.err >conftest.er1
3086     cat conftest.er1 >&5
3087     mv -f conftest.er1 conftest.err
3088   fi
3089   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3090   test $ac_status = 0; } > conftest.i && {
3091          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3092          test ! -s conftest.err
3093        }; then :
3094   ac_retval=0
3095 else
3096   $as_echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.$ac_ext >&5
3098
3099     ac_retval=1
3100 fi
3101   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3102   as_fn_set_status $ac_retval
3103
3104 } # ac_fn_cxx_try_cpp
3105
3106 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3107 # ---------------------------------------------------------
3108 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3109 # the include files in INCLUDES and setting the cache variable VAR
3110 # accordingly.
3111 ac_fn_cxx_check_header_mongrel ()
3112 {
3113   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3114   if eval \${$3+:} false; then :
3115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3116 $as_echo_n "checking for $2... " >&6; }
3117 if eval \${$3+:} false; then :
3118   $as_echo_n "(cached) " >&6
3119 fi
3120 eval ac_res=\$$3
3121                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3122 $as_echo "$ac_res" >&6; }
3123 else
3124   # Is the header compilable?
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3126 $as_echo_n "checking $2 usability... " >&6; }
3127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3128 /* end confdefs.h.  */
3129 $4
3130 #include <$2>
3131 _ACEOF
3132 if ac_fn_cxx_try_compile "$LINENO"; then :
3133   ac_header_compiler=yes
3134 else
3135   ac_header_compiler=no
3136 fi
3137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3139 $as_echo "$ac_header_compiler" >&6; }
3140
3141 # Is the header present?
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3143 $as_echo_n "checking $2 presence... " >&6; }
3144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3145 /* end confdefs.h.  */
3146 #include <$2>
3147 _ACEOF
3148 if ac_fn_cxx_try_cpp "$LINENO"; then :
3149   ac_header_preproc=yes
3150 else
3151   ac_header_preproc=no
3152 fi
3153 rm -f conftest.err conftest.i conftest.$ac_ext
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3155 $as_echo "$ac_header_preproc" >&6; }
3156
3157 # So?  What about this header?
3158 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3159   yes:no: )
3160     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3161 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3162     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3163 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3164     ;;
3165   no:yes:* )
3166     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3167 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3168     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
3169 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
3170     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3171 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3172     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
3173 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
3174     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3175 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3176 ( $as_echo "## ----------------------------------------- ##
3177 ## Report this to wx-dev@lists.wxwidgets.org ##
3178 ## ----------------------------------------- ##"
3179      ) | sed "s/^/$as_me: WARNING:     /" >&2
3180     ;;
3181 esac
3182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3183 $as_echo_n "checking for $2... " >&6; }
3184 if eval \${$3+:} false; then :
3185   $as_echo_n "(cached) " >&6
3186 else
3187   eval "$3=\$ac_header_compiler"
3188 fi
3189 eval ac_res=\$$3
3190                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3191 $as_echo "$ac_res" >&6; }
3192 fi
3193   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3194
3195 } # ac_fn_cxx_check_header_mongrel
3196
3197 # ac_fn_c_check_func LINENO FUNC VAR
3198 # ----------------------------------
3199 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3200 ac_fn_c_check_func ()
3201 {
3202   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3204 $as_echo_n "checking for $2... " >&6; }
3205 if eval \${$3+:} false; then :
3206   $as_echo_n "(cached) " >&6
3207 else
3208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3209 /* end confdefs.h.  */
3210 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3211    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3212 #define $2 innocuous_$2
3213
3214 /* System header to define __stub macros and hopefully few prototypes,
3215     which can conflict with char $2 (); below.
3216     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3217     <limits.h> exists even on freestanding compilers.  */
3218
3219 #ifdef __STDC__
3220 # include <limits.h>
3221 #else
3222 # include <assert.h>
3223 #endif
3224
3225 #undef $2
3226
3227 /* Override any GCC internal prototype to avoid an error.
3228    Use char because int might match the return type of a GCC
3229    builtin and then its argument prototype would still apply.  */
3230 #ifdef __cplusplus
3231 extern "C"
3232 #endif
3233 char $2 ();
3234 /* The GNU C library defines this for functions which it implements
3235     to always fail with ENOSYS.  Some functions are actually named
3236     something starting with __ and the normal name is an alias.  */
3237 #if defined __stub_$2 || defined __stub___$2
3238 choke me
3239 #endif
3240
3241 int
3242 main ()
3243 {
3244 return $2 ();
3245   ;
3246   return 0;
3247 }
3248 _ACEOF
3249 if ac_fn_c_try_link "$LINENO"; then :
3250   eval "$3=yes"
3251 else
3252   eval "$3=no"
3253 fi
3254 rm -f core conftest.err conftest.$ac_objext \
3255     conftest$ac_exeext conftest.$ac_ext
3256 fi
3257 eval ac_res=\$$3
3258                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3259 $as_echo "$ac_res" >&6; }
3260   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3261
3262 } # ac_fn_c_check_func
3263
3264 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3265 # -------------------------------------------
3266 # Tests whether TYPE exists after having included INCLUDES, setting cache
3267 # variable VAR accordingly.
3268 ac_fn_c_check_type ()
3269 {
3270   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3272 $as_echo_n "checking for $2... " >&6; }
3273 if eval \${$3+:} false; then :
3274   $as_echo_n "(cached) " >&6
3275 else
3276   eval "$3=no"
3277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h.  */
3279 $4
3280 int
3281 main ()
3282 {
3283 if (sizeof ($2))
3284          return 0;
3285   ;
3286   return 0;
3287 }
3288 _ACEOF
3289 if ac_fn_c_try_compile "$LINENO"; then :
3290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h.  */
3292 $4
3293 int
3294 main ()
3295 {
3296 if (sizeof (($2)))
3297             return 0;
3298   ;
3299   return 0;
3300 }
3301 _ACEOF
3302 if ac_fn_c_try_compile "$LINENO"; then :
3303
3304 else
3305   eval "$3=yes"
3306 fi
3307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308 fi
3309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310 fi
3311 eval ac_res=\$$3
3312                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3313 $as_echo "$ac_res" >&6; }
3314   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3315
3316 } # ac_fn_c_check_type
3317
3318 # ac_fn_cxx_try_run LINENO
3319 # ------------------------
3320 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3321 # that executables *can* be run.
3322 ac_fn_cxx_try_run ()
3323 {
3324   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3325   if { { ac_try="$ac_link"
3326 case "(($ac_try" in
3327   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328   *) ac_try_echo=$ac_try;;
3329 esac
3330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331 $as_echo "$ac_try_echo"; } >&5
3332   (eval "$ac_link") 2>&5
3333   ac_status=$?
3334   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3336   { { case "(($ac_try" in
3337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3338   *) ac_try_echo=$ac_try;;
3339 esac
3340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3341 $as_echo "$ac_try_echo"; } >&5
3342   (eval "$ac_try") 2>&5
3343   ac_status=$?
3344   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3345   test $ac_status = 0; }; }; then :
3346   ac_retval=0
3347 else
3348   $as_echo "$as_me: program exited with status $ac_status" >&5
3349        $as_echo "$as_me: failed program was:" >&5
3350 sed 's/^/| /' conftest.$ac_ext >&5
3351
3352        ac_retval=$ac_status
3353 fi
3354   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3355   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3356   as_fn_set_status $ac_retval
3357
3358 } # ac_fn_cxx_try_run
3359 cat >config.log <<_ACEOF
3360 This file contains any messages produced by compilers while
3361 running configure, to aid debugging if configure makes a mistake.
3362
3363 It was created by wxWidgets $as_me 2.9.5, which was
3364 generated by GNU Autoconf 2.69.  Invocation command line was
3365
3366   $ $0 $@
3367
3368 _ACEOF
3369 exec 5>>config.log
3370 {
3371 cat <<_ASUNAME
3372 ## --------- ##
3373 ## Platform. ##
3374 ## --------- ##
3375
3376 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3377 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3378 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3379 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3380 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3381
3382 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3383 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
3384
3385 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
3386 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
3387 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3388 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
3389 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
3390 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
3391 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
3392
3393 _ASUNAME
3394
3395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3396 for as_dir in $PATH
3397 do
3398   IFS=$as_save_IFS
3399   test -z "$as_dir" && as_dir=.
3400     $as_echo "PATH: $as_dir"
3401   done
3402 IFS=$as_save_IFS
3403
3404 } >&5
3405
3406 cat >&5 <<_ACEOF
3407
3408
3409 ## ----------- ##
3410 ## Core tests. ##
3411 ## ----------- ##
3412
3413 _ACEOF
3414
3415
3416 # Keep a trace of the command line.
3417 # Strip out --no-create and --no-recursion so they do not pile up.
3418 # Strip out --silent because we don't want to record it for future runs.
3419 # Also quote any args containing shell meta-characters.
3420 # Make two passes to allow for proper duplicate-argument suppression.
3421 ac_configure_args=
3422 ac_configure_args0=
3423 ac_configure_args1=
3424 ac_must_keep_next=false
3425 for ac_pass in 1 2
3426 do
3427   for ac_arg
3428   do
3429     case $ac_arg in
3430     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3431     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3432     | -silent | --silent | --silen | --sile | --sil)
3433       continue ;;
3434     *\'*)
3435       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3436     esac
3437     case $ac_pass in
3438     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3439     2)
3440       as_fn_append ac_configure_args1 " '$ac_arg'"
3441       if test $ac_must_keep_next = true; then
3442         ac_must_keep_next=false # Got value, back to normal.
3443       else
3444         case $ac_arg in
3445           *=* | --config-cache | -C | -disable-* | --disable-* \
3446           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3447           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3448           | -with-* | --with-* | -without-* | --without-* | --x)
3449             case "$ac_configure_args0 " in
3450               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3451             esac
3452             ;;
3453           -* ) ac_must_keep_next=true ;;
3454         esac
3455       fi
3456       as_fn_append ac_configure_args " '$ac_arg'"
3457       ;;
3458     esac
3459   done
3460 done
3461 { ac_configure_args0=; unset ac_configure_args0;}
3462 { ac_configure_args1=; unset ac_configure_args1;}
3463
3464 # When interrupted or exit'd, cleanup temporary files, and complete
3465 # config.log.  We remove comments because anyway the quotes in there
3466 # would cause problems or look ugly.
3467 # WARNING: Use '\'' to represent an apostrophe within the trap.
3468 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3469 trap 'exit_status=$?
3470   # Save into config.log some information that might help in debugging.
3471   {
3472     echo
3473
3474     $as_echo "## ---------------- ##
3475 ## Cache variables. ##
3476 ## ---------------- ##"
3477     echo
3478     # The following way of writing the cache mishandles newlines in values,
3479 (
3480   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3481     eval ac_val=\$$ac_var
3482     case $ac_val in #(
3483     *${as_nl}*)
3484       case $ac_var in #(
3485       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3486 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3487       esac
3488       case $ac_var in #(
3489       _ | IFS | as_nl) ;; #(
3490       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3491       *) { eval $ac_var=; unset $ac_var;} ;;
3492       esac ;;
3493     esac
3494   done
3495   (set) 2>&1 |
3496     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3497     *${as_nl}ac_space=\ *)
3498       sed -n \
3499         "s/'\''/'\''\\\\'\'''\''/g;
3500           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3501       ;; #(
3502     *)
3503       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3504       ;;
3505     esac |
3506     sort
3507 )
3508     echo
3509
3510     $as_echo "## ----------------- ##
3511 ## Output variables. ##
3512 ## ----------------- ##"
3513     echo
3514     for ac_var in $ac_subst_vars
3515     do
3516       eval ac_val=\$$ac_var
3517       case $ac_val in
3518       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3519       esac
3520       $as_echo "$ac_var='\''$ac_val'\''"
3521     done | sort
3522     echo
3523
3524     if test -n "$ac_subst_files"; then
3525       $as_echo "## ------------------- ##
3526 ## File substitutions. ##
3527 ## ------------------- ##"
3528       echo
3529       for ac_var in $ac_subst_files
3530       do
3531         eval ac_val=\$$ac_var
3532         case $ac_val in
3533         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3534         esac
3535         $as_echo "$ac_var='\''$ac_val'\''"
3536       done | sort
3537       echo
3538     fi
3539
3540     if test -s confdefs.h; then
3541       $as_echo "## ----------- ##
3542 ## confdefs.h. ##
3543 ## ----------- ##"
3544       echo
3545       cat confdefs.h
3546       echo
3547     fi
3548     test "$ac_signal" != 0 &&
3549       $as_echo "$as_me: caught signal $ac_signal"
3550     $as_echo "$as_me: exit $exit_status"
3551   } >&5
3552   rm -f core *.core core.conftest.* &&
3553     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3554     exit $exit_status
3555 ' 0
3556 for ac_signal in 1 2 13 15; do
3557   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3558 done
3559 ac_signal=0
3560
3561 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3562 rm -f -r conftest* confdefs.h
3563
3564 $as_echo "/* confdefs.h */" > confdefs.h
3565
3566 # Predefined preprocessor variables.
3567
3568 cat >>confdefs.h <<_ACEOF
3569 #define PACKAGE_NAME "$PACKAGE_NAME"
3570 _ACEOF
3571
3572 cat >>confdefs.h <<_ACEOF
3573 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3574 _ACEOF
3575
3576 cat >>confdefs.h <<_ACEOF
3577 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3578 _ACEOF
3579
3580 cat >>confdefs.h <<_ACEOF
3581 #define PACKAGE_STRING "$PACKAGE_STRING"
3582 _ACEOF
3583
3584 cat >>confdefs.h <<_ACEOF
3585 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3586 _ACEOF
3587
3588 cat >>confdefs.h <<_ACEOF
3589 #define PACKAGE_URL "$PACKAGE_URL"
3590 _ACEOF
3591
3592
3593 # Let the site file select an alternate cache file if it wants to.
3594 # Prefer an explicitly selected file to automatically selected ones.
3595 ac_site_file1=NONE
3596 ac_site_file2=NONE
3597 if test -n "$CONFIG_SITE"; then
3598   # We do not want a PATH search for config.site.
3599   case $CONFIG_SITE in #((
3600     -*)  ac_site_file1=./$CONFIG_SITE;;
3601     */*) ac_site_file1=$CONFIG_SITE;;
3602     *)   ac_site_file1=./$CONFIG_SITE;;
3603   esac
3604 elif test "x$prefix" != xNONE; then
3605   ac_site_file1=$prefix/share/config.site
3606   ac_site_file2=$prefix/etc/config.site
3607 else
3608   ac_site_file1=$ac_default_prefix/share/config.site
3609   ac_site_file2=$ac_default_prefix/etc/config.site
3610 fi
3611 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3612 do
3613   test "x$ac_site_file" = xNONE && continue
3614   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3615     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3616 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3617     sed 's/^/| /' "$ac_site_file" >&5
3618     . "$ac_site_file" \
3619       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3621 as_fn_error $? "failed to load site script $ac_site_file
3622 See \`config.log' for more details" "$LINENO" 5; }
3623   fi
3624 done
3625
3626 if test -r "$cache_file"; then
3627   # Some versions of bash will fail to source /dev/null (special files
3628   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3629   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3630     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3631 $as_echo "$as_me: loading cache $cache_file" >&6;}
3632     case $cache_file in
3633       [\\/]* | ?:[\\/]* ) . "$cache_file";;
3634       *)                      . "./$cache_file";;
3635     esac
3636   fi
3637 else
3638   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3639 $as_echo "$as_me: creating cache $cache_file" >&6;}
3640   >$cache_file
3641 fi
3642
3643 # Check that the precious variables saved in the cache have kept the same
3644 # value.
3645 ac_cache_corrupted=false
3646 for ac_var in $ac_precious_vars; do
3647   eval ac_old_set=\$ac_cv_env_${ac_var}_set
3648   eval ac_new_set=\$ac_env_${ac_var}_set
3649   eval ac_old_val=\$ac_cv_env_${ac_var}_value
3650   eval ac_new_val=\$ac_env_${ac_var}_value
3651   case $ac_old_set,$ac_new_set in
3652     set,)
3653       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3654 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3655       ac_cache_corrupted=: ;;
3656     ,set)
3657       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3658 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3659       ac_cache_corrupted=: ;;
3660     ,);;
3661     *)
3662       if test "x$ac_old_val" != "x$ac_new_val"; then
3663         # differences in whitespace do not lead to failure.
3664         ac_old_val_w=`echo x $ac_old_val`
3665         ac_new_val_w=`echo x $ac_new_val`
3666         if test "$ac_old_val_w" != "$ac_new_val_w"; then
3667           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3668 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3669           ac_cache_corrupted=:
3670         else
3671           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3672 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3673           eval $ac_var=\$ac_old_val
3674         fi
3675         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3676 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3677         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3678 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3679       fi;;
3680   esac
3681   # Pass precious variables to config.status.
3682   if test "$ac_new_set" = set; then
3683     case $ac_new_val in
3684     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3685     *) ac_arg=$ac_var=$ac_new_val ;;
3686     esac
3687     case " $ac_configure_args " in
3688       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3689       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3690     esac
3691   fi
3692 done
3693 if $ac_cache_corrupted; then
3694   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3695 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3696   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3697 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3698   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3699 fi
3700 ## -------------------- ##
3701 ## Main body of script. ##
3702 ## -------------------- ##
3703
3704 ac_ext=c
3705 ac_cpp='$CPP $CPPFLAGS'
3706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3709
3710
3711
3712
3713
3714 ac_aux_dir=
3715 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3716   if test -f "$ac_dir/install-sh"; then
3717     ac_aux_dir=$ac_dir
3718     ac_install_sh="$ac_aux_dir/install-sh -c"
3719     break
3720   elif test -f "$ac_dir/install.sh"; then
3721     ac_aux_dir=$ac_dir
3722     ac_install_sh="$ac_aux_dir/install.sh -c"
3723     break
3724   elif test -f "$ac_dir/shtool"; then
3725     ac_aux_dir=$ac_dir
3726     ac_install_sh="$ac_aux_dir/shtool install -c"
3727     break
3728   fi
3729 done
3730 if test -z "$ac_aux_dir"; then
3731   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3732 fi
3733
3734 # These three variables are undocumented and unsupported,
3735 # and are intended to be withdrawn in a future Autoconf release.
3736 # They can cause serious problems if a builder's source tree is in a directory
3737 # whose full name contains unusual characters.
3738 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3739 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3740 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3741
3742
3743 # Make sure we can run config.sub.
3744 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3745   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3746
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3748 $as_echo_n "checking build system type... " >&6; }
3749 if ${ac_cv_build+:} false; then :
3750   $as_echo_n "(cached) " >&6
3751 else
3752   ac_build_alias=$build_alias
3753 test "x$ac_build_alias" = x &&
3754   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3755 test "x$ac_build_alias" = x &&
3756   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3757 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3758   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3759
3760 fi
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3762 $as_echo "$ac_cv_build" >&6; }
3763 case $ac_cv_build in
3764 *-*-*) ;;
3765 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3766 esac
3767 build=$ac_cv_build
3768 ac_save_IFS=$IFS; IFS='-'
3769 set x $ac_cv_build
3770 shift
3771 build_cpu=$1
3772 build_vendor=$2
3773 shift; shift
3774 # Remember, the first character of IFS is used to create $*,
3775 # except with old shells:
3776 build_os=$*
3777 IFS=$ac_save_IFS
3778 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3779
3780
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3782 $as_echo_n "checking host system type... " >&6; }
3783 if ${ac_cv_host+:} false; then :
3784   $as_echo_n "(cached) " >&6
3785 else
3786   if test "x$host_alias" = x; then
3787   ac_cv_host=$ac_cv_build
3788 else
3789   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3790     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3791 fi
3792
3793 fi
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3795 $as_echo "$ac_cv_host" >&6; }
3796 case $ac_cv_host in
3797 *-*-*) ;;
3798 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3799 esac
3800 host=$ac_cv_host
3801 ac_save_IFS=$IFS; IFS='-'
3802 set x $ac_cv_host
3803 shift
3804 host_cpu=$1
3805 host_vendor=$2
3806 shift; shift
3807 # Remember, the first character of IFS is used to create $*,
3808 # except with old shells:
3809 host_os=$*
3810 IFS=$ac_save_IFS
3811 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3812
3813
3814
3815 if test "$cross_compiling" != "no"; then
3816     HOST_PREFIX="${host_alias}-"
3817     HOST_SUFFIX="-$host_alias"
3818 else
3819     HOST_PREFIX=
3820     HOST_SUFFIX=
3821 fi
3822
3823
3824 wx_major_version_number=2
3825 wx_minor_version_number=9
3826 wx_release_number=5
3827 wx_subrelease_number=0
3828
3829 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3830 WX_VERSION=$WX_RELEASE.$wx_release_number
3831 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3832
3833 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3834
3835
3836 wx_top_builddir="`pwd`"
3837
3838
3839
3840
3841 USE_UNIX=1
3842 USE_OS2=0
3843 USE_WIN32=0
3844 USE_DOS=0
3845 USE_BEOS=0
3846 USE_MAC=0
3847
3848 USE_AIX=
3849 USE_BSD=                            USE_DARWIN=                         USE_FREEBSD=
3850 USE_GNU=                            USE_HPUX=
3851 USE_LINUX=
3852 USE_NETBSD=
3853 USE_OPENBSD=
3854 USE_OSF=                            USE_SGI=
3855 USE_SOLARIS=                        USE_SUN=                            USE_SUNOS=                          USE_SVR4=                           USE_SYSV=                           USE_VMS=
3856 USE_ULTRIX=
3857 USE_UNIXWARE=
3858
3859 USE_ALPHA=
3860
3861 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3862
3863 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3864
3865 DEFAULT_wxUSE_OLD_COCOA=0
3866 DEFAULT_wxUSE_GTK=0
3867 DEFAULT_wxUSE_OSX_CARBON=0
3868 DEFAULT_wxUSE_OSX_COCOA=0
3869 DEFAULT_wxUSE_OSX_IPHONE=0
3870 DEFAULT_wxUSE_MICROWIN=0
3871 DEFAULT_wxUSE_MOTIF=0
3872 DEFAULT_wxUSE_MSW=0
3873 DEFAULT_wxUSE_PM=0
3874 DEFAULT_wxUSE_X11=0
3875 DEFAULT_wxUSE_DFB=0
3876
3877 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3878 DEFAULT_DEFAULT_wxUSE_GTK=0
3879 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3880 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3881 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3882 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3883 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3884 DEFAULT_DEFAULT_wxUSE_MSW=0
3885 DEFAULT_DEFAULT_wxUSE_PM=0
3886 DEFAULT_DEFAULT_wxUSE_X11=0
3887 DEFAULT_DEFAULT_wxUSE_DFB=0
3888
3889 PROGRAM_EXT=
3890 SAMPLES_RPATH_FLAG=
3891 DYLIB_RPATH_INSTALL=
3892 DYLIB_RPATH_POSTLINK=
3893
3894 DEFAULT_STD_FLAG=yes
3895
3896 case "${host}" in
3897   *-hp-hpux* )
3898     USE_HPUX=1
3899     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3900     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3901     $as_echo "#define __HPUX__ 1" >>confdefs.h
3902
3903
3904             CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3905   ;;
3906   *-*-linux* )
3907     USE_LINUX=1
3908     $as_echo "#define __LINUX__ 1" >>confdefs.h
3909
3910     TMP=`uname -m`
3911     if test "x$TMP" = "xalpha"; then
3912       USE_ALPHA=1
3913       $as_echo "#define __ALPHA__ 1" >>confdefs.h
3914
3915     fi
3916     DEFAULT_DEFAULT_wxUSE_GTK=1
3917   ;;
3918   *-*-gnu* | *-*-k*bsd*-gnu )
3919     USE_GNU=1
3920     TMP=`uname -m`
3921     if test "x$TMP" = "xalpha"; then
3922       USE_ALPHA=1
3923       $as_echo "#define __ALPHA__ 1" >>confdefs.h
3924
3925     fi
3926     DEFAULT_DEFAULT_wxUSE_GTK=1
3927   ;;
3928   *-*-irix5* | *-*-irix6* )
3929     USE_SGI=1
3930     USE_SVR4=1
3931     $as_echo "#define __SGI__ 1" >>confdefs.h
3932
3933     $as_echo "#define __SVR4__ 1" >>confdefs.h
3934
3935     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3936   ;;
3937   *-*-qnx*)
3938     USE_QNX=1
3939     $as_echo "#define __QNX__ 1" >>confdefs.h
3940
3941     DEFAULT_DEFAULT_wxUSE_X11=1
3942   ;;
3943   *-*-solaris2* )
3944     USE_SUN=1
3945     USE_SOLARIS=1
3946     USE_SVR4=1
3947     $as_echo "#define __SUN__ 1" >>confdefs.h
3948
3949     $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3950
3951     $as_echo "#define __SVR4__ 1" >>confdefs.h
3952
3953     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3954     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3955   ;;
3956   *-*-sunos4* )
3957     USE_SUN=1
3958     USE_SUNOS=1
3959     USE_BSD=1
3960     $as_echo "#define __SUN__ 1" >>confdefs.h
3961
3962     $as_echo "#define __SUNOS__ 1" >>confdefs.h
3963
3964     $as_echo "#define __BSD__ 1" >>confdefs.h
3965
3966     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3967   ;;
3968   *-*-freebsd*)
3969     USE_BSD=1
3970     USE_FREEBSD=1
3971     $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3972
3973     $as_echo "#define __BSD__ 1" >>confdefs.h
3974
3975     DEFAULT_DEFAULT_wxUSE_GTK=1
3976   ;;
3977   *-*-openbsd*|*-*-mirbsd*)
3978     USE_BSD=1
3979     USE_OPENBSD=1
3980     $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3981
3982     $as_echo "#define __BSD__ 1" >>confdefs.h
3983
3984     DEFAULT_DEFAULT_wxUSE_GTK=1
3985   ;;
3986   *-*-netbsd*)
3987     USE_BSD=1
3988     USE_NETBSD=1
3989     $as_echo "#define __NETBSD__ 1" >>confdefs.h
3990
3991     $as_echo "#define __BSD__ 1" >>confdefs.h
3992
3993     DEFAULT_DEFAULT_wxUSE_GTK=1
3994     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3995
3996             CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3997   ;;
3998   *-*-osf* )
3999     USE_ALPHA=1
4000     USE_OSF=1
4001     $as_echo "#define __ALPHA__ 1" >>confdefs.h
4002
4003     $as_echo "#define __OSF__ 1" >>confdefs.h
4004
4005     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4006     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
4007   ;;
4008   *-*-dgux5* )
4009     USE_ALPHA=1
4010     USE_SVR4=1
4011     $as_echo "#define __ALPHA__ 1" >>confdefs.h
4012
4013     $as_echo "#define __SVR4__ 1" >>confdefs.h
4014
4015     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4016   ;;
4017   *-*-sysv5* )
4018     USE_SYSV=1
4019     USE_SVR4=1
4020     $as_echo "#define __SYSV__ 1" >>confdefs.h
4021
4022     $as_echo "#define __SVR4__ 1" >>confdefs.h
4023
4024     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4025   ;;
4026   *-*-aix* )
4027     USE_AIX=1
4028     USE_SYSV=1
4029     USE_SVR4=1
4030     $as_echo "#define __AIX__ 1" >>confdefs.h
4031
4032     $as_echo "#define __SYSV__ 1" >>confdefs.h
4033
4034     $as_echo "#define __SVR4__ 1" >>confdefs.h
4035
4036     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4037   ;;
4038
4039   *-*-*UnixWare*)
4040     USE_SYSV=1
4041     USE_SVR4=1
4042     USE_UNIXWARE=1
4043     $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4044
4045   ;;
4046
4047   *-*-cygwin* | *-*-mingw32* )
4048                 PROGRAM_EXT=".exe"
4049     DEFAULT_DEFAULT_wxUSE_MSW=1
4050   ;;
4051
4052   *-pc-msdosdjgpp )
4053     USE_UNIX=0
4054     USE_DOS=1
4055     $as_echo "#define __DOS__ 1" >>confdefs.h
4056
4057     PROGRAM_EXT=".exe"
4058   ;;
4059
4060   *-pc-os2_emx | *-pc-os2-emx )
4061     $as_echo "#define __EMX__ 1" >>confdefs.h
4062
4063     USE_OS2=1
4064     $as_echo "#define __OS2__ 1" >>confdefs.h
4065
4066     PROGRAM_EXT=".exe"
4067     DEFAULT_DEFAULT_wxUSE_PM=1
4068         CXX=gcc
4069     LDFLAGS="$LDFLAGS -Zcrtdll"
4070                         ac_executable_extensions=".exe"
4071     export ac_executable_extensions
4072             ac_save_IFS="$IFS"
4073     IFS='\\'
4074     ac_TEMP_PATH=
4075     for ac_dir in $PATH; do
4076       IFS=$ac_save_IFS
4077       if test -z "$ac_TEMP_PATH"; then
4078         ac_TEMP_PATH="$ac_dir"
4079       else
4080         ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4081       fi
4082     done
4083     export PATH="$ac_TEMP_PATH"
4084     unset ac_TEMP_PATH
4085     DEFAULT_STD_FLAG=no
4086   ;;
4087
4088   arm-apple-darwin*)
4089         USE_BSD=1
4090     USE_DARWIN=1
4091     $as_echo "#define __BSD__ 1" >>confdefs.h
4092
4093     $as_echo "#define __DARWIN__ 1" >>confdefs.h
4094
4095     DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4096   ;;
4097
4098   *-*-darwin* )
4099         USE_BSD=1
4100     USE_DARWIN=1
4101     $as_echo "#define __BSD__ 1" >>confdefs.h
4102
4103     $as_echo "#define __DARWIN__ 1" >>confdefs.h
4104
4105     $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4106
4107     DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
4108   ;;
4109
4110   *-*-beos* )
4111         USE_BEOS=1
4112     $as_echo "#define __BEOS__ 1" >>confdefs.h
4113
4114   ;;
4115
4116   *)
4117     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4118 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4119     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4120 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4121
4122     DEFAULT_DEFAULT_wxUSE_X11=1
4123     DEFAULT_wxUSE_SHARED=no
4124 esac
4125
4126
4127
4128 DEFAULT_wxUSE_ALL_FEATURES=yes
4129
4130 DEFAULT_wxUSE_STD_CONTAINERS=no
4131 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4132 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4133
4134 DEFAULT_wxUSE_DMALLOC=no
4135 DEFAULT_wxUSE_LIBGNOMEVFS=no
4136 DEFAULT_wxUSE_LIBHILDON=no
4137 DEFAULT_wxUSE_LIBHILDON2=no
4138 DEFAULT_wxUSE_LIBMSPACK=no
4139 DEFAULT_wxUSE_LIBSDL=no
4140
4141 DEFAULT_wxUSE_ACCESSIBILITY=no
4142 DEFAULT_wxUSE_IPV6=no
4143 DEFAULT_wxUSE_GSTREAMER8=no
4144 DEFAULT_wxUSE_UNICODE_UTF8=no
4145 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4146
4147 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4148 DEFAULT_wxUSE_OPENGL=auto
4149 DEFAULT_wxUSE_MEDIACTRL=auto
4150 DEFAULT_wxUSE_COMPILER_TLS=auto
4151 DEFAULT_wxUSE_HOTKEY=auto
4152 DEFAULT_wxUSE_METAFILE=auto
4153
4154 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4155 DEFAULT_wxUSE_MAC_ARCH=no
4156
4157 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4158
4159 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4160
4161
4162
4163
4164
4165           enablestring=disable
4166           defaultval=
4167           if test -z "$defaultval"; then
4168               if test x"$enablestring" = xdisable; then
4169                   defaultval=yes
4170               else
4171                   defaultval=no
4172               fi
4173           fi
4174
4175           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4176 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4177           # Check whether --enable-gui was given.
4178 if test "${enable_gui+set}" = set; then :
4179   enableval=$enable_gui;
4180                           if test "$enableval" = yes; then
4181                             wx_cv_use_gui='wxUSE_GUI=yes'
4182                           else
4183                             wx_cv_use_gui='wxUSE_GUI=no'
4184                           fi
4185
4186 else
4187
4188                           wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4189
4190 fi
4191
4192
4193           eval "$wx_cv_use_gui"
4194
4195           if test x"$enablestring" = xdisable; then
4196             if test $wxUSE_GUI = no; then
4197               result=yes
4198             else
4199               result=no
4200             fi
4201           else
4202             result=$wxUSE_GUI
4203           fi
4204
4205           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4206 $as_echo "$result" >&6; }
4207
4208
4209           enablestring=
4210           defaultval=
4211           if test -z "$defaultval"; then
4212               if test x"$enablestring" = xdisable; then
4213                   defaultval=yes
4214               else
4215                   defaultval=no
4216               fi
4217           fi
4218
4219           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4220 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4221           # Check whether --enable-monolithic was given.
4222 if test "${enable_monolithic+set}" = set; then :
4223   enableval=$enable_monolithic;
4224                           if test "$enableval" = yes; then
4225                             wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4226                           else
4227                             wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4228                           fi
4229
4230 else
4231
4232                           wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4233
4234 fi
4235
4236
4237           eval "$wx_cv_use_monolithic"
4238
4239           if test x"$enablestring" = xdisable; then
4240             if test $wxUSE_MONOLITHIC = no; then
4241               result=yes
4242             else
4243               result=no
4244             fi
4245           else
4246             result=$wxUSE_MONOLITHIC
4247           fi
4248
4249           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4250 $as_echo "$result" >&6; }
4251
4252
4253           enablestring=
4254           defaultval=
4255           if test -z "$defaultval"; then
4256               if test x"$enablestring" = xdisable; then
4257                   defaultval=yes
4258               else
4259                   defaultval=no
4260               fi
4261           fi
4262
4263           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4264 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4265           # Check whether --enable-plugins was given.
4266 if test "${enable_plugins+set}" = set; then :
4267   enableval=$enable_plugins;
4268                           if test "$enableval" = yes; then
4269                             wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4270                           else
4271                             wx_cv_use_plugins='wxUSE_PLUGINS=no'
4272                           fi
4273
4274 else
4275
4276                           wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4277
4278 fi
4279
4280
4281           eval "$wx_cv_use_plugins"
4282
4283           if test x"$enablestring" = xdisable; then
4284             if test $wxUSE_PLUGINS = no; then
4285               result=yes
4286             else
4287               result=no
4288             fi
4289           else
4290             result=$wxUSE_PLUGINS
4291           fi
4292
4293           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4294 $as_echo "$result" >&6; }
4295
4296
4297           withstring=without
4298           defaultval=$wxUSE_ALL_FEATURES
4299           if test -z "$defaultval"; then
4300               if test x"$withstring" = xwithout; then
4301                   defaultval=yes
4302               else
4303                   defaultval=no
4304               fi
4305           fi
4306           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4307 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4308
4309 # Check whether --with-subdirs was given.
4310 if test "${with_subdirs+set}" = set; then :
4311   withval=$with_subdirs;
4312                         if test "$withval" = yes; then
4313                           wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4314                         else
4315                           wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4316                         fi
4317
4318 else
4319
4320                         wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4321
4322 fi
4323
4324
4325           eval "$wx_cv_use_subdirs"
4326
4327           if test x"$withstring" = xwithout; then
4328             if test $wxWITH_SUBDIRS = yes; then
4329               result=no
4330             else
4331               result=yes
4332             fi
4333           else
4334             result=$wxWITH_SUBDIRS
4335           fi
4336
4337           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4338 $as_echo "$result" >&6; }
4339
4340
4341 # Check whether --with-flavour was given.
4342 if test "${with_flavour+set}" = set; then :
4343   withval=$with_flavour; WX_FLAVOUR="$withval"
4344 fi
4345
4346
4347           enablestring=
4348           defaultval=
4349           if test -z "$defaultval"; then
4350               if test x"$enablestring" = xdisable; then
4351                   defaultval=yes
4352               else
4353                   defaultval=no
4354               fi
4355           fi
4356
4357           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4358 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4359           # Check whether --enable-official_build was given.
4360 if test "${enable_official_build+set}" = set; then :
4361   enableval=$enable_official_build;
4362                           if test "$enableval" = yes; then
4363                             wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4364                           else
4365                             wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4366                           fi
4367
4368 else
4369
4370                           wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4371
4372 fi
4373
4374
4375           eval "$wx_cv_use_official_build"
4376
4377           if test x"$enablestring" = xdisable; then
4378             if test $wxUSE_OFFICIAL_BUILD = no; then
4379               result=yes
4380             else
4381               result=no
4382             fi
4383           else
4384             result=$wxUSE_OFFICIAL_BUILD
4385           fi
4386
4387           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4388 $as_echo "$result" >&6; }
4389
4390 # Check whether --enable-vendor was given.
4391 if test "${enable_vendor+set}" = set; then :
4392   enableval=$enable_vendor; VENDOR="$enableval"
4393 fi
4394
4395 if test "x$VENDOR" = "x"; then
4396     VENDOR="custom"
4397 fi
4398
4399
4400           enablestring=disable
4401           defaultval=
4402           if test -z "$defaultval"; then
4403               if test x"$enablestring" = xdisable; then
4404                   defaultval=yes
4405               else
4406                   defaultval=no
4407               fi
4408           fi
4409
4410           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4411 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4412           # Check whether --enable-all-features was given.
4413 if test "${enable_all_features+set}" = set; then :
4414   enableval=$enable_all_features;
4415                           if test "$enableval" = yes; then
4416                             wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4417                           else
4418                             wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4419                           fi
4420
4421 else
4422
4423                           wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4424
4425 fi
4426
4427
4428           eval "$wx_cv_use_all_features"
4429
4430           if test x"$enablestring" = xdisable; then
4431             if test $wxUSE_ALL_FEATURES = no; then
4432               result=yes
4433             else
4434               result=no
4435             fi
4436           else
4437             result=$wxUSE_ALL_FEATURES
4438           fi
4439
4440           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4441 $as_echo "$result" >&6; }
4442
4443
4444 if test "$wxUSE_ALL_FEATURES" = "no"; then
4445                     DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4446     DEFAULT_wxUSE_MEDIACTRL=no
4447 fi
4448
4449
4450 if test "$wxUSE_GUI" = "yes"; then
4451
4452
4453           enablestring=
4454           defaultval=
4455           if test -z "$defaultval"; then
4456               if test x"$enablestring" = xdisable; then
4457                   defaultval=yes
4458               else
4459                   defaultval=no
4460               fi
4461           fi
4462
4463           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4464 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4465           # Check whether --enable-universal was given.
4466 if test "${enable_universal+set}" = set; then :
4467   enableval=$enable_universal;
4468                           if test "$enableval" = yes; then
4469                             wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4470                           else
4471                             wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4472                           fi
4473
4474 else
4475
4476                           wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4477
4478 fi
4479
4480
4481           eval "$wx_cv_use_universal"
4482
4483           if test x"$enablestring" = xdisable; then
4484             if test $wxUSE_UNIVERSAL = no; then
4485               result=yes
4486             else
4487               result=no
4488             fi
4489           else
4490             result=$wxUSE_UNIVERSAL
4491           fi
4492
4493           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4494 $as_echo "$result" >&6; }
4495
4496 if test "$wxUSE_UNIVERSAL" = "yes"; then
4497
4498 # Check whether --with-themes was given.
4499 if test "${with_themes+set}" = set; then :
4500   withval=$with_themes; wxUNIV_THEMES="$withval"
4501 fi
4502
4503 fi
4504
4505
4506 # Check whether --with-gtk was given.
4507 if test "${with_gtk+set}" = set; then :
4508   withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4509 fi
4510
4511
4512 # Check whether --with-motif was given.
4513 if test "${with_motif+set}" = set; then :
4514   withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4515 fi
4516
4517
4518 # Check whether --with-osx_carbon was given.
4519 if test "${with_osx_carbon+set}" = set; then :
4520   withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4521 fi
4522
4523
4524 # Check whether --with-osx_cocoa was given.
4525 if test "${with_osx_cocoa+set}" = set; then :
4526   withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4527 fi
4528
4529
4530 # Check whether --with-osx_iphone was given.
4531 if test "${with_osx_iphone+set}" = set; then :
4532   withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4533 fi
4534
4535
4536 # Check whether --with-osx was given.
4537 if test "${with_osx+set}" = set; then :
4538   withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4539 fi
4540
4541
4542 # Check whether --with-carbon was given.
4543 if test "${with_carbon+set}" = set; then :
4544   withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4545 fi
4546
4547
4548 # Check whether --with-cocoa was given.
4549 if test "${with_cocoa+set}" = set; then :
4550   withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4551 fi
4552
4553
4554 # Check whether --with-iphone was given.
4555 if test "${with_iphone+set}" = set; then :
4556   withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4557 fi
4558
4559
4560 # Check whether --with-mac was given.
4561 if test "${with_mac+set}" = set; then :
4562   withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4563 fi
4564
4565
4566 # Check whether --with-old_cocoa was given.
4567 if test "${with_old_cocoa+set}" = set; then :
4568   withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4569 fi
4570
4571
4572 # Check whether --with-wine was given.
4573 if test "${with_wine+set}" = set; then :
4574   withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4575 fi
4576
4577
4578 # Check whether --with-msw was given.
4579 if test "${with_msw+set}" = set; then :
4580   withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4581 fi
4582
4583
4584 # Check whether --with-pm was given.
4585 if test "${with_pm+set}" = set; then :
4586   withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4587 fi
4588
4589
4590 # Check whether --with-directfb was given.
4591 if test "${with_directfb+set}" = set; then :
4592   withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4593 fi
4594
4595
4596 # Check whether --with-microwin was given.
4597 if test "${with_microwin+set}" = set; then :
4598   withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4599 fi
4600
4601
4602 # Check whether --with-x11 was given.
4603 if test "${with_x11+set}" = set; then :
4604   withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4605 fi
4606
4607
4608           enablestring=
4609           defaultval=
4610           if test -z "$defaultval"; then
4611               if test x"$enablestring" = xdisable; then
4612                   defaultval=yes
4613               else
4614                   defaultval=no
4615               fi
4616           fi
4617
4618           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4619 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4620           # Check whether --enable-nanox was given.
4621 if test "${enable_nanox+set}" = set; then :
4622   enableval=$enable_nanox;
4623                           if test "$enableval" = yes; then
4624                             wx_cv_use_nanox='wxUSE_NANOX=yes'
4625                           else
4626                             wx_cv_use_nanox='wxUSE_NANOX=no'
4627                           fi
4628
4629 else
4630
4631                           wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4632
4633 fi
4634
4635
4636           eval "$wx_cv_use_nanox"
4637
4638           if test x"$enablestring" = xdisable; then
4639             if test $wxUSE_NANOX = no; then
4640               result=yes
4641             else
4642               result=no
4643             fi
4644           else
4645             result=$wxUSE_NANOX
4646           fi
4647
4648           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4649 $as_echo "$result" >&6; }
4650
4651
4652           enablestring=
4653           defaultval=
4654           if test -z "$defaultval"; then
4655               if test x"$enablestring" = xdisable; then
4656                   defaultval=yes
4657               else
4658                   defaultval=no
4659               fi
4660           fi
4661
4662           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4663 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4664           # Check whether --enable-gpe was given.
4665 if test "${enable_gpe+set}" = set; then :
4666   enableval=$enable_gpe;
4667                           if test "$enableval" = yes; then
4668                             wx_cv_use_gpe='wxUSE_GPE=yes'
4669                           else
4670                             wx_cv_use_gpe='wxUSE_GPE=no'
4671                           fi
4672
4673 else
4674
4675                           wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4676
4677 fi
4678
4679
4680           eval "$wx_cv_use_gpe"
4681
4682           if test x"$enablestring" = xdisable; then
4683             if test $wxUSE_GPE = no; then
4684               result=yes
4685             else
4686               result=no
4687             fi
4688           else
4689             result=$wxUSE_GPE
4690           fi
4691
4692           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4693 $as_echo "$result" >&6; }
4694
4695
4696
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4698 $as_echo_n "checking for toolkit... " >&6; }
4699
4700
4701
4702 # In Wine, we need to default to MSW, not GTK or MOTIF
4703 if test "$wxUSE_WINE" = "yes"; then
4704     DEFAULT_DEFAULT_wxUSE_GTK=0
4705     DEFAULT_DEFAULT_wxUSE_MOTIF=0
4706     DEFAULT_DEFAULT_wxUSE_MSW=1
4707     wxUSE_SHARED=no
4708     CC=${CC:-winegcc}
4709     CXX=${CXX:-wineg++}
4710 fi
4711
4712
4713 if test "$wxUSE_GUI" = "yes"; then
4714
4715     if test "$USE_BEOS" = 1; then
4716         as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4717     fi
4718
4719     if test "$TOOLKIT_GIVEN" = 1; then
4720             for toolkit in $ALL_TOOLKITS; do
4721         var=wxUSE_$toolkit
4722         eval "value=\$${var}"
4723         if test "x$value" = "xno"; then
4724           eval "$var=0"
4725         elif test "x$value" != "x"; then
4726           eval "$var=1"
4727         fi
4728
4729         if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4730           eval "wx${toolkit}_VERSION=$value"
4731         fi
4732       done
4733     else
4734             for toolkit in $ALL_TOOLKITS; do
4735         var=DEFAULT_DEFAULT_wxUSE_$toolkit
4736         eval "wxUSE_$toolkit=\$${var}"
4737       done
4738     fi
4739
4740             NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4741                   + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4742                   + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4743
4744         case "${host}" in
4745       *-pc-os2_emx | *-pc-os2-emx )
4746         NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4747     esac
4748
4749     case "$NUM_TOOLKITS" in
4750       1)
4751       ;;
4752       0)
4753         as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4754       ;;
4755       *)
4756         as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4757     esac
4758
4759     for toolkit in $ALL_TOOLKITS; do
4760         var=wxUSE_$toolkit
4761         eval "value=\$${var}"
4762         if test "$value" = 1; then
4763           toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4764           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4765 $as_echo "$toolkit_echo" >&6; }
4766         fi
4767     done
4768 else
4769     if test "x$host_alias" != "x"; then
4770         { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4771 $as_echo "base ($host_alias hosted) only" >&6; }
4772     else
4773         { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4774 $as_echo "base only" >&6; }
4775     fi
4776 fi
4777
4778 wxUSE_MAC=0
4779 if test "$wxUSE_OSX_CARBON" = 1 \
4780        -o "$wxUSE_OSX_COCOA" = 1 \
4781        -o "$wxUSE_OSX_IPHONE" = 1; then
4782     wxUSE_MAC=1
4783 fi
4784
4785
4786
4787           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4788 $as_echo_n "checking for --with-libpng... " >&6; }
4789
4790 # Check whether --with-libpng was given.
4791 if test "${with_libpng+set}" = set; then :
4792   withval=$with_libpng;
4793                         if test "$withval" = yes; then
4794                           wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4795                         elif test "$withval" = no; then
4796                           wx_cv_use_libpng='wxUSE_LIBPNG=no'
4797                         elif test "$withval" = sys; then
4798                           wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4799                         elif test "$withval" = builtin; then
4800                           wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4801                         else
4802                           as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4803                         fi
4804
4805 else
4806
4807                         wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4808
4809 fi
4810
4811
4812           eval "$wx_cv_use_libpng"
4813
4814           if test "$wxUSE_LIBPNG" = yes; then
4815             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4816 $as_echo "yes" >&6; }
4817           elif test "$wxUSE_LIBPNG" = no; then
4818             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4819 $as_echo "no" >&6; }
4820           elif test "$wxUSE_LIBPNG" = sys; then
4821             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4822 $as_echo "system version" >&6; }
4823           elif test "$wxUSE_LIBPNG" = builtin; then
4824             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4825 $as_echo "builtin version" >&6; }
4826           else
4827             as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4828           fi
4829
4830
4831           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4832 $as_echo_n "checking for --with-libjpeg... " >&6; }
4833
4834 # Check whether --with-libjpeg was given.
4835 if test "${with_libjpeg+set}" = set; then :
4836   withval=$with_libjpeg;
4837                         if test "$withval" = yes; then
4838                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4839                         elif test "$withval" = no; then
4840                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4841                         elif test "$withval" = sys; then
4842                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4843                         elif test "$withval" = builtin; then
4844                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4845                         else
4846                           as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4847                         fi
4848
4849 else
4850
4851                         wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4852
4853 fi
4854
4855
4856           eval "$wx_cv_use_libjpeg"
4857
4858           if test "$wxUSE_LIBJPEG" = yes; then
4859             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4860 $as_echo "yes" >&6; }
4861           elif test "$wxUSE_LIBJPEG" = no; then
4862             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863 $as_echo "no" >&6; }
4864           elif test "$wxUSE_LIBJPEG" = sys; then
4865             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4866 $as_echo "system version" >&6; }
4867           elif test "$wxUSE_LIBJPEG" = builtin; then
4868             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4869 $as_echo "builtin version" >&6; }
4870           else
4871             as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4872           fi
4873
4874
4875           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4876 $as_echo_n "checking for --with-libtiff... " >&6; }
4877
4878 # Check whether --with-libtiff was given.
4879 if test "${with_libtiff+set}" = set; then :
4880   withval=$with_libtiff;
4881                         if test "$withval" = yes; then
4882                           wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4883                         elif test "$withval" = no; then
4884                           wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4885                         elif test "$withval" = sys; then
4886                           wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4887                         elif test "$withval" = builtin; then
4888                           wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4889                         else
4890                           as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4891                         fi
4892
4893 else
4894
4895                         wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4896
4897 fi
4898
4899
4900           eval "$wx_cv_use_libtiff"
4901
4902           if test "$wxUSE_LIBTIFF" = yes; then
4903             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4904 $as_echo "yes" >&6; }
4905           elif test "$wxUSE_LIBTIFF" = no; then
4906             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4908           elif test "$wxUSE_LIBTIFF" = sys; then
4909             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4910 $as_echo "system version" >&6; }
4911           elif test "$wxUSE_LIBTIFF" = builtin; then
4912             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4913 $as_echo "builtin version" >&6; }
4914           else
4915             as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4916           fi
4917
4918
4919           withstring=without
4920           defaultval=$wxUSE_ALL_FEATURES
4921           if test -z "$defaultval"; then
4922               if test x"$withstring" = xwithout; then
4923                   defaultval=yes
4924               else
4925                   defaultval=no
4926               fi
4927           fi
4928           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libjbig" >&5
4929 $as_echo_n "checking for --${withstring:-with}-libjbig... " >&6; }
4930
4931 # Check whether --with-libjbig was given.
4932 if test "${with_libjbig+set}" = set; then :
4933   withval=$with_libjbig;
4934                         if test "$withval" = yes; then
4935                           wx_cv_use_libjbig='wxUSE_LIBJBIG=yes'
4936                         else
4937                           wx_cv_use_libjbig='wxUSE_LIBJBIG=no'
4938                         fi
4939
4940 else
4941
4942                         wx_cv_use_libjbig='wxUSE_LIBJBIG=${'DEFAULT_wxUSE_LIBJBIG":-$defaultval}"
4943
4944 fi
4945
4946
4947           eval "$wx_cv_use_libjbig"
4948
4949           if test x"$withstring" = xwithout; then
4950             if test $wxUSE_LIBJBIG = yes; then
4951               result=no
4952             else
4953               result=yes
4954             fi
4955           else
4956             result=$wxUSE_LIBJBIG
4957           fi
4958
4959           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4960 $as_echo "$result" >&6; }
4961
4962
4963           withstring=without
4964           defaultval=$wxUSE_ALL_FEATURES
4965           if test -z "$defaultval"; then
4966               if test x"$withstring" = xwithout; then
4967                   defaultval=yes
4968               else
4969                   defaultval=no
4970               fi
4971           fi
4972           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-liblzma" >&5
4973 $as_echo_n "checking for --${withstring:-with}-liblzma... " >&6; }
4974
4975 # Check whether --with-liblzma was given.
4976 if test "${with_liblzma+set}" = set; then :
4977   withval=$with_liblzma;
4978                         if test "$withval" = yes; then
4979                           wx_cv_use_liblzma='wxUSE_LIBLZMA=yes'
4980                         else
4981                           wx_cv_use_liblzma='wxUSE_LIBLZMA=no'
4982                         fi
4983
4984 else
4985
4986                         wx_cv_use_liblzma='wxUSE_LIBLZMA=${'DEFAULT_wxUSE_LIBLZMA":-$defaultval}"
4987
4988 fi
4989
4990
4991           eval "$wx_cv_use_liblzma"
4992
4993           if test x"$withstring" = xwithout; then
4994             if test $wxUSE_LIBLZMA = yes; then
4995               result=no
4996             else
4997               result=yes
4998             fi
4999           else
5000             result=$wxUSE_LIBLZMA
5001           fi
5002
5003           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5004 $as_echo "$result" >&6; }
5005
5006
5007           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
5008 $as_echo_n "checking for --with-libxpm... " >&6; }
5009
5010 # Check whether --with-libxpm was given.
5011 if test "${with_libxpm+set}" = set; then :
5012   withval=$with_libxpm;
5013                         if test "$withval" = yes; then
5014                           wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
5015                         elif test "$withval" = no; then
5016                           wx_cv_use_libxpm='wxUSE_LIBXPM=no'
5017                         elif test "$withval" = sys; then
5018                           wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
5019                         elif test "$withval" = builtin; then
5020                           wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
5021                         else
5022                           as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
5023                         fi
5024
5025 else
5026
5027                         wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
5028
5029 fi
5030
5031
5032           eval "$wx_cv_use_libxpm"
5033
5034           if test "$wxUSE_LIBXPM" = yes; then
5035             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5036 $as_echo "yes" >&6; }
5037           elif test "$wxUSE_LIBXPM" = no; then
5038             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5040           elif test "$wxUSE_LIBXPM" = sys; then
5041             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5042 $as_echo "system version" >&6; }
5043           elif test "$wxUSE_LIBXPM" = builtin; then
5044             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5045 $as_echo "builtin version" >&6; }
5046           else
5047             as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
5048           fi
5049
5050
5051           withstring=
5052           defaultval=$wxUSE_ALL_FEATURES
5053           if test -z "$defaultval"; then
5054               if test x"$withstring" = xwithout; then
5055                   defaultval=yes
5056               else
5057                   defaultval=no
5058               fi
5059           fi
5060           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
5061 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
5062
5063 # Check whether --with-libiconv was given.
5064 if test "${with_libiconv+set}" = set; then :
5065   withval=$with_libiconv;
5066                         if test "$withval" = yes; then
5067                           wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
5068                         else
5069                           wx_cv_use_libiconv='wxUSE_LIBICONV=no'
5070                         fi
5071
5072 else
5073
5074                         wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
5075
5076 fi
5077
5078
5079           eval "$wx_cv_use_libiconv"
5080
5081           if test x"$withstring" = xwithout; then
5082             if test $wxUSE_LIBICONV = yes; then
5083               result=no
5084             else
5085               result=yes
5086             fi
5087           else
5088             result=$wxUSE_LIBICONV
5089           fi
5090
5091           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5092 $as_echo "$result" >&6; }
5093
5094
5095           withstring=
5096           defaultval=$wxUSE_ALL_FEATURES
5097           if test -z "$defaultval"; then
5098               if test x"$withstring" = xwithout; then
5099                   defaultval=yes
5100               else
5101                   defaultval=no
5102               fi
5103           fi
5104           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5105 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5106
5107 # Check whether --with-libmspack was given.
5108 if test "${with_libmspack+set}" = set; then :
5109   withval=$with_libmspack;
5110                         if test "$withval" = yes; then
5111                           wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5112                         else
5113                           wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5114                         fi
5115
5116 else
5117
5118                         wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5119
5120 fi
5121
5122
5123           eval "$wx_cv_use_libmspack"
5124
5125           if test x"$withstring" = xwithout; then
5126             if test $wxUSE_LIBMSPACK = yes; then
5127               result=no
5128             else
5129               result=yes
5130             fi
5131           else
5132             result=$wxUSE_LIBMSPACK
5133           fi
5134
5135           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5136 $as_echo "$result" >&6; }
5137
5138
5139           withstring=without
5140           defaultval=$wxUSE_ALL_FEATURES
5141           if test -z "$defaultval"; then
5142               if test x"$withstring" = xwithout; then
5143                   defaultval=yes
5144               else
5145                   defaultval=no
5146               fi
5147           fi
5148           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5149 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5150
5151 # Check whether --with-gtkprint was given.
5152 if test "${with_gtkprint+set}" = set; then :
5153   withval=$with_gtkprint;
5154                         if test "$withval" = yes; then
5155                           wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5156                         else
5157                           wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5158                         fi
5159
5160 else
5161
5162                         wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5163
5164 fi
5165
5166
5167           eval "$wx_cv_use_gtkprint"
5168
5169           if test x"$withstring" = xwithout; then
5170             if test $wxUSE_GTKPRINT = yes; then
5171               result=no
5172             else
5173               result=yes
5174             fi
5175           else
5176             result=$wxUSE_GTKPRINT
5177           fi
5178
5179           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5180 $as_echo "$result" >&6; }
5181
5182
5183           withstring=without
5184           defaultval=$wxUSE_ALL_FEATURES
5185           if test -z "$defaultval"; then
5186               if test x"$withstring" = xwithout; then
5187                   defaultval=yes
5188               else
5189                   defaultval=no
5190               fi
5191           fi
5192           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5193 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5194
5195 # Check whether --with-gnomeprint was given.
5196 if test "${with_gnomeprint+set}" = set; then :
5197   withval=$with_gnomeprint;
5198                         if test "$withval" = yes; then
5199                           wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
5200                         else
5201                           wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
5202                         fi
5203
5204 else
5205
5206                         wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5207
5208 fi
5209
5210
5211           eval "$wx_cv_use_gnomeprint"
5212
5213           if test x"$withstring" = xwithout; then
5214             if test $wxUSE_LIBGNOMEPRINT = yes; then
5215               result=no
5216             else
5217               result=yes
5218             fi
5219           else
5220             result=$wxUSE_LIBGNOMEPRINT
5221           fi
5222
5223           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5224 $as_echo "$result" >&6; }
5225
5226
5227           withstring=
5228           defaultval=$wxUSE_ALL_FEATURES
5229           if test -z "$defaultval"; then
5230               if test x"$withstring" = xwithout; then
5231                   defaultval=yes
5232               else
5233                   defaultval=no
5234               fi
5235           fi
5236           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5237 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5238
5239 # Check whether --with-gnomevfs was given.
5240 if test "${with_gnomevfs+set}" = set; then :
5241   withval=$with_gnomevfs;
5242                         if test "$withval" = yes; then
5243                           wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5244                         else
5245                           wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5246                         fi
5247
5248 else
5249
5250                         wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5251
5252 fi
5253
5254
5255           eval "$wx_cv_use_gnomevfs"
5256
5257           if test x"$withstring" = xwithout; then
5258             if test $wxUSE_LIBGNOMEVFS = yes; then
5259               result=no
5260             else
5261               result=yes
5262             fi
5263           else
5264             result=$wxUSE_LIBGNOMEVFS
5265           fi
5266
5267           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5268 $as_echo "$result" >&6; }
5269
5270
5271           withstring=
5272           defaultval=$wxUSE_ALL_FEATURES
5273           if test -z "$defaultval"; then
5274               if test x"$withstring" = xwithout; then
5275                   defaultval=yes
5276               else
5277                   defaultval=no
5278               fi
5279           fi
5280           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libnotify" >&5
5281 $as_echo_n "checking for --${withstring:-with}-libnotify... " >&6; }
5282
5283 # Check whether --with-libnotify was given.
5284 if test "${with_libnotify+set}" = set; then :
5285   withval=$with_libnotify;
5286                         if test "$withval" = yes; then
5287                           wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes'
5288                         else
5289                           wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no'
5290                         fi
5291
5292 else
5293
5294                         wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5295
5296 fi
5297
5298
5299           eval "$wx_cv_use_libnotify"
5300
5301           if test x"$withstring" = xwithout; then
5302             if test $wxUSE_LIBNOTIFY = yes; then
5303               result=no
5304             else
5305               result=yes
5306             fi
5307           else
5308             result=$wxUSE_LIBNOTIFY
5309           fi
5310
5311           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5312 $as_echo "$result" >&6; }
5313
5314
5315           withstring=
5316           defaultval=$wxUSE_ALL_FEATURES
5317           if test -z "$defaultval"; then
5318               if test x"$withstring" = xwithout; then
5319                   defaultval=yes
5320               else
5321                   defaultval=no
5322               fi
5323           fi
5324           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5325 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5326
5327 # Check whether --with-hildon was given.
5328 if test "${with_hildon+set}" = set; then :
5329   withval=$with_hildon;
5330                         if test "$withval" = yes; then
5331                           wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5332                         else
5333                           wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5334                         fi
5335
5336 else
5337
5338                         wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5339
5340 fi
5341
5342
5343           eval "$wx_cv_use_hildon"
5344
5345           if test x"$withstring" = xwithout; then
5346             if test $wxUSE_LIBHILDON = yes; then
5347               result=no
5348             else
5349               result=yes
5350             fi
5351           else
5352             result=$wxUSE_LIBHILDON
5353           fi
5354
5355           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5356 $as_echo "$result" >&6; }
5357
5358
5359           withstring=
5360           defaultval=$wxUSE_ALL_FEATURES
5361           if test -z "$defaultval"; then
5362               if test x"$withstring" = xwithout; then
5363                   defaultval=yes
5364               else
5365                   defaultval=no
5366               fi
5367           fi
5368           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5369 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5370
5371 # Check whether --with-opengl was given.
5372 if test "${with_opengl+set}" = set; then :
5373   withval=$with_opengl;
5374                         if test "$withval" = yes; then
5375                           wx_cv_use_opengl='wxUSE_OPENGL=yes'
5376                         else
5377                           wx_cv_use_opengl='wxUSE_OPENGL=no'
5378                         fi
5379
5380 else
5381
5382                         wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5383
5384 fi
5385
5386
5387           eval "$wx_cv_use_opengl"
5388
5389           if test x"$withstring" = xwithout; then
5390             if test $wxUSE_OPENGL = yes; then
5391               result=no
5392             else
5393               result=yes
5394             fi
5395           else
5396             result=$wxUSE_OPENGL
5397           fi
5398
5399           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5400 $as_echo "$result" >&6; }
5401
5402
5403 fi
5404
5405
5406           withstring=
5407           defaultval=$wxUSE_ALL_FEATURES
5408           if test -z "$defaultval"; then
5409               if test x"$withstring" = xwithout; then
5410                   defaultval=yes
5411               else
5412                   defaultval=no
5413               fi
5414           fi
5415           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5416 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5417
5418 # Check whether --with-dmalloc was given.
5419 if test "${with_dmalloc+set}" = set; then :
5420   withval=$with_dmalloc;
5421                         if test "$withval" = yes; then
5422                           wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5423                         else
5424                           wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5425                         fi
5426
5427 else
5428
5429                         wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5430
5431 fi
5432
5433
5434           eval "$wx_cv_use_dmalloc"
5435
5436           if test x"$withstring" = xwithout; then
5437             if test $wxUSE_DMALLOC = yes; then
5438               result=no
5439             else
5440               result=yes
5441             fi
5442           else
5443             result=$wxUSE_DMALLOC
5444           fi
5445
5446           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5447 $as_echo "$result" >&6; }
5448
5449
5450           withstring=
5451           defaultval=$wxUSE_ALL_FEATURES
5452           if test -z "$defaultval"; then
5453               if test x"$withstring" = xwithout; then
5454                   defaultval=yes
5455               else
5456                   defaultval=no
5457               fi
5458           fi
5459           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5460 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5461
5462 # Check whether --with-sdl was given.
5463 if test "${with_sdl+set}" = set; then :
5464   withval=$with_sdl;
5465                         if test "$withval" = yes; then
5466                           wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5467                         else
5468                           wx_cv_use_sdl='wxUSE_LIBSDL=no'
5469                         fi
5470
5471 else
5472
5473                         wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5474
5475 fi
5476
5477
5478           eval "$wx_cv_use_sdl"
5479
5480           if test x"$withstring" = xwithout; then
5481             if test $wxUSE_LIBSDL = yes; then
5482               result=no
5483             else
5484               result=yes
5485             fi
5486           else
5487             result=$wxUSE_LIBSDL
5488           fi
5489
5490           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5491 $as_echo "$result" >&6; }
5492
5493
5494           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5495 $as_echo_n "checking for --with-regex... " >&6; }
5496
5497 # Check whether --with-regex was given.
5498 if test "${with_regex+set}" = set; then :
5499   withval=$with_regex;
5500                         if test "$withval" = yes; then
5501                           wx_cv_use_regex='wxUSE_REGEX=yes'
5502                         elif test "$withval" = no; then
5503                           wx_cv_use_regex='wxUSE_REGEX=no'
5504                         elif test "$withval" = sys; then
5505                           wx_cv_use_regex='wxUSE_REGEX=sys'
5506                         elif test "$withval" = builtin; then
5507                           wx_cv_use_regex='wxUSE_REGEX=builtin'
5508                         else
5509                           as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5510                         fi
5511
5512 else
5513
5514                         wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5515
5516 fi
5517
5518
5519           eval "$wx_cv_use_regex"
5520
5521           if test "$wxUSE_REGEX" = yes; then
5522             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5523 $as_echo "yes" >&6; }
5524           elif test "$wxUSE_REGEX" = no; then
5525             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5526 $as_echo "no" >&6; }
5527           elif test "$wxUSE_REGEX" = sys; then
5528             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5529 $as_echo "system version" >&6; }
5530           elif test "$wxUSE_REGEX" = builtin; then
5531             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5532 $as_echo "builtin version" >&6; }
5533           else
5534             as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5535           fi
5536
5537
5538           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5539 $as_echo_n "checking for --with-zlib... " >&6; }
5540
5541 # Check whether --with-zlib was given.
5542 if test "${with_zlib+set}" = set; then :
5543   withval=$with_zlib;
5544                         if test "$withval" = yes; then
5545                           wx_cv_use_zlib='wxUSE_ZLIB=yes'
5546                         elif test "$withval" = no; then
5547                           wx_cv_use_zlib='wxUSE_ZLIB=no'
5548                         elif test "$withval" = sys; then
5549                           wx_cv_use_zlib='wxUSE_ZLIB=sys'
5550                         elif test "$withval" = builtin; then
5551                           wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5552                         else
5553                           as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5554                         fi
5555
5556 else
5557
5558                         wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5559
5560 fi
5561
5562
5563           eval "$wx_cv_use_zlib"
5564
5565           if test "$wxUSE_ZLIB" = yes; then
5566             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5567 $as_echo "yes" >&6; }
5568           elif test "$wxUSE_ZLIB" = no; then
5569             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5571           elif test "$wxUSE_ZLIB" = sys; then
5572             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5573 $as_echo "system version" >&6; }
5574           elif test "$wxUSE_ZLIB" = builtin; then
5575             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5576 $as_echo "builtin version" >&6; }
5577           else
5578             as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5579           fi
5580
5581
5582           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5583 $as_echo_n "checking for --with-expat... " >&6; }
5584
5585 # Check whether --with-expat was given.
5586 if test "${with_expat+set}" = set; then :
5587   withval=$with_expat;
5588                         if test "$withval" = yes; then
5589                           wx_cv_use_expat='wxUSE_EXPAT=yes'
5590                         elif test "$withval" = no; then
5591                           wx_cv_use_expat='wxUSE_EXPAT=no'
5592                         elif test "$withval" = sys; then
5593                           wx_cv_use_expat='wxUSE_EXPAT=sys'
5594                         elif test "$withval" = builtin; then
5595                           wx_cv_use_expat='wxUSE_EXPAT=builtin'
5596                         else
5597                           as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5598                         fi
5599
5600 else
5601
5602                         wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5603
5604 fi
5605
5606
5607           eval "$wx_cv_use_expat"
5608
5609           if test "$wxUSE_EXPAT" = yes; then
5610             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5611 $as_echo "yes" >&6; }
5612           elif test "$wxUSE_EXPAT" = no; then
5613             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5615           elif test "$wxUSE_EXPAT" = sys; then
5616             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5617 $as_echo "system version" >&6; }
5618           elif test "$wxUSE_EXPAT" = builtin; then
5619             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5620 $as_echo "builtin version" >&6; }
5621           else
5622             as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5623           fi
5624
5625
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5627 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5628
5629 # Check whether --with-macosx-sdk was given.
5630 if test "${with_macosx_sdk+set}" = set; then :
5631   withval=$with_macosx_sdk;
5632         wxUSE_MACOSX_SDK=$withval
5633         wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5634
5635 fi
5636
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5638 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5639
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5641 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5642
5643 # Check whether --with-macosx-version-min was given.
5644 if test "${with_macosx_version_min+set}" = set; then :
5645   withval=$with_macosx_version_min;
5646         wxUSE_MACOSX_VERSION_MIN=$withval
5647         wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5648
5649 fi
5650
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5652 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5653
5654
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5656 $as_echo_n "checking for --enable-debug... " >&6; }
5657 # Check whether --enable-debug was given.
5658 if test "${enable_debug+set}" = set; then :
5659   enableval=$enable_debug;
5660         if test "$enableval" = yes; then
5661             wxUSE_DEBUG=yes
5662         elif test "$enableval" = no; then
5663             wxUSE_DEBUG=no
5664         elif test "$enableval" = max; then
5665             wxUSE_DEBUG=yes
5666             WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5667         else
5668             as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5669         fi
5670
5671 else
5672   wxUSE_DEBUG=default
5673
5674 fi
5675
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5677 $as_echo "${enable_debug-default}" >&6; }
5678
5679 case "$wxUSE_DEBUG" in
5680     yes)
5681                         DEFAULT_wxUSE_DEBUG_FLAG=yes
5682         DEFAULT_wxUSE_DEBUG_INFO=yes
5683
5684                         DEFAULT_wxUSE_OPTIMISE=no
5685         ;;
5686
5687     no)
5688                         DEFAULT_wxUSE_DEBUG_FLAG=no
5689         DEFAULT_wxUSE_DEBUG_INFO=no
5690         ;;
5691
5692     default)
5693                         DEFAULT_wxUSE_DEBUG_FLAG=yes
5694         DEFAULT_wxUSE_DEBUG_INFO=no
5695         ;;
5696 esac
5697
5698
5699           enablestring=disable
5700           defaultval=
5701           if test -z "$defaultval"; then
5702               if test x"$enablestring" = xdisable; then
5703                   defaultval=yes
5704               else
5705                   defaultval=no
5706               fi
5707           fi
5708
5709           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5710 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5711           # Check whether --enable-debug_flag was given.
5712 if test "${enable_debug_flag+set}" = set; then :
5713   enableval=$enable_debug_flag;
5714                           if test "$enableval" = yes; then
5715                             wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5716                           else
5717                             wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5718                           fi
5719
5720 else
5721
5722                           wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5723
5724 fi
5725
5726
5727           eval "$wx_cv_use_debug_flag"
5728
5729           if test x"$enablestring" = xdisable; then
5730             if test $wxUSE_DEBUG_FLAG = no; then
5731               result=yes
5732             else
5733               result=no
5734             fi
5735           else
5736             result=$wxUSE_DEBUG_FLAG
5737           fi
5738
5739           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5740 $as_echo "$result" >&6; }
5741
5742
5743           enablestring=
5744           defaultval=
5745           if test -z "$defaultval"; then
5746               if test x"$enablestring" = xdisable; then
5747                   defaultval=yes
5748               else
5749                   defaultval=no
5750               fi
5751           fi
5752
5753           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5754 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5755           # Check whether --enable-debug_info was given.
5756 if test "${enable_debug_info+set}" = set; then :
5757   enableval=$enable_debug_info;
5758                           if test "$enableval" = yes; then
5759                             wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5760                           else
5761                             wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5762                           fi
5763
5764 else
5765
5766                           wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5767
5768 fi
5769
5770
5771           eval "$wx_cv_use_debug_info"
5772
5773           if test x"$enablestring" = xdisable; then
5774             if test $wxUSE_DEBUG_INFO = no; then
5775               result=yes
5776             else
5777               result=no
5778             fi
5779           else
5780             result=$wxUSE_DEBUG_INFO
5781           fi
5782
5783           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5784 $as_echo "$result" >&6; }
5785
5786
5787
5788
5789           enablestring=
5790           defaultval=
5791           if test -z "$defaultval"; then
5792               if test x"$enablestring" = xdisable; then
5793                   defaultval=yes
5794               else
5795                   defaultval=no
5796               fi
5797           fi
5798
5799           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5800 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5801           # Check whether --enable-debug_gdb was given.
5802 if test "${enable_debug_gdb+set}" = set; then :
5803   enableval=$enable_debug_gdb;
5804                           if test "$enableval" = yes; then
5805                             wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5806                           else
5807                             wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5808                           fi
5809
5810 else
5811
5812                           wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5813
5814 fi
5815
5816
5817           eval "$wx_cv_use_debug_gdb"
5818
5819           if test x"$enablestring" = xdisable; then
5820             if test $wxUSE_DEBUG_GDB = no; then
5821               result=yes
5822             else
5823               result=no
5824             fi
5825           else
5826             result=$wxUSE_DEBUG_GDB
5827           fi
5828
5829           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5830 $as_echo "$result" >&6; }
5831
5832
5833           enablestring=
5834           defaultval=
5835           if test -z "$defaultval"; then
5836               if test x"$enablestring" = xdisable; then
5837                   defaultval=yes
5838               else
5839                   defaultval=no
5840               fi
5841           fi
5842
5843           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5844 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5845           # Check whether --enable-debug_cntxt was given.
5846 if test "${enable_debug_cntxt+set}" = set; then :
5847   enableval=$enable_debug_cntxt;
5848                           if test "$enableval" = yes; then
5849                             wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5850                           else
5851                             wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5852                           fi
5853
5854 else
5855
5856                           wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5857
5858 fi
5859
5860
5861           eval "$wx_cv_use_debug_cntxt"
5862
5863           if test x"$enablestring" = xdisable; then
5864             if test $wxUSE_DEBUG_CONTEXT = no; then
5865               result=yes
5866             else
5867               result=no
5868             fi
5869           else
5870             result=$wxUSE_DEBUG_CONTEXT
5871           fi
5872
5873           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5874 $as_echo "$result" >&6; }
5875
5876
5877           enablestring=
5878           defaultval=
5879           if test -z "$defaultval"; then
5880               if test x"$enablestring" = xdisable; then
5881                   defaultval=yes
5882               else
5883                   defaultval=no
5884               fi
5885           fi
5886
5887           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5888 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5889           # Check whether --enable-mem_tracing was given.
5890 if test "${enable_mem_tracing+set}" = set; then :
5891   enableval=$enable_mem_tracing;
5892                           if test "$enableval" = yes; then
5893                             wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5894                           else
5895                             wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5896                           fi
5897
5898 else
5899
5900                           wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5901
5902 fi
5903
5904
5905           eval "$wx_cv_use_mem_tracing"
5906
5907           if test x"$enablestring" = xdisable; then
5908             if test $wxUSE_MEM_TRACING = no; then
5909               result=yes
5910             else
5911               result=no
5912             fi
5913           else
5914             result=$wxUSE_MEM_TRACING
5915           fi
5916
5917           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5918 $as_echo "$result" >&6; }
5919
5920
5921
5922
5923           enablestring=disable
5924           defaultval=
5925           if test -z "$defaultval"; then
5926               if test x"$enablestring" = xdisable; then
5927                   defaultval=yes
5928               else
5929                   defaultval=no
5930               fi
5931           fi
5932
5933           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5934 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5935           # Check whether --enable-shared was given.
5936 if test "${enable_shared+set}" = set; then :
5937   enableval=$enable_shared;
5938                           if test "$enableval" = yes; then
5939                             wx_cv_use_shared='wxUSE_SHARED=yes'
5940                           else
5941                             wx_cv_use_shared='wxUSE_SHARED=no'
5942                           fi
5943
5944 else
5945
5946                           wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5947
5948 fi
5949
5950
5951           eval "$wx_cv_use_shared"
5952
5953           if test x"$enablestring" = xdisable; then
5954             if test $wxUSE_SHARED = no; then
5955               result=yes
5956             else
5957               result=no
5958             fi
5959           else
5960             result=$wxUSE_SHARED
5961           fi
5962
5963           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5964 $as_echo "$result" >&6; }
5965
5966
5967           enablestring=
5968           defaultval=
5969           if test -z "$defaultval"; then
5970               if test x"$enablestring" = xdisable; then
5971                   defaultval=yes
5972               else
5973                   defaultval=no
5974               fi
5975           fi
5976
5977           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5978 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5979           # Check whether --enable-stl was given.
5980 if test "${enable_stl+set}" = set; then :
5981   enableval=$enable_stl;
5982                           if test "$enableval" = yes; then
5983                             wx_cv_use_stl='wxUSE_STL=yes'
5984                           else
5985                             wx_cv_use_stl='wxUSE_STL=no'
5986                           fi
5987
5988 else
5989
5990                           wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5991
5992 fi
5993
5994
5995           eval "$wx_cv_use_stl"
5996
5997           if test x"$enablestring" = xdisable; then
5998             if test $wxUSE_STL = no; then
5999               result=yes
6000             else
6001               result=no
6002             fi
6003           else
6004             result=$wxUSE_STL
6005           fi
6006
6007           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6008 $as_echo "$result" >&6; }
6009
6010 if test "$wxUSE_STL" = "yes"; then
6011     DEFAULT_wxUSE_STD_CONTAINERS=yes
6012     DEFAULT_wxUSE_STD_IOSTREAM=yes
6013     DEFAULT_wxUSE_STD_STRING=yes
6014 fi
6015
6016           enablestring=
6017           defaultval=
6018           if test -z "$defaultval"; then
6019               if test x"$enablestring" = xdisable; then
6020                   defaultval=yes
6021               else
6022                   defaultval=no
6023               fi
6024           fi
6025
6026           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
6027 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
6028           # Check whether --enable-std_containers was given.
6029 if test "${enable_std_containers+set}" = set; then :
6030   enableval=$enable_std_containers;
6031                           if test "$enableval" = yes; then
6032                             wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
6033                           else
6034                             wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
6035                           fi
6036
6037 else
6038
6039                           wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
6040
6041 fi
6042
6043
6044           eval "$wx_cv_use_std_containers"
6045
6046           if test x"$enablestring" = xdisable; then
6047             if test $wxUSE_STD_CONTAINERS = no; then
6048               result=yes
6049             else
6050               result=no
6051             fi
6052           else
6053             result=$wxUSE_STD_CONTAINERS
6054           fi
6055
6056           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6057 $as_echo "$result" >&6; }
6058
6059
6060           enablestring=
6061           defaultval=
6062           if test -z "$defaultval"; then
6063               if test x"$enablestring" = xdisable; then
6064                   defaultval=yes
6065               else
6066                   defaultval=no
6067               fi
6068           fi
6069
6070           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
6071 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
6072           # Check whether --enable-std_iostreams was given.
6073 if test "${enable_std_iostreams+set}" = set; then :
6074   enableval=$enable_std_iostreams;
6075                           if test "$enableval" = yes; then
6076                             wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6077                           else
6078                             wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6079                           fi
6080
6081 else
6082
6083                           wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
6084
6085 fi
6086
6087
6088           eval "$wx_cv_use_std_iostreams"
6089
6090           if test x"$enablestring" = xdisable; then
6091             if test $wxUSE_STD_IOSTREAM = no; then
6092               result=yes
6093             else
6094               result=no
6095             fi
6096           else
6097             result=$wxUSE_STD_IOSTREAM
6098           fi
6099
6100           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6101 $as_echo "$result" >&6; }
6102
6103
6104           enablestring=
6105           defaultval=
6106           if test -z "$defaultval"; then
6107               if test x"$enablestring" = xdisable; then
6108                   defaultval=yes
6109               else
6110                   defaultval=no
6111               fi
6112           fi
6113
6114           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
6115 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
6116           # Check whether --enable-std_string was given.
6117 if test "${enable_std_string+set}" = set; then :
6118   enableval=$enable_std_string;
6119                           if test "$enableval" = yes; then
6120                             wx_cv_use_std_string='wxUSE_STD_STRING=yes'
6121                           else
6122                             wx_cv_use_std_string='wxUSE_STD_STRING=no'
6123                           fi
6124
6125 else
6126
6127                           wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6128
6129 fi
6130
6131
6132           eval "$wx_cv_use_std_string"
6133
6134           if test x"$enablestring" = xdisable; then
6135             if test $wxUSE_STD_STRING = no; then
6136               result=yes
6137             else
6138               result=no
6139             fi
6140           else
6141             result=$wxUSE_STD_STRING
6142           fi
6143
6144           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6145 $as_echo "$result" >&6; }
6146
6147
6148           enablestring=
6149           defaultval=
6150           if test -z "$defaultval"; then
6151               if test x"$enablestring" = xdisable; then
6152                   defaultval=yes
6153               else
6154                   defaultval=no
6155               fi
6156           fi
6157
6158           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6159 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6160           # Check whether --enable-std_string_conv_in_wxstring was given.
6161 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6162   enableval=$enable_std_string_conv_in_wxstring;
6163                           if test "$enableval" = yes; then
6164                             wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6165                           else
6166                             wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6167                           fi
6168
6169 else
6170
6171                           wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6172
6173 fi
6174
6175
6176           eval "$wx_cv_use_std_string_conv_in_wxstring"
6177
6178           if test x"$enablestring" = xdisable; then
6179             if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6180               result=yes
6181             else
6182               result=no
6183             fi
6184           else
6185             result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6186           fi
6187
6188           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6189 $as_echo "$result" >&6; }
6190
6191
6192           enablestring=disable
6193           defaultval=
6194           if test -z "$defaultval"; then
6195               if test x"$enablestring" = xdisable; then
6196                   defaultval=yes
6197               else
6198                   defaultval=no
6199               fi
6200           fi
6201
6202           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6203 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6204           # Check whether --enable-unicode was given.
6205 if test "${enable_unicode+set}" = set; then :
6206   enableval=$enable_unicode;
6207                           if test "$enableval" = yes; then
6208                             wx_cv_use_unicode='wxUSE_UNICODE=yes'
6209                           else
6210                             wx_cv_use_unicode='wxUSE_UNICODE=no'
6211                           fi
6212
6213 else
6214
6215                           wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6216
6217 fi
6218
6219
6220           eval "$wx_cv_use_unicode"
6221
6222           if test x"$enablestring" = xdisable; then
6223             if test $wxUSE_UNICODE = no; then
6224               result=yes
6225             else
6226               result=no
6227             fi
6228           else
6229             result=$wxUSE_UNICODE
6230           fi
6231
6232           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6233 $as_echo "$result" >&6; }
6234
6235
6236           enablestring=
6237           defaultval=
6238           if test -z "$defaultval"; then
6239               if test x"$enablestring" = xdisable; then
6240                   defaultval=yes
6241               else
6242                   defaultval=no
6243               fi
6244           fi
6245
6246           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6247 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6248           # Check whether --enable-mslu was given.
6249 if test "${enable_mslu+set}" = set; then :
6250   enableval=$enable_mslu;
6251                           if test "$enableval" = yes; then
6252                             wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6253                           else
6254                             wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6255                           fi
6256
6257 else
6258
6259                           wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6260
6261 fi
6262
6263
6264           eval "$wx_cv_use_mslu"
6265
6266           if test x"$enablestring" = xdisable; then
6267             if test $wxUSE_UNICODE_MSLU = no; then
6268               result=yes
6269             else
6270               result=no
6271             fi
6272           else
6273             result=$wxUSE_UNICODE_MSLU
6274           fi
6275
6276           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6277 $as_echo "$result" >&6; }
6278
6279
6280           enablestring=
6281           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6282 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6283           # Check whether --enable-utf8 was given.
6284 if test "${enable_utf8+set}" = set; then :
6285   enableval=$enable_utf8;
6286                           wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6287
6288 else
6289
6290                           wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6291
6292 fi
6293
6294
6295           eval "$wx_cv_use_utf8"
6296
6297           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6298 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6299
6300
6301           enablestring=
6302           defaultval=
6303           if test -z "$defaultval"; then
6304               if test x"$enablestring" = xdisable; then
6305                   defaultval=yes
6306               else
6307                   defaultval=no
6308               fi
6309           fi
6310
6311           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6312 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6313           # Check whether --enable-utf8only was given.
6314 if test "${enable_utf8only+set}" = set; then :
6315   enableval=$enable_utf8only;
6316                           if test "$enableval" = yes; then
6317                             wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6318                           else
6319                             wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6320                           fi
6321
6322 else
6323
6324                           wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6325
6326 fi
6327
6328
6329           eval "$wx_cv_use_utf8only"
6330
6331           if test x"$enablestring" = xdisable; then
6332             if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6333               result=yes
6334             else
6335               result=no
6336             fi
6337           else
6338             result=$wxUSE_UNICODE_UTF8_LOCALE
6339           fi
6340
6341           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6342 $as_echo "$result" >&6; }
6343
6344
6345           enablestring=
6346           defaultval=
6347           if test -z "$defaultval"; then
6348               if test x"$enablestring" = xdisable; then
6349                   defaultval=yes
6350               else
6351                   defaultval=no
6352               fi
6353           fi
6354
6355           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6356 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6357           # Check whether --enable-extended_rtti was given.
6358 if test "${enable_extended_rtti+set}" = set; then :
6359   enableval=$enable_extended_rtti;
6360                           if test "$enableval" = yes; then
6361                             wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6362                           else
6363                             wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6364                           fi
6365
6366 else
6367
6368                           wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6369
6370 fi
6371
6372
6373           eval "$wx_cv_use_extended_rtti"
6374
6375           if test x"$enablestring" = xdisable; then
6376             if test $wxUSE_EXTENDED_RTTI = no; then
6377               result=yes
6378             else
6379               result=no
6380             fi
6381           else
6382             result=$wxUSE_EXTENDED_RTTI
6383           fi
6384
6385           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6386 $as_echo "$result" >&6; }
6387
6388 if test "$USE_OS2" = 1; then
6389     DEFAULT_wxUSE_OMF=no
6390
6391           enablestring=
6392           defaultval=
6393           if test -z "$defaultval"; then
6394               if test x"$enablestring" = xdisable; then
6395                   defaultval=yes
6396               else
6397                   defaultval=no
6398               fi
6399           fi
6400
6401           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6402 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6403           # Check whether --enable-omf was given.
6404 if test "${enable_omf+set}" = set; then :
6405   enableval=$enable_omf;
6406                           if test "$enableval" = yes; then
6407                             wx_cv_use_omf='wxUSE_OMF=yes'
6408                           else
6409                             wx_cv_use_omf='wxUSE_OMF=no'
6410                           fi
6411
6412 else
6413
6414                           wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6415
6416 fi
6417
6418
6419           eval "$wx_cv_use_omf"
6420
6421           if test x"$enablestring" = xdisable; then
6422             if test $wxUSE_OMF = no; then
6423               result=yes
6424             else
6425               result=no
6426             fi
6427           else
6428             result=$wxUSE_OMF
6429           fi
6430
6431           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6432 $as_echo "$result" >&6; }
6433
6434 fi
6435
6436
6437           enablestring=disable
6438           defaultval=
6439           if test -z "$defaultval"; then
6440               if test x"$enablestring" = xdisable; then
6441                   defaultval=yes
6442               else
6443                   defaultval=no
6444               fi
6445           fi
6446
6447           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6448 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6449           # Check whether --enable-optimise was given.
6450 if test "${enable_optimise+set}" = set; then :
6451   enableval=$enable_optimise;
6452                           if test "$enableval" = yes; then
6453                             wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6454                           else
6455                             wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6456                           fi
6457
6458 else
6459
6460                           wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6461
6462 fi
6463
6464
6465           eval "$wx_cv_use_optimise"
6466
6467           if test x"$enablestring" = xdisable; then
6468             if test $wxUSE_OPTIMISE = no; then
6469               result=yes
6470             else
6471               result=no
6472             fi
6473           else
6474             result=$wxUSE_OPTIMISE
6475           fi
6476
6477           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6478 $as_echo "$result" >&6; }
6479
6480
6481
6482           enablestring=
6483           defaultval=
6484           if test -z "$defaultval"; then
6485               if test x"$enablestring" = xdisable; then
6486                   defaultval=yes
6487               else
6488                   defaultval=no
6489               fi
6490           fi
6491
6492           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6493 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6494           # Check whether --enable-profile was given.
6495 if test "${enable_profile+set}" = set; then :
6496   enableval=$enable_profile;
6497                           if test "$enableval" = yes; then
6498                             wx_cv_use_profile='wxUSE_PROFILE=yes'
6499                           else
6500                             wx_cv_use_profile='wxUSE_PROFILE=no'
6501                           fi
6502
6503 else
6504
6505                           wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6506
6507 fi
6508
6509
6510           eval "$wx_cv_use_profile"
6511
6512           if test x"$enablestring" = xdisable; then
6513             if test $wxUSE_PROFILE = no; then
6514               result=yes
6515             else
6516               result=no
6517             fi
6518           else
6519             result=$wxUSE_PROFILE
6520           fi
6521
6522           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6523 $as_echo "$result" >&6; }
6524
6525
6526           enablestring=
6527           defaultval=
6528           if test -z "$defaultval"; then
6529               if test x"$enablestring" = xdisable; then
6530                   defaultval=yes
6531               else
6532                   defaultval=no
6533               fi
6534           fi
6535
6536           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6537 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6538           # Check whether --enable-no_rtti was given.
6539 if test "${enable_no_rtti+set}" = set; then :
6540   enableval=$enable_no_rtti;
6541                           if test "$enableval" = yes; then
6542                             wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6543                           else
6544                             wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6545                           fi
6546
6547 else
6548
6549                           wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6550
6551 fi
6552
6553
6554           eval "$wx_cv_use_no_rtti"
6555
6556           if test x"$enablestring" = xdisable; then
6557             if test $wxUSE_NO_RTTI = no; then
6558               result=yes
6559             else
6560               result=no
6561             fi
6562           else
6563             result=$wxUSE_NO_RTTI
6564           fi
6565
6566           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6567 $as_echo "$result" >&6; }
6568
6569
6570           enablestring=
6571           defaultval=
6572           if test -z "$defaultval"; then
6573               if test x"$enablestring" = xdisable; then
6574                   defaultval=yes
6575               else
6576                   defaultval=no
6577               fi
6578           fi
6579
6580           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6581 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6582           # Check whether --enable-no_exceptions was given.
6583 if test "${enable_no_exceptions+set}" = set; then :
6584   enableval=$enable_no_exceptions;
6585                           if test "$enableval" = yes; then
6586                             wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6587                           else
6588                             wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6589                           fi
6590
6591 else
6592
6593                           wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6594
6595 fi
6596
6597
6598           eval "$wx_cv_use_no_exceptions"
6599
6600           if test x"$enablestring" = xdisable; then
6601             if test $wxUSE_NO_EXCEPTIONS = no; then
6602               result=yes
6603             else
6604               result=no
6605             fi
6606           else
6607             result=$wxUSE_NO_EXCEPTIONS
6608           fi
6609
6610           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6611 $as_echo "$result" >&6; }
6612
6613
6614           enablestring=
6615           defaultval=
6616           if test -z "$defaultval"; then
6617               if test x"$enablestring" = xdisable; then
6618                   defaultval=yes
6619               else
6620                   defaultval=no
6621               fi
6622           fi
6623
6624           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6625 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6626           # Check whether --enable-permissive was given.
6627 if test "${enable_permissive+set}" = set; then :
6628   enableval=$enable_permissive;
6629                           if test "$enableval" = yes; then
6630                             wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6631                           else
6632                             wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6633                           fi
6634
6635 else
6636
6637                           wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6638
6639 fi
6640
6641
6642           eval "$wx_cv_use_permissive"
6643
6644           if test x"$enablestring" = xdisable; then
6645             if test $wxUSE_PERMISSIVE = no; then
6646               result=yes
6647             else
6648               result=no
6649             fi
6650           else
6651             result=$wxUSE_PERMISSIVE
6652           fi
6653
6654           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6655 $as_echo "$result" >&6; }
6656
6657
6658           enablestring=
6659           defaultval=
6660           if test -z "$defaultval"; then
6661               if test x"$enablestring" = xdisable; then
6662                   defaultval=yes
6663               else
6664                   defaultval=no
6665               fi
6666           fi
6667
6668           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6669 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6670           # Check whether --enable-no_deps was given.
6671 if test "${enable_no_deps+set}" = set; then :
6672   enableval=$enable_no_deps;
6673                           if test "$enableval" = yes; then
6674                             wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6675                           else
6676                             wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6677                           fi
6678
6679 else
6680
6681                           wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6682
6683 fi
6684
6685
6686           eval "$wx_cv_use_no_deps"
6687
6688           if test x"$enablestring" = xdisable; then
6689             if test $wxUSE_NO_DEPS = no; then
6690               result=yes
6691             else
6692               result=no
6693             fi
6694           else
6695             result=$wxUSE_NO_DEPS
6696           fi
6697
6698           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6699 $as_echo "$result" >&6; }
6700
6701
6702           enablestring=disable
6703           defaultval=
6704           if test -z "$defaultval"; then
6705               if test x"$enablestring" = xdisable; then
6706                   defaultval=yes
6707               else
6708                   defaultval=no
6709               fi
6710           fi
6711
6712           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6713 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6714           # Check whether --enable-vararg_macros was given.
6715 if test "${enable_vararg_macros+set}" = set; then :
6716   enableval=$enable_vararg_macros;
6717                           if test "$enableval" = yes; then
6718                             wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6719                           else
6720                             wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6721                           fi
6722
6723 else
6724
6725                           wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6726
6727 fi
6728
6729
6730           eval "$wx_cv_use_vararg_macros"
6731
6732           if test x"$enablestring" = xdisable; then
6733             if test $wxUSE_VARARG_MACROS = no; then
6734               result=yes
6735             else
6736               result=no
6737             fi
6738           else
6739             result=$wxUSE_VARARG_MACROS
6740           fi
6741
6742           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6743 $as_echo "$result" >&6; }
6744
6745
6746
6747           enablestring=
6748           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6749 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6750           # Check whether --enable-universal_binary was given.
6751 if test "${enable_universal_binary+set}" = set; then :
6752   enableval=$enable_universal_binary;
6753                           wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6754
6755 else
6756
6757                           wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6758
6759 fi
6760
6761
6762           eval "$wx_cv_use_universal_binary"
6763
6764           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6765 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6766
6767
6768           enablestring=
6769           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6770 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6771           # Check whether --enable-macosx_arch was given.
6772 if test "${enable_macosx_arch+set}" = set; then :
6773   enableval=$enable_macosx_arch;
6774                           wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6775
6776 else
6777
6778                           wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6779
6780 fi
6781
6782
6783           eval "$wx_cv_use_macosx_arch"
6784
6785           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6786 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6787
6788
6789
6790           enablestring=
6791           defaultval=
6792           if test -z "$defaultval"; then
6793               if test x"$enablestring" = xdisable; then
6794                   defaultval=yes
6795               else
6796                   defaultval=no
6797               fi
6798           fi
6799
6800           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6801 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6802           # Check whether --enable-compat26 was given.
6803 if test "${enable_compat26+set}" = set; then :
6804   enableval=$enable_compat26;
6805                           if test "$enableval" = yes; then
6806                             wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6807                           else
6808                             wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6809                           fi
6810
6811 else
6812
6813                           wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6814
6815 fi
6816
6817
6818           eval "$wx_cv_use_compat26"
6819
6820           if test x"$enablestring" = xdisable; then
6821             if test $WXWIN_COMPATIBILITY_2_6 = no; then
6822               result=yes
6823             else
6824               result=no
6825             fi
6826           else
6827             result=$WXWIN_COMPATIBILITY_2_6
6828           fi
6829
6830           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6831 $as_echo "$result" >&6; }
6832
6833
6834           enablestring=disable
6835           defaultval=
6836           if test -z "$defaultval"; then
6837               if test x"$enablestring" = xdisable; then
6838                   defaultval=yes
6839               else
6840                   defaultval=no
6841               fi
6842           fi
6843
6844           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6845 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6846           # Check whether --enable-compat28 was given.
6847 if test "${enable_compat28+set}" = set; then :
6848   enableval=$enable_compat28;
6849                           if test "$enableval" = yes; then
6850                             wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6851                           else
6852                             wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6853                           fi
6854
6855 else
6856
6857                           wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6858
6859 fi
6860
6861
6862           eval "$wx_cv_use_compat28"
6863
6864           if test x"$enablestring" = xdisable; then
6865             if test $WXWIN_COMPATIBILITY_2_8 = no; then
6866               result=yes
6867             else
6868               result=no
6869             fi
6870           else
6871             result=$WXWIN_COMPATIBILITY_2_8
6872           fi
6873
6874           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6875 $as_echo "$result" >&6; }
6876
6877
6878
6879           enablestring=disable
6880           defaultval=
6881           if test -z "$defaultval"; then
6882               if test x"$enablestring" = xdisable; then
6883                   defaultval=yes
6884               else
6885                   defaultval=no
6886               fi
6887           fi
6888
6889           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6890 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6891           # Check whether --enable-rpath was given.
6892 if test "${enable_rpath+set}" = set; then :
6893   enableval=$enable_rpath;
6894                           if test "$enableval" = yes; then
6895                             wx_cv_use_rpath='wxUSE_RPATH=yes'
6896                           else
6897                             wx_cv_use_rpath='wxUSE_RPATH=no'
6898                           fi
6899
6900 else
6901
6902                           wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6903
6904 fi
6905
6906
6907           eval "$wx_cv_use_rpath"
6908
6909           if test x"$enablestring" = xdisable; then
6910             if test $wxUSE_RPATH = no; then
6911               result=yes
6912             else
6913               result=no
6914             fi
6915           else
6916             result=$wxUSE_RPATH
6917           fi
6918
6919           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6920 $as_echo "$result" >&6; }
6921
6922
6923
6924           enablestring=
6925           defaultval=
6926           if test -z "$defaultval"; then
6927               if test x"$enablestring" = xdisable; then
6928                   defaultval=yes
6929               else
6930                   defaultval=no
6931               fi
6932           fi
6933
6934           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6935 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6936           # Check whether --enable-objc_uniquifying was given.
6937 if test "${enable_objc_uniquifying+set}" = set; then :
6938   enableval=$enable_objc_uniquifying;
6939                           if test "$enableval" = yes; then
6940                             wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6941                           else
6942                             wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6943                           fi
6944
6945 else
6946
6947                           wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6948
6949 fi
6950
6951
6952           eval "$wx_cv_use_objc_uniquifying"
6953
6954           if test x"$enablestring" = xdisable; then
6955             if test $wxUSE_OBJC_UNIQUIFYING = no; then
6956               result=yes
6957             else
6958               result=no
6959             fi
6960           else
6961             result=$wxUSE_OBJC_UNIQUIFYING
6962           fi
6963
6964           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6965 $as_echo "$result" >&6; }
6966
6967
6968
6969           enablestring=disable
6970           defaultval=
6971           if test -z "$defaultval"; then
6972               if test x"$enablestring" = xdisable; then
6973                   defaultval=yes
6974               else
6975                   defaultval=no
6976               fi
6977           fi
6978
6979           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6980 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6981           # Check whether --enable-visibility was given.
6982 if test "${enable_visibility+set}" = set; then :
6983   enableval=$enable_visibility;
6984                           if test "$enableval" = yes; then
6985                             wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6986                           else
6987                             wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6988                           fi
6989
6990 else
6991
6992                           wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6993
6994 fi
6995
6996
6997           eval "$wx_cv_use_visibility"
6998
6999           if test x"$enablestring" = xdisable; then
7000             if test $wxUSE_VISIBILITY = no; then
7001               result=yes
7002             else
7003               result=no
7004             fi
7005           else
7006             result=$wxUSE_VISIBILITY
7007           fi
7008
7009           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7010 $as_echo "$result" >&6; }
7011
7012
7013           enablestring=disable
7014           defaultval=
7015           if test -z "$defaultval"; then
7016               if test x"$enablestring" = xdisable; then
7017                   defaultval=yes
7018               else
7019                   defaultval=no
7020               fi
7021           fi
7022
7023           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
7024 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
7025           # Check whether --enable-tls was given.
7026 if test "${enable_tls+set}" = set; then :
7027   enableval=$enable_tls;
7028                           if test "$enableval" = yes; then
7029                             wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
7030                           else
7031                             wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
7032                           fi
7033
7034 else
7035
7036                           wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
7037
7038 fi
7039
7040
7041           eval "$wx_cv_use_tls"
7042
7043           if test x"$enablestring" = xdisable; then
7044             if test $wxUSE_COMPILER_TLS = no; then
7045               result=yes
7046             else
7047               result=no
7048             fi
7049           else
7050             result=$wxUSE_COMPILER_TLS
7051           fi
7052
7053           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7054 $as_echo "$result" >&6; }
7055
7056
7057
7058
7059           enablestring=
7060           defaultval=$wxUSE_ALL_FEATURES
7061           if test -z "$defaultval"; then
7062               if test x"$enablestring" = xdisable; then
7063                   defaultval=yes
7064               else
7065                   defaultval=no
7066               fi
7067           fi
7068
7069           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
7070 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
7071           # Check whether --enable-intl was given.
7072 if test "${enable_intl+set}" = set; then :
7073   enableval=$enable_intl;
7074                           if test "$enableval" = yes; then
7075                             wx_cv_use_intl='wxUSE_INTL=yes'
7076                           else
7077                             wx_cv_use_intl='wxUSE_INTL=no'
7078                           fi
7079
7080 else
7081
7082                           wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
7083
7084 fi
7085
7086
7087           eval "$wx_cv_use_intl"
7088
7089           if test x"$enablestring" = xdisable; then
7090             if test $wxUSE_INTL = no; then
7091               result=yes
7092             else
7093               result=no
7094             fi
7095           else
7096             result=$wxUSE_INTL
7097           fi
7098
7099           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7100 $as_echo "$result" >&6; }
7101
7102
7103           enablestring=
7104           defaultval=$wxUSE_ALL_FEATURES
7105           if test -z "$defaultval"; then
7106               if test x"$enablestring" = xdisable; then
7107                   defaultval=yes
7108               else
7109                   defaultval=no
7110               fi
7111           fi
7112
7113           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
7114 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
7115           # Check whether --enable-xlocale was given.
7116 if test "${enable_xlocale+set}" = set; then :
7117   enableval=$enable_xlocale;
7118                           if test "$enableval" = yes; then
7119                             wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
7120                           else
7121                             wx_cv_use_xlocale='wxUSE_XLOCALE=no'
7122                           fi
7123
7124 else
7125
7126                           wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7127
7128 fi
7129
7130
7131           eval "$wx_cv_use_xlocale"
7132
7133           if test x"$enablestring" = xdisable; then
7134             if test $wxUSE_XLOCALE = no; then
7135               result=yes
7136             else
7137               result=no
7138             fi
7139           else
7140             result=$wxUSE_XLOCALE
7141           fi
7142
7143           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7144 $as_echo "$result" >&6; }
7145
7146
7147           enablestring=
7148           defaultval=$wxUSE_ALL_FEATURES
7149           if test -z "$defaultval"; then
7150               if test x"$enablestring" = xdisable; then
7151                   defaultval=yes
7152               else
7153                   defaultval=no
7154               fi
7155           fi
7156
7157           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7158 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7159           # Check whether --enable-config was given.
7160 if test "${enable_config+set}" = set; then :
7161   enableval=$enable_config;
7162                           if test "$enableval" = yes; then
7163                             wx_cv_use_config='wxUSE_CONFIG=yes'
7164                           else
7165                             wx_cv_use_config='wxUSE_CONFIG=no'
7166                           fi
7167
7168 else
7169
7170                           wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7171
7172 fi
7173
7174
7175           eval "$wx_cv_use_config"
7176
7177           if test x"$enablestring" = xdisable; then
7178             if test $wxUSE_CONFIG = no; then
7179               result=yes
7180             else
7181               result=no
7182             fi
7183           else
7184             result=$wxUSE_CONFIG
7185           fi
7186
7187           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7188 $as_echo "$result" >&6; }
7189
7190
7191
7192           enablestring=
7193           defaultval=$wxUSE_ALL_FEATURES
7194           if test -z "$defaultval"; then
7195               if test x"$enablestring" = xdisable; then
7196                   defaultval=yes
7197               else
7198                   defaultval=no
7199               fi
7200           fi
7201
7202           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7203 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7204           # Check whether --enable-protocols was given.
7205 if test "${enable_protocols+set}" = set; then :
7206   enableval=$enable_protocols;
7207                           if test "$enableval" = yes; then
7208                             wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7209                           else
7210                             wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7211                           fi
7212
7213 else
7214
7215                           wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7216
7217 fi
7218
7219
7220           eval "$wx_cv_use_protocols"
7221
7222           if test x"$enablestring" = xdisable; then
7223             if test $wxUSE_PROTOCOL = no; then
7224               result=yes
7225             else
7226               result=no
7227             fi
7228           else
7229             result=$wxUSE_PROTOCOL
7230           fi
7231
7232           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7233 $as_echo "$result" >&6; }
7234
7235
7236           enablestring=
7237           defaultval=$wxUSE_ALL_FEATURES
7238           if test -z "$defaultval"; then
7239               if test x"$enablestring" = xdisable; then
7240                   defaultval=yes
7241               else
7242                   defaultval=no
7243               fi
7244           fi
7245
7246           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7247 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7248           # Check whether --enable-ftp was given.
7249 if test "${enable_ftp+set}" = set; then :
7250   enableval=$enable_ftp;
7251                           if test "$enableval" = yes; then
7252                             wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7253                           else
7254                             wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7255                           fi
7256
7257 else
7258
7259                           wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7260
7261 fi
7262
7263
7264           eval "$wx_cv_use_ftp"
7265
7266           if test x"$enablestring" = xdisable; then
7267             if test $wxUSE_PROTOCOL_FTP = no; then
7268               result=yes
7269             else
7270               result=no
7271             fi
7272           else
7273             result=$wxUSE_PROTOCOL_FTP
7274           fi
7275
7276           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7277 $as_echo "$result" >&6; }
7278
7279
7280           enablestring=
7281           defaultval=$wxUSE_ALL_FEATURES
7282           if test -z "$defaultval"; then
7283               if test x"$enablestring" = xdisable; then
7284                   defaultval=yes
7285               else
7286                   defaultval=no
7287               fi
7288           fi
7289
7290           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7291 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7292           # Check whether --enable-http was given.
7293 if test "${enable_http+set}" = set; then :
7294   enableval=$enable_http;
7295                           if test "$enableval" = yes; then
7296                             wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7297                           else
7298                             wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7299                           fi
7300
7301 else
7302
7303                           wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7304
7305 fi
7306
7307
7308           eval "$wx_cv_use_http"
7309
7310           if test x"$enablestring" = xdisable; then
7311             if test $wxUSE_PROTOCOL_HTTP = no; then
7312               result=yes
7313             else
7314               result=no
7315             fi
7316           else
7317             result=$wxUSE_PROTOCOL_HTTP
7318           fi
7319
7320           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7321 $as_echo "$result" >&6; }
7322
7323
7324           enablestring=
7325           defaultval=$wxUSE_ALL_FEATURES
7326           if test -z "$defaultval"; then
7327               if test x"$enablestring" = xdisable; then
7328                   defaultval=yes
7329               else
7330                   defaultval=no
7331               fi
7332           fi
7333
7334           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7335 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7336           # Check whether --enable-fileproto was given.
7337 if test "${enable_fileproto+set}" = set; then :
7338   enableval=$enable_fileproto;
7339                           if test "$enableval" = yes; then
7340                             wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7341                           else
7342                             wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7343                           fi
7344
7345 else
7346
7347                           wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7348
7349 fi
7350
7351
7352           eval "$wx_cv_use_fileproto"
7353
7354           if test x"$enablestring" = xdisable; then
7355             if test $wxUSE_PROTOCOL_FILE = no; then
7356               result=yes
7357             else
7358               result=no
7359             fi
7360           else
7361             result=$wxUSE_PROTOCOL_FILE
7362           fi
7363
7364           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7365 $as_echo "$result" >&6; }
7366
7367
7368           enablestring=
7369           defaultval=$wxUSE_ALL_FEATURES
7370           if test -z "$defaultval"; then
7371               if test x"$enablestring" = xdisable; then
7372                   defaultval=yes
7373               else
7374                   defaultval=no
7375               fi
7376           fi
7377
7378           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7379 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7380           # Check whether --enable-sockets was given.
7381 if test "${enable_sockets+set}" = set; then :
7382   enableval=$enable_sockets;
7383                           if test "$enableval" = yes; then
7384                             wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7385                           else
7386                             wx_cv_use_sockets='wxUSE_SOCKETS=no'
7387                           fi
7388
7389 else
7390
7391                           wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7392
7393 fi
7394
7395
7396           eval "$wx_cv_use_sockets"
7397
7398           if test x"$enablestring" = xdisable; then
7399             if test $wxUSE_SOCKETS = no; then
7400               result=yes
7401             else
7402               result=no
7403             fi
7404           else
7405             result=$wxUSE_SOCKETS
7406           fi
7407
7408           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7409 $as_echo "$result" >&6; }
7410
7411
7412           enablestring=
7413           defaultval=$wxUSE_ALL_FEATURES
7414           if test -z "$defaultval"; then
7415               if test x"$enablestring" = xdisable; then
7416                   defaultval=yes
7417               else
7418                   defaultval=no
7419               fi
7420           fi
7421
7422           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7423 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7424           # Check whether --enable-ipv6 was given.
7425 if test "${enable_ipv6+set}" = set; then :
7426   enableval=$enable_ipv6;
7427                           if test "$enableval" = yes; then
7428                             wx_cv_use_ipv6='wxUSE_IPV6=yes'
7429                           else
7430                             wx_cv_use_ipv6='wxUSE_IPV6=no'
7431                           fi
7432
7433 else
7434
7435                           wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7436
7437 fi
7438
7439
7440           eval "$wx_cv_use_ipv6"
7441
7442           if test x"$enablestring" = xdisable; then
7443             if test $wxUSE_IPV6 = no; then
7444               result=yes
7445             else
7446               result=no
7447             fi
7448           else
7449             result=$wxUSE_IPV6
7450           fi
7451
7452           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7453 $as_echo "$result" >&6; }
7454
7455
7456           enablestring=
7457           defaultval=$wxUSE_ALL_FEATURES
7458           if test -z "$defaultval"; then
7459               if test x"$enablestring" = xdisable; then
7460                   defaultval=yes
7461               else
7462                   defaultval=no
7463               fi
7464           fi
7465
7466           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7467 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7468           # Check whether --enable-ole was given.
7469 if test "${enable_ole+set}" = set; then :
7470   enableval=$enable_ole;
7471                           if test "$enableval" = yes; then
7472                             wx_cv_use_ole='wxUSE_OLE=yes'
7473                           else
7474                             wx_cv_use_ole='wxUSE_OLE=no'
7475                           fi
7476
7477 else
7478
7479                           wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7480
7481 fi
7482
7483
7484           eval "$wx_cv_use_ole"
7485
7486           if test x"$enablestring" = xdisable; then
7487             if test $wxUSE_OLE = no; then
7488               result=yes
7489             else
7490               result=no
7491             fi
7492           else
7493             result=$wxUSE_OLE
7494           fi
7495
7496           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7497 $as_echo "$result" >&6; }
7498
7499
7500           enablestring=
7501           defaultval=$wxUSE_ALL_FEATURES
7502           if test -z "$defaultval"; then
7503               if test x"$enablestring" = xdisable; then
7504                   defaultval=yes
7505               else
7506                   defaultval=no
7507               fi
7508           fi
7509
7510           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7511 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7512           # Check whether --enable-dataobj was given.
7513 if test "${enable_dataobj+set}" = set; then :
7514   enableval=$enable_dataobj;
7515                           if test "$enableval" = yes; then
7516                             wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7517                           else
7518                             wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7519                           fi
7520
7521 else
7522
7523                           wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7524
7525 fi
7526
7527
7528           eval "$wx_cv_use_dataobj"
7529
7530           if test x"$enablestring" = xdisable; then
7531             if test $wxUSE_DATAOBJ = no; then
7532               result=yes
7533             else
7534               result=no
7535             fi
7536           else
7537             result=$wxUSE_DATAOBJ
7538           fi
7539
7540           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7541 $as_echo "$result" >&6; }
7542
7543
7544
7545           enablestring=
7546           defaultval=$wxUSE_ALL_FEATURES
7547           if test -z "$defaultval"; then
7548               if test x"$enablestring" = xdisable; then
7549                   defaultval=yes
7550               else
7551                   defaultval=no
7552               fi
7553           fi
7554
7555           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7556 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7557           # Check whether --enable-ipc was given.
7558 if test "${enable_ipc+set}" = set; then :
7559   enableval=$enable_ipc;
7560                           if test "$enableval" = yes; then
7561                             wx_cv_use_ipc='wxUSE_IPC=yes'
7562                           else
7563                             wx_cv_use_ipc='wxUSE_IPC=no'
7564                           fi
7565
7566 else
7567
7568                           wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7569
7570 fi
7571
7572
7573           eval "$wx_cv_use_ipc"
7574
7575           if test x"$enablestring" = xdisable; then
7576             if test $wxUSE_IPC = no; then
7577               result=yes
7578             else
7579               result=no
7580             fi
7581           else
7582             result=$wxUSE_IPC
7583           fi
7584
7585           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7586 $as_echo "$result" >&6; }
7587
7588
7589
7590           enablestring=
7591           defaultval=$wxUSE_ALL_FEATURES
7592           if test -z "$defaultval"; then
7593               if test x"$enablestring" = xdisable; then
7594                   defaultval=yes
7595               else
7596                   defaultval=no
7597               fi
7598           fi
7599
7600           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7601 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7602           # Check whether --enable-baseevtloop was given.
7603 if test "${enable_baseevtloop+set}" = set; then :
7604   enableval=$enable_baseevtloop;
7605                           if test "$enableval" = yes; then
7606                             wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7607                           else
7608                             wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7609                           fi
7610
7611 else
7612
7613                           wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7614
7615 fi
7616
7617
7618           eval "$wx_cv_use_baseevtloop"
7619
7620           if test x"$enablestring" = xdisable; then
7621             if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7622               result=yes
7623             else
7624               result=no
7625             fi
7626           else
7627             result=$wxUSE_CONSOLE_EVENTLOOP
7628           fi
7629
7630           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7631 $as_echo "$result" >&6; }
7632
7633
7634           enablestring=
7635           defaultval=$wxUSE_ALL_FEATURES
7636           if test -z "$defaultval"; then
7637               if test x"$enablestring" = xdisable; then
7638                   defaultval=yes
7639               else
7640                   defaultval=no
7641               fi
7642           fi
7643
7644           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7645 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7646           # Check whether --enable-epollloop was given.
7647 if test "${enable_epollloop+set}" = set; then :
7648   enableval=$enable_epollloop;
7649                           if test "$enableval" = yes; then
7650                             wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7651                           else
7652                             wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7653                           fi
7654
7655 else
7656
7657                           wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7658
7659 fi
7660
7661
7662           eval "$wx_cv_use_epollloop"
7663
7664           if test x"$enablestring" = xdisable; then
7665             if test $wxUSE_EPOLL_DISPATCHER = no; then
7666               result=yes
7667             else
7668               result=no
7669             fi
7670           else
7671             result=$wxUSE_EPOLL_DISPATCHER
7672           fi
7673
7674           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7675 $as_echo "$result" >&6; }
7676
7677
7678           enablestring=
7679           defaultval=$wxUSE_ALL_FEATURES
7680           if test -z "$defaultval"; then
7681               if test x"$enablestring" = xdisable; then
7682                   defaultval=yes
7683               else
7684                   defaultval=no
7685               fi
7686           fi
7687
7688           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7689 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7690           # Check whether --enable-selectloop was given.
7691 if test "${enable_selectloop+set}" = set; then :
7692   enableval=$enable_selectloop;
7693                           if test "$enableval" = yes; then
7694                             wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7695                           else
7696                             wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7697                           fi
7698
7699 else
7700
7701                           wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7702
7703 fi
7704
7705
7706           eval "$wx_cv_use_selectloop"
7707
7708           if test x"$enablestring" = xdisable; then
7709             if test $wxUSE_SELECT_DISPATCHER = no; then
7710               result=yes
7711             else
7712               result=no
7713             fi
7714           else
7715             result=$wxUSE_SELECT_DISPATCHER
7716           fi
7717
7718           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7719 $as_echo "$result" >&6; }
7720
7721
7722
7723           enablestring=
7724           defaultval=$wxUSE_ALL_FEATURES
7725           if test -z "$defaultval"; then
7726               if test x"$enablestring" = xdisable; then
7727                   defaultval=yes
7728               else
7729                   defaultval=no
7730               fi
7731           fi
7732
7733           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7734 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7735           # Check whether --enable-any was given.
7736 if test "${enable_any+set}" = set; then :
7737   enableval=$enable_any;
7738                           if test "$enableval" = yes; then
7739                             wx_cv_use_any='wxUSE_ANY=yes'
7740                           else
7741                             wx_cv_use_any='wxUSE_ANY=no'
7742                           fi
7743
7744 else
7745
7746                           wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7747
7748 fi
7749
7750
7751           eval "$wx_cv_use_any"
7752
7753           if test x"$enablestring" = xdisable; then
7754             if test $wxUSE_ANY = no; then
7755               result=yes
7756             else
7757               result=no
7758             fi
7759           else
7760             result=$wxUSE_ANY
7761           fi
7762
7763           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7764 $as_echo "$result" >&6; }
7765
7766
7767           enablestring=
7768           defaultval=$wxUSE_ALL_FEATURES
7769           if test -z "$defaultval"; then
7770               if test x"$enablestring" = xdisable; then
7771                   defaultval=yes
7772               else
7773                   defaultval=no
7774               fi
7775           fi
7776
7777           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7778 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7779           # Check whether --enable-apple_ieee was given.
7780 if test "${enable_apple_ieee+set}" = set; then :
7781   enableval=$enable_apple_ieee;
7782                           if test "$enableval" = yes; then
7783                             wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7784                           else
7785                             wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7786                           fi
7787
7788 else
7789
7790                           wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7791
7792 fi
7793
7794
7795           eval "$wx_cv_use_apple_ieee"
7796
7797           if test x"$enablestring" = xdisable; then
7798             if test $wxUSE_APPLE_IEEE = no; then
7799               result=yes
7800             else
7801               result=no
7802             fi
7803           else
7804             result=$wxUSE_APPLE_IEEE
7805           fi
7806
7807           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7808 $as_echo "$result" >&6; }
7809
7810
7811           enablestring=
7812           defaultval=$wxUSE_ALL_FEATURES
7813           if test -z "$defaultval"; then
7814               if test x"$enablestring" = xdisable; then
7815                   defaultval=yes
7816               else
7817                   defaultval=no
7818               fi
7819           fi
7820
7821           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7822 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7823           # Check whether --enable-arcstream was given.
7824 if test "${enable_arcstream+set}" = set; then :
7825   enableval=$enable_arcstream;
7826                           if test "$enableval" = yes; then
7827                             wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7828                           else
7829                             wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7830                           fi
7831
7832 else
7833
7834                           wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7835
7836 fi
7837
7838
7839           eval "$wx_cv_use_arcstream"
7840
7841           if test x"$enablestring" = xdisable; then
7842             if test $wxUSE_ARCHIVE_STREAMS = no; then
7843               result=yes
7844             else
7845               result=no
7846             fi
7847           else
7848             result=$wxUSE_ARCHIVE_STREAMS
7849           fi
7850
7851           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7852 $as_echo "$result" >&6; }
7853
7854
7855           enablestring=
7856           defaultval=$wxUSE_ALL_FEATURES
7857           if test -z "$defaultval"; then
7858               if test x"$enablestring" = xdisable; then
7859                   defaultval=yes
7860               else
7861                   defaultval=no
7862               fi
7863           fi
7864
7865           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7866 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7867           # Check whether --enable-base64 was given.
7868 if test "${enable_base64+set}" = set; then :
7869   enableval=$enable_base64;
7870                           if test "$enableval" = yes; then
7871                             wx_cv_use_base64='wxUSE_BASE64=yes'
7872                           else
7873                             wx_cv_use_base64='wxUSE_BASE64=no'
7874                           fi
7875
7876 else
7877
7878                           wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7879
7880 fi
7881
7882
7883           eval "$wx_cv_use_base64"
7884
7885           if test x"$enablestring" = xdisable; then
7886             if test $wxUSE_BASE64 = no; then
7887               result=yes
7888             else
7889               result=no
7890             fi
7891           else
7892             result=$wxUSE_BASE64
7893           fi
7894
7895           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7896 $as_echo "$result" >&6; }
7897
7898
7899           enablestring=
7900           defaultval=$wxUSE_ALL_FEATURES
7901           if test -z "$defaultval"; then
7902               if test x"$enablestring" = xdisable; then
7903                   defaultval=yes
7904               else
7905                   defaultval=no
7906               fi
7907           fi
7908
7909           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7910 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7911           # Check whether --enable-backtrace was given.
7912 if test "${enable_backtrace+set}" = set; then :
7913   enableval=$enable_backtrace;
7914                           if test "$enableval" = yes; then
7915                             wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7916                           else
7917                             wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7918                           fi
7919
7920 else
7921
7922                           wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7923
7924 fi
7925
7926
7927           eval "$wx_cv_use_backtrace"
7928
7929           if test x"$enablestring" = xdisable; then
7930             if test $wxUSE_STACKWALKER = no; then
7931               result=yes
7932             else
7933               result=no
7934             fi
7935           else
7936             result=$wxUSE_STACKWALKER
7937           fi
7938
7939           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7940 $as_echo "$result" >&6; }
7941
7942
7943           enablestring=
7944           defaultval=$wxUSE_ALL_FEATURES
7945           if test -z "$defaultval"; then
7946               if test x"$enablestring" = xdisable; then
7947                   defaultval=yes
7948               else
7949                   defaultval=no
7950               fi
7951           fi
7952
7953           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7954 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7955           # Check whether --enable-catch_segvs was given.
7956 if test "${enable_catch_segvs+set}" = set; then :
7957   enableval=$enable_catch_segvs;
7958                           if test "$enableval" = yes; then
7959                             wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7960                           else
7961                             wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7962                           fi
7963
7964 else
7965
7966                           wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7967
7968 fi
7969
7970
7971           eval "$wx_cv_use_catch_segvs"
7972
7973           if test x"$enablestring" = xdisable; then
7974             if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7975               result=yes
7976             else
7977               result=no
7978             fi
7979           else
7980             result=$wxUSE_ON_FATAL_EXCEPTION
7981           fi
7982
7983           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7984 $as_echo "$result" >&6; }
7985
7986
7987           enablestring=
7988           defaultval=$wxUSE_ALL_FEATURES
7989           if test -z "$defaultval"; then
7990               if test x"$enablestring" = xdisable; then
7991                   defaultval=yes
7992               else
7993                   defaultval=no
7994               fi
7995           fi
7996
7997           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7998 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7999           # Check whether --enable-cmdline was given.
8000 if test "${enable_cmdline+set}" = set; then :
8001   enableval=$enable_cmdline;
8002                           if test "$enableval" = yes; then
8003                             wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
8004                           else
8005                             wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
8006                           fi
8007
8008 else
8009
8010                           wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
8011
8012 fi
8013
8014
8015           eval "$wx_cv_use_cmdline"
8016
8017           if test x"$enablestring" = xdisable; then
8018             if test $wxUSE_CMDLINE_PARSER = no; then
8019               result=yes
8020             else
8021               result=no
8022             fi
8023           else
8024             result=$wxUSE_CMDLINE_PARSER
8025           fi
8026
8027           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8028 $as_echo "$result" >&6; }
8029
8030
8031           enablestring=
8032           defaultval=$wxUSE_ALL_FEATURES
8033           if test -z "$defaultval"; then
8034               if test x"$enablestring" = xdisable; then
8035                   defaultval=yes
8036               else
8037                   defaultval=no
8038               fi
8039           fi
8040
8041           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
8042 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
8043           # Check whether --enable-datetime was given.
8044 if test "${enable_datetime+set}" = set; then :
8045   enableval=$enable_datetime;
8046                           if test "$enableval" = yes; then
8047                             wx_cv_use_datetime='wxUSE_DATETIME=yes'
8048                           else
8049                             wx_cv_use_datetime='wxUSE_DATETIME=no'
8050                           fi
8051
8052 else
8053
8054                           wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
8055
8056 fi
8057
8058
8059           eval "$wx_cv_use_datetime"
8060
8061           if test x"$enablestring" = xdisable; then
8062             if test $wxUSE_DATETIME = no; then
8063               result=yes
8064             else
8065               result=no
8066             fi
8067           else
8068             result=$wxUSE_DATETIME
8069           fi
8070
8071           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8072 $as_echo "$result" >&6; }
8073
8074
8075           enablestring=
8076           defaultval=$wxUSE_ALL_FEATURES
8077           if test -z "$defaultval"; then
8078               if test x"$enablestring" = xdisable; then
8079                   defaultval=yes
8080               else
8081                   defaultval=no
8082               fi
8083           fi
8084
8085           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
8086 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
8087           # Check whether --enable-debugreport was given.
8088 if test "${enable_debugreport+set}" = set; then :
8089   enableval=$enable_debugreport;
8090                           if test "$enableval" = yes; then
8091                             wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
8092                           else
8093                             wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
8094                           fi
8095
8096 else
8097
8098                           wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8099
8100 fi
8101
8102
8103           eval "$wx_cv_use_debugreport"
8104
8105           if test x"$enablestring" = xdisable; then
8106             if test $wxUSE_DEBUGREPORT = no; then
8107               result=yes
8108             else
8109               result=no
8110             fi
8111           else
8112             result=$wxUSE_DEBUGREPORT
8113           fi
8114
8115           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8116 $as_echo "$result" >&6; }
8117
8118
8119           enablestring=
8120           defaultval=$wxUSE_ALL_FEATURES
8121           if test -z "$defaultval"; then
8122               if test x"$enablestring" = xdisable; then
8123                   defaultval=yes
8124               else
8125                   defaultval=no
8126               fi
8127           fi
8128
8129           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8130 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8131           # Check whether --enable-dialupman was given.
8132 if test "${enable_dialupman+set}" = set; then :
8133   enableval=$enable_dialupman;
8134                           if test "$enableval" = yes; then
8135                             wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
8136                           else
8137                             wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
8138                           fi
8139
8140 else
8141
8142                           wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8143
8144 fi
8145
8146
8147           eval "$wx_cv_use_dialupman"
8148
8149           if test x"$enablestring" = xdisable; then
8150             if test $wxUSE_DIALUP_MANAGER = no; then
8151               result=yes
8152             else
8153               result=no
8154             fi
8155           else
8156             result=$wxUSE_DIALUP_MANAGER
8157           fi
8158
8159           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8160 $as_echo "$result" >&6; }
8161
8162
8163           enablestring=
8164           defaultval=$wxUSE_ALL_FEATURES
8165           if test -z "$defaultval"; then
8166               if test x"$enablestring" = xdisable; then
8167                   defaultval=yes
8168               else
8169                   defaultval=no
8170               fi
8171           fi
8172
8173           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8174 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8175           # Check whether --enable-dynlib was given.
8176 if test "${enable_dynlib+set}" = set; then :
8177   enableval=$enable_dynlib;
8178                           if test "$enableval" = yes; then
8179                             wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8180                           else
8181                             wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8182                           fi
8183
8184 else
8185
8186                           wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8187
8188 fi
8189
8190
8191           eval "$wx_cv_use_dynlib"
8192
8193           if test x"$enablestring" = xdisable; then
8194             if test $wxUSE_DYNLIB_CLASS = no; then
8195               result=yes
8196             else
8197               result=no
8198             fi
8199           else
8200             result=$wxUSE_DYNLIB_CLASS
8201           fi
8202
8203           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8204 $as_echo "$result" >&6; }
8205
8206
8207           enablestring=
8208           defaultval=$wxUSE_ALL_FEATURES
8209           if test -z "$defaultval"; then
8210               if test x"$enablestring" = xdisable; then
8211                   defaultval=yes
8212               else
8213                   defaultval=no
8214               fi
8215           fi
8216
8217           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8218 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8219           # Check whether --enable-dynamicloader was given.
8220 if test "${enable_dynamicloader+set}" = set; then :
8221   enableval=$enable_dynamicloader;
8222                           if test "$enableval" = yes; then
8223                             wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8224                           else
8225                             wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8226                           fi
8227
8228 else
8229
8230                           wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8231
8232 fi
8233
8234
8235           eval "$wx_cv_use_dynamicloader"
8236
8237           if test x"$enablestring" = xdisable; then
8238             if test $wxUSE_DYNAMIC_LOADER = no; then
8239               result=yes
8240             else
8241               result=no
8242             fi
8243           else
8244             result=$wxUSE_DYNAMIC_LOADER
8245           fi
8246
8247           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8248 $as_echo "$result" >&6; }
8249
8250
8251           enablestring=
8252           defaultval=$wxUSE_ALL_FEATURES
8253           if test -z "$defaultval"; then
8254               if test x"$enablestring" = xdisable; then
8255                   defaultval=yes
8256               else
8257                   defaultval=no
8258               fi
8259           fi
8260
8261           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8262 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8263           # Check whether --enable-exceptions was given.
8264 if test "${enable_exceptions+set}" = set; then :
8265   enableval=$enable_exceptions;
8266                           if test "$enableval" = yes; then
8267                             wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8268                           else
8269                             wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8270                           fi
8271
8272 else
8273
8274                           wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8275
8276 fi
8277
8278
8279           eval "$wx_cv_use_exceptions"
8280
8281           if test x"$enablestring" = xdisable; then
8282             if test $wxUSE_EXCEPTIONS = no; then
8283               result=yes
8284             else
8285               result=no
8286             fi
8287           else
8288             result=$wxUSE_EXCEPTIONS
8289           fi
8290
8291           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8292 $as_echo "$result" >&6; }
8293
8294
8295           enablestring=
8296           defaultval=$wxUSE_ALL_FEATURES
8297           if test -z "$defaultval"; then
8298               if test x"$enablestring" = xdisable; then
8299                   defaultval=yes
8300               else
8301                   defaultval=no
8302               fi
8303           fi
8304
8305           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8306 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8307           # Check whether --enable-ffile was given.
8308 if test "${enable_ffile+set}" = set; then :
8309   enableval=$enable_ffile;
8310                           if test "$enableval" = yes; then
8311                             wx_cv_use_ffile='wxUSE_FFILE=yes'
8312                           else
8313                             wx_cv_use_ffile='wxUSE_FFILE=no'
8314                           fi
8315
8316 else
8317
8318                           wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8319
8320 fi
8321
8322
8323           eval "$wx_cv_use_ffile"
8324
8325           if test x"$enablestring" = xdisable; then
8326             if test $wxUSE_FFILE = no; then
8327               result=yes
8328             else
8329               result=no
8330             fi
8331           else
8332             result=$wxUSE_FFILE
8333           fi
8334
8335           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8336 $as_echo "$result" >&6; }
8337
8338
8339           enablestring=
8340           defaultval=$wxUSE_ALL_FEATURES
8341           if test -z "$defaultval"; then
8342               if test x"$enablestring" = xdisable; then
8343                   defaultval=yes
8344               else
8345                   defaultval=no
8346               fi
8347           fi
8348
8349           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8350 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8351           # Check whether --enable-file was given.
8352 if test "${enable_file+set}" = set; then :
8353   enableval=$enable_file;
8354                           if test "$enableval" = yes; then
8355                             wx_cv_use_file='wxUSE_FILE=yes'
8356                           else
8357                             wx_cv_use_file='wxUSE_FILE=no'
8358                           fi
8359
8360 else
8361
8362                           wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8363
8364 fi
8365
8366
8367           eval "$wx_cv_use_file"
8368
8369           if test x"$enablestring" = xdisable; then
8370             if test $wxUSE_FILE = no; then
8371               result=yes
8372             else
8373               result=no
8374             fi
8375           else
8376             result=$wxUSE_FILE
8377           fi
8378
8379           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8380 $as_echo "$result" >&6; }
8381
8382
8383           enablestring=
8384           defaultval=$wxUSE_ALL_FEATURES
8385           if test -z "$defaultval"; then
8386               if test x"$enablestring" = xdisable; then
8387                   defaultval=yes
8388               else
8389                   defaultval=no
8390               fi
8391           fi
8392
8393           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8394 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8395           # Check whether --enable-filehistory was given.
8396 if test "${enable_filehistory+set}" = set; then :
8397   enableval=$enable_filehistory;
8398                           if test "$enableval" = yes; then
8399                             wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8400                           else
8401                             wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8402                           fi
8403
8404 else
8405
8406                           wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8407
8408 fi
8409
8410
8411           eval "$wx_cv_use_filehistory"
8412
8413           if test x"$enablestring" = xdisable; then
8414             if test $wxUSE_FILE_HISTORY = no; then
8415               result=yes
8416             else
8417               result=no
8418             fi
8419           else
8420             result=$wxUSE_FILE_HISTORY
8421           fi
8422
8423           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8424 $as_echo "$result" >&6; }
8425
8426
8427           enablestring=
8428           defaultval=$wxUSE_ALL_FEATURES
8429           if test -z "$defaultval"; then
8430               if test x"$enablestring" = xdisable; then
8431                   defaultval=yes
8432               else
8433                   defaultval=no
8434               fi
8435           fi
8436
8437           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8438 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8439           # Check whether --enable-filesystem was given.
8440 if test "${enable_filesystem+set}" = set; then :
8441   enableval=$enable_filesystem;
8442                           if test "$enableval" = yes; then
8443                             wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8444                           else
8445                             wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8446                           fi
8447
8448 else
8449
8450                           wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8451
8452 fi
8453
8454
8455           eval "$wx_cv_use_filesystem"
8456
8457           if test x"$enablestring" = xdisable; then
8458             if test $wxUSE_FILESYSTEM = no; then
8459               result=yes
8460             else
8461               result=no
8462             fi
8463           else
8464             result=$wxUSE_FILESYSTEM
8465           fi
8466
8467           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8468 $as_echo "$result" >&6; }
8469
8470
8471           enablestring=
8472           defaultval=$wxUSE_ALL_FEATURES
8473           if test -z "$defaultval"; then
8474               if test x"$enablestring" = xdisable; then
8475                   defaultval=yes
8476               else
8477                   defaultval=no
8478               fi
8479           fi
8480
8481           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8482 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8483           # Check whether --enable-fontenum was given.
8484 if test "${enable_fontenum+set}" = set; then :
8485   enableval=$enable_fontenum;
8486                           if test "$enableval" = yes; then
8487                             wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8488                           else
8489                             wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8490                           fi
8491
8492 else
8493
8494                           wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8495
8496 fi
8497
8498
8499           eval "$wx_cv_use_fontenum"
8500
8501           if test x"$enablestring" = xdisable; then
8502             if test $wxUSE_FONTENUM = no; then
8503               result=yes
8504             else
8505               result=no
8506             fi
8507           else
8508             result=$wxUSE_FONTENUM
8509           fi
8510
8511           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8512 $as_echo "$result" >&6; }
8513
8514
8515           enablestring=
8516           defaultval=$wxUSE_ALL_FEATURES
8517           if test -z "$defaultval"; then
8518               if test x"$enablestring" = xdisable; then
8519                   defaultval=yes
8520               else
8521                   defaultval=no
8522               fi
8523           fi
8524
8525           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8526 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8527           # Check whether --enable-fontmap was given.
8528 if test "${enable_fontmap+set}" = set; then :
8529   enableval=$enable_fontmap;
8530                           if test "$enableval" = yes; then
8531                             wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8532                           else
8533                             wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8534                           fi
8535
8536 else
8537
8538                           wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8539
8540 fi
8541
8542
8543           eval "$wx_cv_use_fontmap"
8544
8545           if test x"$enablestring" = xdisable; then
8546             if test $wxUSE_FONTMAP = no; then
8547               result=yes
8548             else
8549               result=no
8550             fi
8551           else
8552             result=$wxUSE_FONTMAP
8553           fi
8554
8555           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8556 $as_echo "$result" >&6; }
8557
8558
8559           enablestring=
8560           defaultval=$wxUSE_ALL_FEATURES
8561           if test -z "$defaultval"; then
8562               if test x"$enablestring" = xdisable; then
8563                   defaultval=yes
8564               else
8565                   defaultval=no
8566               fi
8567           fi
8568
8569           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8570 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8571           # Check whether --enable-fs_archive was given.
8572 if test "${enable_fs_archive+set}" = set; then :
8573   enableval=$enable_fs_archive;
8574                           if test "$enableval" = yes; then
8575                             wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8576                           else
8577                             wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8578                           fi
8579
8580 else
8581
8582                           wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8583
8584 fi
8585
8586
8587           eval "$wx_cv_use_fs_archive"
8588
8589           if test x"$enablestring" = xdisable; then
8590             if test $wxUSE_FS_ARCHIVE = no; then
8591               result=yes
8592             else
8593               result=no
8594             fi
8595           else
8596             result=$wxUSE_FS_ARCHIVE
8597           fi
8598
8599           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8600 $as_echo "$result" >&6; }
8601
8602
8603           enablestring=
8604           defaultval=$wxUSE_ALL_FEATURES
8605           if test -z "$defaultval"; then
8606               if test x"$enablestring" = xdisable; then
8607                   defaultval=yes
8608               else
8609                   defaultval=no
8610               fi
8611           fi
8612
8613           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8614 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8615           # Check whether --enable-fs_inet was given.
8616 if test "${enable_fs_inet+set}" = set; then :
8617   enableval=$enable_fs_inet;
8618                           if test "$enableval" = yes; then
8619                             wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8620                           else
8621                             wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8622                           fi
8623
8624 else
8625
8626                           wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8627
8628 fi
8629
8630
8631           eval "$wx_cv_use_fs_inet"
8632
8633           if test x"$enablestring" = xdisable; then
8634             if test $wxUSE_FS_INET = no; then
8635               result=yes
8636             else
8637               result=no
8638             fi
8639           else
8640             result=$wxUSE_FS_INET
8641           fi
8642
8643           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8644 $as_echo "$result" >&6; }
8645
8646
8647           enablestring=
8648           defaultval=$wxUSE_ALL_FEATURES
8649           if test -z "$defaultval"; then
8650               if test x"$enablestring" = xdisable; then
8651                   defaultval=yes
8652               else
8653                   defaultval=no
8654               fi
8655           fi
8656
8657           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8658 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8659           # Check whether --enable-fs_zip was given.
8660 if test "${enable_fs_zip+set}" = set; then :
8661   enableval=$enable_fs_zip;
8662                           if test "$enableval" = yes; then
8663                             wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8664                           else
8665                             wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8666                           fi
8667
8668 else
8669
8670                           wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8671
8672 fi
8673
8674
8675           eval "$wx_cv_use_fs_zip"
8676
8677           if test x"$enablestring" = xdisable; then
8678             if test $wxUSE_FS_ZIP = no; then
8679               result=yes
8680             else
8681               result=no
8682             fi
8683           else
8684             result=$wxUSE_FS_ZIP
8685           fi
8686
8687           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8688 $as_echo "$result" >&6; }
8689
8690
8691           enablestring=
8692           defaultval=$wxUSE_ALL_FEATURES
8693           if test -z "$defaultval"; then
8694               if test x"$enablestring" = xdisable; then
8695                   defaultval=yes
8696               else
8697                   defaultval=no
8698               fi
8699           fi
8700
8701           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fsvolume" >&5
8702 $as_echo_n "checking for --${enablestring:-enable}-fsvolume... " >&6; }
8703           # Check whether --enable-fsvolume was given.
8704 if test "${enable_fsvolume+set}" = set; then :
8705   enableval=$enable_fsvolume;
8706                           if test "$enableval" = yes; then
8707                             wx_cv_use_fsvolume='wxUSE_FSVOLUME=yes'
8708                           else
8709                             wx_cv_use_fsvolume='wxUSE_FSVOLUME=no'
8710                           fi
8711
8712 else
8713
8714                           wx_cv_use_fsvolume='wxUSE_FSVOLUME=${'DEFAULT_wxUSE_FSVOLUME":-$defaultval}"
8715
8716 fi
8717
8718
8719           eval "$wx_cv_use_fsvolume"
8720
8721           if test x"$enablestring" = xdisable; then
8722             if test $wxUSE_FSVOLUME = no; then
8723               result=yes
8724             else
8725               result=no
8726             fi
8727           else
8728             result=$wxUSE_FSVOLUME
8729           fi
8730
8731           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8732 $as_echo "$result" >&6; }
8733
8734
8735           enablestring=
8736           defaultval=$wxUSE_ALL_FEATURES
8737           if test -z "$defaultval"; then
8738               if test x"$enablestring" = xdisable; then
8739                   defaultval=yes
8740               else
8741                   defaultval=no
8742               fi
8743           fi
8744
8745           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8746 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8747           # Check whether --enable-fswatcher was given.
8748 if test "${enable_fswatcher+set}" = set; then :
8749   enableval=$enable_fswatcher;
8750                           if test "$enableval" = yes; then
8751                             wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8752                           else
8753                             wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8754                           fi
8755
8756 else
8757
8758                           wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8759
8760 fi
8761
8762
8763           eval "$wx_cv_use_fswatcher"
8764
8765           if test x"$enablestring" = xdisable; then
8766             if test $wxUSE_FSWATCHER = no; then
8767               result=yes
8768             else
8769               result=no
8770             fi
8771           else
8772             result=$wxUSE_FSWATCHER
8773           fi
8774
8775           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8776 $as_echo "$result" >&6; }
8777
8778
8779           enablestring=
8780           defaultval=$wxUSE_ALL_FEATURES
8781           if test -z "$defaultval"; then
8782               if test x"$enablestring" = xdisable; then
8783                   defaultval=yes
8784               else
8785                   defaultval=no
8786               fi
8787           fi
8788
8789           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8790 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8791           # Check whether --enable-geometry was given.
8792 if test "${enable_geometry+set}" = set; then :
8793   enableval=$enable_geometry;
8794                           if test "$enableval" = yes; then
8795                             wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8796                           else
8797                             wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8798                           fi
8799
8800 else
8801
8802                           wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8803
8804 fi
8805
8806
8807           eval "$wx_cv_use_geometry"
8808
8809           if test x"$enablestring" = xdisable; then
8810             if test $wxUSE_GEOMETRY = no; then
8811               result=yes
8812             else
8813               result=no
8814             fi
8815           else
8816             result=$wxUSE_GEOMETRY
8817           fi
8818
8819           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8820 $as_echo "$result" >&6; }
8821
8822
8823           enablestring=
8824           defaultval=$wxUSE_ALL_FEATURES
8825           if test -z "$defaultval"; then
8826               if test x"$enablestring" = xdisable; then
8827                   defaultval=yes
8828               else
8829                   defaultval=no
8830               fi
8831           fi
8832
8833           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8834 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8835           # Check whether --enable-log was given.
8836 if test "${enable_log+set}" = set; then :
8837   enableval=$enable_log;
8838                           if test "$enableval" = yes; then
8839                             wx_cv_use_log='wxUSE_LOG=yes'
8840                           else
8841                             wx_cv_use_log='wxUSE_LOG=no'
8842                           fi
8843
8844 else
8845
8846                           wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8847
8848 fi
8849
8850
8851           eval "$wx_cv_use_log"
8852
8853           if test x"$enablestring" = xdisable; then
8854             if test $wxUSE_LOG = no; then
8855               result=yes
8856             else
8857               result=no
8858             fi
8859           else
8860             result=$wxUSE_LOG
8861           fi
8862
8863           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8864 $as_echo "$result" >&6; }
8865
8866
8867           enablestring=
8868           defaultval=$wxUSE_ALL_FEATURES
8869           if test -z "$defaultval"; then
8870               if test x"$enablestring" = xdisable; then
8871                   defaultval=yes
8872               else
8873                   defaultval=no
8874               fi
8875           fi
8876
8877           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8878 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8879           # Check whether --enable-longlong was given.
8880 if test "${enable_longlong+set}" = set; then :
8881   enableval=$enable_longlong;
8882                           if test "$enableval" = yes; then
8883                             wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8884                           else
8885                             wx_cv_use_longlong='wxUSE_LONGLONG=no'
8886                           fi
8887
8888 else
8889
8890                           wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8891
8892 fi
8893
8894
8895           eval "$wx_cv_use_longlong"
8896
8897           if test x"$enablestring" = xdisable; then
8898             if test $wxUSE_LONGLONG = no; then
8899               result=yes
8900             else
8901               result=no
8902             fi
8903           else
8904             result=$wxUSE_LONGLONG
8905           fi
8906
8907           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8908 $as_echo "$result" >&6; }
8909
8910
8911           enablestring=
8912           defaultval=$wxUSE_ALL_FEATURES
8913           if test -z "$defaultval"; then
8914               if test x"$enablestring" = xdisable; then
8915                   defaultval=yes
8916               else
8917                   defaultval=no
8918               fi
8919           fi
8920
8921           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8922 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8923           # Check whether --enable-mimetype was given.
8924 if test "${enable_mimetype+set}" = set; then :
8925   enableval=$enable_mimetype;
8926                           if test "$enableval" = yes; then
8927                             wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8928                           else
8929                             wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8930                           fi
8931
8932 else
8933
8934                           wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8935
8936 fi
8937
8938
8939           eval "$wx_cv_use_mimetype"
8940
8941           if test x"$enablestring" = xdisable; then
8942             if test $wxUSE_MIMETYPE = no; then
8943               result=yes
8944             else
8945               result=no
8946             fi
8947           else
8948             result=$wxUSE_MIMETYPE
8949           fi
8950
8951           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8952 $as_echo "$result" >&6; }
8953
8954
8955           enablestring=
8956           defaultval=$wxUSE_ALL_FEATURES
8957           if test -z "$defaultval"; then
8958               if test x"$enablestring" = xdisable; then
8959                   defaultval=yes
8960               else
8961                   defaultval=no
8962               fi
8963           fi
8964
8965           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8966 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8967           # Check whether --enable-printfposparam was given.
8968 if test "${enable_printfposparam+set}" = set; then :
8969   enableval=$enable_printfposparam;
8970                           if test "$enableval" = yes; then
8971                             wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8972                           else
8973                             wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8974                           fi
8975
8976 else
8977
8978                           wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8979
8980 fi
8981
8982
8983           eval "$wx_cv_use_printfposparam"
8984
8985           if test x"$enablestring" = xdisable; then
8986             if test $wxUSE_PRINTF_POS_PARAMS = no; then
8987               result=yes
8988             else
8989               result=no
8990             fi
8991           else
8992             result=$wxUSE_PRINTF_POS_PARAMS
8993           fi
8994
8995           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8996 $as_echo "$result" >&6; }
8997
8998
8999           enablestring=
9000           defaultval=$wxUSE_ALL_FEATURES
9001           if test -z "$defaultval"; then
9002               if test x"$enablestring" = xdisable; then
9003                   defaultval=yes
9004               else
9005                   defaultval=no
9006               fi
9007           fi
9008
9009           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
9010 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
9011           # Check whether --enable-snglinst was given.
9012 if test "${enable_snglinst+set}" = set; then :
9013   enableval=$enable_snglinst;
9014                           if test "$enableval" = yes; then
9015                             wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
9016                           else
9017                             wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
9018                           fi
9019
9020 else
9021
9022                           wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
9023
9024 fi
9025
9026
9027           eval "$wx_cv_use_snglinst"
9028
9029           if test x"$enablestring" = xdisable; then
9030             if test $wxUSE_SNGLINST_CHECKER = no; then
9031               result=yes
9032             else
9033               result=no
9034             fi
9035           else
9036             result=$wxUSE_SNGLINST_CHECKER
9037           fi
9038
9039           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9040 $as_echo "$result" >&6; }
9041
9042
9043           enablestring=
9044           defaultval=$wxUSE_ALL_FEATURES
9045           if test -z "$defaultval"; then
9046               if test x"$enablestring" = xdisable; then
9047                   defaultval=yes
9048               else
9049                   defaultval=no
9050               fi
9051           fi
9052
9053           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
9054 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
9055           # Check whether --enable-sound was given.
9056 if test "${enable_sound+set}" = set; then :
9057   enableval=$enable_sound;
9058                           if test "$enableval" = yes; then
9059                             wx_cv_use_sound='wxUSE_SOUND=yes'
9060                           else
9061                             wx_cv_use_sound='wxUSE_SOUND=no'
9062                           fi
9063
9064 else
9065
9066                           wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
9067
9068 fi
9069
9070
9071           eval "$wx_cv_use_sound"
9072
9073           if test x"$enablestring" = xdisable; then
9074             if test $wxUSE_SOUND = no; then
9075               result=yes
9076             else
9077               result=no
9078             fi
9079           else
9080             result=$wxUSE_SOUND
9081           fi
9082
9083           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9084 $as_echo "$result" >&6; }
9085
9086
9087           enablestring=
9088           defaultval=$wxUSE_ALL_FEATURES
9089           if test -z "$defaultval"; then
9090               if test x"$enablestring" = xdisable; then
9091                   defaultval=yes
9092               else
9093                   defaultval=no
9094               fi
9095           fi
9096
9097           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
9098 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
9099           # Check whether --enable-stdpaths was given.
9100 if test "${enable_stdpaths+set}" = set; then :
9101   enableval=$enable_stdpaths;
9102                           if test "$enableval" = yes; then
9103                             wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
9104                           else
9105                             wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
9106                           fi
9107
9108 else
9109
9110                           wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
9111
9112 fi
9113
9114
9115           eval "$wx_cv_use_stdpaths"
9116
9117           if test x"$enablestring" = xdisable; then
9118             if test $wxUSE_STDPATHS = no; then
9119               result=yes
9120             else
9121               result=no
9122             fi
9123           else
9124             result=$wxUSE_STDPATHS
9125           fi
9126
9127           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9128 $as_echo "$result" >&6; }
9129
9130
9131           enablestring=
9132           defaultval=$wxUSE_ALL_FEATURES
9133           if test -z "$defaultval"; then
9134               if test x"$enablestring" = xdisable; then
9135                   defaultval=yes
9136               else
9137                   defaultval=no
9138               fi
9139           fi
9140
9141           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
9142 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
9143           # Check whether --enable-stopwatch was given.
9144 if test "${enable_stopwatch+set}" = set; then :
9145   enableval=$enable_stopwatch;
9146                           if test "$enableval" = yes; then
9147                             wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
9148                           else
9149                             wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
9150                           fi
9151
9152 else
9153
9154                           wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9155
9156 fi
9157
9158
9159           eval "$wx_cv_use_stopwatch"
9160
9161           if test x"$enablestring" = xdisable; then
9162             if test $wxUSE_STOPWATCH = no; then
9163               result=yes
9164             else
9165               result=no
9166             fi
9167           else
9168             result=$wxUSE_STOPWATCH
9169           fi
9170
9171           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9172 $as_echo "$result" >&6; }
9173
9174
9175           enablestring=
9176           defaultval=$wxUSE_ALL_FEATURES
9177           if test -z "$defaultval"; then
9178               if test x"$enablestring" = xdisable; then
9179                   defaultval=yes
9180               else
9181                   defaultval=no
9182               fi
9183           fi
9184
9185           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9186 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9187           # Check whether --enable-streams was given.
9188 if test "${enable_streams+set}" = set; then :
9189   enableval=$enable_streams;
9190                           if test "$enableval" = yes; then
9191                             wx_cv_use_streams='wxUSE_STREAMS=yes'
9192                           else
9193                             wx_cv_use_streams='wxUSE_STREAMS=no'
9194                           fi
9195
9196 else
9197
9198                           wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9199
9200 fi
9201
9202
9203           eval "$wx_cv_use_streams"
9204
9205           if test x"$enablestring" = xdisable; then
9206             if test $wxUSE_STREAMS = no; then
9207               result=yes
9208             else
9209               result=no
9210             fi
9211           else
9212             result=$wxUSE_STREAMS
9213           fi
9214
9215           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9216 $as_echo "$result" >&6; }
9217
9218
9219           enablestring=
9220           defaultval=$wxUSE_ALL_FEATURES
9221           if test -z "$defaultval"; then
9222               if test x"$enablestring" = xdisable; then
9223                   defaultval=yes
9224               else
9225                   defaultval=no
9226               fi
9227           fi
9228
9229           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9230 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9231           # Check whether --enable-sysoptions was given.
9232 if test "${enable_sysoptions+set}" = set; then :
9233   enableval=$enable_sysoptions;
9234                           if test "$enableval" = yes; then
9235                             wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9236                           else
9237                             wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9238                           fi
9239
9240 else
9241
9242                           wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9243
9244 fi
9245
9246
9247           eval "$wx_cv_use_sysoptions"
9248
9249           if test x"$enablestring" = xdisable; then
9250             if test $wxUSE_SYSTEM_OPTIONS = no; then
9251               result=yes
9252             else
9253               result=no
9254             fi
9255           else
9256             result=$wxUSE_SYSTEM_OPTIONS
9257           fi
9258
9259           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9260 $as_echo "$result" >&6; }
9261
9262
9263           enablestring=
9264           defaultval=$wxUSE_ALL_FEATURES
9265           if test -z "$defaultval"; then
9266               if test x"$enablestring" = xdisable; then
9267                   defaultval=yes
9268               else
9269                   defaultval=no
9270               fi
9271           fi
9272
9273           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9274 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9275           # Check whether --enable-tarstream was given.
9276 if test "${enable_tarstream+set}" = set; then :
9277   enableval=$enable_tarstream;
9278                           if test "$enableval" = yes; then
9279                             wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9280                           else
9281                             wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9282                           fi
9283
9284 else
9285
9286                           wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9287
9288 fi
9289
9290
9291           eval "$wx_cv_use_tarstream"
9292
9293           if test x"$enablestring" = xdisable; then
9294             if test $wxUSE_TARSTREAM = no; then
9295               result=yes
9296             else
9297               result=no
9298             fi
9299           else
9300             result=$wxUSE_TARSTREAM
9301           fi
9302
9303           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9304 $as_echo "$result" >&6; }
9305
9306
9307           enablestring=
9308           defaultval=$wxUSE_ALL_FEATURES
9309           if test -z "$defaultval"; then
9310               if test x"$enablestring" = xdisable; then
9311                   defaultval=yes
9312               else
9313                   defaultval=no
9314               fi
9315           fi
9316
9317           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9318 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9319           # Check whether --enable-textbuf was given.
9320 if test "${enable_textbuf+set}" = set; then :
9321   enableval=$enable_textbuf;
9322                           if test "$enableval" = yes; then
9323                             wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9324                           else
9325                             wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9326                           fi
9327
9328 else
9329
9330                           wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9331
9332 fi
9333
9334
9335           eval "$wx_cv_use_textbuf"
9336
9337           if test x"$enablestring" = xdisable; then
9338             if test $wxUSE_TEXTBUFFER = no; then
9339               result=yes
9340             else
9341               result=no
9342             fi
9343           else
9344             result=$wxUSE_TEXTBUFFER
9345           fi
9346
9347           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9348 $as_echo "$result" >&6; }
9349
9350
9351           enablestring=
9352           defaultval=$wxUSE_ALL_FEATURES
9353           if test -z "$defaultval"; then
9354               if test x"$enablestring" = xdisable; then
9355                   defaultval=yes
9356               else
9357                   defaultval=no
9358               fi
9359           fi
9360
9361           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9362 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9363           # Check whether --enable-textfile was given.
9364 if test "${enable_textfile+set}" = set; then :
9365   enableval=$enable_textfile;
9366                           if test "$enableval" = yes; then
9367                             wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9368                           else
9369                             wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9370                           fi
9371
9372 else
9373
9374                           wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9375
9376 fi
9377
9378
9379           eval "$wx_cv_use_textfile"
9380
9381           if test x"$enablestring" = xdisable; then
9382             if test $wxUSE_TEXTFILE = no; then
9383               result=yes
9384             else
9385               result=no
9386             fi
9387           else
9388             result=$wxUSE_TEXTFILE
9389           fi
9390
9391           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9392 $as_echo "$result" >&6; }
9393
9394
9395           enablestring=
9396           defaultval=$wxUSE_ALL_FEATURES
9397           if test -z "$defaultval"; then
9398               if test x"$enablestring" = xdisable; then
9399                   defaultval=yes
9400               else
9401                   defaultval=no
9402               fi
9403           fi
9404
9405           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9406 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9407           # Check whether --enable-timer was given.
9408 if test "${enable_timer+set}" = set; then :
9409   enableval=$enable_timer;
9410                           if test "$enableval" = yes; then
9411                             wx_cv_use_timer='wxUSE_TIMER=yes'
9412                           else
9413                             wx_cv_use_timer='wxUSE_TIMER=no'
9414                           fi
9415
9416 else
9417
9418                           wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9419
9420 fi
9421
9422
9423           eval "$wx_cv_use_timer"
9424
9425           if test x"$enablestring" = xdisable; then
9426             if test $wxUSE_TIMER = no; then
9427               result=yes
9428             else
9429               result=no
9430             fi
9431           else
9432             result=$wxUSE_TIMER
9433           fi
9434
9435           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9436 $as_echo "$result" >&6; }
9437
9438
9439           enablestring=
9440           defaultval=$wxUSE_ALL_FEATURES
9441           if test -z "$defaultval"; then
9442               if test x"$enablestring" = xdisable; then
9443                   defaultval=yes
9444               else
9445                   defaultval=no
9446               fi
9447           fi
9448
9449           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9450 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9451           # Check whether --enable-variant was given.
9452 if test "${enable_variant+set}" = set; then :
9453   enableval=$enable_variant;
9454                           if test "$enableval" = yes; then
9455                             wx_cv_use_variant='wxUSE_VARIANT=yes'
9456                           else
9457                             wx_cv_use_variant='wxUSE_VARIANT=no'
9458                           fi
9459
9460 else
9461
9462                           wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9463
9464 fi
9465
9466
9467           eval "$wx_cv_use_variant"
9468
9469           if test x"$enablestring" = xdisable; then
9470             if test $wxUSE_VARIANT = no; then
9471               result=yes
9472             else
9473               result=no
9474             fi
9475           else
9476             result=$wxUSE_VARIANT
9477           fi
9478
9479           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9480 $as_echo "$result" >&6; }
9481
9482
9483           enablestring=
9484           defaultval=$wxUSE_ALL_FEATURES
9485           if test -z "$defaultval"; then
9486               if test x"$enablestring" = xdisable; then
9487                   defaultval=yes
9488               else
9489                   defaultval=no
9490               fi
9491           fi
9492
9493           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9494 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9495           # Check whether --enable-zipstream was given.
9496 if test "${enable_zipstream+set}" = set; then :
9497   enableval=$enable_zipstream;
9498                           if test "$enableval" = yes; then
9499                             wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9500                           else
9501                             wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9502                           fi
9503
9504 else
9505
9506                           wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9507
9508 fi
9509
9510
9511           eval "$wx_cv_use_zipstream"
9512
9513           if test x"$enablestring" = xdisable; then
9514             if test $wxUSE_ZIPSTREAM = no; then
9515               result=yes
9516             else
9517               result=no
9518             fi
9519           else
9520             result=$wxUSE_ZIPSTREAM
9521           fi
9522
9523           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9524 $as_echo "$result" >&6; }
9525
9526
9527
9528           enablestring=
9529           defaultval=$wxUSE_ALL_FEATURES
9530           if test -z "$defaultval"; then
9531               if test x"$enablestring" = xdisable; then
9532                   defaultval=yes
9533               else
9534                   defaultval=no
9535               fi
9536           fi
9537
9538           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9539 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9540           # Check whether --enable-url was given.
9541 if test "${enable_url+set}" = set; then :
9542   enableval=$enable_url;
9543                           if test "$enableval" = yes; then
9544                             wx_cv_use_url='wxUSE_URL=yes'
9545                           else
9546                             wx_cv_use_url='wxUSE_URL=no'
9547                           fi
9548
9549 else
9550
9551                           wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9552
9553 fi
9554
9555
9556           eval "$wx_cv_use_url"
9557
9558           if test x"$enablestring" = xdisable; then
9559             if test $wxUSE_URL = no; then
9560               result=yes
9561             else
9562               result=no
9563             fi
9564           else
9565             result=$wxUSE_URL
9566           fi
9567
9568           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9569 $as_echo "$result" >&6; }
9570
9571
9572           enablestring=
9573           defaultval=$wxUSE_ALL_FEATURES
9574           if test -z "$defaultval"; then
9575               if test x"$enablestring" = xdisable; then
9576                   defaultval=yes
9577               else
9578                   defaultval=no
9579               fi
9580           fi
9581
9582           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9583 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9584           # Check whether --enable-protocol was given.
9585 if test "${enable_protocol+set}" = set; then :
9586   enableval=$enable_protocol;
9587                           if test "$enableval" = yes; then
9588                             wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9589                           else
9590                             wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9591                           fi
9592
9593 else
9594
9595                           wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9596
9597 fi
9598
9599
9600           eval "$wx_cv_use_protocol"
9601
9602           if test x"$enablestring" = xdisable; then
9603             if test $wxUSE_PROTOCOL = no; then
9604               result=yes
9605             else
9606               result=no
9607             fi
9608           else
9609             result=$wxUSE_PROTOCOL
9610           fi
9611
9612           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9613 $as_echo "$result" >&6; }
9614
9615
9616           enablestring=
9617           defaultval=$wxUSE_ALL_FEATURES
9618           if test -z "$defaultval"; then
9619               if test x"$enablestring" = xdisable; then
9620                   defaultval=yes
9621               else
9622                   defaultval=no
9623               fi
9624           fi
9625
9626           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9627 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9628           # Check whether --enable-protocol_http was given.
9629 if test "${enable_protocol_http+set}" = set; then :
9630   enableval=$enable_protocol_http;
9631                           if test "$enableval" = yes; then
9632                             wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9633                           else
9634                             wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9635                           fi
9636
9637 else
9638
9639                           wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9640
9641 fi
9642
9643
9644           eval "$wx_cv_use_protocol_http"
9645
9646           if test x"$enablestring" = xdisable; then
9647             if test $wxUSE_PROTOCOL_HTTP = no; then
9648               result=yes
9649             else
9650               result=no
9651             fi
9652           else
9653             result=$wxUSE_PROTOCOL_HTTP
9654           fi
9655
9656           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9657 $as_echo "$result" >&6; }
9658
9659
9660           enablestring=
9661           defaultval=$wxUSE_ALL_FEATURES
9662           if test -z "$defaultval"; then
9663               if test x"$enablestring" = xdisable; then
9664                   defaultval=yes
9665               else
9666                   defaultval=no
9667               fi
9668           fi
9669
9670           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9671 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9672           # Check whether --enable-protocol_ftp was given.
9673 if test "${enable_protocol_ftp+set}" = set; then :
9674   enableval=$enable_protocol_ftp;
9675                           if test "$enableval" = yes; then
9676                             wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9677                           else
9678                             wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9679                           fi
9680
9681 else
9682
9683                           wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9684
9685 fi
9686
9687
9688           eval "$wx_cv_use_protocol_ftp"
9689
9690           if test x"$enablestring" = xdisable; then
9691             if test $wxUSE_PROTOCOL_FTP = no; then
9692               result=yes
9693             else
9694               result=no
9695             fi
9696           else
9697             result=$wxUSE_PROTOCOL_FTP
9698           fi
9699
9700           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9701 $as_echo "$result" >&6; }
9702
9703
9704           enablestring=
9705           defaultval=$wxUSE_ALL_FEATURES
9706           if test -z "$defaultval"; then
9707               if test x"$enablestring" = xdisable; then
9708                   defaultval=yes
9709               else
9710                   defaultval=no
9711               fi
9712           fi
9713
9714           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9715 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9716           # Check whether --enable-protocol_file was given.
9717 if test "${enable_protocol_file+set}" = set; then :
9718   enableval=$enable_protocol_file;
9719                           if test "$enableval" = yes; then
9720                             wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9721                           else
9722                             wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9723                           fi
9724
9725 else
9726
9727                           wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9728
9729 fi
9730
9731
9732           eval "$wx_cv_use_protocol_file"
9733
9734           if test x"$enablestring" = xdisable; then
9735             if test $wxUSE_PROTOCOL_FILE = no; then
9736               result=yes
9737             else
9738               result=no
9739             fi
9740           else
9741             result=$wxUSE_PROTOCOL_FILE
9742           fi
9743
9744           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9745 $as_echo "$result" >&6; }
9746
9747
9748
9749           enablestring=
9750           defaultval=$wxUSE_ALL_FEATURES
9751           if test -z "$defaultval"; then
9752               if test x"$enablestring" = xdisable; then
9753                   defaultval=yes
9754               else
9755                   defaultval=no
9756               fi
9757           fi
9758
9759           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9760 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9761           # Check whether --enable-threads was given.
9762 if test "${enable_threads+set}" = set; then :
9763   enableval=$enable_threads;
9764                           if test "$enableval" = yes; then
9765                             wx_cv_use_threads='wxUSE_THREADS=yes'
9766                           else
9767                             wx_cv_use_threads='wxUSE_THREADS=no'
9768                           fi
9769
9770 else
9771
9772                           wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9773
9774 fi
9775
9776
9777           eval "$wx_cv_use_threads"
9778
9779           if test x"$enablestring" = xdisable; then
9780             if test $wxUSE_THREADS = no; then
9781               result=yes
9782             else
9783               result=no
9784             fi
9785           else
9786             result=$wxUSE_THREADS
9787           fi
9788
9789           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9790 $as_echo "$result" >&6; }
9791
9792
9793
9794           enablestring=
9795           defaultval=
9796           if test -z "$defaultval"; then
9797               if test x"$enablestring" = xdisable; then
9798                   defaultval=yes
9799               else
9800                   defaultval=no
9801               fi
9802           fi
9803
9804           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9805 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9806           # Check whether --enable-iniconf was given.
9807 if test "${enable_iniconf+set}" = set; then :
9808   enableval=$enable_iniconf;
9809                           if test "$enableval" = yes; then
9810                             wx_cv_use_iniconf='wxUSE_INICONF=yes'
9811                           else
9812                             wx_cv_use_iniconf='wxUSE_INICONF=no'
9813                           fi
9814
9815 else
9816
9817                           wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9818
9819 fi
9820
9821
9822           eval "$wx_cv_use_iniconf"
9823
9824           if test x"$enablestring" = xdisable; then
9825             if test $wxUSE_INICONF = no; then
9826               result=yes
9827             else
9828               result=no
9829             fi
9830           else
9831             result=$wxUSE_INICONF
9832           fi
9833
9834           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9835 $as_echo "$result" >&6; }
9836
9837
9838           enablestring=
9839           defaultval=$wxUSE_ALL_FEATURES
9840           if test -z "$defaultval"; then
9841               if test x"$enablestring" = xdisable; then
9842                   defaultval=yes
9843               else
9844                   defaultval=no
9845               fi
9846           fi
9847
9848           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9849 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9850           # Check whether --enable-regkey was given.
9851 if test "${enable_regkey+set}" = set; then :
9852   enableval=$enable_regkey;
9853                           if test "$enableval" = yes; then
9854                             wx_cv_use_regkey='wxUSE_REGKEY=yes'
9855                           else
9856                             wx_cv_use_regkey='wxUSE_REGKEY=no'
9857                           fi
9858
9859 else
9860
9861                           wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9862
9863 fi
9864
9865
9866           eval "$wx_cv_use_regkey"
9867
9868           if test x"$enablestring" = xdisable; then
9869             if test $wxUSE_REGKEY = no; then
9870               result=yes
9871             else
9872               result=no
9873             fi
9874           else
9875             result=$wxUSE_REGKEY
9876           fi
9877
9878           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9879 $as_echo "$result" >&6; }
9880
9881
9882 if test "$wxUSE_GUI" = "yes"; then
9883
9884
9885
9886           enablestring=
9887           defaultval=$wxUSE_ALL_FEATURES
9888           if test -z "$defaultval"; then
9889               if test x"$enablestring" = xdisable; then
9890                   defaultval=yes
9891               else
9892                   defaultval=no
9893               fi
9894           fi
9895
9896           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9897 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9898           # Check whether --enable-docview was given.
9899 if test "${enable_docview+set}" = set; then :
9900   enableval=$enable_docview;
9901                           if test "$enableval" = yes; then
9902                             wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9903                           else
9904                             wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9905                           fi
9906
9907 else
9908
9909                           wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9910
9911 fi
9912
9913
9914           eval "$wx_cv_use_docview"
9915
9916           if test x"$enablestring" = xdisable; then
9917             if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9918               result=yes
9919             else
9920               result=no
9921             fi
9922           else
9923             result=$wxUSE_DOC_VIEW_ARCHITECTURE
9924           fi
9925
9926           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9927 $as_echo "$result" >&6; }
9928
9929
9930           enablestring=
9931           defaultval=$wxUSE_ALL_FEATURES
9932           if test -z "$defaultval"; then
9933               if test x"$enablestring" = xdisable; then
9934                   defaultval=yes
9935               else
9936                   defaultval=no
9937               fi
9938           fi
9939
9940           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9941 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9942           # Check whether --enable-help was given.
9943 if test "${enable_help+set}" = set; then :
9944   enableval=$enable_help;
9945                           if test "$enableval" = yes; then
9946                             wx_cv_use_help='wxUSE_HELP=yes'
9947                           else
9948                             wx_cv_use_help='wxUSE_HELP=no'
9949                           fi
9950
9951 else
9952
9953                           wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9954
9955 fi
9956
9957
9958           eval "$wx_cv_use_help"
9959
9960           if test x"$enablestring" = xdisable; then
9961             if test $wxUSE_HELP = no; then
9962               result=yes
9963             else
9964               result=no
9965             fi
9966           else
9967             result=$wxUSE_HELP
9968           fi
9969
9970           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9971 $as_echo "$result" >&6; }
9972
9973
9974           enablestring=
9975           defaultval=$wxUSE_ALL_FEATURES
9976           if test -z "$defaultval"; then
9977               if test x"$enablestring" = xdisable; then
9978                   defaultval=yes
9979               else
9980                   defaultval=no
9981               fi
9982           fi
9983
9984           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9985 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9986           # Check whether --enable-mshtmlhelp was given.
9987 if test "${enable_mshtmlhelp+set}" = set; then :
9988   enableval=$enable_mshtmlhelp;
9989                           if test "$enableval" = yes; then
9990                             wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9991                           else
9992                             wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9993                           fi
9994
9995 else
9996
9997                           wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9998
9999 fi
10000
10001
10002           eval "$wx_cv_use_mshtmlhelp"
10003
10004           if test x"$enablestring" = xdisable; then
10005             if test $wxUSE_MS_HTML_HELP = no; then
10006               result=yes
10007             else
10008               result=no
10009             fi
10010           else
10011             result=$wxUSE_MS_HTML_HELP
10012           fi
10013
10014           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10015 $as_echo "$result" >&6; }
10016
10017
10018           enablestring=
10019           defaultval=$wxUSE_ALL_FEATURES
10020           if test -z "$defaultval"; then
10021               if test x"$enablestring" = xdisable; then
10022                   defaultval=yes
10023               else
10024                   defaultval=no
10025               fi
10026           fi
10027
10028           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
10029 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
10030           # Check whether --enable-html was given.
10031 if test "${enable_html+set}" = set; then :
10032   enableval=$enable_html;
10033                           if test "$enableval" = yes; then
10034                             wx_cv_use_html='wxUSE_HTML=yes'
10035                           else
10036                             wx_cv_use_html='wxUSE_HTML=no'
10037                           fi
10038
10039 else
10040
10041                           wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
10042
10043 fi
10044
10045
10046           eval "$wx_cv_use_html"
10047
10048           if test x"$enablestring" = xdisable; then
10049             if test $wxUSE_HTML = no; then
10050               result=yes
10051             else
10052               result=no
10053             fi
10054           else
10055             result=$wxUSE_HTML
10056           fi
10057
10058           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10059 $as_echo "$result" >&6; }
10060
10061
10062           enablestring=
10063           defaultval=$wxUSE_ALL_FEATURES
10064           if test -z "$defaultval"; then
10065               if test x"$enablestring" = xdisable; then
10066                   defaultval=yes
10067               else
10068                   defaultval=no
10069               fi
10070           fi
10071
10072           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
10073 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
10074           # Check whether --enable-htmlhelp was given.
10075 if test "${enable_htmlhelp+set}" = set; then :
10076   enableval=$enable_htmlhelp;
10077                           if test "$enableval" = yes; then
10078                             wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
10079                           else
10080                             wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
10081                           fi
10082
10083 else
10084
10085                           wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
10086
10087 fi
10088
10089
10090           eval "$wx_cv_use_htmlhelp"
10091
10092           if test x"$enablestring" = xdisable; then
10093             if test $wxUSE_WXHTML_HELP = no; then
10094               result=yes
10095             else
10096               result=no
10097             fi
10098           else
10099             result=$wxUSE_WXHTML_HELP
10100           fi
10101
10102           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10103 $as_echo "$result" >&6; }
10104
10105
10106           enablestring=
10107           defaultval=$wxUSE_ALL_FEATURES
10108           if test -z "$defaultval"; then
10109               if test x"$enablestring" = xdisable; then
10110                   defaultval=yes
10111               else
10112                   defaultval=no
10113               fi
10114           fi
10115
10116           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
10117 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
10118           # Check whether --enable-xrc was given.
10119 if test "${enable_xrc+set}" = set; then :
10120   enableval=$enable_xrc;
10121                           if test "$enableval" = yes; then
10122                             wx_cv_use_xrc='wxUSE_XRC=yes'
10123                           else
10124                             wx_cv_use_xrc='wxUSE_XRC=no'
10125                           fi
10126
10127 else
10128
10129                           wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10130
10131 fi
10132
10133
10134           eval "$wx_cv_use_xrc"
10135
10136           if test x"$enablestring" = xdisable; then
10137             if test $wxUSE_XRC = no; then
10138               result=yes
10139             else
10140               result=no
10141             fi
10142           else
10143             result=$wxUSE_XRC
10144           fi
10145
10146           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10147 $as_echo "$result" >&6; }
10148
10149
10150           enablestring=
10151           defaultval=$wxUSE_ALL_FEATURES
10152           if test -z "$defaultval"; then
10153               if test x"$enablestring" = xdisable; then
10154                   defaultval=yes
10155               else
10156                   defaultval=no
10157               fi
10158           fi
10159
10160           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
10161 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
10162           # Check whether --enable-aui was given.
10163 if test "${enable_aui+set}" = set; then :
10164   enableval=$enable_aui;
10165                           if test "$enableval" = yes; then
10166                             wx_cv_use_aui='wxUSE_AUI=yes'
10167                           else
10168                             wx_cv_use_aui='wxUSE_AUI=no'
10169                           fi
10170
10171 else
10172
10173                           wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10174
10175 fi
10176
10177
10178           eval "$wx_cv_use_aui"
10179
10180           if test x"$enablestring" = xdisable; then
10181             if test $wxUSE_AUI = no; then
10182               result=yes
10183             else
10184               result=no
10185             fi
10186           else
10187             result=$wxUSE_AUI
10188           fi
10189
10190           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10191 $as_echo "$result" >&6; }
10192
10193
10194           enablestring=
10195           defaultval=$wxUSE_ALL_FEATURES
10196           if test -z "$defaultval"; then
10197               if test x"$enablestring" = xdisable; then
10198                   defaultval=yes
10199               else
10200                   defaultval=no
10201               fi
10202           fi
10203
10204           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10205 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10206           # Check whether --enable-propgrid was given.
10207 if test "${enable_propgrid+set}" = set; then :
10208   enableval=$enable_propgrid;
10209                           if test "$enableval" = yes; then
10210                             wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10211                           else
10212                             wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10213                           fi
10214
10215 else
10216
10217                           wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10218
10219 fi
10220
10221
10222           eval "$wx_cv_use_propgrid"
10223
10224           if test x"$enablestring" = xdisable; then
10225             if test $wxUSE_PROPGRID = no; then
10226               result=yes
10227             else
10228               result=no
10229             fi
10230           else
10231             result=$wxUSE_PROPGRID
10232           fi
10233
10234           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10235 $as_echo "$result" >&6; }
10236
10237
10238           enablestring=
10239           defaultval=$wxUSE_ALL_FEATURES
10240           if test -z "$defaultval"; then
10241               if test x"$enablestring" = xdisable; then
10242                   defaultval=yes
10243               else
10244                   defaultval=no
10245               fi
10246           fi
10247
10248           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10249 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10250           # Check whether --enable-ribbon was given.
10251 if test "${enable_ribbon+set}" = set; then :
10252   enableval=$enable_ribbon;
10253                           if test "$enableval" = yes; then
10254                             wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10255                           else
10256                             wx_cv_use_ribbon='wxUSE_RIBBON=no'
10257                           fi
10258
10259 else
10260
10261                           wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10262
10263 fi
10264
10265
10266           eval "$wx_cv_use_ribbon"
10267
10268           if test x"$enablestring" = xdisable; then
10269             if test $wxUSE_RIBBON = no; then
10270               result=yes
10271             else
10272               result=no
10273             fi
10274           else
10275             result=$wxUSE_RIBBON
10276           fi
10277
10278           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10279 $as_echo "$result" >&6; }
10280
10281
10282           enablestring=
10283           defaultval=$wxUSE_ALL_FEATURES
10284           if test -z "$defaultval"; then
10285               if test x"$enablestring" = xdisable; then
10286                   defaultval=yes
10287               else
10288                   defaultval=no
10289               fi
10290           fi
10291
10292           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10293 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10294           # Check whether --enable-stc was given.
10295 if test "${enable_stc+set}" = set; then :
10296   enableval=$enable_stc;
10297                           if test "$enableval" = yes; then
10298                             wx_cv_use_stc='wxUSE_STC=yes'
10299                           else
10300                             wx_cv_use_stc='wxUSE_STC=no'
10301                           fi
10302
10303 else
10304
10305                           wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10306
10307 fi
10308
10309
10310           eval "$wx_cv_use_stc"
10311
10312           if test x"$enablestring" = xdisable; then
10313             if test $wxUSE_STC = no; then
10314               result=yes
10315             else
10316               result=no
10317             fi
10318           else
10319             result=$wxUSE_STC
10320           fi
10321
10322           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10323 $as_echo "$result" >&6; }
10324
10325
10326           enablestring=
10327           defaultval=$wxUSE_ALL_FEATURES
10328           if test -z "$defaultval"; then
10329               if test x"$enablestring" = xdisable; then
10330                   defaultval=yes
10331               else
10332                   defaultval=no
10333               fi
10334           fi
10335
10336           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10337 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10338           # Check whether --enable-constraints was given.
10339 if test "${enable_constraints+set}" = set; then :
10340   enableval=$enable_constraints;
10341                           if test "$enableval" = yes; then
10342                             wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10343                           else
10344                             wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10345                           fi
10346
10347 else
10348
10349                           wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10350
10351 fi
10352
10353
10354           eval "$wx_cv_use_constraints"
10355
10356           if test x"$enablestring" = xdisable; then
10357             if test $wxUSE_CONSTRAINTS = no; then
10358               result=yes
10359             else
10360               result=no
10361             fi
10362           else
10363             result=$wxUSE_CONSTRAINTS
10364           fi
10365
10366           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10367 $as_echo "$result" >&6; }
10368
10369
10370           enablestring=
10371           defaultval=$wxUSE_ALL_FEATURES
10372           if test -z "$defaultval"; then
10373               if test x"$enablestring" = xdisable; then
10374                   defaultval=yes
10375               else
10376                   defaultval=no
10377               fi
10378           fi
10379
10380           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10381 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10382           # Check whether --enable-loggui was given.
10383 if test "${enable_loggui+set}" = set; then :
10384   enableval=$enable_loggui;
10385                           if test "$enableval" = yes; then
10386                             wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10387                           else
10388                             wx_cv_use_loggui='wxUSE_LOGGUI=no'
10389                           fi
10390
10391 else
10392
10393                           wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10394
10395 fi
10396
10397
10398           eval "$wx_cv_use_loggui"
10399
10400           if test x"$enablestring" = xdisable; then
10401             if test $wxUSE_LOGGUI = no; then
10402               result=yes
10403             else
10404               result=no
10405             fi
10406           else
10407             result=$wxUSE_LOGGUI
10408           fi
10409
10410           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10411 $as_echo "$result" >&6; }
10412
10413
10414           enablestring=
10415           defaultval=$wxUSE_ALL_FEATURES
10416           if test -z "$defaultval"; then
10417               if test x"$enablestring" = xdisable; then
10418                   defaultval=yes
10419               else
10420                   defaultval=no
10421               fi
10422           fi
10423
10424           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10425 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10426           # Check whether --enable-logwin was given.
10427 if test "${enable_logwin+set}" = set; then :
10428   enableval=$enable_logwin;
10429                           if test "$enableval" = yes; then
10430                             wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10431                           else
10432                             wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10433                           fi
10434
10435 else
10436
10437                           wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10438
10439 fi
10440
10441
10442           eval "$wx_cv_use_logwin"
10443
10444           if test x"$enablestring" = xdisable; then
10445             if test $wxUSE_LOGWINDOW = no; then
10446               result=yes
10447             else
10448               result=no
10449             fi
10450           else
10451             result=$wxUSE_LOGWINDOW
10452           fi
10453
10454           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10455 $as_echo "$result" >&6; }
10456
10457
10458           enablestring=
10459           defaultval=$wxUSE_ALL_FEATURES
10460           if test -z "$defaultval"; then
10461               if test x"$enablestring" = xdisable; then
10462                   defaultval=yes
10463               else
10464                   defaultval=no
10465               fi
10466           fi
10467
10468           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10469 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10470           # Check whether --enable-logdialog was given.
10471 if test "${enable_logdialog+set}" = set; then :
10472   enableval=$enable_logdialog;
10473                           if test "$enableval" = yes; then
10474                             wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10475                           else
10476                             wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10477                           fi
10478
10479 else
10480
10481                           wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10482
10483 fi
10484
10485
10486           eval "$wx_cv_use_logdialog"
10487
10488           if test x"$enablestring" = xdisable; then
10489             if test $wxUSE_LOGDIALOG = no; then
10490               result=yes
10491             else
10492               result=no
10493             fi
10494           else
10495             result=$wxUSE_LOGDIALOG
10496           fi
10497
10498           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10499 $as_echo "$result" >&6; }
10500
10501
10502           enablestring=
10503           defaultval=$wxUSE_ALL_FEATURES
10504           if test -z "$defaultval"; then
10505               if test x"$enablestring" = xdisable; then
10506                   defaultval=yes
10507               else
10508                   defaultval=no
10509               fi
10510           fi
10511
10512           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10513 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10514           # Check whether --enable-mdi was given.
10515 if test "${enable_mdi+set}" = set; then :
10516   enableval=$enable_mdi;
10517                           if test "$enableval" = yes; then
10518                             wx_cv_use_mdi='wxUSE_MDI=yes'
10519                           else
10520                             wx_cv_use_mdi='wxUSE_MDI=no'
10521                           fi
10522
10523 else
10524
10525                           wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10526
10527 fi
10528
10529
10530           eval "$wx_cv_use_mdi"
10531
10532           if test x"$enablestring" = xdisable; then
10533             if test $wxUSE_MDI = no; then
10534               result=yes
10535             else
10536               result=no
10537             fi
10538           else
10539             result=$wxUSE_MDI
10540           fi
10541
10542           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10543 $as_echo "$result" >&6; }
10544
10545
10546           enablestring=
10547           defaultval=$wxUSE_ALL_FEATURES
10548           if test -z "$defaultval"; then
10549               if test x"$enablestring" = xdisable; then
10550                   defaultval=yes
10551               else
10552                   defaultval=no
10553               fi
10554           fi
10555
10556           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10557 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10558           # Check whether --enable-mdidoc was given.
10559 if test "${enable_mdidoc+set}" = set; then :
10560   enableval=$enable_mdidoc;
10561                           if test "$enableval" = yes; then
10562                             wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10563                           else
10564                             wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10565                           fi
10566
10567 else
10568
10569                           wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10570
10571 fi
10572
10573
10574           eval "$wx_cv_use_mdidoc"
10575
10576           if test x"$enablestring" = xdisable; then
10577             if test $wxUSE_MDI_ARCHITECTURE = no; then
10578               result=yes
10579             else
10580               result=no
10581             fi
10582           else
10583             result=$wxUSE_MDI_ARCHITECTURE
10584           fi
10585
10586           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10587 $as_echo "$result" >&6; }
10588
10589
10590           enablestring=
10591           defaultval=$wxUSE_ALL_FEATURES
10592           if test -z "$defaultval"; then
10593               if test x"$enablestring" = xdisable; then
10594                   defaultval=yes
10595               else
10596                   defaultval=no
10597               fi
10598           fi
10599
10600           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10601 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10602           # Check whether --enable-mediactrl was given.
10603 if test "${enable_mediactrl+set}" = set; then :
10604   enableval=$enable_mediactrl;
10605                           if test "$enableval" = yes; then
10606                             wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10607                           else
10608                             wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10609                           fi
10610
10611 else
10612
10613                           wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10614
10615 fi
10616
10617
10618           eval "$wx_cv_use_mediactrl"
10619
10620           if test x"$enablestring" = xdisable; then
10621             if test $wxUSE_MEDIACTRL = no; then
10622               result=yes
10623             else
10624               result=no
10625             fi
10626           else
10627             result=$wxUSE_MEDIACTRL
10628           fi
10629
10630           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10631 $as_echo "$result" >&6; }
10632
10633
10634           enablestring=
10635           defaultval=$wxUSE_ALL_FEATURES
10636           if test -z "$defaultval"; then
10637               if test x"$enablestring" = xdisable; then
10638                   defaultval=yes
10639               else
10640                   defaultval=no
10641               fi
10642           fi
10643
10644           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10645 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10646           # Check whether --enable-gstreamer8 was given.
10647 if test "${enable_gstreamer8+set}" = set; then :
10648   enableval=$enable_gstreamer8;
10649                           if test "$enableval" = yes; then
10650                             wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10651                           else
10652                             wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10653                           fi
10654
10655 else
10656
10657                           wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10658
10659 fi
10660
10661
10662           eval "$wx_cv_use_gstreamer8"
10663
10664           if test x"$enablestring" = xdisable; then
10665             if test $wxUSE_GSTREAMER8 = no; then
10666               result=yes
10667             else
10668               result=no
10669             fi
10670           else
10671             result=$wxUSE_GSTREAMER8
10672           fi
10673
10674           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10675 $as_echo "$result" >&6; }
10676
10677
10678           enablestring=
10679           defaultval=$wxUSE_ALL_FEATURES
10680           if test -z "$defaultval"; then
10681               if test x"$enablestring" = xdisable; then
10682                   defaultval=yes
10683               else
10684                   defaultval=no
10685               fi
10686           fi
10687
10688           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10689 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10690           # Check whether --enable-richtext was given.
10691 if test "${enable_richtext+set}" = set; then :
10692   enableval=$enable_richtext;
10693                           if test "$enableval" = yes; then
10694                             wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10695                           else
10696                             wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10697                           fi
10698
10699 else
10700
10701                           wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10702
10703 fi
10704
10705
10706           eval "$wx_cv_use_richtext"
10707
10708           if test x"$enablestring" = xdisable; then
10709             if test $wxUSE_RICHTEXT = no; then
10710               result=yes
10711             else
10712               result=no
10713             fi
10714           else
10715             result=$wxUSE_RICHTEXT
10716           fi
10717
10718           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10719 $as_echo "$result" >&6; }
10720
10721
10722           enablestring=
10723           defaultval=$wxUSE_ALL_FEATURES
10724           if test -z "$defaultval"; then
10725               if test x"$enablestring" = xdisable; then
10726                   defaultval=yes
10727               else
10728                   defaultval=no
10729               fi
10730           fi
10731
10732           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10733 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10734           # Check whether --enable-postscript was given.
10735 if test "${enable_postscript+set}" = set; then :
10736   enableval=$enable_postscript;
10737                           if test "$enableval" = yes; then
10738                             wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10739                           else
10740                             wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10741                           fi
10742
10743 else
10744
10745                           wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10746
10747 fi
10748
10749
10750           eval "$wx_cv_use_postscript"
10751
10752           if test x"$enablestring" = xdisable; then
10753             if test $wxUSE_POSTSCRIPT = no; then
10754               result=yes
10755             else
10756               result=no
10757             fi
10758           else
10759             result=$wxUSE_POSTSCRIPT
10760           fi
10761
10762           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10763 $as_echo "$result" >&6; }
10764
10765
10766           enablestring=
10767           defaultval=$wxUSE_ALL_FEATURES
10768           if test -z "$defaultval"; then
10769               if test x"$enablestring" = xdisable; then
10770                   defaultval=yes
10771               else
10772                   defaultval=no
10773               fi
10774           fi
10775
10776           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10777 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10778           # Check whether --enable-printarch was given.
10779 if test "${enable_printarch+set}" = set; then :
10780   enableval=$enable_printarch;
10781                           if test "$enableval" = yes; then
10782                             wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10783                           else
10784                             wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10785                           fi
10786
10787 else
10788
10789                           wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10790
10791 fi
10792
10793
10794           eval "$wx_cv_use_printarch"
10795
10796           if test x"$enablestring" = xdisable; then
10797             if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10798               result=yes
10799             else
10800               result=no
10801             fi
10802           else
10803             result=$wxUSE_PRINTING_ARCHITECTURE
10804           fi
10805
10806           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10807 $as_echo "$result" >&6; }
10808
10809
10810           enablestring=
10811           defaultval=$wxUSE_ALL_FEATURES
10812           if test -z "$defaultval"; then
10813               if test x"$enablestring" = xdisable; then
10814                   defaultval=yes
10815               else
10816                   defaultval=no
10817               fi
10818           fi
10819
10820           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10821 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10822           # Check whether --enable-svg was given.
10823 if test "${enable_svg+set}" = set; then :
10824   enableval=$enable_svg;
10825                           if test "$enableval" = yes; then
10826                             wx_cv_use_svg='wxUSE_SVG=yes'
10827                           else
10828                             wx_cv_use_svg='wxUSE_SVG=no'
10829                           fi
10830
10831 else
10832
10833                           wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10834
10835 fi
10836
10837
10838           eval "$wx_cv_use_svg"
10839
10840           if test x"$enablestring" = xdisable; then
10841             if test $wxUSE_SVG = no; then
10842               result=yes
10843             else
10844               result=no
10845             fi
10846           else
10847             result=$wxUSE_SVG
10848           fi
10849
10850           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10851 $as_echo "$result" >&6; }
10852
10853
10854           enablestring=
10855           defaultval=$wxUSE_ALL_FEATURES
10856           if test -z "$defaultval"; then
10857               if test x"$enablestring" = xdisable; then
10858                   defaultval=yes
10859               else
10860                   defaultval=no
10861               fi
10862           fi
10863
10864           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10865 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10866           # Check whether --enable-webkit was given.
10867 if test "${enable_webkit+set}" = set; then :
10868   enableval=$enable_webkit;
10869                           if test "$enableval" = yes; then
10870                             wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10871                           else
10872                             wx_cv_use_webkit='wxUSE_WEBKIT=no'
10873                           fi
10874
10875 else
10876
10877                           wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10878
10879 fi
10880
10881
10882           eval "$wx_cv_use_webkit"
10883
10884           if test x"$enablestring" = xdisable; then
10885             if test $wxUSE_WEBKIT = no; then
10886               result=yes
10887             else
10888               result=no
10889             fi
10890           else
10891             result=$wxUSE_WEBKIT
10892           fi
10893
10894           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10895 $as_echo "$result" >&6; }
10896
10897
10898           enablestring=
10899           defaultval=$wxUSE_ALL_FEATURES
10900           if test -z "$defaultval"; then
10901               if test x"$enablestring" = xdisable; then
10902                   defaultval=yes
10903               else
10904                   defaultval=no
10905               fi
10906           fi
10907
10908           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10909 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10910           # Check whether --enable-webview was given.
10911 if test "${enable_webview+set}" = set; then :
10912   enableval=$enable_webview;
10913                           if test "$enableval" = yes; then
10914                             wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10915                           else
10916                             wx_cv_use_webview='wxUSE_WEBVIEW=no'
10917                           fi
10918
10919 else
10920
10921                           wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10922
10923 fi
10924
10925
10926           eval "$wx_cv_use_webview"
10927
10928           if test x"$enablestring" = xdisable; then
10929             if test $wxUSE_WEBVIEW = no; then
10930               result=yes
10931             else
10932               result=no
10933             fi
10934           else
10935             result=$wxUSE_WEBVIEW
10936           fi
10937
10938           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10939 $as_echo "$result" >&6; }
10940
10941
10942 if test "$wxUSE_MAC" != 1; then
10943
10944           enablestring=
10945           defaultval=$wxUSE_ALL_FEATURES
10946           if test -z "$defaultval"; then
10947               if test x"$enablestring" = xdisable; then
10948                   defaultval=yes
10949               else
10950                   defaultval=no
10951               fi
10952           fi
10953
10954           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10955 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10956           # Check whether --enable-graphics_ctx was given.
10957 if test "${enable_graphics_ctx+set}" = set; then :
10958   enableval=$enable_graphics_ctx;
10959                           if test "$enableval" = yes; then
10960                             wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10961                           else
10962                             wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10963                           fi
10964
10965 else
10966
10967                           wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10968
10969 fi
10970
10971
10972           eval "$wx_cv_use_graphics_ctx"
10973
10974           if test x"$enablestring" = xdisable; then
10975             if test $wxUSE_GRAPHICS_CONTEXT = no; then
10976               result=yes
10977             else
10978               result=no
10979             fi
10980           else
10981             result=$wxUSE_GRAPHICS_CONTEXT
10982           fi
10983
10984           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10985 $as_echo "$result" >&6; }
10986
10987 fi
10988
10989
10990
10991           enablestring=
10992           defaultval=$wxUSE_ALL_FEATURES
10993           if test -z "$defaultval"; then
10994               if test x"$enablestring" = xdisable; then
10995                   defaultval=yes
10996               else
10997                   defaultval=no
10998               fi
10999           fi
11000
11001           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
11002 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
11003           # Check whether --enable-clipboard was given.
11004 if test "${enable_clipboard+set}" = set; then :
11005   enableval=$enable_clipboard;
11006                           if test "$enableval" = yes; then
11007                             wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
11008                           else
11009                             wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
11010                           fi
11011
11012 else
11013
11014                           wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
11015
11016 fi
11017
11018
11019           eval "$wx_cv_use_clipboard"
11020
11021           if test x"$enablestring" = xdisable; then
11022             if test $wxUSE_CLIPBOARD = no; then
11023               result=yes
11024             else
11025               result=no
11026             fi
11027           else
11028             result=$wxUSE_CLIPBOARD
11029           fi
11030
11031           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11032 $as_echo "$result" >&6; }
11033
11034
11035           enablestring=
11036           defaultval=$wxUSE_ALL_FEATURES
11037           if test -z "$defaultval"; then
11038               if test x"$enablestring" = xdisable; then
11039                   defaultval=yes
11040               else
11041                   defaultval=no
11042               fi
11043           fi
11044
11045           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
11046 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
11047           # Check whether --enable-dnd was given.
11048 if test "${enable_dnd+set}" = set; then :
11049   enableval=$enable_dnd;
11050                           if test "$enableval" = yes; then
11051                             wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
11052                           else
11053                             wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
11054                           fi
11055
11056 else
11057
11058                           wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
11059
11060 fi
11061
11062
11063           eval "$wx_cv_use_dnd"
11064
11065           if test x"$enablestring" = xdisable; then
11066             if test $wxUSE_DRAG_AND_DROP = no; then
11067               result=yes
11068             else
11069               result=no
11070             fi
11071           else
11072             result=$wxUSE_DRAG_AND_DROP
11073           fi
11074
11075           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11076 $as_echo "$result" >&6; }
11077
11078
11079
11080 DEFAULT_wxUSE_CONTROLS=none
11081
11082           enablestring=disable
11083           defaultval=
11084           if test -z "$defaultval"; then
11085               if test x"$enablestring" = xdisable; then
11086                   defaultval=yes
11087               else
11088                   defaultval=no
11089               fi
11090           fi
11091
11092           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
11093 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
11094           # Check whether --enable-controls was given.
11095 if test "${enable_controls+set}" = set; then :
11096   enableval=$enable_controls;
11097                           if test "$enableval" = yes; then
11098                             wx_cv_use_controls='wxUSE_CONTROLS=yes'
11099                           else
11100                             wx_cv_use_controls='wxUSE_CONTROLS=no'
11101                           fi
11102
11103 else
11104
11105                           wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
11106
11107 fi
11108
11109
11110           eval "$wx_cv_use_controls"
11111
11112           if test x"$enablestring" = xdisable; then
11113             if test $wxUSE_CONTROLS = no; then
11114               result=yes
11115             else
11116               result=no
11117             fi
11118           else
11119             result=$wxUSE_CONTROLS
11120           fi
11121
11122           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11123 $as_echo "$result" >&6; }
11124
11125
11126 if test "$wxUSE_CONTROLS" = "no"; then
11127     DEFAULT_wxUSE_ACCEL=no
11128     DEFAULT_wxUSE_ANIMATIONCTRL=no
11129     DEFAULT_wxUSE_BANNERWINDOW=no
11130     DEFAULT_wxUSE_BMPBUTTON=no
11131     DEFAULT_wxUSE_BUTTON=no
11132     DEFAULT_wxUSE_CALCTRL=no
11133     DEFAULT_wxUSE_CARET=no
11134     DEFAULT_wxUSE_CHECKBOX=no
11135     DEFAULT_wxUSE_CHECKLISTBOX=no
11136     DEFAULT_wxUSE_CHOICE=no
11137     DEFAULT_wxUSE_CHOICEBOOK=no
11138     DEFAULT_wxUSE_COLLPANE=no
11139     DEFAULT_wxUSE_COLOURPICKERCTRL=no
11140     DEFAULT_wxUSE_COMBOBOX=no
11141     DEFAULT_wxUSE_COMBOBOX=no
11142     DEFAULT_wxUSE_COMMANDLINKBUTTON=no
11143     DEFAULT_wxUSE_DATAVIEWCTRL=no
11144     DEFAULT_wxUSE_DATEPICKCTRL=no
11145     DEFAULT_wxUSE_DETECT_SM=no
11146     DEFAULT_wxUSE_DIRPICKERCTRL=no
11147     DEFAULT_wxUSE_DISPLAY=no
11148     DEFAULT_wxUSE_FILECTRL=no
11149     DEFAULT_wxUSE_FILEPICKERCTRL=no
11150     DEFAULT_wxUSE_FONTPICKERCTRL=no
11151     DEFAULT_wxUSE_GAUGE=no
11152     DEFAULT_wxUSE_GRID=no
11153     DEFAULT_wxUSE_HEADERCTRL=no
11154     DEFAULT_wxUSE_HYPERLINKCTRL=no
11155     DEFAULT_wxUSE_IMAGLIST=no
11156     DEFAULT_wxUSE_LISTBOOK=no
11157     DEFAULT_wxUSE_LISTBOX=no
11158     DEFAULT_wxUSE_LISTCTRL=no
11159     DEFAULT_wxUSE_MARKUP=no
11160     DEFAULT_wxUSE_NOTEBOOK=no
11161     DEFAULT_wxUSE_POPUPWIN=no
11162     DEFAULT_wxUSE_RADIOBOX=no
11163     DEFAULT_wxUSE_RADIOBTN=no
11164     DEFAULT_wxUSE_RICHMSGDLG=no
11165     DEFAULT_wxUSE_RICHTOOLTIP=no
11166     DEFAULT_wxUSE_REARRANGECTRL=no
11167     DEFAULT_wxUSE_SASH=no
11168     DEFAULT_wxUSE_SCROLLBAR=no
11169     DEFAULT_wxUSE_SEARCHCTRL=no
11170     DEFAULT_wxUSE_SLIDER=no
11171     DEFAULT_wxUSE_SPINBTN=no
11172     DEFAULT_wxUSE_SPINCTRL=no
11173     DEFAULT_wxUSE_SPLITTER=no
11174     DEFAULT_wxUSE_STATBMP=no
11175     DEFAULT_wxUSE_STATBOX=no
11176     DEFAULT_wxUSE_STATLINE=no
11177     DEFAULT_wxUSE_STATUSBAR=no
11178     DEFAULT_wxUSE_TIMEPICKCTRL=no
11179     DEFAULT_wxUSE_TIPWINDOW=no
11180     DEFAULT_wxUSE_TOGGLEBTN=no
11181     DEFAULT_wxUSE_TOOLBAR=no
11182     DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11183     DEFAULT_wxUSE_TOOLBOOK=no
11184     DEFAULT_wxUSE_TOOLTIPS=no
11185     DEFAULT_wxUSE_TREEBOOK=no
11186     DEFAULT_wxUSE_TREECTRL=no
11187     DEFAULT_wxUSE_TREELISTCTRL=no
11188 fi
11189
11190
11191           enablestring=
11192           defaultval=$wxUSE_ALL_FEATURES
11193           if test -z "$defaultval"; then
11194               if test x"$enablestring" = xdisable; then
11195                   defaultval=yes
11196               else
11197                   defaultval=no
11198               fi
11199           fi
11200
11201           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11202 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11203           # Check whether --enable-markup was given.
11204 if test "${enable_markup+set}" = set; then :
11205   enableval=$enable_markup;
11206                           if test "$enableval" = yes; then
11207                             wx_cv_use_markup='wxUSE_MARKUP=yes'
11208                           else
11209                             wx_cv_use_markup='wxUSE_MARKUP=no'
11210                           fi
11211
11212 else
11213
11214                           wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11215
11216 fi
11217
11218
11219           eval "$wx_cv_use_markup"
11220
11221           if test x"$enablestring" = xdisable; then
11222             if test $wxUSE_MARKUP = no; then
11223               result=yes
11224             else
11225               result=no
11226             fi
11227           else
11228             result=$wxUSE_MARKUP
11229           fi
11230
11231           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11232 $as_echo "$result" >&6; }
11233
11234
11235
11236           enablestring=
11237           defaultval=$wxUSE_ALL_FEATURES
11238           if test -z "$defaultval"; then
11239               if test x"$enablestring" = xdisable; then
11240                   defaultval=yes
11241               else
11242                   defaultval=no
11243               fi
11244           fi
11245
11246           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11247 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11248           # Check whether --enable-accel was given.
11249 if test "${enable_accel+set}" = set; then :
11250   enableval=$enable_accel;
11251                           if test "$enableval" = yes; then
11252                             wx_cv_use_accel='wxUSE_ACCEL=yes'
11253                           else
11254                             wx_cv_use_accel='wxUSE_ACCEL=no'
11255                           fi
11256
11257 else
11258
11259                           wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11260
11261 fi
11262
11263
11264           eval "$wx_cv_use_accel"
11265
11266           if test x"$enablestring" = xdisable; then
11267             if test $wxUSE_ACCEL = no; then
11268               result=yes
11269             else
11270               result=no
11271             fi
11272           else
11273             result=$wxUSE_ACCEL
11274           fi
11275
11276           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11277 $as_echo "$result" >&6; }
11278
11279
11280           enablestring=
11281           defaultval=$wxUSE_ALL_FEATURES
11282           if test -z "$defaultval"; then
11283               if test x"$enablestring" = xdisable; then
11284                   defaultval=yes
11285               else
11286                   defaultval=no
11287               fi
11288           fi
11289
11290           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11291 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11292           # Check whether --enable-animatectrl was given.
11293 if test "${enable_animatectrl+set}" = set; then :
11294   enableval=$enable_animatectrl;
11295                           if test "$enableval" = yes; then
11296                             wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11297                           else
11298                             wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11299                           fi
11300
11301 else
11302
11303                           wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11304
11305 fi
11306
11307
11308           eval "$wx_cv_use_animatectrl"
11309
11310           if test x"$enablestring" = xdisable; then
11311             if test $wxUSE_ANIMATIONCTRL = no; then
11312               result=yes
11313             else
11314               result=no
11315             fi
11316           else
11317             result=$wxUSE_ANIMATIONCTRL
11318           fi
11319
11320           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11321 $as_echo "$result" >&6; }
11322
11323
11324           enablestring=
11325           defaultval=$wxUSE_ALL_FEATURES
11326           if test -z "$defaultval"; then
11327               if test x"$enablestring" = xdisable; then
11328                   defaultval=yes
11329               else
11330                   defaultval=no
11331               fi
11332           fi
11333
11334           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11335 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11336           # Check whether --enable-bannerwindow was given.
11337 if test "${enable_bannerwindow+set}" = set; then :
11338   enableval=$enable_bannerwindow;
11339                           if test "$enableval" = yes; then
11340                             wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11341                           else
11342                             wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11343                           fi
11344
11345 else
11346
11347                           wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11348
11349 fi
11350
11351
11352           eval "$wx_cv_use_bannerwindow"
11353
11354           if test x"$enablestring" = xdisable; then
11355             if test $wxUSE_BANNERWINDOW = no; then
11356               result=yes
11357             else
11358               result=no
11359             fi
11360           else
11361             result=$wxUSE_BANNERWINDOW
11362           fi
11363
11364           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11365 $as_echo "$result" >&6; }
11366
11367
11368           enablestring=
11369           defaultval=$wxUSE_ALL_FEATURES
11370           if test -z "$defaultval"; then
11371               if test x"$enablestring" = xdisable; then
11372                   defaultval=yes
11373               else
11374                   defaultval=no
11375               fi
11376           fi
11377
11378           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11379 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11380           # Check whether --enable-artstd was given.
11381 if test "${enable_artstd+set}" = set; then :
11382   enableval=$enable_artstd;
11383                           if test "$enableval" = yes; then
11384                             wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11385                           else
11386                             wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11387                           fi
11388
11389 else
11390
11391                           wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11392
11393 fi
11394
11395
11396           eval "$wx_cv_use_artstd"
11397
11398           if test x"$enablestring" = xdisable; then
11399             if test $wxUSE_ARTPROVIDER_STD = no; then
11400               result=yes
11401             else
11402               result=no
11403             fi
11404           else
11405             result=$wxUSE_ARTPROVIDER_STD
11406           fi
11407
11408           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11409 $as_echo "$result" >&6; }
11410
11411
11412           enablestring=
11413           defaultval=$wxUSE_ALL_FEATURES
11414           if test -z "$defaultval"; then
11415               if test x"$enablestring" = xdisable; then
11416                   defaultval=yes
11417               else
11418                   defaultval=no
11419               fi
11420           fi
11421
11422           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11423 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11424           # Check whether --enable-arttango was given.
11425 if test "${enable_arttango+set}" = set; then :
11426   enableval=$enable_arttango;
11427                           if test "$enableval" = yes; then
11428                             wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11429                           else
11430                             wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11431                           fi
11432
11433 else
11434
11435                           wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11436
11437 fi
11438
11439
11440           eval "$wx_cv_use_arttango"
11441
11442           if test x"$enablestring" = xdisable; then
11443             if test $wxUSE_ARTPROVIDER_TANGO = no; then
11444               result=yes
11445             else
11446               result=no
11447             fi
11448           else
11449             result=$wxUSE_ARTPROVIDER_TANGO
11450           fi
11451
11452           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11453 $as_echo "$result" >&6; }
11454
11455
11456           enablestring=
11457           defaultval=$wxUSE_ALL_FEATURES
11458           if test -z "$defaultval"; then
11459               if test x"$enablestring" = xdisable; then
11460                   defaultval=yes
11461               else
11462                   defaultval=no
11463               fi
11464           fi
11465
11466           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11467 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11468           # Check whether --enable-bmpbutton was given.
11469 if test "${enable_bmpbutton+set}" = set; then :
11470   enableval=$enable_bmpbutton;
11471                           if test "$enableval" = yes; then
11472                             wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11473                           else
11474                             wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11475                           fi
11476
11477 else
11478
11479                           wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11480
11481 fi
11482
11483
11484           eval "$wx_cv_use_bmpbutton"
11485
11486           if test x"$enablestring" = xdisable; then
11487             if test $wxUSE_BMPBUTTON = no; then
11488               result=yes
11489             else
11490               result=no
11491             fi
11492           else
11493             result=$wxUSE_BMPBUTTON
11494           fi
11495
11496           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11497 $as_echo "$result" >&6; }
11498
11499
11500           enablestring=
11501           defaultval=$wxUSE_ALL_FEATURES
11502           if test -z "$defaultval"; then
11503               if test x"$enablestring" = xdisable; then
11504                   defaultval=yes
11505               else
11506                   defaultval=no
11507               fi
11508           fi
11509
11510           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11511 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11512           # Check whether --enable-bmpcombobox was given.
11513 if test "${enable_bmpcombobox+set}" = set; then :
11514   enableval=$enable_bmpcombobox;
11515                           if test "$enableval" = yes; then
11516                             wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11517                           else
11518                             wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11519                           fi
11520
11521 else
11522
11523                           wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11524
11525 fi
11526
11527
11528           eval "$wx_cv_use_bmpcombobox"
11529
11530           if test x"$enablestring" = xdisable; then
11531             if test $wxUSE_BITMAPCOMBOBOX = no; then
11532               result=yes
11533             else
11534               result=no
11535             fi
11536           else
11537             result=$wxUSE_BITMAPCOMBOBOX
11538           fi
11539
11540           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11541 $as_echo "$result" >&6; }
11542
11543
11544           enablestring=
11545           defaultval=$wxUSE_ALL_FEATURES
11546           if test -z "$defaultval"; then
11547               if test x"$enablestring" = xdisable; then
11548                   defaultval=yes
11549               else
11550                   defaultval=no
11551               fi
11552           fi
11553
11554           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11555 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11556           # Check whether --enable-button was given.
11557 if test "${enable_button+set}" = set; then :
11558   enableval=$enable_button;
11559                           if test "$enableval" = yes; then
11560                             wx_cv_use_button='wxUSE_BUTTON=yes'
11561                           else
11562                             wx_cv_use_button='wxUSE_BUTTON=no'
11563                           fi
11564
11565 else
11566
11567                           wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11568
11569 fi
11570
11571
11572           eval "$wx_cv_use_button"
11573
11574           if test x"$enablestring" = xdisable; then
11575             if test $wxUSE_BUTTON = no; then
11576               result=yes
11577             else
11578               result=no
11579             fi
11580           else
11581             result=$wxUSE_BUTTON
11582           fi
11583
11584           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11585 $as_echo "$result" >&6; }
11586
11587
11588           enablestring=
11589           defaultval=$wxUSE_ALL_FEATURES
11590           if test -z "$defaultval"; then
11591               if test x"$enablestring" = xdisable; then
11592                   defaultval=yes
11593               else
11594                   defaultval=no
11595               fi
11596           fi
11597
11598           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11599 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11600           # Check whether --enable-calendar was given.
11601 if test "${enable_calendar+set}" = set; then :
11602   enableval=$enable_calendar;
11603                           if test "$enableval" = yes; then
11604                             wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11605                           else
11606                             wx_cv_use_calendar='wxUSE_CALCTRL=no'
11607                           fi
11608
11609 else
11610
11611                           wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11612
11613 fi
11614
11615
11616           eval "$wx_cv_use_calendar"
11617
11618           if test x"$enablestring" = xdisable; then
11619             if test $wxUSE_CALCTRL = no; then
11620               result=yes
11621             else
11622               result=no
11623             fi
11624           else
11625             result=$wxUSE_CALCTRL
11626           fi
11627
11628           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11629 $as_echo "$result" >&6; }
11630
11631
11632           enablestring=
11633           defaultval=$wxUSE_ALL_FEATURES
11634           if test -z "$defaultval"; then
11635               if test x"$enablestring" = xdisable; then
11636                   defaultval=yes
11637               else
11638                   defaultval=no
11639               fi
11640           fi
11641
11642           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11643 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11644           # Check whether --enable-caret was given.
11645 if test "${enable_caret+set}" = set; then :
11646   enableval=$enable_caret;
11647                           if test "$enableval" = yes; then
11648                             wx_cv_use_caret='wxUSE_CARET=yes'
11649                           else
11650                             wx_cv_use_caret='wxUSE_CARET=no'
11651                           fi
11652
11653 else
11654
11655                           wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11656
11657 fi
11658
11659
11660           eval "$wx_cv_use_caret"
11661
11662           if test x"$enablestring" = xdisable; then
11663             if test $wxUSE_CARET = no; then
11664               result=yes
11665             else
11666               result=no
11667             fi
11668           else
11669             result=$wxUSE_CARET
11670           fi
11671
11672           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11673 $as_echo "$result" >&6; }
11674
11675
11676           enablestring=
11677           defaultval=$wxUSE_ALL_FEATURES
11678           if test -z "$defaultval"; then
11679               if test x"$enablestring" = xdisable; then
11680                   defaultval=yes
11681               else
11682                   defaultval=no
11683               fi
11684           fi
11685
11686           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11687 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11688           # Check whether --enable-checkbox was given.
11689 if test "${enable_checkbox+set}" = set; then :
11690   enableval=$enable_checkbox;
11691                           if test "$enableval" = yes; then
11692                             wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11693                           else
11694                             wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11695                           fi
11696
11697 else
11698
11699                           wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11700
11701 fi
11702
11703
11704           eval "$wx_cv_use_checkbox"
11705
11706           if test x"$enablestring" = xdisable; then
11707             if test $wxUSE_CHECKBOX = no; then
11708               result=yes
11709             else
11710               result=no
11711             fi
11712           else
11713             result=$wxUSE_CHECKBOX
11714           fi
11715
11716           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11717 $as_echo "$result" >&6; }
11718
11719
11720           enablestring=
11721           defaultval=$wxUSE_ALL_FEATURES
11722           if test -z "$defaultval"; then
11723               if test x"$enablestring" = xdisable; then
11724                   defaultval=yes
11725               else
11726                   defaultval=no
11727               fi
11728           fi
11729
11730           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11731 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11732           # Check whether --enable-checklst was given.
11733 if test "${enable_checklst+set}" = set; then :
11734   enableval=$enable_checklst;
11735                           if test "$enableval" = yes; then
11736                             wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11737                           else
11738                             wx_cv_use_checklst='wxUSE_CHECKLST=no'
11739                           fi
11740
11741 else
11742
11743                           wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11744
11745 fi
11746
11747
11748           eval "$wx_cv_use_checklst"
11749
11750           if test x"$enablestring" = xdisable; then
11751             if test $wxUSE_CHECKLST = no; then
11752               result=yes
11753             else
11754               result=no
11755             fi
11756           else
11757             result=$wxUSE_CHECKLST
11758           fi
11759
11760           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11761 $as_echo "$result" >&6; }
11762
11763
11764           enablestring=
11765           defaultval=$wxUSE_ALL_FEATURES
11766           if test -z "$defaultval"; then
11767               if test x"$enablestring" = xdisable; then
11768                   defaultval=yes
11769               else
11770                   defaultval=no
11771               fi
11772           fi
11773
11774           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11775 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11776           # Check whether --enable-choice was given.
11777 if test "${enable_choice+set}" = set; then :
11778   enableval=$enable_choice;
11779                           if test "$enableval" = yes; then
11780                             wx_cv_use_choice='wxUSE_CHOICE=yes'
11781                           else
11782                             wx_cv_use_choice='wxUSE_CHOICE=no'
11783                           fi
11784
11785 else
11786
11787                           wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11788
11789 fi
11790
11791
11792           eval "$wx_cv_use_choice"
11793
11794           if test x"$enablestring" = xdisable; then
11795             if test $wxUSE_CHOICE = no; then
11796               result=yes
11797             else
11798               result=no
11799             fi
11800           else
11801             result=$wxUSE_CHOICE
11802           fi
11803
11804           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11805 $as_echo "$result" >&6; }
11806
11807
11808           enablestring=
11809           defaultval=$wxUSE_ALL_FEATURES
11810           if test -z "$defaultval"; then
11811               if test x"$enablestring" = xdisable; then
11812                   defaultval=yes
11813               else
11814                   defaultval=no
11815               fi
11816           fi
11817
11818           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11819 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11820           # Check whether --enable-choicebook was given.
11821 if test "${enable_choicebook+set}" = set; then :
11822   enableval=$enable_choicebook;
11823                           if test "$enableval" = yes; then
11824                             wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11825                           else
11826                             wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11827                           fi
11828
11829 else
11830
11831                           wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11832
11833 fi
11834
11835
11836           eval "$wx_cv_use_choicebook"
11837
11838           if test x"$enablestring" = xdisable; then
11839             if test $wxUSE_CHOICEBOOK = no; then
11840               result=yes
11841             else
11842               result=no
11843             fi
11844           else
11845             result=$wxUSE_CHOICEBOOK
11846           fi
11847
11848           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11849 $as_echo "$result" >&6; }
11850
11851
11852           enablestring=
11853           defaultval=$wxUSE_ALL_FEATURES
11854           if test -z "$defaultval"; then
11855               if test x"$enablestring" = xdisable; then
11856                   defaultval=yes
11857               else
11858                   defaultval=no
11859               fi
11860           fi
11861
11862           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11863 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11864           # Check whether --enable-collpane was given.
11865 if test "${enable_collpane+set}" = set; then :
11866   enableval=$enable_collpane;
11867                           if test "$enableval" = yes; then
11868                             wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11869                           else
11870                             wx_cv_use_collpane='wxUSE_COLLPANE=no'
11871                           fi
11872
11873 else
11874
11875                           wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11876
11877 fi
11878
11879
11880           eval "$wx_cv_use_collpane"
11881
11882           if test x"$enablestring" = xdisable; then
11883             if test $wxUSE_COLLPANE = no; then
11884               result=yes
11885             else
11886               result=no
11887             fi
11888           else
11889             result=$wxUSE_COLLPANE
11890           fi
11891
11892           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11893 $as_echo "$result" >&6; }
11894
11895
11896           enablestring=
11897           defaultval=$wxUSE_ALL_FEATURES
11898           if test -z "$defaultval"; then
11899               if test x"$enablestring" = xdisable; then
11900                   defaultval=yes
11901               else
11902                   defaultval=no
11903               fi
11904           fi
11905
11906           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11907 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11908           # Check whether --enable-colourpicker was given.
11909 if test "${enable_colourpicker+set}" = set; then :
11910   enableval=$enable_colourpicker;
11911                           if test "$enableval" = yes; then
11912                             wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11913                           else
11914                             wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11915                           fi
11916
11917 else
11918
11919                           wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11920
11921 fi
11922
11923
11924           eval "$wx_cv_use_colourpicker"
11925
11926           if test x"$enablestring" = xdisable; then
11927             if test $wxUSE_COLOURPICKERCTRL = no; then
11928               result=yes
11929             else
11930               result=no
11931             fi
11932           else
11933             result=$wxUSE_COLOURPICKERCTRL
11934           fi
11935
11936           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11937 $as_echo "$result" >&6; }
11938
11939
11940           enablestring=
11941           defaultval=$wxUSE_ALL_FEATURES
11942           if test -z "$defaultval"; then
11943               if test x"$enablestring" = xdisable; then
11944                   defaultval=yes
11945               else
11946                   defaultval=no
11947               fi
11948           fi
11949
11950           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11951 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11952           # Check whether --enable-combobox was given.
11953 if test "${enable_combobox+set}" = set; then :
11954   enableval=$enable_combobox;
11955                           if test "$enableval" = yes; then
11956                             wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11957                           else
11958                             wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11959                           fi
11960
11961 else
11962
11963                           wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11964
11965 fi
11966
11967
11968           eval "$wx_cv_use_combobox"
11969
11970           if test x"$enablestring" = xdisable; then
11971             if test $wxUSE_COMBOBOX = no; then
11972               result=yes
11973             else
11974               result=no
11975             fi
11976           else
11977             result=$wxUSE_COMBOBOX
11978           fi
11979
11980           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11981 $as_echo "$result" >&6; }
11982
11983
11984           enablestring=
11985           defaultval=$wxUSE_ALL_FEATURES
11986           if test -z "$defaultval"; then
11987               if test x"$enablestring" = xdisable; then
11988                   defaultval=yes
11989               else
11990                   defaultval=no
11991               fi
11992           fi
11993
11994           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11995 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11996           # Check whether --enable-comboctrl was given.
11997 if test "${enable_comboctrl+set}" = set; then :
11998   enableval=$enable_comboctrl;
11999                           if test "$enableval" = yes; then
12000                             wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
12001                           else
12002                             wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
12003                           fi
12004
12005 else
12006
12007                           wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
12008
12009 fi
12010
12011
12012           eval "$wx_cv_use_comboctrl"
12013
12014           if test x"$enablestring" = xdisable; then
12015             if test $wxUSE_COMBOCTRL = no; then
12016               result=yes
12017             else
12018               result=no
12019             fi
12020           else
12021             result=$wxUSE_COMBOCTRL
12022           fi
12023
12024           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12025 $as_echo "$result" >&6; }
12026
12027
12028           enablestring=
12029           defaultval=$wxUSE_ALL_FEATURES
12030           if test -z "$defaultval"; then
12031               if test x"$enablestring" = xdisable; then
12032                   defaultval=yes
12033               else
12034                   defaultval=no
12035               fi
12036           fi
12037
12038           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
12039 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
12040           # Check whether --enable-commandlinkbutton was given.
12041 if test "${enable_commandlinkbutton+set}" = set; then :
12042   enableval=$enable_commandlinkbutton;
12043                           if test "$enableval" = yes; then
12044                             wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
12045                           else
12046                             wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
12047                           fi
12048
12049 else
12050
12051                           wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
12052
12053 fi
12054
12055
12056           eval "$wx_cv_use_commandlinkbutton"
12057
12058           if test x"$enablestring" = xdisable; then
12059             if test $wxUSE_COMMANDLINKBUTTON = no; then
12060               result=yes
12061             else
12062               result=no
12063             fi
12064           else
12065             result=$wxUSE_COMMANDLINKBUTTON
12066           fi
12067
12068           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12069 $as_echo "$result" >&6; }
12070
12071
12072           enablestring=
12073           defaultval=$wxUSE_ALL_FEATURES
12074           if test -z "$defaultval"; then
12075               if test x"$enablestring" = xdisable; then
12076                   defaultval=yes
12077               else
12078                   defaultval=no
12079               fi
12080           fi
12081
12082           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
12083 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
12084           # Check whether --enable-dataviewctrl was given.
12085 if test "${enable_dataviewctrl+set}" = set; then :
12086   enableval=$enable_dataviewctrl;
12087                           if test "$enableval" = yes; then
12088                             wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12089                           else
12090                             wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12091                           fi
12092
12093 else
12094
12095                           wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12096
12097 fi
12098
12099
12100           eval "$wx_cv_use_dataviewctrl"
12101
12102           if test x"$enablestring" = xdisable; then
12103             if test $wxUSE_DATAVIEWCTRL = no; then
12104               result=yes
12105             else
12106               result=no
12107             fi
12108           else
12109             result=$wxUSE_DATAVIEWCTRL
12110           fi
12111
12112           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12113 $as_echo "$result" >&6; }
12114
12115
12116           enablestring=
12117           defaultval=$wxUSE_ALL_FEATURES
12118           if test -z "$defaultval"; then
12119               if test x"$enablestring" = xdisable; then
12120                   defaultval=yes
12121               else
12122                   defaultval=no
12123               fi
12124           fi
12125
12126           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
12127 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
12128           # Check whether --enable-datepick was given.
12129 if test "${enable_datepick+set}" = set; then :
12130   enableval=$enable_datepick;
12131                           if test "$enableval" = yes; then
12132                             wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
12133                           else
12134                             wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
12135                           fi
12136
12137 else
12138
12139                           wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12140
12141 fi
12142
12143
12144           eval "$wx_cv_use_datepick"
12145
12146           if test x"$enablestring" = xdisable; then
12147             if test $wxUSE_DATEPICKCTRL = no; then
12148               result=yes
12149             else
12150               result=no
12151             fi
12152           else
12153             result=$wxUSE_DATEPICKCTRL
12154           fi
12155
12156           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12157 $as_echo "$result" >&6; }
12158
12159
12160           enablestring=
12161           defaultval=$wxUSE_ALL_FEATURES
12162           if test -z "$defaultval"; then
12163               if test x"$enablestring" = xdisable; then
12164                   defaultval=yes
12165               else
12166                   defaultval=no
12167               fi
12168           fi
12169
12170           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12171 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12172           # Check whether --enable-detect_sm was given.
12173 if test "${enable_detect_sm+set}" = set; then :
12174   enableval=$enable_detect_sm;
12175                           if test "$enableval" = yes; then
12176                             wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12177                           else
12178                             wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12179                           fi
12180
12181 else
12182
12183                           wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12184
12185 fi
12186
12187
12188           eval "$wx_cv_use_detect_sm"
12189
12190           if test x"$enablestring" = xdisable; then
12191             if test $wxUSE_DETECT_SM = no; then
12192               result=yes
12193             else
12194               result=no
12195             fi
12196           else
12197             result=$wxUSE_DETECT_SM
12198           fi
12199
12200           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12201 $as_echo "$result" >&6; }
12202
12203
12204           enablestring=
12205           defaultval=$wxUSE_ALL_FEATURES
12206           if test -z "$defaultval"; then
12207               if test x"$enablestring" = xdisable; then
12208                   defaultval=yes
12209               else
12210                   defaultval=no
12211               fi
12212           fi
12213
12214           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12215 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12216           # Check whether --enable-dirpicker was given.
12217 if test "${enable_dirpicker+set}" = set; then :
12218   enableval=$enable_dirpicker;
12219                           if test "$enableval" = yes; then
12220                             wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12221                           else
12222                             wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12223                           fi
12224
12225 else
12226
12227                           wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12228
12229 fi
12230
12231
12232           eval "$wx_cv_use_dirpicker"
12233
12234           if test x"$enablestring" = xdisable; then
12235             if test $wxUSE_DIRPICKERCTRL = no; then
12236               result=yes
12237             else
12238               result=no
12239             fi
12240           else
12241             result=$wxUSE_DIRPICKERCTRL
12242           fi
12243
12244           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12245 $as_echo "$result" >&6; }
12246
12247
12248           enablestring=
12249           defaultval=$wxUSE_ALL_FEATURES
12250           if test -z "$defaultval"; then
12251               if test x"$enablestring" = xdisable; then
12252                   defaultval=yes
12253               else
12254                   defaultval=no
12255               fi
12256           fi
12257
12258           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12259 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12260           # Check whether --enable-display was given.
12261 if test "${enable_display+set}" = set; then :
12262   enableval=$enable_display;
12263                           if test "$enableval" = yes; then
12264                             wx_cv_use_display='wxUSE_DISPLAY=yes'
12265                           else
12266                             wx_cv_use_display='wxUSE_DISPLAY=no'
12267                           fi
12268
12269 else
12270
12271                           wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12272
12273 fi
12274
12275
12276           eval "$wx_cv_use_display"
12277
12278           if test x"$enablestring" = xdisable; then
12279             if test $wxUSE_DISPLAY = no; then
12280               result=yes
12281             else
12282               result=no
12283             fi
12284           else
12285             result=$wxUSE_DISPLAY
12286           fi
12287
12288           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12289 $as_echo "$result" >&6; }
12290
12291
12292           enablestring=
12293           defaultval=$wxUSE_ALL_FEATURES
12294           if test -z "$defaultval"; then
12295               if test x"$enablestring" = xdisable; then
12296                   defaultval=yes
12297               else
12298                   defaultval=no
12299               fi
12300           fi
12301
12302           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12303 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12304           # Check whether --enable-editablebox was given.
12305 if test "${enable_editablebox+set}" = set; then :
12306   enableval=$enable_editablebox;
12307                           if test "$enableval" = yes; then
12308                             wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12309                           else
12310                             wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12311                           fi
12312
12313 else
12314
12315                           wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12316
12317 fi
12318
12319
12320           eval "$wx_cv_use_editablebox"
12321
12322           if test x"$enablestring" = xdisable; then
12323             if test $wxUSE_EDITABLELISTBOX = no; then
12324               result=yes
12325             else
12326               result=no
12327             fi
12328           else
12329             result=$wxUSE_EDITABLELISTBOX
12330           fi
12331
12332           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12333 $as_echo "$result" >&6; }
12334
12335
12336           enablestring=
12337           defaultval=$wxUSE_ALL_FEATURES
12338           if test -z "$defaultval"; then
12339               if test x"$enablestring" = xdisable; then
12340                   defaultval=yes
12341               else
12342                   defaultval=no
12343               fi
12344           fi
12345
12346           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12347 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12348           # Check whether --enable-filectrl was given.
12349 if test "${enable_filectrl+set}" = set; then :
12350   enableval=$enable_filectrl;
12351                           if test "$enableval" = yes; then
12352                             wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12353                           else
12354                             wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12355                           fi
12356
12357 else
12358
12359                           wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12360
12361 fi
12362
12363
12364           eval "$wx_cv_use_filectrl"
12365
12366           if test x"$enablestring" = xdisable; then
12367             if test $wxUSE_FILECTRL = no; then
12368               result=yes
12369             else
12370               result=no
12371             fi
12372           else
12373             result=$wxUSE_FILECTRL
12374           fi
12375
12376           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12377 $as_echo "$result" >&6; }
12378
12379
12380           enablestring=
12381           defaultval=$wxUSE_ALL_FEATURES
12382           if test -z "$defaultval"; then
12383               if test x"$enablestring" = xdisable; then
12384                   defaultval=yes
12385               else
12386                   defaultval=no
12387               fi
12388           fi
12389
12390           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12391 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12392           # Check whether --enable-filepicker was given.
12393 if test "${enable_filepicker+set}" = set; then :
12394   enableval=$enable_filepicker;
12395                           if test "$enableval" = yes; then
12396                             wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12397                           else
12398                             wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12399                           fi
12400
12401 else
12402
12403                           wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12404
12405 fi
12406
12407
12408           eval "$wx_cv_use_filepicker"
12409
12410           if test x"$enablestring" = xdisable; then
12411             if test $wxUSE_FILEPICKERCTRL = no; then
12412               result=yes
12413             else
12414               result=no
12415             fi
12416           else
12417             result=$wxUSE_FILEPICKERCTRL
12418           fi
12419
12420           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12421 $as_echo "$result" >&6; }
12422
12423
12424           enablestring=
12425           defaultval=$wxUSE_ALL_FEATURES
12426           if test -z "$defaultval"; then
12427               if test x"$enablestring" = xdisable; then
12428                   defaultval=yes
12429               else
12430                   defaultval=no
12431               fi
12432           fi
12433
12434           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12435 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12436           # Check whether --enable-fontpicker was given.
12437 if test "${enable_fontpicker+set}" = set; then :
12438   enableval=$enable_fontpicker;
12439                           if test "$enableval" = yes; then
12440                             wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12441                           else
12442                             wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12443                           fi
12444
12445 else
12446
12447                           wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12448
12449 fi
12450
12451
12452           eval "$wx_cv_use_fontpicker"
12453
12454           if test x"$enablestring" = xdisable; then
12455             if test $wxUSE_FONTPICKERCTRL = no; then
12456               result=yes
12457             else
12458               result=no
12459             fi
12460           else
12461             result=$wxUSE_FONTPICKERCTRL
12462           fi
12463
12464           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12465 $as_echo "$result" >&6; }
12466
12467
12468           enablestring=
12469           defaultval=$wxUSE_ALL_FEATURES
12470           if test -z "$defaultval"; then
12471               if test x"$enablestring" = xdisable; then
12472                   defaultval=yes
12473               else
12474                   defaultval=no
12475               fi
12476           fi
12477
12478           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12479 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12480           # Check whether --enable-gauge was given.
12481 if test "${enable_gauge+set}" = set; then :
12482   enableval=$enable_gauge;
12483                           if test "$enableval" = yes; then
12484                             wx_cv_use_gauge='wxUSE_GAUGE=yes'
12485                           else
12486                             wx_cv_use_gauge='wxUSE_GAUGE=no'
12487                           fi
12488
12489 else
12490
12491                           wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12492
12493 fi
12494
12495
12496           eval "$wx_cv_use_gauge"
12497
12498           if test x"$enablestring" = xdisable; then
12499             if test $wxUSE_GAUGE = no; then
12500               result=yes
12501             else
12502               result=no
12503             fi
12504           else
12505             result=$wxUSE_GAUGE
12506           fi
12507
12508           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12509 $as_echo "$result" >&6; }
12510
12511
12512           enablestring=
12513           defaultval=$wxUSE_ALL_FEATURES
12514           if test -z "$defaultval"; then
12515               if test x"$enablestring" = xdisable; then
12516                   defaultval=yes
12517               else
12518                   defaultval=no
12519               fi
12520           fi
12521
12522           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12523 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12524           # Check whether --enable-grid was given.
12525 if test "${enable_grid+set}" = set; then :
12526   enableval=$enable_grid;
12527                           if test "$enableval" = yes; then
12528                             wx_cv_use_grid='wxUSE_GRID=yes'
12529                           else
12530                             wx_cv_use_grid='wxUSE_GRID=no'
12531                           fi
12532
12533 else
12534
12535                           wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12536
12537 fi
12538
12539
12540           eval "$wx_cv_use_grid"
12541
12542           if test x"$enablestring" = xdisable; then
12543             if test $wxUSE_GRID = no; then
12544               result=yes
12545             else
12546               result=no
12547             fi
12548           else
12549             result=$wxUSE_GRID
12550           fi
12551
12552           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12553 $as_echo "$result" >&6; }
12554
12555
12556           enablestring=
12557           defaultval=$wxUSE_ALL_FEATURES
12558           if test -z "$defaultval"; then
12559               if test x"$enablestring" = xdisable; then
12560                   defaultval=yes
12561               else
12562                   defaultval=no
12563               fi
12564           fi
12565
12566           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12567 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12568           # Check whether --enable-headerctrl was given.
12569 if test "${enable_headerctrl+set}" = set; then :
12570   enableval=$enable_headerctrl;
12571                           if test "$enableval" = yes; then
12572                             wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12573                           else
12574                             wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12575                           fi
12576
12577 else
12578
12579                           wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12580
12581 fi
12582
12583
12584           eval "$wx_cv_use_headerctrl"
12585
12586           if test x"$enablestring" = xdisable; then
12587             if test $wxUSE_HEADERCTRL = no; then
12588               result=yes
12589             else
12590               result=no
12591             fi
12592           else
12593             result=$wxUSE_HEADERCTRL
12594           fi
12595
12596           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12597 $as_echo "$result" >&6; }
12598
12599
12600           enablestring=
12601           defaultval=$wxUSE_ALL_FEATURES
12602           if test -z "$defaultval"; then
12603               if test x"$enablestring" = xdisable; then
12604                   defaultval=yes
12605               else
12606                   defaultval=no
12607               fi
12608           fi
12609
12610           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12611 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12612           # Check whether --enable-hyperlink was given.
12613 if test "${enable_hyperlink+set}" = set; then :
12614   enableval=$enable_hyperlink;
12615                           if test "$enableval" = yes; then
12616                             wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12617                           else
12618                             wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12619                           fi
12620
12621 else
12622
12623                           wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12624
12625 fi
12626
12627
12628           eval "$wx_cv_use_hyperlink"
12629
12630           if test x"$enablestring" = xdisable; then
12631             if test $wxUSE_HYPERLINKCTRL = no; then
12632               result=yes
12633             else
12634               result=no
12635             fi
12636           else
12637             result=$wxUSE_HYPERLINKCTRL
12638           fi
12639
12640           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12641 $as_echo "$result" >&6; }
12642
12643
12644           enablestring=
12645           defaultval=$wxUSE_ALL_FEATURES
12646           if test -z "$defaultval"; then
12647               if test x"$enablestring" = xdisable; then
12648                   defaultval=yes
12649               else
12650                   defaultval=no
12651               fi
12652           fi
12653
12654           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12655 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12656           # Check whether --enable-imaglist was given.
12657 if test "${enable_imaglist+set}" = set; then :
12658   enableval=$enable_imaglist;
12659                           if test "$enableval" = yes; then
12660                             wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12661                           else
12662                             wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12663                           fi
12664
12665 else
12666
12667                           wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12668
12669 fi
12670
12671
12672           eval "$wx_cv_use_imaglist"
12673
12674           if test x"$enablestring" = xdisable; then
12675             if test $wxUSE_IMAGLIST = no; then
12676               result=yes
12677             else
12678               result=no
12679             fi
12680           else
12681             result=$wxUSE_IMAGLIST
12682           fi
12683
12684           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12685 $as_echo "$result" >&6; }
12686
12687
12688           enablestring=
12689           defaultval=$wxUSE_ALL_FEATURES
12690           if test -z "$defaultval"; then
12691               if test x"$enablestring" = xdisable; then
12692                   defaultval=yes
12693               else
12694                   defaultval=no
12695               fi
12696           fi
12697
12698           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12699 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12700           # Check whether --enable-infobar was given.
12701 if test "${enable_infobar+set}" = set; then :
12702   enableval=$enable_infobar;
12703                           if test "$enableval" = yes; then
12704                             wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12705                           else
12706                             wx_cv_use_infobar='wxUSE_INFOBAR=no'
12707                           fi
12708
12709 else
12710
12711                           wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12712
12713 fi
12714
12715
12716           eval "$wx_cv_use_infobar"
12717
12718           if test x"$enablestring" = xdisable; then
12719             if test $wxUSE_INFOBAR = no; then
12720               result=yes
12721             else
12722               result=no
12723             fi
12724           else
12725             result=$wxUSE_INFOBAR
12726           fi
12727
12728           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12729 $as_echo "$result" >&6; }
12730
12731
12732           enablestring=
12733           defaultval=$wxUSE_ALL_FEATURES
12734           if test -z "$defaultval"; then
12735               if test x"$enablestring" = xdisable; then
12736                   defaultval=yes
12737               else
12738                   defaultval=no
12739               fi
12740           fi
12741
12742           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12743 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12744           # Check whether --enable-listbook was given.
12745 if test "${enable_listbook+set}" = set; then :
12746   enableval=$enable_listbook;
12747                           if test "$enableval" = yes; then
12748                             wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12749                           else
12750                             wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12751                           fi
12752
12753 else
12754
12755                           wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12756
12757 fi
12758
12759
12760           eval "$wx_cv_use_listbook"
12761
12762           if test x"$enablestring" = xdisable; then
12763             if test $wxUSE_LISTBOOK = no; then
12764               result=yes
12765             else
12766               result=no
12767             fi
12768           else
12769             result=$wxUSE_LISTBOOK
12770           fi
12771
12772           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12773 $as_echo "$result" >&6; }
12774
12775
12776           enablestring=
12777           defaultval=$wxUSE_ALL_FEATURES
12778           if test -z "$defaultval"; then
12779               if test x"$enablestring" = xdisable; then
12780                   defaultval=yes
12781               else
12782                   defaultval=no
12783               fi
12784           fi
12785
12786           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12787 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12788           # Check whether --enable-listbox was given.
12789 if test "${enable_listbox+set}" = set; then :
12790   enableval=$enable_listbox;
12791                           if test "$enableval" = yes; then
12792                             wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12793                           else
12794                             wx_cv_use_listbox='wxUSE_LISTBOX=no'
12795                           fi
12796
12797 else
12798
12799                           wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12800
12801 fi
12802
12803
12804           eval "$wx_cv_use_listbox"
12805
12806           if test x"$enablestring" = xdisable; then
12807             if test $wxUSE_LISTBOX = no; then
12808               result=yes
12809             else
12810               result=no
12811             fi
12812           else
12813             result=$wxUSE_LISTBOX
12814           fi
12815
12816           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12817 $as_echo "$result" >&6; }
12818
12819
12820           enablestring=
12821           defaultval=$wxUSE_ALL_FEATURES
12822           if test -z "$defaultval"; then
12823               if test x"$enablestring" = xdisable; then
12824                   defaultval=yes
12825               else
12826                   defaultval=no
12827               fi
12828           fi
12829
12830           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12831 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12832           # Check whether --enable-listctrl was given.
12833 if test "${enable_listctrl+set}" = set; then :
12834   enableval=$enable_listctrl;
12835                           if test "$enableval" = yes; then
12836                             wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12837                           else
12838                             wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12839                           fi
12840
12841 else
12842
12843                           wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12844
12845 fi
12846
12847
12848           eval "$wx_cv_use_listctrl"
12849
12850           if test x"$enablestring" = xdisable; then
12851             if test $wxUSE_LISTCTRL = no; then
12852               result=yes
12853             else
12854               result=no
12855             fi
12856           else
12857             result=$wxUSE_LISTCTRL
12858           fi
12859
12860           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12861 $as_echo "$result" >&6; }
12862
12863
12864           enablestring=
12865           defaultval=$wxUSE_ALL_FEATURES
12866           if test -z "$defaultval"; then
12867               if test x"$enablestring" = xdisable; then
12868                   defaultval=yes
12869               else
12870                   defaultval=no
12871               fi
12872           fi
12873
12874           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12875 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12876           # Check whether --enable-notebook was given.
12877 if test "${enable_notebook+set}" = set; then :
12878   enableval=$enable_notebook;
12879                           if test "$enableval" = yes; then
12880                             wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12881                           else
12882                             wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12883                           fi
12884
12885 else
12886
12887                           wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12888
12889 fi
12890
12891
12892           eval "$wx_cv_use_notebook"
12893
12894           if test x"$enablestring" = xdisable; then
12895             if test $wxUSE_NOTEBOOK = no; then
12896               result=yes
12897             else
12898               result=no
12899             fi
12900           else
12901             result=$wxUSE_NOTEBOOK
12902           fi
12903
12904           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12905 $as_echo "$result" >&6; }
12906
12907
12908           enablestring=
12909           defaultval=$wxUSE_ALL_FEATURES
12910           if test -z "$defaultval"; then
12911               if test x"$enablestring" = xdisable; then
12912                   defaultval=yes
12913               else
12914                   defaultval=no
12915               fi
12916           fi
12917
12918           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12919 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12920           # Check whether --enable-notifmsg was given.
12921 if test "${enable_notifmsg+set}" = set; then :
12922   enableval=$enable_notifmsg;
12923                           if test "$enableval" = yes; then
12924                             wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12925                           else
12926                             wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12927                           fi
12928
12929 else
12930
12931                           wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12932
12933 fi
12934
12935
12936           eval "$wx_cv_use_notifmsg"
12937
12938           if test x"$enablestring" = xdisable; then
12939             if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12940               result=yes
12941             else
12942               result=no
12943             fi
12944           else
12945             result=$wxUSE_NOTIFICATION_MESSAGE
12946           fi
12947
12948           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12949 $as_echo "$result" >&6; }
12950
12951
12952           enablestring=
12953           defaultval=$wxUSE_ALL_FEATURES
12954           if test -z "$defaultval"; then
12955               if test x"$enablestring" = xdisable; then
12956                   defaultval=yes
12957               else
12958                   defaultval=no
12959               fi
12960           fi
12961
12962           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12963 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12964           # Check whether --enable-odcombobox was given.
12965 if test "${enable_odcombobox+set}" = set; then :
12966   enableval=$enable_odcombobox;
12967                           if test "$enableval" = yes; then
12968                             wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12969                           else
12970                             wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12971                           fi
12972
12973 else
12974
12975                           wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12976
12977 fi
12978
12979
12980           eval "$wx_cv_use_odcombobox"
12981
12982           if test x"$enablestring" = xdisable; then
12983             if test $wxUSE_ODCOMBOBOX = no; then
12984               result=yes
12985             else
12986               result=no
12987             fi
12988           else
12989             result=$wxUSE_ODCOMBOBOX
12990           fi
12991
12992           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12993 $as_echo "$result" >&6; }
12994
12995
12996           enablestring=
12997           defaultval=$wxUSE_ALL_FEATURES
12998           if test -z "$defaultval"; then
12999               if test x"$enablestring" = xdisable; then
13000                   defaultval=yes
13001               else
13002                   defaultval=no
13003               fi
13004           fi
13005
13006           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
13007 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
13008           # Check whether --enable-popupwin was given.
13009 if test "${enable_popupwin+set}" = set; then :
13010   enableval=$enable_popupwin;
13011                           if test "$enableval" = yes; then
13012                             wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13013                           else
13014                             wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13015                           fi
13016
13017 else
13018
13019                           wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13020
13021 fi
13022
13023
13024           eval "$wx_cv_use_popupwin"
13025
13026           if test x"$enablestring" = xdisable; then
13027             if test $wxUSE_POPUPWIN = no; then
13028               result=yes
13029             else
13030               result=no
13031             fi
13032           else
13033             result=$wxUSE_POPUPWIN
13034           fi
13035
13036           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13037 $as_echo "$result" >&6; }
13038
13039
13040           enablestring=
13041           defaultval=$wxUSE_ALL_FEATURES
13042           if test -z "$defaultval"; then
13043               if test x"$enablestring" = xdisable; then
13044                   defaultval=yes
13045               else
13046                   defaultval=no
13047               fi
13048           fi
13049
13050           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
13051 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
13052           # Check whether --enable-radiobox was given.
13053 if test "${enable_radiobox+set}" = set; then :
13054   enableval=$enable_radiobox;
13055                           if test "$enableval" = yes; then
13056                             wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
13057                           else
13058                             wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
13059                           fi
13060
13061 else
13062
13063                           wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
13064
13065 fi
13066
13067
13068           eval "$wx_cv_use_radiobox"
13069
13070           if test x"$enablestring" = xdisable; then
13071             if test $wxUSE_RADIOBOX = no; then
13072               result=yes
13073             else
13074               result=no
13075             fi
13076           else
13077             result=$wxUSE_RADIOBOX
13078           fi
13079
13080           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13081 $as_echo "$result" >&6; }
13082
13083
13084           enablestring=
13085           defaultval=$wxUSE_ALL_FEATURES
13086           if test -z "$defaultval"; then
13087               if test x"$enablestring" = xdisable; then
13088                   defaultval=yes
13089               else
13090                   defaultval=no
13091               fi
13092           fi
13093
13094           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
13095 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
13096           # Check whether --enable-radiobtn was given.
13097 if test "${enable_radiobtn+set}" = set; then :
13098   enableval=$enable_radiobtn;
13099                           if test "$enableval" = yes; then
13100                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
13101                           else
13102                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
13103                           fi
13104
13105 else
13106
13107                           wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
13108
13109 fi
13110
13111
13112           eval "$wx_cv_use_radiobtn"
13113
13114           if test x"$enablestring" = xdisable; then
13115             if test $wxUSE_RADIOBTN = no; then
13116               result=yes
13117             else
13118               result=no
13119             fi
13120           else
13121             result=$wxUSE_RADIOBTN
13122           fi
13123
13124           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13125 $as_echo "$result" >&6; }
13126
13127
13128           enablestring=
13129           defaultval=$wxUSE_ALL_FEATURES
13130           if test -z "$defaultval"; then
13131               if test x"$enablestring" = xdisable; then
13132                   defaultval=yes
13133               else
13134                   defaultval=no
13135               fi
13136           fi
13137
13138           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
13139 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
13140           # Check whether --enable-richmsgdlg was given.
13141 if test "${enable_richmsgdlg+set}" = set; then :
13142   enableval=$enable_richmsgdlg;
13143                           if test "$enableval" = yes; then
13144                             wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
13145                           else
13146                             wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
13147                           fi
13148
13149 else
13150
13151                           wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13152
13153 fi
13154
13155
13156           eval "$wx_cv_use_richmsgdlg"
13157
13158           if test x"$enablestring" = xdisable; then
13159             if test $wxUSE_RICHMSGDLG = no; then
13160               result=yes
13161             else
13162               result=no
13163             fi
13164           else
13165             result=$wxUSE_RICHMSGDLG
13166           fi
13167
13168           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13169 $as_echo "$result" >&6; }
13170
13171
13172           enablestring=
13173           defaultval=$wxUSE_ALL_FEATURES
13174           if test -z "$defaultval"; then
13175               if test x"$enablestring" = xdisable; then
13176                   defaultval=yes
13177               else
13178                   defaultval=no
13179               fi
13180           fi
13181
13182           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13183 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13184           # Check whether --enable-richtooltip was given.
13185 if test "${enable_richtooltip+set}" = set; then :
13186   enableval=$enable_richtooltip;
13187                           if test "$enableval" = yes; then
13188                             wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13189                           else
13190                             wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13191                           fi
13192
13193 else
13194
13195                           wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13196
13197 fi
13198
13199
13200           eval "$wx_cv_use_richtooltip"
13201
13202           if test x"$enablestring" = xdisable; then
13203             if test $wxUSE_RICHTOOLTIP = no; then
13204               result=yes
13205             else
13206               result=no
13207             fi
13208           else
13209             result=$wxUSE_RICHTOOLTIP
13210           fi
13211
13212           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13213 $as_echo "$result" >&6; }
13214
13215
13216           enablestring=
13217           defaultval=$wxUSE_ALL_FEATURES
13218           if test -z "$defaultval"; then
13219               if test x"$enablestring" = xdisable; then
13220                   defaultval=yes
13221               else
13222                   defaultval=no
13223               fi
13224           fi
13225
13226           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13227 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13228           # Check whether --enable-rearrangectrl was given.
13229 if test "${enable_rearrangectrl+set}" = set; then :
13230   enableval=$enable_rearrangectrl;
13231                           if test "$enableval" = yes; then
13232                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13233                           else
13234                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13235                           fi
13236
13237 else
13238
13239                           wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13240
13241 fi
13242
13243
13244           eval "$wx_cv_use_rearrangectrl"
13245
13246           if test x"$enablestring" = xdisable; then
13247             if test $wxUSE_REARRANGECTRL = no; then
13248               result=yes
13249             else
13250               result=no
13251             fi
13252           else
13253             result=$wxUSE_REARRANGECTRL
13254           fi
13255
13256           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13257 $as_echo "$result" >&6; }
13258
13259
13260           enablestring=
13261           defaultval=$wxUSE_ALL_FEATURES
13262           if test -z "$defaultval"; then
13263               if test x"$enablestring" = xdisable; then
13264                   defaultval=yes
13265               else
13266                   defaultval=no
13267               fi
13268           fi
13269
13270           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13271 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13272           # Check whether --enable-sash was given.
13273 if test "${enable_sash+set}" = set; then :
13274   enableval=$enable_sash;
13275                           if test "$enableval" = yes; then
13276                             wx_cv_use_sash='wxUSE_SASH=yes'
13277                           else
13278                             wx_cv_use_sash='wxUSE_SASH=no'
13279                           fi
13280
13281 else
13282
13283                           wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13284
13285 fi
13286
13287
13288           eval "$wx_cv_use_sash"
13289
13290           if test x"$enablestring" = xdisable; then
13291             if test $wxUSE_SASH = no; then
13292               result=yes
13293             else
13294               result=no
13295             fi
13296           else
13297             result=$wxUSE_SASH
13298           fi
13299
13300           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13301 $as_echo "$result" >&6; }
13302
13303
13304           enablestring=
13305           defaultval=$wxUSE_ALL_FEATURES
13306           if test -z "$defaultval"; then
13307               if test x"$enablestring" = xdisable; then
13308                   defaultval=yes
13309               else
13310                   defaultval=no
13311               fi
13312           fi
13313
13314           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13315 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13316           # Check whether --enable-scrollbar was given.
13317 if test "${enable_scrollbar+set}" = set; then :
13318   enableval=$enable_scrollbar;
13319                           if test "$enableval" = yes; then
13320                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13321                           else
13322                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13323                           fi
13324
13325 else
13326
13327                           wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13328
13329 fi
13330
13331
13332           eval "$wx_cv_use_scrollbar"
13333
13334           if test x"$enablestring" = xdisable; then
13335             if test $wxUSE_SCROLLBAR = no; then
13336               result=yes
13337             else
13338               result=no
13339             fi
13340           else
13341             result=$wxUSE_SCROLLBAR
13342           fi
13343
13344           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13345 $as_echo "$result" >&6; }
13346
13347
13348           enablestring=
13349           defaultval=$wxUSE_ALL_FEATURES
13350           if test -z "$defaultval"; then
13351               if test x"$enablestring" = xdisable; then
13352                   defaultval=yes
13353               else
13354                   defaultval=no
13355               fi
13356           fi
13357
13358           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13359 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13360           # Check whether --enable-searchctrl was given.
13361 if test "${enable_searchctrl+set}" = set; then :
13362   enableval=$enable_searchctrl;
13363                           if test "$enableval" = yes; then
13364                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13365                           else
13366                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13367                           fi
13368
13369 else
13370
13371                           wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13372
13373 fi
13374
13375
13376           eval "$wx_cv_use_searchctrl"
13377
13378           if test x"$enablestring" = xdisable; then
13379             if test $wxUSE_SEARCHCTRL = no; then
13380               result=yes
13381             else
13382               result=no
13383             fi
13384           else
13385             result=$wxUSE_SEARCHCTRL
13386           fi
13387
13388           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13389 $as_echo "$result" >&6; }
13390
13391
13392           enablestring=
13393           defaultval=$wxUSE_ALL_FEATURES
13394           if test -z "$defaultval"; then
13395               if test x"$enablestring" = xdisable; then
13396                   defaultval=yes
13397               else
13398                   defaultval=no
13399               fi
13400           fi
13401
13402           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13403 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13404           # Check whether --enable-slider was given.
13405 if test "${enable_slider+set}" = set; then :
13406   enableval=$enable_slider;
13407                           if test "$enableval" = yes; then
13408                             wx_cv_use_slider='wxUSE_SLIDER=yes'
13409                           else
13410                             wx_cv_use_slider='wxUSE_SLIDER=no'
13411                           fi
13412
13413 else
13414
13415                           wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13416
13417 fi
13418
13419
13420           eval "$wx_cv_use_slider"
13421
13422           if test x"$enablestring" = xdisable; then
13423             if test $wxUSE_SLIDER = no; then
13424               result=yes
13425             else
13426               result=no
13427             fi
13428           else
13429             result=$wxUSE_SLIDER
13430           fi
13431
13432           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13433 $as_echo "$result" >&6; }
13434
13435
13436           enablestring=
13437           defaultval=$wxUSE_ALL_FEATURES
13438           if test -z "$defaultval"; then
13439               if test x"$enablestring" = xdisable; then
13440                   defaultval=yes
13441               else
13442                   defaultval=no
13443               fi
13444           fi
13445
13446           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13447 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13448           # Check whether --enable-spinbtn was given.
13449 if test "${enable_spinbtn+set}" = set; then :
13450   enableval=$enable_spinbtn;
13451                           if test "$enableval" = yes; then
13452                             wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13453                           else
13454                             wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13455                           fi
13456
13457 else
13458
13459                           wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13460
13461 fi
13462
13463
13464           eval "$wx_cv_use_spinbtn"
13465
13466           if test x"$enablestring" = xdisable; then
13467             if test $wxUSE_SPINBTN = no; then
13468               result=yes
13469             else
13470               result=no
13471             fi
13472           else
13473             result=$wxUSE_SPINBTN
13474           fi
13475
13476           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13477 $as_echo "$result" >&6; }
13478
13479
13480           enablestring=
13481           defaultval=$wxUSE_ALL_FEATURES
13482           if test -z "$defaultval"; then
13483               if test x"$enablestring" = xdisable; then
13484                   defaultval=yes
13485               else
13486                   defaultval=no
13487               fi
13488           fi
13489
13490           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13491 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13492           # Check whether --enable-spinctrl was given.
13493 if test "${enable_spinctrl+set}" = set; then :
13494   enableval=$enable_spinctrl;
13495                           if test "$enableval" = yes; then
13496                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13497                           else
13498                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13499                           fi
13500
13501 else
13502
13503                           wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13504
13505 fi
13506
13507
13508           eval "$wx_cv_use_spinctrl"
13509
13510           if test x"$enablestring" = xdisable; then
13511             if test $wxUSE_SPINCTRL = no; then
13512               result=yes
13513             else
13514               result=no
13515             fi
13516           else
13517             result=$wxUSE_SPINCTRL
13518           fi
13519
13520           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13521 $as_echo "$result" >&6; }
13522
13523
13524           enablestring=
13525           defaultval=$wxUSE_ALL_FEATURES
13526           if test -z "$defaultval"; then
13527               if test x"$enablestring" = xdisable; then
13528                   defaultval=yes
13529               else
13530                   defaultval=no
13531               fi
13532           fi
13533
13534           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13535 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13536           # Check whether --enable-splitter was given.
13537 if test "${enable_splitter+set}" = set; then :
13538   enableval=$enable_splitter;
13539                           if test "$enableval" = yes; then
13540                             wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13541                           else
13542                             wx_cv_use_splitter='wxUSE_SPLITTER=no'
13543                           fi
13544
13545 else
13546
13547                           wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13548
13549 fi
13550
13551
13552           eval "$wx_cv_use_splitter"
13553
13554           if test x"$enablestring" = xdisable; then
13555             if test $wxUSE_SPLITTER = no; then
13556               result=yes
13557             else
13558               result=no
13559             fi
13560           else
13561             result=$wxUSE_SPLITTER
13562           fi
13563
13564           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13565 $as_echo "$result" >&6; }
13566
13567
13568           enablestring=
13569           defaultval=$wxUSE_ALL_FEATURES
13570           if test -z "$defaultval"; then
13571               if test x"$enablestring" = xdisable; then
13572                   defaultval=yes
13573               else
13574                   defaultval=no
13575               fi
13576           fi
13577
13578           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13579 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13580           # Check whether --enable-statbmp was given.
13581 if test "${enable_statbmp+set}" = set; then :
13582   enableval=$enable_statbmp;
13583                           if test "$enableval" = yes; then
13584                             wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13585                           else
13586                             wx_cv_use_statbmp='wxUSE_STATBMP=no'
13587                           fi
13588
13589 else
13590
13591                           wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13592
13593 fi
13594
13595
13596           eval "$wx_cv_use_statbmp"
13597
13598           if test x"$enablestring" = xdisable; then
13599             if test $wxUSE_STATBMP = no; then
13600               result=yes
13601             else
13602               result=no
13603             fi
13604           else
13605             result=$wxUSE_STATBMP
13606           fi
13607
13608           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13609 $as_echo "$result" >&6; }
13610
13611
13612           enablestring=
13613           defaultval=$wxUSE_ALL_FEATURES
13614           if test -z "$defaultval"; then
13615               if test x"$enablestring" = xdisable; then
13616                   defaultval=yes
13617               else
13618                   defaultval=no
13619               fi
13620           fi
13621
13622           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13623 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13624           # Check whether --enable-statbox was given.
13625 if test "${enable_statbox+set}" = set; then :
13626   enableval=$enable_statbox;
13627                           if test "$enableval" = yes; then
13628                             wx_cv_use_statbox='wxUSE_STATBOX=yes'
13629                           else
13630                             wx_cv_use_statbox='wxUSE_STATBOX=no'
13631                           fi
13632
13633 else
13634
13635                           wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13636
13637 fi
13638
13639
13640           eval "$wx_cv_use_statbox"
13641
13642           if test x"$enablestring" = xdisable; then
13643             if test $wxUSE_STATBOX = no; then
13644               result=yes
13645             else
13646               result=no
13647             fi
13648           else
13649             result=$wxUSE_STATBOX
13650           fi
13651
13652           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13653 $as_echo "$result" >&6; }
13654
13655
13656           enablestring=
13657           defaultval=$wxUSE_ALL_FEATURES
13658           if test -z "$defaultval"; then
13659               if test x"$enablestring" = xdisable; then
13660                   defaultval=yes
13661               else
13662                   defaultval=no
13663               fi
13664           fi
13665
13666           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13667 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13668           # Check whether --enable-statline was given.
13669 if test "${enable_statline+set}" = set; then :
13670   enableval=$enable_statline;
13671                           if test "$enableval" = yes; then
13672                             wx_cv_use_statline='wxUSE_STATLINE=yes'
13673                           else
13674                             wx_cv_use_statline='wxUSE_STATLINE=no'
13675                           fi
13676
13677 else
13678
13679                           wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13680
13681 fi
13682
13683
13684           eval "$wx_cv_use_statline"
13685
13686           if test x"$enablestring" = xdisable; then
13687             if test $wxUSE_STATLINE = no; then
13688               result=yes
13689             else
13690               result=no
13691             fi
13692           else
13693             result=$wxUSE_STATLINE
13694           fi
13695
13696           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13697 $as_echo "$result" >&6; }
13698
13699
13700           enablestring=
13701           defaultval=$wxUSE_ALL_FEATURES
13702           if test -z "$defaultval"; then
13703               if test x"$enablestring" = xdisable; then
13704                   defaultval=yes
13705               else
13706                   defaultval=no
13707               fi
13708           fi
13709
13710           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13711 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13712           # Check whether --enable-stattext was given.
13713 if test "${enable_stattext+set}" = set; then :
13714   enableval=$enable_stattext;
13715                           if test "$enableval" = yes; then
13716                             wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13717                           else
13718                             wx_cv_use_stattext='wxUSE_STATTEXT=no'
13719                           fi
13720
13721 else
13722
13723                           wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13724
13725 fi
13726
13727
13728           eval "$wx_cv_use_stattext"
13729
13730           if test x"$enablestring" = xdisable; then
13731             if test $wxUSE_STATTEXT = no; then
13732               result=yes
13733             else
13734               result=no
13735             fi
13736           else
13737             result=$wxUSE_STATTEXT
13738           fi
13739
13740           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13741 $as_echo "$result" >&6; }
13742
13743
13744           enablestring=
13745           defaultval=$wxUSE_ALL_FEATURES
13746           if test -z "$defaultval"; then
13747               if test x"$enablestring" = xdisable; then
13748                   defaultval=yes
13749               else
13750                   defaultval=no
13751               fi
13752           fi
13753
13754           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13755 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13756           # Check whether --enable-statusbar was given.
13757 if test "${enable_statusbar+set}" = set; then :
13758   enableval=$enable_statusbar;
13759                           if test "$enableval" = yes; then
13760                             wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13761                           else
13762                             wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13763                           fi
13764
13765 else
13766
13767                           wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13768
13769 fi
13770
13771
13772           eval "$wx_cv_use_statusbar"
13773
13774           if test x"$enablestring" = xdisable; then
13775             if test $wxUSE_STATUSBAR = no; then
13776               result=yes
13777             else
13778               result=no
13779             fi
13780           else
13781             result=$wxUSE_STATUSBAR
13782           fi
13783
13784           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13785 $as_echo "$result" >&6; }
13786
13787
13788           enablestring=
13789           defaultval=$wxUSE_ALL_FEATURES
13790           if test -z "$defaultval"; then
13791               if test x"$enablestring" = xdisable; then
13792                   defaultval=yes
13793               else
13794                   defaultval=no
13795               fi
13796           fi
13797
13798           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13799 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13800           # Check whether --enable-taskbaricon was given.
13801 if test "${enable_taskbaricon+set}" = set; then :
13802   enableval=$enable_taskbaricon;
13803                           if test "$enableval" = yes; then
13804                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13805                           else
13806                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13807                           fi
13808
13809 else
13810
13811                           wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13812
13813 fi
13814
13815
13816           eval "$wx_cv_use_taskbaricon"
13817
13818           if test x"$enablestring" = xdisable; then
13819             if test $wxUSE_TASKBARICON = no; then
13820               result=yes
13821             else
13822               result=no
13823             fi
13824           else
13825             result=$wxUSE_TASKBARICON
13826           fi
13827
13828           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13829 $as_echo "$result" >&6; }
13830
13831
13832           enablestring=
13833           defaultval=$wxUSE_ALL_FEATURES
13834           if test -z "$defaultval"; then
13835               if test x"$enablestring" = xdisable; then
13836                   defaultval=yes
13837               else
13838                   defaultval=no
13839               fi
13840           fi
13841
13842           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13843 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13844           # Check whether --enable-tbarnative was given.
13845 if test "${enable_tbarnative+set}" = set; then :
13846   enableval=$enable_tbarnative;
13847                           if test "$enableval" = yes; then
13848                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13849                           else
13850                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13851                           fi
13852
13853 else
13854
13855                           wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13856
13857 fi
13858
13859
13860           eval "$wx_cv_use_tbarnative"
13861
13862           if test x"$enablestring" = xdisable; then
13863             if test $wxUSE_TOOLBAR_NATIVE = no; then
13864               result=yes
13865             else
13866               result=no
13867             fi
13868           else
13869             result=$wxUSE_TOOLBAR_NATIVE
13870           fi
13871
13872           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13873 $as_echo "$result" >&6; }
13874
13875
13876           enablestring=
13877           defaultval=$wxUSE_ALL_FEATURES
13878           if test -z "$defaultval"; then
13879               if test x"$enablestring" = xdisable; then
13880                   defaultval=yes
13881               else
13882                   defaultval=no
13883               fi
13884           fi
13885
13886           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13887 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13888           # Check whether --enable-textctrl was given.
13889 if test "${enable_textctrl+set}" = set; then :
13890   enableval=$enable_textctrl;
13891                           if test "$enableval" = yes; then
13892                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13893                           else
13894                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13895                           fi
13896
13897 else
13898
13899                           wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13900
13901 fi
13902
13903
13904           eval "$wx_cv_use_textctrl"
13905
13906           if test x"$enablestring" = xdisable; then
13907             if test $wxUSE_TEXTCTRL = no; then
13908               result=yes
13909             else
13910               result=no
13911             fi
13912           else
13913             result=$wxUSE_TEXTCTRL
13914           fi
13915
13916           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13917 $as_echo "$result" >&6; }
13918
13919
13920           enablestring=
13921           defaultval=$wxUSE_ALL_FEATURES
13922           if test -z "$defaultval"; then
13923               if test x"$enablestring" = xdisable; then
13924                   defaultval=yes
13925               else
13926                   defaultval=no
13927               fi
13928           fi
13929
13930           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13931 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13932           # Check whether --enable-datepick was given.
13933 if test "${enable_datepick+set}" = set; then :
13934   enableval=$enable_datepick;
13935                           if test "$enableval" = yes; then
13936                             wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13937                           else
13938                             wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13939                           fi
13940
13941 else
13942
13943                           wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13944
13945 fi
13946
13947
13948           eval "$wx_cv_use_datepick"
13949
13950           if test x"$enablestring" = xdisable; then
13951             if test $wxUSE_TIMEPICKCTRL = no; then
13952               result=yes
13953             else
13954               result=no
13955             fi
13956           else
13957             result=$wxUSE_TIMEPICKCTRL
13958           fi
13959
13960           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13961 $as_echo "$result" >&6; }
13962
13963
13964           enablestring=
13965           defaultval=$wxUSE_ALL_FEATURES
13966           if test -z "$defaultval"; then
13967               if test x"$enablestring" = xdisable; then
13968                   defaultval=yes
13969               else
13970                   defaultval=no
13971               fi
13972           fi
13973
13974           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13975 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13976           # Check whether --enable-tipwindow was given.
13977 if test "${enable_tipwindow+set}" = set; then :
13978   enableval=$enable_tipwindow;
13979                           if test "$enableval" = yes; then
13980                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13981                           else
13982                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13983                           fi
13984
13985 else
13986
13987                           wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13988
13989 fi
13990
13991
13992           eval "$wx_cv_use_tipwindow"
13993
13994           if test x"$enablestring" = xdisable; then
13995             if test $wxUSE_TIPWINDOW = no; then
13996               result=yes
13997             else
13998               result=no
13999             fi
14000           else
14001             result=$wxUSE_TIPWINDOW
14002           fi
14003
14004           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14005 $as_echo "$result" >&6; }
14006
14007
14008           enablestring=
14009           defaultval=$wxUSE_ALL_FEATURES
14010           if test -z "$defaultval"; then
14011               if test x"$enablestring" = xdisable; then
14012                   defaultval=yes
14013               else
14014                   defaultval=no
14015               fi
14016           fi
14017
14018           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
14019 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
14020           # Check whether --enable-togglebtn was given.
14021 if test "${enable_togglebtn+set}" = set; then :
14022   enableval=$enable_togglebtn;
14023                           if test "$enableval" = yes; then
14024                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
14025                           else
14026                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
14027                           fi
14028
14029 else
14030
14031                           wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
14032
14033 fi
14034
14035
14036           eval "$wx_cv_use_togglebtn"
14037
14038           if test x"$enablestring" = xdisable; then
14039             if test $wxUSE_TOGGLEBTN = no; then
14040               result=yes
14041             else
14042               result=no
14043             fi
14044           else
14045             result=$wxUSE_TOGGLEBTN
14046           fi
14047
14048           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14049 $as_echo "$result" >&6; }
14050
14051
14052           enablestring=
14053           defaultval=$wxUSE_ALL_FEATURES
14054           if test -z "$defaultval"; then
14055               if test x"$enablestring" = xdisable; then
14056                   defaultval=yes
14057               else
14058                   defaultval=no
14059               fi
14060           fi
14061
14062           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
14063 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
14064           # Check whether --enable-toolbar was given.
14065 if test "${enable_toolbar+set}" = set; then :
14066   enableval=$enable_toolbar;
14067                           if test "$enableval" = yes; then
14068                             wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
14069                           else
14070                             wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
14071                           fi
14072
14073 else
14074
14075                           wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
14076
14077 fi
14078
14079
14080           eval "$wx_cv_use_toolbar"
14081
14082           if test x"$enablestring" = xdisable; then
14083             if test $wxUSE_TOOLBAR = no; then
14084               result=yes
14085             else
14086               result=no
14087             fi
14088           else
14089             result=$wxUSE_TOOLBAR
14090           fi
14091
14092           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14093 $as_echo "$result" >&6; }
14094
14095
14096           enablestring=
14097           defaultval=$wxUSE_ALL_FEATURES
14098           if test -z "$defaultval"; then
14099               if test x"$enablestring" = xdisable; then
14100                   defaultval=yes
14101               else
14102                   defaultval=no
14103               fi
14104           fi
14105
14106           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
14107 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
14108           # Check whether --enable-toolbook was given.
14109 if test "${enable_toolbook+set}" = set; then :
14110   enableval=$enable_toolbook;
14111                           if test "$enableval" = yes; then
14112                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
14113                           else
14114                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
14115                           fi
14116
14117 else
14118
14119                           wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14120
14121 fi
14122
14123
14124           eval "$wx_cv_use_toolbook"
14125
14126           if test x"$enablestring" = xdisable; then
14127             if test $wxUSE_TOOLBOOK = no; then
14128               result=yes
14129             else
14130               result=no
14131             fi
14132           else
14133             result=$wxUSE_TOOLBOOK
14134           fi
14135
14136           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14137 $as_echo "$result" >&6; }
14138
14139
14140           enablestring=
14141           defaultval=$wxUSE_ALL_FEATURES
14142           if test -z "$defaultval"; then
14143               if test x"$enablestring" = xdisable; then
14144                   defaultval=yes
14145               else
14146                   defaultval=no
14147               fi
14148           fi
14149
14150           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14151 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14152           # Check whether --enable-treebook was given.
14153 if test "${enable_treebook+set}" = set; then :
14154   enableval=$enable_treebook;
14155                           if test "$enableval" = yes; then
14156                             wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
14157                           else
14158                             wx_cv_use_treebook='wxUSE_TREEBOOK=no'
14159                           fi
14160
14161 else
14162
14163                           wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14164
14165 fi
14166
14167
14168           eval "$wx_cv_use_treebook"
14169
14170           if test x"$enablestring" = xdisable; then
14171             if test $wxUSE_TREEBOOK = no; then
14172               result=yes
14173             else
14174               result=no
14175             fi
14176           else
14177             result=$wxUSE_TREEBOOK
14178           fi
14179
14180           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14181 $as_echo "$result" >&6; }
14182
14183
14184           enablestring=
14185           defaultval=$wxUSE_ALL_FEATURES
14186           if test -z "$defaultval"; then
14187               if test x"$enablestring" = xdisable; then
14188                   defaultval=yes
14189               else
14190                   defaultval=no
14191               fi
14192           fi
14193
14194           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14195 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14196           # Check whether --enable-treectrl was given.
14197 if test "${enable_treectrl+set}" = set; then :
14198   enableval=$enable_treectrl;
14199                           if test "$enableval" = yes; then
14200                             wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14201                           else
14202                             wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14203                           fi
14204
14205 else
14206
14207                           wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14208
14209 fi
14210
14211
14212           eval "$wx_cv_use_treectrl"
14213
14214           if test x"$enablestring" = xdisable; then
14215             if test $wxUSE_TREECTRL = no; then
14216               result=yes
14217             else
14218               result=no
14219             fi
14220           else
14221             result=$wxUSE_TREECTRL
14222           fi
14223
14224           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14225 $as_echo "$result" >&6; }
14226
14227
14228           enablestring=
14229           defaultval=$wxUSE_ALL_FEATURES
14230           if test -z "$defaultval"; then
14231               if test x"$enablestring" = xdisable; then
14232                   defaultval=yes
14233               else
14234                   defaultval=no
14235               fi
14236           fi
14237
14238           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14239 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14240           # Check whether --enable-treelist was given.
14241 if test "${enable_treelist+set}" = set; then :
14242   enableval=$enable_treelist;
14243                           if test "$enableval" = yes; then
14244                             wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14245                           else
14246                             wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14247                           fi
14248
14249 else
14250
14251                           wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14252
14253 fi
14254
14255
14256           eval "$wx_cv_use_treelist"
14257
14258           if test x"$enablestring" = xdisable; then
14259             if test $wxUSE_TREELISTCTRL = no; then
14260               result=yes
14261             else
14262               result=no
14263             fi
14264           else
14265             result=$wxUSE_TREELISTCTRL
14266           fi
14267
14268           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14269 $as_echo "$result" >&6; }
14270
14271
14272
14273
14274           enablestring=
14275           defaultval=$wxUSE_ALL_FEATURES
14276           if test -z "$defaultval"; then
14277               if test x"$enablestring" = xdisable; then
14278                   defaultval=yes
14279               else
14280                   defaultval=no
14281               fi
14282           fi
14283
14284           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14285 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14286           # Check whether --enable-commondlg was given.
14287 if test "${enable_commondlg+set}" = set; then :
14288   enableval=$enable_commondlg;
14289                           if test "$enableval" = yes; then
14290                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14291                           else
14292                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14293                           fi
14294
14295 else
14296
14297                           wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14298
14299 fi
14300
14301
14302           eval "$wx_cv_use_commondlg"
14303
14304           if test x"$enablestring" = xdisable; then
14305             if test $wxUSE_COMMONDLGS = no; then
14306               result=yes
14307             else
14308               result=no
14309             fi
14310           else
14311             result=$wxUSE_COMMONDLGS
14312           fi
14313
14314           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14315 $as_echo "$result" >&6; }
14316
14317
14318           enablestring=
14319           defaultval=$wxUSE_ALL_FEATURES
14320           if test -z "$defaultval"; then
14321               if test x"$enablestring" = xdisable; then
14322                   defaultval=yes
14323               else
14324                   defaultval=no
14325               fi
14326           fi
14327
14328           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14329 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14330           # Check whether --enable-aboutdlg was given.
14331 if test "${enable_aboutdlg+set}" = set; then :
14332   enableval=$enable_aboutdlg;
14333                           if test "$enableval" = yes; then
14334                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14335                           else
14336                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14337                           fi
14338
14339 else
14340
14341                           wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14342
14343 fi
14344
14345
14346           eval "$wx_cv_use_aboutdlg"
14347
14348           if test x"$enablestring" = xdisable; then
14349             if test $wxUSE_ABOUTDLG = no; then
14350               result=yes
14351             else
14352               result=no
14353             fi
14354           else
14355             result=$wxUSE_ABOUTDLG
14356           fi
14357
14358           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14359 $as_echo "$result" >&6; }
14360
14361
14362           enablestring=
14363           defaultval=$wxUSE_ALL_FEATURES
14364           if test -z "$defaultval"; then
14365               if test x"$enablestring" = xdisable; then
14366                   defaultval=yes
14367               else
14368                   defaultval=no
14369               fi
14370           fi
14371
14372           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14373 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14374           # Check whether --enable-choicedlg was given.
14375 if test "${enable_choicedlg+set}" = set; then :
14376   enableval=$enable_choicedlg;
14377                           if test "$enableval" = yes; then
14378                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14379                           else
14380                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14381                           fi
14382
14383 else
14384
14385                           wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14386
14387 fi
14388
14389
14390           eval "$wx_cv_use_choicedlg"
14391
14392           if test x"$enablestring" = xdisable; then
14393             if test $wxUSE_CHOICEDLG = no; then
14394               result=yes
14395             else
14396               result=no
14397             fi
14398           else
14399             result=$wxUSE_CHOICEDLG
14400           fi
14401
14402           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14403 $as_echo "$result" >&6; }
14404
14405
14406           enablestring=
14407           defaultval=$wxUSE_ALL_FEATURES
14408           if test -z "$defaultval"; then
14409               if test x"$enablestring" = xdisable; then
14410                   defaultval=yes
14411               else
14412                   defaultval=no
14413               fi
14414           fi
14415
14416           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14417 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14418           # Check whether --enable-coldlg was given.
14419 if test "${enable_coldlg+set}" = set; then :
14420   enableval=$enable_coldlg;
14421                           if test "$enableval" = yes; then
14422                             wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14423                           else
14424                             wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14425                           fi
14426
14427 else
14428
14429                           wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14430
14431 fi
14432
14433
14434           eval "$wx_cv_use_coldlg"
14435
14436           if test x"$enablestring" = xdisable; then
14437             if test $wxUSE_COLOURDLG = no; then
14438               result=yes
14439             else
14440               result=no
14441             fi
14442           else
14443             result=$wxUSE_COLOURDLG
14444           fi
14445
14446           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14447 $as_echo "$result" >&6; }
14448
14449
14450           enablestring=
14451           defaultval=$wxUSE_ALL_FEATURES
14452           if test -z "$defaultval"; then
14453               if test x"$enablestring" = xdisable; then
14454                   defaultval=yes
14455               else
14456                   defaultval=no
14457               fi
14458           fi
14459
14460           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14461 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14462           # Check whether --enable-filedlg was given.
14463 if test "${enable_filedlg+set}" = set; then :
14464   enableval=$enable_filedlg;
14465                           if test "$enableval" = yes; then
14466                             wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14467                           else
14468                             wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14469                           fi
14470
14471 else
14472
14473                           wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14474
14475 fi
14476
14477
14478           eval "$wx_cv_use_filedlg"
14479
14480           if test x"$enablestring" = xdisable; then
14481             if test $wxUSE_FILEDLG = no; then
14482               result=yes
14483             else
14484               result=no
14485             fi
14486           else
14487             result=$wxUSE_FILEDLG
14488           fi
14489
14490           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14491 $as_echo "$result" >&6; }
14492
14493
14494           enablestring=
14495           defaultval=$wxUSE_ALL_FEATURES
14496           if test -z "$defaultval"; then
14497               if test x"$enablestring" = xdisable; then
14498                   defaultval=yes
14499               else
14500                   defaultval=no
14501               fi
14502           fi
14503
14504           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14505 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14506           # Check whether --enable-finddlg was given.
14507 if test "${enable_finddlg+set}" = set; then :
14508   enableval=$enable_finddlg;
14509                           if test "$enableval" = yes; then
14510                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14511                           else
14512                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14513                           fi
14514
14515 else
14516
14517                           wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14518
14519 fi
14520
14521
14522           eval "$wx_cv_use_finddlg"
14523
14524           if test x"$enablestring" = xdisable; then
14525             if test $wxUSE_FINDREPLDLG = no; then
14526               result=yes
14527             else
14528               result=no
14529             fi
14530           else
14531             result=$wxUSE_FINDREPLDLG
14532           fi
14533
14534           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14535 $as_echo "$result" >&6; }
14536
14537
14538           enablestring=
14539           defaultval=$wxUSE_ALL_FEATURES
14540           if test -z "$defaultval"; then
14541               if test x"$enablestring" = xdisable; then
14542                   defaultval=yes
14543               else
14544                   defaultval=no
14545               fi
14546           fi
14547
14548           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14549 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14550           # Check whether --enable-fontdlg was given.
14551 if test "${enable_fontdlg+set}" = set; then :
14552   enableval=$enable_fontdlg;
14553                           if test "$enableval" = yes; then
14554                             wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14555                           else
14556                             wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14557                           fi
14558
14559 else
14560
14561                           wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14562
14563 fi
14564
14565
14566           eval "$wx_cv_use_fontdlg"
14567
14568           if test x"$enablestring" = xdisable; then
14569             if test $wxUSE_FONTDLG = no; then
14570               result=yes
14571             else
14572               result=no
14573             fi
14574           else
14575             result=$wxUSE_FONTDLG
14576           fi
14577
14578           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14579 $as_echo "$result" >&6; }
14580
14581
14582           enablestring=
14583           defaultval=$wxUSE_ALL_FEATURES
14584           if test -z "$defaultval"; then
14585               if test x"$enablestring" = xdisable; then
14586                   defaultval=yes
14587               else
14588                   defaultval=no
14589               fi
14590           fi
14591
14592           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14593 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14594           # Check whether --enable-dirdlg was given.
14595 if test "${enable_dirdlg+set}" = set; then :
14596   enableval=$enable_dirdlg;
14597                           if test "$enableval" = yes; then
14598                             wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14599                           else
14600                             wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14601                           fi
14602
14603 else
14604
14605                           wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14606
14607 fi
14608
14609
14610           eval "$wx_cv_use_dirdlg"
14611
14612           if test x"$enablestring" = xdisable; then
14613             if test $wxUSE_DIRDLG = no; then
14614               result=yes
14615             else
14616               result=no
14617             fi
14618           else
14619             result=$wxUSE_DIRDLG
14620           fi
14621
14622           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14623 $as_echo "$result" >&6; }
14624
14625
14626           enablestring=
14627           defaultval=$wxUSE_ALL_FEATURES
14628           if test -z "$defaultval"; then
14629               if test x"$enablestring" = xdisable; then
14630                   defaultval=yes
14631               else
14632                   defaultval=no
14633               fi
14634           fi
14635
14636           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14637 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14638           # Check whether --enable-msgdlg was given.
14639 if test "${enable_msgdlg+set}" = set; then :
14640   enableval=$enable_msgdlg;
14641                           if test "$enableval" = yes; then
14642                             wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14643                           else
14644                             wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14645                           fi
14646
14647 else
14648
14649                           wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14650
14651 fi
14652
14653
14654           eval "$wx_cv_use_msgdlg"
14655
14656           if test x"$enablestring" = xdisable; then
14657             if test $wxUSE_MSGDLG = no; then
14658               result=yes
14659             else
14660               result=no
14661             fi
14662           else
14663             result=$wxUSE_MSGDLG
14664           fi
14665
14666           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14667 $as_echo "$result" >&6; }
14668
14669
14670           enablestring=
14671           defaultval=$wxUSE_ALL_FEATURES
14672           if test -z "$defaultval"; then
14673               if test x"$enablestring" = xdisable; then
14674                   defaultval=yes
14675               else
14676                   defaultval=no
14677               fi
14678           fi
14679
14680           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14681 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14682           # Check whether --enable-numberdlg was given.
14683 if test "${enable_numberdlg+set}" = set; then :
14684   enableval=$enable_numberdlg;
14685                           if test "$enableval" = yes; then
14686                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14687                           else
14688                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14689                           fi
14690
14691 else
14692
14693                           wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14694
14695 fi
14696
14697
14698           eval "$wx_cv_use_numberdlg"
14699
14700           if test x"$enablestring" = xdisable; then
14701             if test $wxUSE_NUMBERDLG = no; then
14702               result=yes
14703             else
14704               result=no
14705             fi
14706           else
14707             result=$wxUSE_NUMBERDLG
14708           fi
14709
14710           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14711 $as_echo "$result" >&6; }
14712
14713
14714           enablestring=
14715           defaultval=$wxUSE_ALL_FEATURES
14716           if test -z "$defaultval"; then
14717               if test x"$enablestring" = xdisable; then
14718                   defaultval=yes
14719               else
14720                   defaultval=no
14721               fi
14722           fi
14723
14724           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14725 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14726           # Check whether --enable-splash was given.
14727 if test "${enable_splash+set}" = set; then :
14728   enableval=$enable_splash;
14729                           if test "$enableval" = yes; then
14730                             wx_cv_use_splash='wxUSE_SPLASH=yes'
14731                           else
14732                             wx_cv_use_splash='wxUSE_SPLASH=no'
14733                           fi
14734
14735 else
14736
14737                           wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14738
14739 fi
14740
14741
14742           eval "$wx_cv_use_splash"
14743
14744           if test x"$enablestring" = xdisable; then
14745             if test $wxUSE_SPLASH = no; then
14746               result=yes
14747             else
14748               result=no
14749             fi
14750           else
14751             result=$wxUSE_SPLASH
14752           fi
14753
14754           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14755 $as_echo "$result" >&6; }
14756
14757
14758           enablestring=
14759           defaultval=$wxUSE_ALL_FEATURES
14760           if test -z "$defaultval"; then
14761               if test x"$enablestring" = xdisable; then
14762                   defaultval=yes
14763               else
14764                   defaultval=no
14765               fi
14766           fi
14767
14768           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14769 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14770           # Check whether --enable-textdlg was given.
14771 if test "${enable_textdlg+set}" = set; then :
14772   enableval=$enable_textdlg;
14773                           if test "$enableval" = yes; then
14774                             wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14775                           else
14776                             wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14777                           fi
14778
14779 else
14780
14781                           wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14782
14783 fi
14784
14785
14786           eval "$wx_cv_use_textdlg"
14787
14788           if test x"$enablestring" = xdisable; then
14789             if test $wxUSE_TEXTDLG = no; then
14790               result=yes
14791             else
14792               result=no
14793             fi
14794           else
14795             result=$wxUSE_TEXTDLG
14796           fi
14797
14798           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14799 $as_echo "$result" >&6; }
14800
14801
14802           enablestring=
14803           defaultval=$wxUSE_ALL_FEATURES
14804           if test -z "$defaultval"; then
14805               if test x"$enablestring" = xdisable; then
14806                   defaultval=yes
14807               else
14808                   defaultval=no
14809               fi
14810           fi
14811
14812           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14813 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14814           # Check whether --enable-tipdlg was given.
14815 if test "${enable_tipdlg+set}" = set; then :
14816   enableval=$enable_tipdlg;
14817                           if test "$enableval" = yes; then
14818                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14819                           else
14820                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14821                           fi
14822
14823 else
14824
14825                           wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14826
14827 fi
14828
14829
14830           eval "$wx_cv_use_tipdlg"
14831
14832           if test x"$enablestring" = xdisable; then
14833             if test $wxUSE_STARTUP_TIPS = no; then
14834               result=yes
14835             else
14836               result=no
14837             fi
14838           else
14839             result=$wxUSE_STARTUP_TIPS
14840           fi
14841
14842           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14843 $as_echo "$result" >&6; }
14844
14845
14846           enablestring=
14847           defaultval=$wxUSE_ALL_FEATURES
14848           if test -z "$defaultval"; then
14849               if test x"$enablestring" = xdisable; then
14850                   defaultval=yes
14851               else
14852                   defaultval=no
14853               fi
14854           fi
14855
14856           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14857 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14858           # Check whether --enable-progressdlg was given.
14859 if test "${enable_progressdlg+set}" = set; then :
14860   enableval=$enable_progressdlg;
14861                           if test "$enableval" = yes; then
14862                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14863                           else
14864                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14865                           fi
14866
14867 else
14868
14869                           wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14870
14871 fi
14872
14873
14874           eval "$wx_cv_use_progressdlg"
14875
14876           if test x"$enablestring" = xdisable; then
14877             if test $wxUSE_PROGRESSDLG = no; then
14878               result=yes
14879             else
14880               result=no
14881             fi
14882           else
14883             result=$wxUSE_PROGRESSDLG
14884           fi
14885
14886           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14887 $as_echo "$result" >&6; }
14888
14889
14890           enablestring=
14891           defaultval=$wxUSE_ALL_FEATURES
14892           if test -z "$defaultval"; then
14893               if test x"$enablestring" = xdisable; then
14894                   defaultval=yes
14895               else
14896                   defaultval=no
14897               fi
14898           fi
14899
14900           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14901 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14902           # Check whether --enable-wizarddlg was given.
14903 if test "${enable_wizarddlg+set}" = set; then :
14904   enableval=$enable_wizarddlg;
14905                           if test "$enableval" = yes; then
14906                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14907                           else
14908                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14909                           fi
14910
14911 else
14912
14913                           wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14914
14915 fi
14916
14917
14918           eval "$wx_cv_use_wizarddlg"
14919
14920           if test x"$enablestring" = xdisable; then
14921             if test $wxUSE_WIZARDDLG = no; then
14922               result=yes
14923             else
14924               result=no
14925             fi
14926           else
14927             result=$wxUSE_WIZARDDLG
14928           fi
14929
14930           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14931 $as_echo "$result" >&6; }
14932
14933
14934
14935
14936           enablestring=
14937           defaultval=$wxUSE_ALL_FEATURES
14938           if test -z "$defaultval"; then
14939               if test x"$enablestring" = xdisable; then
14940                   defaultval=yes
14941               else
14942                   defaultval=no
14943               fi
14944           fi
14945
14946           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14947 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14948           # Check whether --enable-menus was given.
14949 if test "${enable_menus+set}" = set; then :
14950   enableval=$enable_menus;
14951                           if test "$enableval" = yes; then
14952                             wx_cv_use_menus='wxUSE_MENUS=yes'
14953                           else
14954                             wx_cv_use_menus='wxUSE_MENUS=no'
14955                           fi
14956
14957 else
14958
14959                           wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14960
14961 fi
14962
14963
14964           eval "$wx_cv_use_menus"
14965
14966           if test x"$enablestring" = xdisable; then
14967             if test $wxUSE_MENUS = no; then
14968               result=yes
14969             else
14970               result=no
14971             fi
14972           else
14973             result=$wxUSE_MENUS
14974           fi
14975
14976           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14977 $as_echo "$result" >&6; }
14978
14979
14980           enablestring=
14981           defaultval=$wxUSE_ALL_FEATURES
14982           if test -z "$defaultval"; then
14983               if test x"$enablestring" = xdisable; then
14984                   defaultval=yes
14985               else
14986                   defaultval=no
14987               fi
14988           fi
14989
14990           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14991 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14992           # Check whether --enable-miniframe was given.
14993 if test "${enable_miniframe+set}" = set; then :
14994   enableval=$enable_miniframe;
14995                           if test "$enableval" = yes; then
14996                             wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14997                           else
14998                             wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14999                           fi
15000
15001 else
15002
15003                           wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15004
15005 fi
15006
15007
15008           eval "$wx_cv_use_miniframe"
15009
15010           if test x"$enablestring" = xdisable; then
15011             if test $wxUSE_MINIFRAME = no; then
15012               result=yes
15013             else
15014               result=no
15015             fi
15016           else
15017             result=$wxUSE_MINIFRAME
15018           fi
15019
15020           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15021 $as_echo "$result" >&6; }
15022
15023
15024           enablestring=
15025           defaultval=$wxUSE_ALL_FEATURES
15026           if test -z "$defaultval"; then
15027               if test x"$enablestring" = xdisable; then
15028                   defaultval=yes
15029               else
15030                   defaultval=no
15031               fi
15032           fi
15033
15034           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
15035 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
15036           # Check whether --enable-tooltips was given.
15037 if test "${enable_tooltips+set}" = set; then :
15038   enableval=$enable_tooltips;
15039                           if test "$enableval" = yes; then
15040                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15041                           else
15042                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15043                           fi
15044
15045 else
15046
15047                           wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15048
15049 fi
15050
15051
15052           eval "$wx_cv_use_tooltips"
15053
15054           if test x"$enablestring" = xdisable; then
15055             if test $wxUSE_TOOLTIPS = no; then
15056               result=yes
15057             else
15058               result=no
15059             fi
15060           else
15061             result=$wxUSE_TOOLTIPS
15062           fi
15063
15064           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15065 $as_echo "$result" >&6; }
15066
15067
15068           enablestring=
15069           defaultval=$wxUSE_ALL_FEATURES
15070           if test -z "$defaultval"; then
15071               if test x"$enablestring" = xdisable; then
15072                   defaultval=yes
15073               else
15074                   defaultval=no
15075               fi
15076           fi
15077
15078           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
15079 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
15080           # Check whether --enable-splines was given.
15081 if test "${enable_splines+set}" = set; then :
15082   enableval=$enable_splines;
15083                           if test "$enableval" = yes; then
15084                             wx_cv_use_splines='wxUSE_SPLINES=yes'
15085                           else
15086                             wx_cv_use_splines='wxUSE_SPLINES=no'
15087                           fi
15088
15089 else
15090
15091                           wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15092
15093 fi
15094
15095
15096           eval "$wx_cv_use_splines"
15097
15098           if test x"$enablestring" = xdisable; then
15099             if test $wxUSE_SPLINES = no; then
15100               result=yes
15101             else
15102               result=no
15103             fi
15104           else
15105             result=$wxUSE_SPLINES
15106           fi
15107
15108           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15109 $as_echo "$result" >&6; }
15110
15111
15112           enablestring=
15113           defaultval=$wxUSE_ALL_FEATURES
15114           if test -z "$defaultval"; then
15115               if test x"$enablestring" = xdisable; then
15116                   defaultval=yes
15117               else
15118                   defaultval=no
15119               fi
15120           fi
15121
15122           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
15123 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
15124           # Check whether --enable-mousewheel was given.
15125 if test "${enable_mousewheel+set}" = set; then :
15126   enableval=$enable_mousewheel;
15127                           if test "$enableval" = yes; then
15128                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15129                           else
15130                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15131                           fi
15132
15133 else
15134
15135                           wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15136
15137 fi
15138
15139
15140           eval "$wx_cv_use_mousewheel"
15141
15142           if test x"$enablestring" = xdisable; then
15143             if test $wxUSE_MOUSEWHEEL = no; then
15144               result=yes
15145             else
15146               result=no
15147             fi
15148           else
15149             result=$wxUSE_MOUSEWHEEL
15150           fi
15151
15152           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15153 $as_echo "$result" >&6; }
15154
15155
15156           enablestring=
15157           defaultval=$wxUSE_ALL_FEATURES
15158           if test -z "$defaultval"; then
15159               if test x"$enablestring" = xdisable; then
15160                   defaultval=yes
15161               else
15162                   defaultval=no
15163               fi
15164           fi
15165
15166           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
15167 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
15168           # Check whether --enable-validators was given.
15169 if test "${enable_validators+set}" = set; then :
15170   enableval=$enable_validators;
15171                           if test "$enableval" = yes; then
15172                             wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15173                           else
15174                             wx_cv_use_validators='wxUSE_VALIDATORS=no'
15175                           fi
15176
15177 else
15178
15179                           wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15180
15181 fi
15182
15183
15184           eval "$wx_cv_use_validators"
15185
15186           if test x"$enablestring" = xdisable; then
15187             if test $wxUSE_VALIDATORS = no; then
15188               result=yes
15189             else
15190               result=no
15191             fi
15192           else
15193             result=$wxUSE_VALIDATORS
15194           fi
15195
15196           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15197 $as_echo "$result" >&6; }
15198
15199
15200           enablestring=
15201           defaultval=$wxUSE_ALL_FEATURES
15202           if test -z "$defaultval"; then
15203               if test x"$enablestring" = xdisable; then
15204                   defaultval=yes
15205               else
15206                   defaultval=no
15207               fi
15208           fi
15209
15210           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15211 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15212           # Check whether --enable-busyinfo was given.
15213 if test "${enable_busyinfo+set}" = set; then :
15214   enableval=$enable_busyinfo;
15215                           if test "$enableval" = yes; then
15216                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15217                           else
15218                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15219                           fi
15220
15221 else
15222
15223                           wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15224
15225 fi
15226
15227
15228           eval "$wx_cv_use_busyinfo"
15229
15230           if test x"$enablestring" = xdisable; then
15231             if test $wxUSE_BUSYINFO = no; then
15232               result=yes
15233             else
15234               result=no
15235             fi
15236           else
15237             result=$wxUSE_BUSYINFO
15238           fi
15239
15240           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15241 $as_echo "$result" >&6; }
15242
15243
15244           enablestring=
15245           defaultval=$wxUSE_ALL_FEATURES
15246           if test -z "$defaultval"; then
15247               if test x"$enablestring" = xdisable; then
15248                   defaultval=yes
15249               else
15250                   defaultval=no
15251               fi
15252           fi
15253
15254           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15255 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15256           # Check whether --enable-hotkey was given.
15257 if test "${enable_hotkey+set}" = set; then :
15258   enableval=$enable_hotkey;
15259                           if test "$enableval" = yes; then
15260                             wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15261                           else
15262                             wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15263                           fi
15264
15265 else
15266
15267                           wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15268
15269 fi
15270
15271
15272           eval "$wx_cv_use_hotkey"
15273
15274           if test x"$enablestring" = xdisable; then
15275             if test $wxUSE_HOTKEY = no; then
15276               result=yes
15277             else
15278               result=no
15279             fi
15280           else
15281             result=$wxUSE_HOTKEY
15282           fi
15283
15284           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15285 $as_echo "$result" >&6; }
15286
15287
15288           enablestring=
15289           defaultval=$wxUSE_ALL_FEATURES
15290           if test -z "$defaultval"; then
15291               if test x"$enablestring" = xdisable; then
15292                   defaultval=yes
15293               else
15294                   defaultval=no
15295               fi
15296           fi
15297
15298           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15299 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15300           # Check whether --enable-joystick was given.
15301 if test "${enable_joystick+set}" = set; then :
15302   enableval=$enable_joystick;
15303                           if test "$enableval" = yes; then
15304                             wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15305                           else
15306                             wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15307                           fi
15308
15309 else
15310
15311                           wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15312
15313 fi
15314
15315
15316           eval "$wx_cv_use_joystick"
15317
15318           if test x"$enablestring" = xdisable; then
15319             if test $wxUSE_JOYSTICK = no; then
15320               result=yes
15321             else
15322               result=no
15323             fi
15324           else
15325             result=$wxUSE_JOYSTICK
15326           fi
15327
15328           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15329 $as_echo "$result" >&6; }
15330
15331
15332           enablestring=
15333           defaultval=$wxUSE_ALL_FEATURES
15334           if test -z "$defaultval"; then
15335               if test x"$enablestring" = xdisable; then
15336                   defaultval=yes
15337               else
15338                   defaultval=no
15339               fi
15340           fi
15341
15342           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15343 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15344           # Check whether --enable-metafile was given.
15345 if test "${enable_metafile+set}" = set; then :
15346   enableval=$enable_metafile;
15347                           if test "$enableval" = yes; then
15348                             wx_cv_use_metafile='wxUSE_METAFILE=yes'
15349                           else
15350                             wx_cv_use_metafile='wxUSE_METAFILE=no'
15351                           fi
15352
15353 else
15354
15355                           wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15356
15357 fi
15358
15359
15360           eval "$wx_cv_use_metafile"
15361
15362           if test x"$enablestring" = xdisable; then
15363             if test $wxUSE_METAFILE = no; then
15364               result=yes
15365             else
15366               result=no
15367             fi
15368           else
15369             result=$wxUSE_METAFILE
15370           fi
15371
15372           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15373 $as_echo "$result" >&6; }
15374
15375
15376           enablestring=
15377           defaultval=$wxUSE_ALL_FEATURES
15378           if test -z "$defaultval"; then
15379               if test x"$enablestring" = xdisable; then
15380                   defaultval=yes
15381               else
15382                   defaultval=no
15383               fi
15384           fi
15385
15386           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15387 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15388           # Check whether --enable-dragimage was given.
15389 if test "${enable_dragimage+set}" = set; then :
15390   enableval=$enable_dragimage;
15391                           if test "$enableval" = yes; then
15392                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15393                           else
15394                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15395                           fi
15396
15397 else
15398
15399                           wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15400
15401 fi
15402
15403
15404           eval "$wx_cv_use_dragimage"
15405
15406           if test x"$enablestring" = xdisable; then
15407             if test $wxUSE_DRAGIMAGE = no; then
15408               result=yes
15409             else
15410               result=no
15411             fi
15412           else
15413             result=$wxUSE_DRAGIMAGE
15414           fi
15415
15416           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15417 $as_echo "$result" >&6; }
15418
15419
15420           enablestring=
15421           defaultval=$wxUSE_ALL_FEATURES
15422           if test -z "$defaultval"; then
15423               if test x"$enablestring" = xdisable; then
15424                   defaultval=yes
15425               else
15426                   defaultval=no
15427               fi
15428           fi
15429
15430           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15431 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15432           # Check whether --enable-accessibility was given.
15433 if test "${enable_accessibility+set}" = set; then :
15434   enableval=$enable_accessibility;
15435                           if test "$enableval" = yes; then
15436                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15437                           else
15438                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15439                           fi
15440
15441 else
15442
15443                           wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15444
15445 fi
15446
15447
15448           eval "$wx_cv_use_accessibility"
15449
15450           if test x"$enablestring" = xdisable; then
15451             if test $wxUSE_ACCESSIBILITY = no; then
15452               result=yes
15453             else
15454               result=no
15455             fi
15456           else
15457             result=$wxUSE_ACCESSIBILITY
15458           fi
15459
15460           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15461 $as_echo "$result" >&6; }
15462
15463
15464           enablestring=
15465           defaultval=$wxUSE_ALL_FEATURES
15466           if test -z "$defaultval"; then
15467               if test x"$enablestring" = xdisable; then
15468                   defaultval=yes
15469               else
15470                   defaultval=no
15471               fi
15472           fi
15473
15474           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15475 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15476           # Check whether --enable-uiactionsim was given.
15477 if test "${enable_uiactionsim+set}" = set; then :
15478   enableval=$enable_uiactionsim;
15479                           if test "$enableval" = yes; then
15480                             wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15481                           else
15482                             wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15483                           fi
15484
15485 else
15486
15487                           wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15488
15489 fi
15490
15491
15492           eval "$wx_cv_use_uiactionsim"
15493
15494           if test x"$enablestring" = xdisable; then
15495             if test $wxUSE_UIACTIONSIMULATOR = no; then
15496               result=yes
15497             else
15498               result=no
15499             fi
15500           else
15501             result=$wxUSE_UIACTIONSIMULATOR
15502           fi
15503
15504           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15505 $as_echo "$result" >&6; }
15506
15507
15508           enablestring=
15509           defaultval=$wxUSE_ALL_FEATURES
15510           if test -z "$defaultval"; then
15511               if test x"$enablestring" = xdisable; then
15512                   defaultval=yes
15513               else
15514                   defaultval=no
15515               fi
15516           fi
15517
15518           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15519 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15520           # Check whether --enable-dctransform was given.
15521 if test "${enable_dctransform+set}" = set; then :
15522   enableval=$enable_dctransform;
15523                           if test "$enableval" = yes; then
15524                             wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15525                           else
15526                             wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15527                           fi
15528
15529 else
15530
15531                           wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15532
15533 fi
15534
15535
15536           eval "$wx_cv_use_dctransform"
15537
15538           if test x"$enablestring" = xdisable; then
15539             if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15540               result=yes
15541             else
15542               result=no
15543             fi
15544           else
15545             result=$wxUSE_DC_TRANSFORM_MATRIX
15546           fi
15547
15548           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15549 $as_echo "$result" >&6; }
15550
15551
15552           enablestring=
15553           defaultval=$wxUSE_ALL_FEATURES
15554           if test -z "$defaultval"; then
15555               if test x"$enablestring" = xdisable; then
15556                   defaultval=yes
15557               else
15558                   defaultval=no
15559               fi
15560           fi
15561
15562           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15563 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15564           # Check whether --enable-webviewwebkit was given.
15565 if test "${enable_webviewwebkit+set}" = set; then :
15566   enableval=$enable_webviewwebkit;
15567                           if test "$enableval" = yes; then
15568                             wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15569                           else
15570                             wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15571                           fi
15572
15573 else
15574
15575                           wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15576
15577 fi
15578
15579
15580           eval "$wx_cv_use_webviewwebkit"
15581
15582           if test x"$enablestring" = xdisable; then
15583             if test $wxUSE_WEBVIEW_WEBKIT = no; then
15584               result=yes
15585             else
15586               result=no
15587             fi
15588           else
15589             result=$wxUSE_WEBVIEW_WEBKIT
15590           fi
15591
15592           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15593 $as_echo "$result" >&6; }
15594
15595
15596
15597
15598           enablestring=
15599           defaultval=$wxUSE_ALL_FEATURES
15600           if test -z "$defaultval"; then
15601               if test x"$enablestring" = xdisable; then
15602                   defaultval=yes
15603               else
15604                   defaultval=no
15605               fi
15606           fi
15607
15608           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15609 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15610           # Check whether --enable-palette was given.
15611 if test "${enable_palette+set}" = set; then :
15612   enableval=$enable_palette;
15613                           if test "$enableval" = yes; then
15614                             wx_cv_use_palette='wxUSE_PALETTE=yes'
15615                           else
15616                             wx_cv_use_palette='wxUSE_PALETTE=no'
15617                           fi
15618
15619 else
15620
15621                           wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15622
15623 fi
15624
15625
15626           eval "$wx_cv_use_palette"
15627
15628           if test x"$enablestring" = xdisable; then
15629             if test $wxUSE_PALETTE = no; then
15630               result=yes
15631             else
15632               result=no
15633             fi
15634           else
15635             result=$wxUSE_PALETTE
15636           fi
15637
15638           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15639 $as_echo "$result" >&6; }
15640
15641
15642           enablestring=
15643           defaultval=$wxUSE_ALL_FEATURES
15644           if test -z "$defaultval"; then
15645               if test x"$enablestring" = xdisable; then
15646                   defaultval=yes
15647               else
15648                   defaultval=no
15649               fi
15650           fi
15651
15652           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15653 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15654           # Check whether --enable-image was given.
15655 if test "${enable_image+set}" = set; then :
15656   enableval=$enable_image;
15657                           if test "$enableval" = yes; then
15658                             wx_cv_use_image='wxUSE_IMAGE=yes'
15659                           else
15660                             wx_cv_use_image='wxUSE_IMAGE=no'
15661                           fi
15662
15663 else
15664
15665                           wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15666
15667 fi
15668
15669
15670           eval "$wx_cv_use_image"
15671
15672           if test x"$enablestring" = xdisable; then
15673             if test $wxUSE_IMAGE = no; then
15674               result=yes
15675             else
15676               result=no
15677             fi
15678           else
15679             result=$wxUSE_IMAGE
15680           fi
15681
15682           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15683 $as_echo "$result" >&6; }
15684
15685
15686           enablestring=
15687           defaultval=$wxUSE_ALL_FEATURES
15688           if test -z "$defaultval"; then
15689               if test x"$enablestring" = xdisable; then
15690                   defaultval=yes
15691               else
15692                   defaultval=no
15693               fi
15694           fi
15695
15696           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15697 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15698           # Check whether --enable-gif was given.
15699 if test "${enable_gif+set}" = set; then :
15700   enableval=$enable_gif;
15701                           if test "$enableval" = yes; then
15702                             wx_cv_use_gif='wxUSE_GIF=yes'
15703                           else
15704                             wx_cv_use_gif='wxUSE_GIF=no'
15705                           fi
15706
15707 else
15708
15709                           wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15710
15711 fi
15712
15713
15714           eval "$wx_cv_use_gif"
15715
15716           if test x"$enablestring" = xdisable; then
15717             if test $wxUSE_GIF = no; then
15718               result=yes
15719             else
15720               result=no
15721             fi
15722           else
15723             result=$wxUSE_GIF
15724           fi
15725
15726           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15727 $as_echo "$result" >&6; }
15728
15729
15730           enablestring=
15731           defaultval=$wxUSE_ALL_FEATURES
15732           if test -z "$defaultval"; then
15733               if test x"$enablestring" = xdisable; then
15734                   defaultval=yes
15735               else
15736                   defaultval=no
15737               fi
15738           fi
15739
15740           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15741 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15742           # Check whether --enable-pcx was given.
15743 if test "${enable_pcx+set}" = set; then :
15744   enableval=$enable_pcx;
15745                           if test "$enableval" = yes; then
15746                             wx_cv_use_pcx='wxUSE_PCX=yes'
15747                           else
15748                             wx_cv_use_pcx='wxUSE_PCX=no'
15749                           fi
15750
15751 else
15752
15753                           wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15754
15755 fi
15756
15757
15758           eval "$wx_cv_use_pcx"
15759
15760           if test x"$enablestring" = xdisable; then
15761             if test $wxUSE_PCX = no; then
15762               result=yes
15763             else
15764               result=no
15765             fi
15766           else
15767             result=$wxUSE_PCX
15768           fi
15769
15770           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15771 $as_echo "$result" >&6; }
15772
15773
15774           enablestring=
15775           defaultval=$wxUSE_ALL_FEATURES
15776           if test -z "$defaultval"; then
15777               if test x"$enablestring" = xdisable; then
15778                   defaultval=yes
15779               else
15780                   defaultval=no
15781               fi
15782           fi
15783
15784           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15785 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15786           # Check whether --enable-tga was given.
15787 if test "${enable_tga+set}" = set; then :
15788   enableval=$enable_tga;
15789                           if test "$enableval" = yes; then
15790                             wx_cv_use_tga='wxUSE_TGA=yes'
15791                           else
15792                             wx_cv_use_tga='wxUSE_TGA=no'
15793                           fi
15794
15795 else
15796
15797                           wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15798
15799 fi
15800
15801
15802           eval "$wx_cv_use_tga"
15803
15804           if test x"$enablestring" = xdisable; then
15805             if test $wxUSE_TGA = no; then
15806               result=yes
15807             else
15808               result=no
15809             fi
15810           else
15811             result=$wxUSE_TGA
15812           fi
15813
15814           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15815 $as_echo "$result" >&6; }
15816
15817
15818           enablestring=
15819           defaultval=$wxUSE_ALL_FEATURES
15820           if test -z "$defaultval"; then
15821               if test x"$enablestring" = xdisable; then
15822                   defaultval=yes
15823               else
15824                   defaultval=no
15825               fi
15826           fi
15827
15828           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15829 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15830           # Check whether --enable-iff was given.
15831 if test "${enable_iff+set}" = set; then :
15832   enableval=$enable_iff;
15833                           if test "$enableval" = yes; then
15834                             wx_cv_use_iff='wxUSE_IFF=yes'
15835                           else
15836                             wx_cv_use_iff='wxUSE_IFF=no'
15837                           fi
15838
15839 else
15840
15841                           wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15842
15843 fi
15844
15845
15846           eval "$wx_cv_use_iff"
15847
15848           if test x"$enablestring" = xdisable; then
15849             if test $wxUSE_IFF = no; then
15850               result=yes
15851             else
15852               result=no
15853             fi
15854           else
15855             result=$wxUSE_IFF
15856           fi
15857
15858           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15859 $as_echo "$result" >&6; }
15860
15861
15862           enablestring=
15863           defaultval=$wxUSE_ALL_FEATURES
15864           if test -z "$defaultval"; then
15865               if test x"$enablestring" = xdisable; then
15866                   defaultval=yes
15867               else
15868                   defaultval=no
15869               fi
15870           fi
15871
15872           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15873 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15874           # Check whether --enable-pnm was given.
15875 if test "${enable_pnm+set}" = set; then :
15876   enableval=$enable_pnm;
15877                           if test "$enableval" = yes; then
15878                             wx_cv_use_pnm='wxUSE_PNM=yes'
15879                           else
15880                             wx_cv_use_pnm='wxUSE_PNM=no'
15881                           fi
15882
15883 else
15884
15885                           wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15886
15887 fi
15888
15889
15890           eval "$wx_cv_use_pnm"
15891
15892           if test x"$enablestring" = xdisable; then
15893             if test $wxUSE_PNM = no; then
15894               result=yes
15895             else
15896               result=no
15897             fi
15898           else
15899             result=$wxUSE_PNM
15900           fi
15901
15902           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15903 $as_echo "$result" >&6; }
15904
15905
15906           enablestring=
15907           defaultval=$wxUSE_ALL_FEATURES
15908           if test -z "$defaultval"; then
15909               if test x"$enablestring" = xdisable; then
15910                   defaultval=yes
15911               else
15912                   defaultval=no
15913               fi
15914           fi
15915
15916           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15917 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15918           # Check whether --enable-xpm was given.
15919 if test "${enable_xpm+set}" = set; then :
15920   enableval=$enable_xpm;
15921                           if test "$enableval" = yes; then
15922                             wx_cv_use_xpm='wxUSE_XPM=yes'
15923                           else
15924                             wx_cv_use_xpm='wxUSE_XPM=no'
15925                           fi
15926
15927 else
15928
15929                           wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15930
15931 fi
15932
15933
15934           eval "$wx_cv_use_xpm"
15935
15936           if test x"$enablestring" = xdisable; then
15937             if test $wxUSE_XPM = no; then
15938               result=yes
15939             else
15940               result=no
15941             fi
15942           else
15943             result=$wxUSE_XPM
15944           fi
15945
15946           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15947 $as_echo "$result" >&6; }
15948
15949
15950           enablestring=
15951           defaultval=$wxUSE_ALL_FEATURES
15952           if test -z "$defaultval"; then
15953               if test x"$enablestring" = xdisable; then
15954                   defaultval=yes
15955               else
15956                   defaultval=no
15957               fi
15958           fi
15959
15960           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15961 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15962           # Check whether --enable-ico_cur was given.
15963 if test "${enable_ico_cur+set}" = set; then :
15964   enableval=$enable_ico_cur;
15965                           if test "$enableval" = yes; then
15966                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15967                           else
15968                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15969                           fi
15970
15971 else
15972
15973                           wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15974
15975 fi
15976
15977
15978           eval "$wx_cv_use_ico_cur"
15979
15980           if test x"$enablestring" = xdisable; then
15981             if test $wxUSE_ICO_CUR = no; then
15982               result=yes
15983             else
15984               result=no
15985             fi
15986           else
15987             result=$wxUSE_ICO_CUR
15988           fi
15989
15990           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15991 $as_echo "$result" >&6; }
15992
15993
15994
15995
15996           enablestring=
15997           defaultval=$wxUSE_ALL_FEATURES
15998           if test -z "$defaultval"; then
15999               if test x"$enablestring" = xdisable; then
16000                   defaultval=yes
16001               else
16002                   defaultval=no
16003               fi
16004           fi
16005
16006           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
16007 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
16008           # Check whether --enable-dccache was given.
16009 if test "${enable_dccache+set}" = set; then :
16010   enableval=$enable_dccache;
16011                           if test "$enableval" = yes; then
16012                             wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16013                           else
16014                             wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16015                           fi
16016
16017 else
16018
16019                           wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16020
16021 fi
16022
16023
16024           eval "$wx_cv_use_dccache"
16025
16026           if test x"$enablestring" = xdisable; then
16027             if test $wxUSE_DC_CACHEING = no; then
16028               result=yes
16029             else
16030               result=no
16031             fi
16032           else
16033             result=$wxUSE_DC_CACHEING
16034           fi
16035
16036           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16037 $as_echo "$result" >&6; }
16038
16039
16040           enablestring=
16041           defaultval=$wxUSE_ALL_FEATURES
16042           if test -z "$defaultval"; then
16043               if test x"$enablestring" = xdisable; then
16044                   defaultval=yes
16045               else
16046                   defaultval=no
16047               fi
16048           fi
16049
16050           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
16051 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
16052           # Check whether --enable-ps-in-msw was given.
16053 if test "${enable_ps_in_msw+set}" = set; then :
16054   enableval=$enable_ps_in_msw;
16055                           if test "$enableval" = yes; then
16056                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16057                           else
16058                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16059                           fi
16060
16061 else
16062
16063                           wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16064
16065 fi
16066
16067
16068           eval "$wx_cv_use_ps_in_msw"
16069
16070           if test x"$enablestring" = xdisable; then
16071             if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
16072               result=yes
16073             else
16074               result=no
16075             fi
16076           else
16077             result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16078           fi
16079
16080           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16081 $as_echo "$result" >&6; }
16082
16083
16084           enablestring=
16085           defaultval=$wxUSE_ALL_FEATURES
16086           if test -z "$defaultval"; then
16087               if test x"$enablestring" = xdisable; then
16088                   defaultval=yes
16089               else
16090                   defaultval=no
16091               fi
16092           fi
16093
16094           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
16095 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
16096           # Check whether --enable-ownerdrawn was given.
16097 if test "${enable_ownerdrawn+set}" = set; then :
16098   enableval=$enable_ownerdrawn;
16099                           if test "$enableval" = yes; then
16100                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16101                           else
16102                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16103                           fi
16104
16105 else
16106
16107                           wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16108
16109 fi
16110
16111
16112           eval "$wx_cv_use_ownerdrawn"
16113
16114           if test x"$enablestring" = xdisable; then
16115             if test $wxUSE_OWNER_DRAWN = no; then
16116               result=yes
16117             else
16118               result=no
16119             fi
16120           else
16121             result=$wxUSE_OWNER_DRAWN
16122           fi
16123
16124           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16125 $as_echo "$result" >&6; }
16126
16127
16128           enablestring=
16129           defaultval=$wxUSE_ALL_FEATURES
16130           if test -z "$defaultval"; then
16131               if test x"$enablestring" = xdisable; then
16132                   defaultval=yes
16133               else
16134                   defaultval=no
16135               fi
16136           fi
16137
16138           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16139 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16140           # Check whether --enable-uxtheme was given.
16141 if test "${enable_uxtheme+set}" = set; then :
16142   enableval=$enable_uxtheme;
16143                           if test "$enableval" = yes; then
16144                             wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16145                           else
16146                             wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16147                           fi
16148
16149 else
16150
16151                           wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16152
16153 fi
16154
16155
16156           eval "$wx_cv_use_uxtheme"
16157
16158           if test x"$enablestring" = xdisable; then
16159             if test $wxUSE_UXTHEME = no; then
16160               result=yes
16161             else
16162               result=no
16163             fi
16164           else
16165             result=$wxUSE_UXTHEME
16166           fi
16167
16168           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16169 $as_echo "$result" >&6; }
16170
16171
16172           enablestring=
16173           defaultval=$wxUSE_ALL_FEATURES
16174           if test -z "$defaultval"; then
16175               if test x"$enablestring" = xdisable; then
16176                   defaultval=yes
16177               else
16178                   defaultval=no
16179               fi
16180           fi
16181
16182           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16183 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16184           # Check whether --enable-wxdib was given.
16185 if test "${enable_wxdib+set}" = set; then :
16186   enableval=$enable_wxdib;
16187                           if test "$enableval" = yes; then
16188                             wx_cv_use_wxdib='wxUSE_DIB=yes'
16189                           else
16190                             wx_cv_use_wxdib='wxUSE_DIB=no'
16191                           fi
16192
16193 else
16194
16195                           wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16196
16197 fi
16198
16199
16200           eval "$wx_cv_use_wxdib"
16201
16202           if test x"$enablestring" = xdisable; then
16203             if test $wxUSE_DIB = no; then
16204               result=yes
16205             else
16206               result=no
16207             fi
16208           else
16209             result=$wxUSE_DIB
16210           fi
16211
16212           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16213 $as_echo "$result" >&6; }
16214
16215
16216           enablestring=
16217           defaultval=$wxUSE_ALL_FEATURES
16218           if test -z "$defaultval"; then
16219               if test x"$enablestring" = xdisable; then
16220                   defaultval=yes
16221               else
16222                   defaultval=no
16223               fi
16224           fi
16225
16226           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16227 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16228           # Check whether --enable-webviewie was given.
16229 if test "${enable_webviewie+set}" = set; then :
16230   enableval=$enable_webviewie;
16231                           if test "$enableval" = yes; then
16232                             wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16233                           else
16234                             wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16235                           fi
16236
16237 else
16238
16239                           wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16240
16241 fi
16242
16243
16244           eval "$wx_cv_use_webviewie"
16245
16246           if test x"$enablestring" = xdisable; then
16247             if test $wxUSE_WEBVIEW_IE = no; then
16248               result=yes
16249             else
16250               result=no
16251             fi
16252           else
16253             result=$wxUSE_WEBVIEW_IE
16254           fi
16255
16256           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16257 $as_echo "$result" >&6; }
16258
16259
16260 if test "$wxUSE_MSW" != 1; then
16261     DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16262 fi
16263
16264
16265           enablestring=
16266           defaultval=$wxUSE_ALL_FEATURES
16267           if test -z "$defaultval"; then
16268               if test x"$enablestring" = xdisable; then
16269                   defaultval=yes
16270               else
16271                   defaultval=no
16272               fi
16273           fi
16274
16275           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16276 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16277           # Check whether --enable-autoidman was given.
16278 if test "${enable_autoidman+set}" = set; then :
16279   enableval=$enable_autoidman;
16280                           if test "$enableval" = yes; then
16281                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16282                           else
16283                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16284                           fi
16285
16286 else
16287
16288                           wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16289
16290 fi
16291
16292
16293           eval "$wx_cv_use_autoidman"
16294
16295           if test x"$enablestring" = xdisable; then
16296             if test $wxUSE_AUTOID_MANAGEMENT = no; then
16297               result=yes
16298             else
16299               result=no
16300             fi
16301           else
16302             result=$wxUSE_AUTOID_MANAGEMENT
16303           fi
16304
16305           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16306 $as_echo "$result" >&6; }
16307
16308
16309 fi
16310
16311
16312 cat >confcache <<\_ACEOF
16313 # This file is a shell script that caches the results of configure
16314 # tests run on this system so they can be shared between configure
16315 # scripts and configure runs, see configure's option --config-cache.
16316 # It is not useful on other systems.  If it contains results you don't
16317 # want to keep, you may remove or edit it.
16318 #
16319 # config.status only pays attention to the cache file if you give it
16320 # the --recheck option to rerun configure.
16321 #
16322 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16323 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16324 # following values.
16325
16326 _ACEOF
16327
16328 # The following way of writing the cache mishandles newlines in values,
16329 # but we know of no workaround that is simple, portable, and efficient.
16330 # So, we kill variables containing newlines.
16331 # Ultrix sh set writes to stderr and can't be redirected directly,
16332 # and sets the high bit in the cache file unless we assign to the vars.
16333 (
16334   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16335     eval ac_val=\$$ac_var
16336     case $ac_val in #(
16337     *${as_nl}*)
16338       case $ac_var in #(
16339       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16340 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16341       esac
16342       case $ac_var in #(
16343       _ | IFS | as_nl) ;; #(
16344       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16345       *) { eval $ac_var=; unset $ac_var;} ;;
16346       esac ;;
16347     esac
16348   done
16349
16350   (set) 2>&1 |
16351     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16352     *${as_nl}ac_space=\ *)
16353       # `set' does not quote correctly, so add quotes: double-quote
16354       # substitution turns \\\\ into \\, and sed turns \\ into \.
16355       sed -n \
16356         "s/'/'\\\\''/g;
16357           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16358       ;; #(
16359     *)
16360       # `set' quotes correctly as required by POSIX, so do not add quotes.
16361       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16362       ;;
16363     esac |
16364     sort
16365 ) |
16366   sed '
16367      /^ac_cv_env_/b end
16368      t clear
16369      :clear
16370      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16371      t end
16372      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16373      :end' >>confcache
16374 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16375   if test -w "$cache_file"; then
16376     if test "x$cache_file" != "x/dev/null"; then
16377       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16378 $as_echo "$as_me: updating cache $cache_file" >&6;}
16379       if test ! -f "$cache_file" || test -h "$cache_file"; then
16380         cat confcache >"$cache_file"
16381       else
16382         case $cache_file in #(
16383         */* | ?:*)
16384           mv -f confcache "$cache_file"$$ &&
16385           mv -f "$cache_file"$$ "$cache_file" ;; #(
16386         *)
16387           mv -f confcache "$cache_file" ;;
16388         esac
16389       fi
16390     fi
16391   else
16392     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16393 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16394   fi
16395 fi
16396 rm -f confcache
16397
16398 CFLAGS=${CFLAGS:=}
16399 ac_ext=c
16400 ac_cpp='$CPP $CPPFLAGS'
16401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16404 if test -n "$ac_tool_prefix"; then
16405   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16406 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16408 $as_echo_n "checking for $ac_word... " >&6; }
16409 if ${ac_cv_prog_CC+:} false; then :
16410   $as_echo_n "(cached) " >&6
16411 else
16412   if test -n "$CC"; then
16413   ac_cv_prog_CC="$CC" # Let the user override the test.
16414 else
16415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16416 for as_dir in $PATH
16417 do
16418   IFS=$as_save_IFS
16419   test -z "$as_dir" && as_dir=.
16420     for ac_exec_ext in '' $ac_executable_extensions; do
16421   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16422     ac_cv_prog_CC="${ac_tool_prefix}gcc"
16423     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16424     break 2
16425   fi
16426 done
16427   done
16428 IFS=$as_save_IFS
16429
16430 fi
16431 fi
16432 CC=$ac_cv_prog_CC
16433 if test -n "$CC"; then
16434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16435 $as_echo "$CC" >&6; }
16436 else
16437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16438 $as_echo "no" >&6; }
16439 fi
16440
16441
16442 fi
16443 if test -z "$ac_cv_prog_CC"; then
16444   ac_ct_CC=$CC
16445   # Extract the first word of "gcc", so it can be a program name with args.
16446 set dummy gcc; ac_word=$2
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16448 $as_echo_n "checking for $ac_word... " >&6; }
16449 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16450   $as_echo_n "(cached) " >&6
16451 else
16452   if test -n "$ac_ct_CC"; then
16453   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16454 else
16455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16456 for as_dir in $PATH
16457 do
16458   IFS=$as_save_IFS
16459   test -z "$as_dir" && as_dir=.
16460     for ac_exec_ext in '' $ac_executable_extensions; do
16461   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16462     ac_cv_prog_ac_ct_CC="gcc"
16463     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16464     break 2
16465   fi
16466 done
16467   done
16468 IFS=$as_save_IFS
16469
16470 fi
16471 fi
16472 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16473 if test -n "$ac_ct_CC"; then
16474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16475 $as_echo "$ac_ct_CC" >&6; }
16476 else
16477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16478 $as_echo "no" >&6; }
16479 fi
16480
16481   if test "x$ac_ct_CC" = x; then
16482     CC=""
16483   else
16484     case $cross_compiling:$ac_tool_warned in
16485 yes:)
16486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16488 ac_tool_warned=yes ;;
16489 esac
16490     CC=$ac_ct_CC
16491   fi
16492 else
16493   CC="$ac_cv_prog_CC"
16494 fi
16495
16496 if test -z "$CC"; then
16497           if test -n "$ac_tool_prefix"; then
16498     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16499 set dummy ${ac_tool_prefix}cc; ac_word=$2
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16501 $as_echo_n "checking for $ac_word... " >&6; }
16502 if ${ac_cv_prog_CC+:} false; then :
16503   $as_echo_n "(cached) " >&6
16504 else
16505   if test -n "$CC"; then
16506   ac_cv_prog_CC="$CC" # Let the user override the test.
16507 else
16508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16509 for as_dir in $PATH
16510 do
16511   IFS=$as_save_IFS
16512   test -z "$as_dir" && as_dir=.
16513     for ac_exec_ext in '' $ac_executable_extensions; do
16514   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16515     ac_cv_prog_CC="${ac_tool_prefix}cc"
16516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16517     break 2
16518   fi
16519 done
16520   done
16521 IFS=$as_save_IFS
16522
16523 fi
16524 fi
16525 CC=$ac_cv_prog_CC
16526 if test -n "$CC"; then
16527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16528 $as_echo "$CC" >&6; }
16529 else
16530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16531 $as_echo "no" >&6; }
16532 fi
16533
16534
16535   fi
16536 fi
16537 if test -z "$CC"; then
16538   # Extract the first word of "cc", so it can be a program name with args.
16539 set dummy cc; ac_word=$2
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16541 $as_echo_n "checking for $ac_word... " >&6; }
16542 if ${ac_cv_prog_CC+:} false; then :
16543   $as_echo_n "(cached) " >&6
16544 else
16545   if test -n "$CC"; then
16546   ac_cv_prog_CC="$CC" # Let the user override the test.
16547 else
16548   ac_prog_rejected=no
16549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16550 for as_dir in $PATH
16551 do
16552   IFS=$as_save_IFS
16553   test -z "$as_dir" && as_dir=.
16554     for ac_exec_ext in '' $ac_executable_extensions; do
16555   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16556     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16557        ac_prog_rejected=yes
16558        continue
16559      fi
16560     ac_cv_prog_CC="cc"
16561     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16562     break 2
16563   fi
16564 done
16565   done
16566 IFS=$as_save_IFS
16567
16568 if test $ac_prog_rejected = yes; then
16569   # We found a bogon in the path, so make sure we never use it.
16570   set dummy $ac_cv_prog_CC
16571   shift
16572   if test $# != 0; then
16573     # We chose a different compiler from the bogus one.
16574     # However, it has the same basename, so the bogon will be chosen
16575     # first if we set CC to just the basename; use the full file name.
16576     shift
16577     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16578   fi
16579 fi
16580 fi
16581 fi
16582 CC=$ac_cv_prog_CC
16583 if test -n "$CC"; then
16584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16585 $as_echo "$CC" >&6; }
16586 else
16587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16588 $as_echo "no" >&6; }
16589 fi
16590
16591
16592 fi
16593 if test -z "$CC"; then
16594   if test -n "$ac_tool_prefix"; then
16595   for ac_prog in cl.exe
16596   do
16597     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16598 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16600 $as_echo_n "checking for $ac_word... " >&6; }
16601 if ${ac_cv_prog_CC+:} false; then :
16602   $as_echo_n "(cached) " >&6
16603 else
16604   if test -n "$CC"; then
16605   ac_cv_prog_CC="$CC" # Let the user override the test.
16606 else
16607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16608 for as_dir in $PATH
16609 do
16610   IFS=$as_save_IFS
16611   test -z "$as_dir" && as_dir=.
16612     for ac_exec_ext in '' $ac_executable_extensions; do
16613   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16614     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16615     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16616     break 2
16617   fi
16618 done
16619   done
16620 IFS=$as_save_IFS
16621
16622 fi
16623 fi
16624 CC=$ac_cv_prog_CC
16625 if test -n "$CC"; then
16626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16627 $as_echo "$CC" >&6; }
16628 else
16629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16630 $as_echo "no" >&6; }
16631 fi
16632
16633
16634     test -n "$CC" && break
16635   done
16636 fi
16637 if test -z "$CC"; then
16638   ac_ct_CC=$CC
16639   for ac_prog in cl.exe
16640 do
16641   # Extract the first word of "$ac_prog", so it can be a program name with args.
16642 set dummy $ac_prog; ac_word=$2
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16644 $as_echo_n "checking for $ac_word... " >&6; }
16645 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16646   $as_echo_n "(cached) " >&6
16647 else
16648   if test -n "$ac_ct_CC"; then
16649   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16650 else
16651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16652 for as_dir in $PATH
16653 do
16654   IFS=$as_save_IFS
16655   test -z "$as_dir" && as_dir=.
16656     for ac_exec_ext in '' $ac_executable_extensions; do
16657   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16658     ac_cv_prog_ac_ct_CC="$ac_prog"
16659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16660     break 2
16661   fi
16662 done
16663   done
16664 IFS=$as_save_IFS
16665
16666 fi
16667 fi
16668 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16669 if test -n "$ac_ct_CC"; then
16670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16671 $as_echo "$ac_ct_CC" >&6; }
16672 else
16673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16674 $as_echo "no" >&6; }
16675 fi
16676
16677
16678   test -n "$ac_ct_CC" && break
16679 done
16680
16681   if test "x$ac_ct_CC" = x; then
16682     CC=""
16683   else
16684     case $cross_compiling:$ac_tool_warned in
16685 yes:)
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16688 ac_tool_warned=yes ;;
16689 esac
16690     CC=$ac_ct_CC
16691   fi
16692 fi
16693
16694 fi
16695
16696
16697 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16699 as_fn_error $? "no acceptable C compiler found in \$PATH
16700 See \`config.log' for more details" "$LINENO" 5; }
16701
16702 # Provide some information about the compiler.
16703 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16704 set X $ac_compile
16705 ac_compiler=$2
16706 for ac_option in --version -v -V -qversion; do
16707   { { ac_try="$ac_compiler $ac_option >&5"
16708 case "(($ac_try" in
16709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16710   *) ac_try_echo=$ac_try;;
16711 esac
16712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16713 $as_echo "$ac_try_echo"; } >&5
16714   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16715   ac_status=$?
16716   if test -s conftest.err; then
16717     sed '10a\
16718 ... rest of stderr output deleted ...
16719          10q' conftest.err >conftest.er1
16720     cat conftest.er1 >&5
16721   fi
16722   rm -f conftest.er1 conftest.err
16723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16724   test $ac_status = 0; }
16725 done
16726
16727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16728 /* end confdefs.h.  */
16729
16730 int
16731 main ()
16732 {
16733
16734   ;
16735   return 0;
16736 }
16737 _ACEOF
16738 ac_clean_files_save=$ac_clean_files
16739 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16740 # Try to create an executable without -o first, disregard a.out.
16741 # It will help us diagnose broken compilers, and finding out an intuition
16742 # of exeext.
16743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16744 $as_echo_n "checking whether the C compiler works... " >&6; }
16745 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16746
16747 # The possible output files:
16748 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16749
16750 ac_rmfiles=
16751 for ac_file in $ac_files
16752 do
16753   case $ac_file in
16754     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16755     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16756   esac
16757 done
16758 rm -f $ac_rmfiles
16759
16760 if { { ac_try="$ac_link_default"
16761 case "(($ac_try" in
16762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16763   *) ac_try_echo=$ac_try;;
16764 esac
16765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16766 $as_echo "$ac_try_echo"; } >&5
16767   (eval "$ac_link_default") 2>&5
16768   ac_status=$?
16769   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16770   test $ac_status = 0; }; then :
16771   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16772 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16773 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
16774 # so that the user can short-circuit this test for compilers unknown to
16775 # Autoconf.
16776 for ac_file in $ac_files ''
16777 do
16778   test -f "$ac_file" || continue
16779   case $ac_file in
16780     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16781         ;;
16782     [ab].out )
16783         # We found the default executable, but exeext='' is most
16784         # certainly right.
16785         break;;
16786     *.* )
16787         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16788         then :; else
16789            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16790         fi
16791         # We set ac_cv_exeext here because the later test for it is not
16792         # safe: cross compilers may not add the suffix if given an `-o'
16793         # argument, so we may need to know it at that point already.
16794         # Even if this section looks crufty: it has the advantage of
16795         # actually working.
16796         break;;
16797     * )
16798         break;;
16799   esac
16800 done
16801 test "$ac_cv_exeext" = no && ac_cv_exeext=
16802
16803 else
16804   ac_file=''
16805 fi
16806 if test -z "$ac_file"; then :
16807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16808 $as_echo "no" >&6; }
16809 $as_echo "$as_me: failed program was:" >&5
16810 sed 's/^/| /' conftest.$ac_ext >&5
16811
16812 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16814 as_fn_error 77 "C compiler cannot create executables
16815 See \`config.log' for more details" "$LINENO" 5; }
16816 else
16817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16818 $as_echo "yes" >&6; }
16819 fi
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16821 $as_echo_n "checking for C compiler default output file name... " >&6; }
16822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16823 $as_echo "$ac_file" >&6; }
16824 ac_exeext=$ac_cv_exeext
16825
16826 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16827 ac_clean_files=$ac_clean_files_save
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16829 $as_echo_n "checking for suffix of executables... " >&6; }
16830 if { { ac_try="$ac_link"
16831 case "(($ac_try" in
16832   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16833   *) ac_try_echo=$ac_try;;
16834 esac
16835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16836 $as_echo "$ac_try_echo"; } >&5
16837   (eval "$ac_link") 2>&5
16838   ac_status=$?
16839   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16840   test $ac_status = 0; }; then :
16841   # If both `conftest.exe' and `conftest' are `present' (well, observable)
16842 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
16843 # work properly (i.e., refer to `conftest.exe'), while it won't with
16844 # `rm'.
16845 for ac_file in conftest.exe conftest conftest.*; do
16846   test -f "$ac_file" || continue
16847   case $ac_file in
16848     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16849     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16850           break;;
16851     * ) break;;
16852   esac
16853 done
16854 else
16855   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16857 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16858 See \`config.log' for more details" "$LINENO" 5; }
16859 fi
16860 rm -f conftest conftest$ac_cv_exeext
16861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16862 $as_echo "$ac_cv_exeext" >&6; }
16863
16864 rm -f conftest.$ac_ext
16865 EXEEXT=$ac_cv_exeext
16866 ac_exeext=$EXEEXT
16867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16868 /* end confdefs.h.  */
16869 #include <stdio.h>
16870 int
16871 main ()
16872 {
16873 FILE *f = fopen ("conftest.out", "w");
16874  return ferror (f) || fclose (f) != 0;
16875
16876   ;
16877   return 0;
16878 }
16879 _ACEOF
16880 ac_clean_files="$ac_clean_files conftest.out"
16881 # Check that the compiler produces executables we can run.  If not, either
16882 # the compiler is broken, or we cross compile.
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16884 $as_echo_n "checking whether we are cross compiling... " >&6; }
16885 if test "$cross_compiling" != yes; then
16886   { { ac_try="$ac_link"
16887 case "(($ac_try" in
16888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16889   *) ac_try_echo=$ac_try;;
16890 esac
16891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16892 $as_echo "$ac_try_echo"; } >&5
16893   (eval "$ac_link") 2>&5
16894   ac_status=$?
16895   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16896   test $ac_status = 0; }
16897   if { ac_try='./conftest$ac_cv_exeext'
16898   { { case "(($ac_try" in
16899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16900   *) ac_try_echo=$ac_try;;
16901 esac
16902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16903 $as_echo "$ac_try_echo"; } >&5
16904   (eval "$ac_try") 2>&5
16905   ac_status=$?
16906   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16907   test $ac_status = 0; }; }; then
16908     cross_compiling=no
16909   else
16910     if test "$cross_compiling" = maybe; then
16911         cross_compiling=yes
16912     else
16913         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16915 as_fn_error $? "cannot run C compiled programs.
16916 If you meant to cross compile, use \`--host'.
16917 See \`config.log' for more details" "$LINENO" 5; }
16918     fi
16919   fi
16920 fi
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16922 $as_echo "$cross_compiling" >&6; }
16923
16924 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16925 ac_clean_files=$ac_clean_files_save
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16927 $as_echo_n "checking for suffix of object files... " >&6; }
16928 if ${ac_cv_objext+:} false; then :
16929   $as_echo_n "(cached) " >&6
16930 else
16931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16932 /* end confdefs.h.  */
16933
16934 int
16935 main ()
16936 {
16937
16938   ;
16939   return 0;
16940 }
16941 _ACEOF
16942 rm -f conftest.o conftest.obj
16943 if { { ac_try="$ac_compile"
16944 case "(($ac_try" in
16945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16946   *) ac_try_echo=$ac_try;;
16947 esac
16948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16949 $as_echo "$ac_try_echo"; } >&5
16950   (eval "$ac_compile") 2>&5
16951   ac_status=$?
16952   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16953   test $ac_status = 0; }; then :
16954   for ac_file in conftest.o conftest.obj conftest.*; do
16955   test -f "$ac_file" || continue;
16956   case $ac_file in
16957     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16958     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16959        break;;
16960   esac
16961 done
16962 else
16963   $as_echo "$as_me: failed program was:" >&5
16964 sed 's/^/| /' conftest.$ac_ext >&5
16965
16966 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16968 as_fn_error $? "cannot compute suffix of object files: cannot compile
16969 See \`config.log' for more details" "$LINENO" 5; }
16970 fi
16971 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16972 fi
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16974 $as_echo "$ac_cv_objext" >&6; }
16975 OBJEXT=$ac_cv_objext
16976 ac_objext=$OBJEXT
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16978 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16979 if ${ac_cv_c_compiler_gnu+:} false; then :
16980   $as_echo_n "(cached) " >&6
16981 else
16982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16983 /* end confdefs.h.  */
16984
16985 int
16986 main ()
16987 {
16988 #ifndef __GNUC__
16989        choke me
16990 #endif
16991
16992   ;
16993   return 0;
16994 }
16995 _ACEOF
16996 if ac_fn_c_try_compile "$LINENO"; then :
16997   ac_compiler_gnu=yes
16998 else
16999   ac_compiler_gnu=no
17000 fi
17001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17002 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17003
17004 fi
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17006 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
17007 if test $ac_compiler_gnu = yes; then
17008   GCC=yes
17009 else
17010   GCC=
17011 fi
17012 ac_test_CFLAGS=${CFLAGS+set}
17013 ac_save_CFLAGS=$CFLAGS
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17015 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17016 if ${ac_cv_prog_cc_g+:} false; then :
17017   $as_echo_n "(cached) " >&6
17018 else
17019   ac_save_c_werror_flag=$ac_c_werror_flag
17020    ac_c_werror_flag=yes
17021    ac_cv_prog_cc_g=no
17022    CFLAGS="-g"
17023    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17024 /* end confdefs.h.  */
17025
17026 int
17027 main ()
17028 {
17029
17030   ;
17031   return 0;
17032 }
17033 _ACEOF
17034 if ac_fn_c_try_compile "$LINENO"; then :
17035   ac_cv_prog_cc_g=yes
17036 else
17037   CFLAGS=""
17038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17039 /* end confdefs.h.  */
17040
17041 int
17042 main ()
17043 {
17044
17045   ;
17046   return 0;
17047 }
17048 _ACEOF
17049 if ac_fn_c_try_compile "$LINENO"; then :
17050
17051 else
17052   ac_c_werror_flag=$ac_save_c_werror_flag
17053          CFLAGS="-g"
17054          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h.  */
17056
17057 int
17058 main ()
17059 {
17060
17061   ;
17062   return 0;
17063 }
17064 _ACEOF
17065 if ac_fn_c_try_compile "$LINENO"; then :
17066   ac_cv_prog_cc_g=yes
17067 fi
17068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17069 fi
17070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17071 fi
17072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17073    ac_c_werror_flag=$ac_save_c_werror_flag
17074 fi
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17076 $as_echo "$ac_cv_prog_cc_g" >&6; }
17077 if test "$ac_test_CFLAGS" = set; then
17078   CFLAGS=$ac_save_CFLAGS
17079 elif test $ac_cv_prog_cc_g = yes; then
17080   if test "$GCC" = yes; then
17081     CFLAGS="-g -O2"
17082   else
17083     CFLAGS="-g"
17084   fi
17085 else
17086   if test "$GCC" = yes; then
17087     CFLAGS="-O2"
17088   else
17089     CFLAGS=
17090   fi
17091 fi
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17093 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17094 if ${ac_cv_prog_cc_c89+:} false; then :
17095   $as_echo_n "(cached) " >&6
17096 else
17097   ac_cv_prog_cc_c89=no
17098 ac_save_CC=$CC
17099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17100 /* end confdefs.h.  */
17101 #include <stdarg.h>
17102 #include <stdio.h>
17103 struct stat;
17104 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
17105 struct buf { int x; };
17106 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17107 static char *e (p, i)
17108      char **p;
17109      int i;
17110 {
17111   return p[i];
17112 }
17113 static char *f (char * (*g) (char **, int), char **p, ...)
17114 {
17115   char *s;
17116   va_list v;
17117   va_start (v,p);
17118   s = g (p, va_arg (v,int));
17119   va_end (v);
17120   return s;
17121 }
17122
17123 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
17124    function prototypes and stuff, but not '\xHH' hex character constants.
17125    These don't provoke an error unfortunately, instead are silently treated
17126    as 'x'.  The following induces an error, until -std is added to get
17127    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
17128    array size at least.  It's necessary to write '\x00'==0 to get something
17129    that's true only with -std.  */
17130 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17131
17132 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17133    inside strings and character constants.  */
17134 #define FOO(x) 'x'
17135 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17136
17137 int test (int i, double x);
17138 struct s1 {int (*f) (int a);};
17139 struct s2 {int (*f) (double a);};
17140 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17141 int argc;
17142 char **argv;
17143 int
17144 main ()
17145 {
17146 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
17147   ;
17148   return 0;
17149 }
17150 _ACEOF
17151 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17152         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17153 do
17154   CC="$ac_save_CC $ac_arg"
17155   if ac_fn_c_try_compile "$LINENO"; then :
17156   ac_cv_prog_cc_c89=$ac_arg
17157 fi
17158 rm -f core conftest.err conftest.$ac_objext
17159   test "x$ac_cv_prog_cc_c89" != "xno" && break
17160 done
17161 rm -f conftest.$ac_ext
17162 CC=$ac_save_CC
17163
17164 fi
17165 # AC_CACHE_VAL
17166 case "x$ac_cv_prog_cc_c89" in
17167   x)
17168     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17169 $as_echo "none needed" >&6; } ;;
17170   xno)
17171     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17172 $as_echo "unsupported" >&6; } ;;
17173   *)
17174     CC="$CC $ac_cv_prog_cc_c89"
17175     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17176 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17177 esac
17178 if test "x$ac_cv_prog_cc_c89" != xno; then :
17179
17180 fi
17181
17182 ac_ext=c
17183 ac_cpp='$CPP $CPPFLAGS'
17184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17187
17188
17189
17190
17191
17192
17193
17194
17195     ac_ext=c
17196 ac_cpp='$CPP $CPPFLAGS'
17197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17200
17201     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17202 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17203 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17204   $as_echo_n "(cached) " >&6
17205 else
17206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17207 /* end confdefs.h.  */
17208
17209 int
17210 main ()
17211 {
17212
17213              #ifndef __INTEL_COMPILER
17214                 choke me
17215              #endif
17216
17217   ;
17218   return 0;
17219 }
17220 _ACEOF
17221 if ac_fn_c_try_compile "$LINENO"; then :
17222   bakefile_cv_c_compiler___INTEL_COMPILER=yes
17223 else
17224   bakefile_cv_c_compiler___INTEL_COMPILER=no
17225
17226 fi
17227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17228
17229
17230 fi
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17232 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17233     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17234         :; INTELCC=yes
17235     else
17236         :;
17237     fi
17238     ac_ext=c
17239 ac_cpp='$CPP $CPPFLAGS'
17240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17243
17244
17245
17246
17247         if test "$INTELCC" = "yes"; then
17248
17249
17250     ac_ext=c
17251 ac_cpp='$CPP $CPPFLAGS'
17252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17255
17256     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17257 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17258 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17259   $as_echo_n "(cached) " >&6
17260 else
17261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h.  */
17263
17264 int
17265 main ()
17266 {
17267
17268              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17269                 choke me
17270              #endif
17271
17272   ;
17273   return 0;
17274 }
17275 _ACEOF
17276 if ac_fn_c_try_compile "$LINENO"; then :
17277   bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17278 else
17279   bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17280
17281 fi
17282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17283
17284
17285 fi
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17287 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17288     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17289         :; INTELCC8=yes
17290     else
17291         :;
17292     fi
17293     ac_ext=c
17294 ac_cpp='$CPP $CPPFLAGS'
17295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17298
17299
17300
17301
17302
17303     ac_ext=c
17304 ac_cpp='$CPP $CPPFLAGS'
17305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17308
17309     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17310 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17311 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17312   $as_echo_n "(cached) " >&6
17313 else
17314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17315 /* end confdefs.h.  */
17316
17317 int
17318 main ()
17319 {
17320
17321              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17322                 choke me
17323              #endif
17324
17325   ;
17326   return 0;
17327 }
17328 _ACEOF
17329 if ac_fn_c_try_compile "$LINENO"; then :
17330   bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17331 else
17332   bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17333
17334 fi
17335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17336
17337
17338 fi
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17340 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17341     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17342         :; INTELCC10=yes
17343     else
17344         :;
17345     fi
17346     ac_ext=c
17347 ac_cpp='$CPP $CPPFLAGS'
17348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17351
17352
17353
17354     fi
17355
17356         if test "x$GCC" != "xyes"; then
17357         if test "xCC" = "xC"; then
17358             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17359 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17360 if ${bakefile_cv_c_exto+:} false; then :
17361   $as_echo_n "(cached) " >&6
17362 else
17363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h.  */
17365
17366 int
17367 main ()
17368 {
17369
17370   ;
17371   return 0;
17372 }
17373 _ACEOF
17374 rm -f conftest.$ac_objext conftest.$ac_ext.o
17375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17376   (eval $ac_compile) 2>&5
17377   ac_status=$?
17378   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17379   test $ac_status = 0; }; then :
17380   for ac_file in `(ls conftest.* 2>/dev/null)`; do
17381     case $ac_file in
17382         conftest.$ac_ext.o)
17383             bakefile_cv_c_exto="-ext o"
17384             ;;
17385         *)
17386             ;;
17387     esac
17388 done
17389 else
17390   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17392 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17393 See \`config.log' for more details" "$LINENO" 5; }
17394
17395 fi
17396 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17397
17398 fi
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17400 $as_echo "$bakefile_cv_c_exto" >&6; }
17401 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17402     if test "c" = "c"; then
17403         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17404     fi
17405     if test "c" = "cxx"; then
17406         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17407     fi
17408 fi
17409
17410             if test "x$bakefile_cv_c_exto" '!=' "x"; then
17411                 unset ac_cv_prog_cc_g
17412                 ac_test_CFLAGS=${CFLAGS+set}
17413 ac_save_CFLAGS=$CFLAGS
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17415 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17416 if ${ac_cv_prog_cc_g+:} false; then :
17417   $as_echo_n "(cached) " >&6
17418 else
17419   ac_save_c_werror_flag=$ac_c_werror_flag
17420    ac_c_werror_flag=yes
17421    ac_cv_prog_cc_g=no
17422    CFLAGS="-g"
17423    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17424 /* end confdefs.h.  */
17425
17426 int
17427 main ()
17428 {
17429
17430   ;
17431   return 0;
17432 }
17433 _ACEOF
17434 if ac_fn_c_try_compile "$LINENO"; then :
17435   ac_cv_prog_cc_g=yes
17436 else
17437   CFLAGS=""
17438       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17439 /* end confdefs.h.  */
17440
17441 int
17442 main ()
17443 {
17444
17445   ;
17446   return 0;
17447 }
17448 _ACEOF
17449 if ac_fn_c_try_compile "$LINENO"; then :
17450
17451 else
17452   ac_c_werror_flag=$ac_save_c_werror_flag
17453          CFLAGS="-g"
17454          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17455 /* end confdefs.h.  */
17456
17457 int
17458 main ()
17459 {
17460
17461   ;
17462   return 0;
17463 }
17464 _ACEOF
17465 if ac_fn_c_try_compile "$LINENO"; then :
17466   ac_cv_prog_cc_g=yes
17467 fi
17468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17469 fi
17470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17471 fi
17472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17473    ac_c_werror_flag=$ac_save_c_werror_flag
17474 fi
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17476 $as_echo "$ac_cv_prog_cc_g" >&6; }
17477 if test "$ac_test_CFLAGS" = set; then
17478   CFLAGS=$ac_save_CFLAGS
17479 elif test $ac_cv_prog_cc_g = yes; then
17480   if test "$GCC" = yes; then
17481     CFLAGS="-g -O2"
17482   else
17483     CFLAGS="-g"
17484   fi
17485 else
17486   if test "$GCC" = yes; then
17487     CFLAGS="-O2"
17488   else
17489     CFLAGS=
17490   fi
17491 fi
17492             fi
17493         fi
17494
17495                         case `uname -s` in
17496             AIX*)
17497
17498
17499     ac_ext=c
17500 ac_cpp='$CPP $CPPFLAGS'
17501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17504
17505     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17506 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17507 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17508   $as_echo_n "(cached) " >&6
17509 else
17510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17511 /* end confdefs.h.  */
17512
17513 int
17514 main ()
17515 {
17516
17517              #ifndef __xlC__
17518                 choke me
17519              #endif
17520
17521   ;
17522   return 0;
17523 }
17524 _ACEOF
17525 if ac_fn_c_try_compile "$LINENO"; then :
17526   bakefile_cv_c_compiler___xlC__=yes
17527 else
17528   bakefile_cv_c_compiler___xlC__=no
17529
17530 fi
17531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17532
17533
17534 fi
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17536 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17537     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17538         :; XLCC=yes
17539     else
17540         :;
17541     fi
17542     ac_ext=c
17543 ac_cpp='$CPP $CPPFLAGS'
17544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17547
17548
17549
17550                 ;;
17551
17552             Darwin)
17553
17554
17555     ac_ext=c
17556 ac_cpp='$CPP $CPPFLAGS'
17557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17560
17561     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17562 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17563 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17564   $as_echo_n "(cached) " >&6
17565 else
17566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17567 /* end confdefs.h.  */
17568
17569 int
17570 main ()
17571 {
17572
17573              #ifndef __MWERKS__
17574                 choke me
17575              #endif
17576
17577   ;
17578   return 0;
17579 }
17580 _ACEOF
17581 if ac_fn_c_try_compile "$LINENO"; then :
17582   bakefile_cv_c_compiler___MWERKS__=yes
17583 else
17584   bakefile_cv_c_compiler___MWERKS__=no
17585
17586 fi
17587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17588
17589
17590 fi
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17592 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17593     if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17594         :; MWCC=yes
17595     else
17596         :;
17597     fi
17598     ac_ext=c
17599 ac_cpp='$CPP $CPPFLAGS'
17600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17603
17604
17605
17606                 if test "$MWCC" != "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 IBM xlC C compiler" >&5
17616 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17617 if ${bakefile_cv_c_compiler___xlC__+:} 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 __xlC__
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___xlC__=yes
17637 else
17638   bakefile_cv_c_compiler___xlC__=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___xlC__" >&5
17646 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17647     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17648         :; XLCC=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             IRIX*)
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 SGI C compiler" >&5
17673 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17674 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} 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 _SGI_COMPILER_VERSION
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__SGI_COMPILER_VERSION=yes
17694 else
17695   bakefile_cv_c_compiler__SGI_COMPILER_VERSION=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__SGI_COMPILER_VERSION" >&5
17703 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17704     if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17705         :; SGICC=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             Linux*)
17720                                                 if test "$INTELCC" != "yes"; then
17721
17722
17723     ac_ext=c
17724 ac_cpp='$CPP $CPPFLAGS'
17725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17728
17729     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17730 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17731 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17732   $as_echo_n "(cached) " >&6
17733 else
17734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17735 /* end confdefs.h.  */
17736
17737 int
17738 main ()
17739 {
17740
17741              #ifndef __SUNPRO_C
17742                 choke me
17743              #endif
17744
17745   ;
17746   return 0;
17747 }
17748 _ACEOF
17749 if ac_fn_c_try_compile "$LINENO"; then :
17750   bakefile_cv_c_compiler___SUNPRO_C=yes
17751 else
17752   bakefile_cv_c_compiler___SUNPRO_C=no
17753
17754 fi
17755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17756
17757
17758 fi
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17760 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17761     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17762         :; SUNCC=yes
17763     else
17764         :;
17765     fi
17766     ac_ext=c
17767 ac_cpp='$CPP $CPPFLAGS'
17768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17771
17772
17773
17774                 fi
17775                 ;;
17776
17777             HP-UX*)
17778
17779
17780     ac_ext=c
17781 ac_cpp='$CPP $CPPFLAGS'
17782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17785
17786     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17787 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17788 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17789   $as_echo_n "(cached) " >&6
17790 else
17791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17792 /* end confdefs.h.  */
17793
17794 int
17795 main ()
17796 {
17797
17798              #ifndef __HP_cc
17799                 choke me
17800              #endif
17801
17802   ;
17803   return 0;
17804 }
17805 _ACEOF
17806 if ac_fn_c_try_compile "$LINENO"; then :
17807   bakefile_cv_c_compiler___HP_cc=yes
17808 else
17809   bakefile_cv_c_compiler___HP_cc=no
17810
17811 fi
17812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17813
17814
17815 fi
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17817 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17818     if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17819         :; HPCC=yes
17820     else
17821         :;
17822     fi
17823     ac_ext=c
17824 ac_cpp='$CPP $CPPFLAGS'
17825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17828
17829
17830
17831                 ;;
17832
17833             OSF1)
17834
17835
17836     ac_ext=c
17837 ac_cpp='$CPP $CPPFLAGS'
17838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17841
17842     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17843 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17844 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17845   $as_echo_n "(cached) " >&6
17846 else
17847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17848 /* end confdefs.h.  */
17849
17850 int
17851 main ()
17852 {
17853
17854              #ifndef __DECC
17855                 choke me
17856              #endif
17857
17858   ;
17859   return 0;
17860 }
17861 _ACEOF
17862 if ac_fn_c_try_compile "$LINENO"; then :
17863   bakefile_cv_c_compiler___DECC=yes
17864 else
17865   bakefile_cv_c_compiler___DECC=no
17866
17867 fi
17868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17869
17870
17871 fi
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17873 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17874     if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17875         :; COMPAQCC=yes
17876     else
17877         :;
17878     fi
17879     ac_ext=c
17880 ac_cpp='$CPP $CPPFLAGS'
17881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17884
17885
17886
17887                 ;;
17888
17889             SunOS)
17890
17891
17892     ac_ext=c
17893 ac_cpp='$CPP $CPPFLAGS'
17894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17897
17898     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17899 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17900 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17901   $as_echo_n "(cached) " >&6
17902 else
17903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17904 /* end confdefs.h.  */
17905
17906 int
17907 main ()
17908 {
17909
17910              #ifndef __SUNPRO_C
17911                 choke me
17912              #endif
17913
17914   ;
17915   return 0;
17916 }
17917 _ACEOF
17918 if ac_fn_c_try_compile "$LINENO"; then :
17919   bakefile_cv_c_compiler___SUNPRO_C=yes
17920 else
17921   bakefile_cv_c_compiler___SUNPRO_C=no
17922
17923 fi
17924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17925
17926
17927 fi
17928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17929 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17930     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17931         :; SUNCC=yes
17932     else
17933         :;
17934     fi
17935     ac_ext=c
17936 ac_cpp='$CPP $CPPFLAGS'
17937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17940
17941
17942
17943                 ;;
17944         esac
17945     fi
17946
17947
17948
17949 ac_ext=c
17950 ac_cpp='$CPP $CPPFLAGS'
17951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17955 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17956 # On Suns, sometimes $CPP names a directory.
17957 if test -n "$CPP" && test -d "$CPP"; then
17958   CPP=
17959 fi
17960 if test -z "$CPP"; then
17961   if ${ac_cv_prog_CPP+:} false; then :
17962   $as_echo_n "(cached) " >&6
17963 else
17964       # Double quotes because CPP needs to be expanded
17965     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17966     do
17967       ac_preproc_ok=false
17968 for ac_c_preproc_warn_flag in '' yes
17969 do
17970   # Use a header file that comes with gcc, so configuring glibc
17971   # with a fresh cross-compiler works.
17972   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17973   # <limits.h> exists even on freestanding compilers.
17974   # On the NeXT, cc -E runs the code through the compiler's parser,
17975   # not just through cpp. "Syntax error" is here to catch this case.
17976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17977 /* end confdefs.h.  */
17978 #ifdef __STDC__
17979 # include <limits.h>
17980 #else
17981 # include <assert.h>
17982 #endif
17983                      Syntax error
17984 _ACEOF
17985 if ac_fn_c_try_cpp "$LINENO"; then :
17986
17987 else
17988   # Broken: fails on valid input.
17989 continue
17990 fi
17991 rm -f conftest.err conftest.i conftest.$ac_ext
17992
17993   # OK, works on sane cases.  Now check whether nonexistent headers
17994   # can be detected and how.
17995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17996 /* end confdefs.h.  */
17997 #include <ac_nonexistent.h>
17998 _ACEOF
17999 if ac_fn_c_try_cpp "$LINENO"; then :
18000   # Broken: success on invalid input.
18001 continue
18002 else
18003   # Passes both tests.
18004 ac_preproc_ok=:
18005 break
18006 fi
18007 rm -f conftest.err conftest.i conftest.$ac_ext
18008
18009 done
18010 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18011 rm -f conftest.i conftest.err conftest.$ac_ext
18012 if $ac_preproc_ok; then :
18013   break
18014 fi
18015
18016     done
18017     ac_cv_prog_CPP=$CPP
18018
18019 fi
18020   CPP=$ac_cv_prog_CPP
18021 else
18022   ac_cv_prog_CPP=$CPP
18023 fi
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
18025 $as_echo "$CPP" >&6; }
18026 ac_preproc_ok=false
18027 for ac_c_preproc_warn_flag in '' yes
18028 do
18029   # Use a header file that comes with gcc, so configuring glibc
18030   # with a fresh cross-compiler works.
18031   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18032   # <limits.h> exists even on freestanding compilers.
18033   # On the NeXT, cc -E runs the code through the compiler's parser,
18034   # not just through cpp. "Syntax error" is here to catch this case.
18035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18036 /* end confdefs.h.  */
18037 #ifdef __STDC__
18038 # include <limits.h>
18039 #else
18040 # include <assert.h>
18041 #endif
18042                      Syntax error
18043 _ACEOF
18044 if ac_fn_c_try_cpp "$LINENO"; then :
18045
18046 else
18047   # Broken: fails on valid input.
18048 continue
18049 fi
18050 rm -f conftest.err conftest.i conftest.$ac_ext
18051
18052   # OK, works on sane cases.  Now check whether nonexistent headers
18053   # can be detected and how.
18054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18055 /* end confdefs.h.  */
18056 #include <ac_nonexistent.h>
18057 _ACEOF
18058 if ac_fn_c_try_cpp "$LINENO"; then :
18059   # Broken: success on invalid input.
18060 continue
18061 else
18062   # Passes both tests.
18063 ac_preproc_ok=:
18064 break
18065 fi
18066 rm -f conftest.err conftest.i conftest.$ac_ext
18067
18068 done
18069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18070 rm -f conftest.i conftest.err conftest.$ac_ext
18071 if $ac_preproc_ok; then :
18072
18073 else
18074   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18076 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
18077 See \`config.log' for more details" "$LINENO" 5; }
18078 fi
18079
18080 ac_ext=c
18081 ac_cpp='$CPP $CPPFLAGS'
18082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18085
18086
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
18088 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
18089 if ${ac_cv_path_GREP+:} false; then :
18090   $as_echo_n "(cached) " >&6
18091 else
18092   if test -z "$GREP"; then
18093   ac_path_GREP_found=false
18094   # Loop through the user's path and test for each of PROGNAME-LIST
18095   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18096 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18097 do
18098   IFS=$as_save_IFS
18099   test -z "$as_dir" && as_dir=.
18100     for ac_prog in grep ggrep; do
18101     for ac_exec_ext in '' $ac_executable_extensions; do
18102       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18103       as_fn_executable_p "$ac_path_GREP" || continue
18104 # Check for GNU ac_path_GREP and select it if it is found.
18105   # Check for GNU $ac_path_GREP
18106 case `"$ac_path_GREP" --version 2>&1` in
18107 *GNU*)
18108   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18109 *)
18110   ac_count=0
18111   $as_echo_n 0123456789 >"conftest.in"
18112   while :
18113   do
18114     cat "conftest.in" "conftest.in" >"conftest.tmp"
18115     mv "conftest.tmp" "conftest.in"
18116     cp "conftest.in" "conftest.nl"
18117     $as_echo 'GREP' >> "conftest.nl"
18118     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18119     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18120     as_fn_arith $ac_count + 1 && ac_count=$as_val
18121     if test $ac_count -gt ${ac_path_GREP_max-0}; then
18122       # Best one so far, save it but keep looking for a better one
18123       ac_cv_path_GREP="$ac_path_GREP"
18124       ac_path_GREP_max=$ac_count
18125     fi
18126     # 10*(2^10) chars as input seems more than enough
18127     test $ac_count -gt 10 && break
18128   done
18129   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18130 esac
18131
18132       $ac_path_GREP_found && break 3
18133     done
18134   done
18135   done
18136 IFS=$as_save_IFS
18137   if test -z "$ac_cv_path_GREP"; then
18138     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18139   fi
18140 else
18141   ac_cv_path_GREP=$GREP
18142 fi
18143
18144 fi
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18146 $as_echo "$ac_cv_path_GREP" >&6; }
18147  GREP="$ac_cv_path_GREP"
18148
18149
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18151 $as_echo_n "checking for egrep... " >&6; }
18152 if ${ac_cv_path_EGREP+:} false; then :
18153   $as_echo_n "(cached) " >&6
18154 else
18155   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18156    then ac_cv_path_EGREP="$GREP -E"
18157    else
18158      if test -z "$EGREP"; then
18159   ac_path_EGREP_found=false
18160   # Loop through the user's path and test for each of PROGNAME-LIST
18161   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18162 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18163 do
18164   IFS=$as_save_IFS
18165   test -z "$as_dir" && as_dir=.
18166     for ac_prog in egrep; do
18167     for ac_exec_ext in '' $ac_executable_extensions; do
18168       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18169       as_fn_executable_p "$ac_path_EGREP" || continue
18170 # Check for GNU ac_path_EGREP and select it if it is found.
18171   # Check for GNU $ac_path_EGREP
18172 case `"$ac_path_EGREP" --version 2>&1` in
18173 *GNU*)
18174   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18175 *)
18176   ac_count=0
18177   $as_echo_n 0123456789 >"conftest.in"
18178   while :
18179   do
18180     cat "conftest.in" "conftest.in" >"conftest.tmp"
18181     mv "conftest.tmp" "conftest.in"
18182     cp "conftest.in" "conftest.nl"
18183     $as_echo 'EGREP' >> "conftest.nl"
18184     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18185     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18186     as_fn_arith $ac_count + 1 && ac_count=$as_val
18187     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18188       # Best one so far, save it but keep looking for a better one
18189       ac_cv_path_EGREP="$ac_path_EGREP"
18190       ac_path_EGREP_max=$ac_count
18191     fi
18192     # 10*(2^10) chars as input seems more than enough
18193     test $ac_count -gt 10 && break
18194   done
18195   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18196 esac
18197
18198       $ac_path_EGREP_found && break 3
18199     done
18200   done
18201   done
18202 IFS=$as_save_IFS
18203   if test -z "$ac_cv_path_EGREP"; then
18204     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18205   fi
18206 else
18207   ac_cv_path_EGREP=$EGREP
18208 fi
18209
18210    fi
18211 fi
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18213 $as_echo "$ac_cv_path_EGREP" >&6; }
18214  EGREP="$ac_cv_path_EGREP"
18215
18216
18217 if test $ac_cv_c_compiler_gnu = yes; then
18218     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18219 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18220 if ${ac_cv_prog_gcc_traditional+:} false; then :
18221   $as_echo_n "(cached) " >&6
18222 else
18223     ac_pattern="Autoconf.*'x'"
18224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18225 /* end confdefs.h.  */
18226 #include <sgtty.h>
18227 Autoconf TIOCGETP
18228 _ACEOF
18229 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18230   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18231   ac_cv_prog_gcc_traditional=yes
18232 else
18233   ac_cv_prog_gcc_traditional=no
18234 fi
18235 rm -f conftest*
18236
18237
18238   if test $ac_cv_prog_gcc_traditional = no; then
18239     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18240 /* end confdefs.h.  */
18241 #include <termio.h>
18242 Autoconf TCGETA
18243 _ACEOF
18244 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18245   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18246   ac_cv_prog_gcc_traditional=yes
18247 fi
18248 rm -f conftest*
18249
18250   fi
18251 fi
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18253 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18254   if test $ac_cv_prog_gcc_traditional = yes; then
18255     CC="$CC -traditional"
18256   fi
18257 fi
18258
18259
18260 CXXFLAGS=${CXXFLAGS:=}
18261 ac_ext=cpp
18262 ac_cpp='$CXXCPP $CPPFLAGS'
18263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18266 if test -z "$CXX"; then
18267   if test -n "$CCC"; then
18268     CXX=$CCC
18269   else
18270     if test -n "$ac_tool_prefix"; then
18271   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18272   do
18273     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18274 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18276 $as_echo_n "checking for $ac_word... " >&6; }
18277 if ${ac_cv_prog_CXX+:} false; then :
18278   $as_echo_n "(cached) " >&6
18279 else
18280   if test -n "$CXX"; then
18281   ac_cv_prog_CXX="$CXX" # Let the user override the test.
18282 else
18283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18284 for as_dir in $PATH
18285 do
18286   IFS=$as_save_IFS
18287   test -z "$as_dir" && as_dir=.
18288     for ac_exec_ext in '' $ac_executable_extensions; do
18289   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18290     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18291     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18292     break 2
18293   fi
18294 done
18295   done
18296 IFS=$as_save_IFS
18297
18298 fi
18299 fi
18300 CXX=$ac_cv_prog_CXX
18301 if test -n "$CXX"; then
18302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18303 $as_echo "$CXX" >&6; }
18304 else
18305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18306 $as_echo "no" >&6; }
18307 fi
18308
18309
18310     test -n "$CXX" && break
18311   done
18312 fi
18313 if test -z "$CXX"; then
18314   ac_ct_CXX=$CXX
18315   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18316 do
18317   # Extract the first word of "$ac_prog", so it can be a program name with args.
18318 set dummy $ac_prog; ac_word=$2
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18320 $as_echo_n "checking for $ac_word... " >&6; }
18321 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18322   $as_echo_n "(cached) " >&6
18323 else
18324   if test -n "$ac_ct_CXX"; then
18325   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18326 else
18327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18328 for as_dir in $PATH
18329 do
18330   IFS=$as_save_IFS
18331   test -z "$as_dir" && as_dir=.
18332     for ac_exec_ext in '' $ac_executable_extensions; do
18333   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18334     ac_cv_prog_ac_ct_CXX="$ac_prog"
18335     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18336     break 2
18337   fi
18338 done
18339   done
18340 IFS=$as_save_IFS
18341
18342 fi
18343 fi
18344 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18345 if test -n "$ac_ct_CXX"; then
18346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18347 $as_echo "$ac_ct_CXX" >&6; }
18348 else
18349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18350 $as_echo "no" >&6; }
18351 fi
18352
18353
18354   test -n "$ac_ct_CXX" && break
18355 done
18356
18357   if test "x$ac_ct_CXX" = x; then
18358     CXX="g++"
18359   else
18360     case $cross_compiling:$ac_tool_warned in
18361 yes:)
18362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18364 ac_tool_warned=yes ;;
18365 esac
18366     CXX=$ac_ct_CXX
18367   fi
18368 fi
18369
18370   fi
18371 fi
18372 # Provide some information about the compiler.
18373 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18374 set X $ac_compile
18375 ac_compiler=$2
18376 for ac_option in --version -v -V -qversion; do
18377   { { ac_try="$ac_compiler $ac_option >&5"
18378 case "(($ac_try" in
18379   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18380   *) ac_try_echo=$ac_try;;
18381 esac
18382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18383 $as_echo "$ac_try_echo"; } >&5
18384   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18385   ac_status=$?
18386   if test -s conftest.err; then
18387     sed '10a\
18388 ... rest of stderr output deleted ...
18389          10q' conftest.err >conftest.er1
18390     cat conftest.er1 >&5
18391   fi
18392   rm -f conftest.er1 conftest.err
18393   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18394   test $ac_status = 0; }
18395 done
18396
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18398 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18399 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18400   $as_echo_n "(cached) " >&6
18401 else
18402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18403 /* end confdefs.h.  */
18404
18405 int
18406 main ()
18407 {
18408 #ifndef __GNUC__
18409        choke me
18410 #endif
18411
18412   ;
18413   return 0;
18414 }
18415 _ACEOF
18416 if ac_fn_cxx_try_compile "$LINENO"; then :
18417   ac_compiler_gnu=yes
18418 else
18419   ac_compiler_gnu=no
18420 fi
18421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18422 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18423
18424 fi
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18426 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18427 if test $ac_compiler_gnu = yes; then
18428   GXX=yes
18429 else
18430   GXX=
18431 fi
18432 ac_test_CXXFLAGS=${CXXFLAGS+set}
18433 ac_save_CXXFLAGS=$CXXFLAGS
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18435 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18436 if ${ac_cv_prog_cxx_g+:} false; then :
18437   $as_echo_n "(cached) " >&6
18438 else
18439   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18440    ac_cxx_werror_flag=yes
18441    ac_cv_prog_cxx_g=no
18442    CXXFLAGS="-g"
18443    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18444 /* end confdefs.h.  */
18445
18446 int
18447 main ()
18448 {
18449
18450   ;
18451   return 0;
18452 }
18453 _ACEOF
18454 if ac_fn_cxx_try_compile "$LINENO"; then :
18455   ac_cv_prog_cxx_g=yes
18456 else
18457   CXXFLAGS=""
18458       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18459 /* end confdefs.h.  */
18460
18461 int
18462 main ()
18463 {
18464
18465   ;
18466   return 0;
18467 }
18468 _ACEOF
18469 if ac_fn_cxx_try_compile "$LINENO"; then :
18470
18471 else
18472   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18473          CXXFLAGS="-g"
18474          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18475 /* end confdefs.h.  */
18476
18477 int
18478 main ()
18479 {
18480
18481   ;
18482   return 0;
18483 }
18484 _ACEOF
18485 if ac_fn_cxx_try_compile "$LINENO"; then :
18486   ac_cv_prog_cxx_g=yes
18487 fi
18488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18489 fi
18490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18491 fi
18492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18493    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18494 fi
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18496 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18497 if test "$ac_test_CXXFLAGS" = set; then
18498   CXXFLAGS=$ac_save_CXXFLAGS
18499 elif test $ac_cv_prog_cxx_g = yes; then
18500   if test "$GXX" = yes; then
18501     CXXFLAGS="-g -O2"
18502   else
18503     CXXFLAGS="-g"
18504   fi
18505 else
18506   if test "$GXX" = yes; then
18507     CXXFLAGS="-O2"
18508   else
18509     CXXFLAGS=
18510   fi
18511 fi
18512 ac_ext=c
18513 ac_cpp='$CPP $CPPFLAGS'
18514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18517
18518
18519
18520
18521
18522
18523
18524
18525     ac_ext=cpp
18526 ac_cpp='$CXXCPP $CPPFLAGS'
18527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18530
18531     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18532 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18533 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18534   $as_echo_n "(cached) " >&6
18535 else
18536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18537 /* end confdefs.h.  */
18538
18539 int
18540 main ()
18541 {
18542
18543              #ifndef __INTEL_COMPILER
18544                 choke me
18545              #endif
18546
18547   ;
18548   return 0;
18549 }
18550 _ACEOF
18551 if ac_fn_cxx_try_compile "$LINENO"; then :
18552   bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18553 else
18554   bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18555
18556 fi
18557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18558
18559
18560 fi
18561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18562 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18563     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18564         :; INTELCXX=yes
18565     else
18566         :;
18567     fi
18568     ac_ext=c
18569 ac_cpp='$CPP $CPPFLAGS'
18570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18573
18574
18575
18576
18577         if test "$INTELCXX" = "yes"; then
18578
18579
18580     ac_ext=cpp
18581 ac_cpp='$CXXCPP $CPPFLAGS'
18582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18585
18586     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18587 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18588 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18589   $as_echo_n "(cached) " >&6
18590 else
18591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18592 /* end confdefs.h.  */
18593
18594 int
18595 main ()
18596 {
18597
18598              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18599                 choke me
18600              #endif
18601
18602   ;
18603   return 0;
18604 }
18605 _ACEOF
18606 if ac_fn_cxx_try_compile "$LINENO"; then :
18607   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18608 else
18609   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18610
18611 fi
18612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18613
18614
18615 fi
18616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18617 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18618     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18619         :; INTELCXX8=yes
18620     else
18621         :;
18622     fi
18623     ac_ext=c
18624 ac_cpp='$CPP $CPPFLAGS'
18625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18628
18629
18630
18631
18632
18633     ac_ext=cpp
18634 ac_cpp='$CXXCPP $CPPFLAGS'
18635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18638
18639     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18640 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18641 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18642   $as_echo_n "(cached) " >&6
18643 else
18644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h.  */
18646
18647 int
18648 main ()
18649 {
18650
18651              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18652                 choke me
18653              #endif
18654
18655   ;
18656   return 0;
18657 }
18658 _ACEOF
18659 if ac_fn_cxx_try_compile "$LINENO"; then :
18660   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18661 else
18662   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18663
18664 fi
18665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18666
18667
18668 fi
18669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18670 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18671     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18672         :; INTELCXX10=yes
18673     else
18674         :;
18675     fi
18676     ac_ext=c
18677 ac_cpp='$CPP $CPPFLAGS'
18678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18681
18682
18683
18684     fi
18685
18686         if test "x$GCXX" != "xyes"; then
18687         if test "xCXX" = "xC"; then
18688             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18689 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18690 if ${bakefile_cv_c_exto+:} false; then :
18691   $as_echo_n "(cached) " >&6
18692 else
18693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18694 /* end confdefs.h.  */
18695
18696 int
18697 main ()
18698 {
18699
18700   ;
18701   return 0;
18702 }
18703 _ACEOF
18704 rm -f conftest.$ac_objext conftest.$ac_ext.o
18705 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18706   (eval $ac_compile) 2>&5
18707   ac_status=$?
18708   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18709   test $ac_status = 0; }; then :
18710   for ac_file in `(ls conftest.* 2>/dev/null)`; do
18711     case $ac_file in
18712         conftest.$ac_ext.o)
18713             bakefile_cv_c_exto="-ext o"
18714             ;;
18715         *)
18716             ;;
18717     esac
18718 done
18719 else
18720   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18722 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18723 See \`config.log' for more details" "$LINENO" 5; }
18724
18725 fi
18726 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18727
18728 fi
18729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18730 $as_echo "$bakefile_cv_c_exto" >&6; }
18731 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18732     if test "c" = "c"; then
18733         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18734     fi
18735     if test "c" = "cxx"; then
18736         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18737     fi
18738 fi
18739
18740             if test "x$bakefile_cv_c_exto" '!=' "x"; then
18741                 unset ac_cv_prog_cc_g
18742                 ac_test_CFLAGS=${CFLAGS+set}
18743 ac_save_CFLAGS=$CFLAGS
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18745 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18746 if ${ac_cv_prog_cc_g+:} false; then :
18747   $as_echo_n "(cached) " >&6
18748 else
18749   ac_save_c_werror_flag=$ac_c_werror_flag
18750    ac_c_werror_flag=yes
18751    ac_cv_prog_cc_g=no
18752    CFLAGS="-g"
18753    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18754 /* end confdefs.h.  */
18755
18756 int
18757 main ()
18758 {
18759
18760   ;
18761   return 0;
18762 }
18763 _ACEOF
18764 if ac_fn_c_try_compile "$LINENO"; then :
18765   ac_cv_prog_cc_g=yes
18766 else
18767   CFLAGS=""
18768       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18769 /* end confdefs.h.  */
18770
18771 int
18772 main ()
18773 {
18774
18775   ;
18776   return 0;
18777 }
18778 _ACEOF
18779 if ac_fn_c_try_compile "$LINENO"; then :
18780
18781 else
18782   ac_c_werror_flag=$ac_save_c_werror_flag
18783          CFLAGS="-g"
18784          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18785 /* end confdefs.h.  */
18786
18787 int
18788 main ()
18789 {
18790
18791   ;
18792   return 0;
18793 }
18794 _ACEOF
18795 if ac_fn_c_try_compile "$LINENO"; then :
18796   ac_cv_prog_cc_g=yes
18797 fi
18798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18799 fi
18800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18801 fi
18802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18803    ac_c_werror_flag=$ac_save_c_werror_flag
18804 fi
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18806 $as_echo "$ac_cv_prog_cc_g" >&6; }
18807 if test "$ac_test_CFLAGS" = set; then
18808   CFLAGS=$ac_save_CFLAGS
18809 elif test $ac_cv_prog_cc_g = yes; then
18810   if test "$GCC" = yes; then
18811     CFLAGS="-g -O2"
18812   else
18813     CFLAGS="-g"
18814   fi
18815 else
18816   if test "$GCC" = yes; then
18817     CFLAGS="-O2"
18818   else
18819     CFLAGS=
18820   fi
18821 fi
18822             fi
18823         fi
18824
18825                         case `uname -s` in
18826             AIX*)
18827
18828
18829     ac_ext=cpp
18830 ac_cpp='$CXXCPP $CPPFLAGS'
18831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18834
18835     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18836 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18837 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18838   $as_echo_n "(cached) " >&6
18839 else
18840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18841 /* end confdefs.h.  */
18842
18843 int
18844 main ()
18845 {
18846
18847              #ifndef __xlC__
18848                 choke me
18849              #endif
18850
18851   ;
18852   return 0;
18853 }
18854 _ACEOF
18855 if ac_fn_cxx_try_compile "$LINENO"; then :
18856   bakefile_cv_cxx_compiler___xlC__=yes
18857 else
18858   bakefile_cv_cxx_compiler___xlC__=no
18859
18860 fi
18861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18862
18863
18864 fi
18865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18866 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18867     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18868         :; XLCXX=yes
18869     else
18870         :;
18871     fi
18872     ac_ext=c
18873 ac_cpp='$CPP $CPPFLAGS'
18874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18877
18878
18879
18880                 ;;
18881
18882             Darwin)
18883
18884
18885     ac_ext=cpp
18886 ac_cpp='$CXXCPP $CPPFLAGS'
18887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18890
18891     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18892 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18893 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18894   $as_echo_n "(cached) " >&6
18895 else
18896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18897 /* end confdefs.h.  */
18898
18899 int
18900 main ()
18901 {
18902
18903              #ifndef __MWERKS__
18904                 choke me
18905              #endif
18906
18907   ;
18908   return 0;
18909 }
18910 _ACEOF
18911 if ac_fn_cxx_try_compile "$LINENO"; then :
18912   bakefile_cv_cxx_compiler___MWERKS__=yes
18913 else
18914   bakefile_cv_cxx_compiler___MWERKS__=no
18915
18916 fi
18917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18918
18919
18920 fi
18921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18922 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18923     if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18924         :; MWCXX=yes
18925     else
18926         :;
18927     fi
18928     ac_ext=c
18929 ac_cpp='$CPP $CPPFLAGS'
18930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18933
18934
18935
18936                 if test "$MWCXX" != "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 IBM xlC C++ compiler" >&5
18946 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18947 if ${bakefile_cv_cxx_compiler___xlC__+:} 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 __xlC__
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___xlC__=yes
18967 else
18968   bakefile_cv_cxx_compiler___xlC__=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___xlC__" >&5
18976 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18977     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18978         :; XLCXX=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             IRIX*)
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 SGI C++ compiler" >&5
19003 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
19004 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} 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 _SGI_COMPILER_VERSION
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__SGI_COMPILER_VERSION=yes
19024 else
19025   bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=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__SGI_COMPILER_VERSION" >&5
19033 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19034     if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19035         :; SGICXX=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             Linux*)
19050                                                 if test "$INTELCXX" != "yes"; then
19051
19052
19053     ac_ext=cpp
19054 ac_cpp='$CXXCPP $CPPFLAGS'
19055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19058
19059     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19060 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19061 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19062   $as_echo_n "(cached) " >&6
19063 else
19064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19065 /* end confdefs.h.  */
19066
19067 int
19068 main ()
19069 {
19070
19071              #ifndef __SUNPRO_CC
19072                 choke me
19073              #endif
19074
19075   ;
19076   return 0;
19077 }
19078 _ACEOF
19079 if ac_fn_cxx_try_compile "$LINENO"; then :
19080   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19081 else
19082   bakefile_cv_cxx_compiler___SUNPRO_CC=no
19083
19084 fi
19085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19086
19087
19088 fi
19089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19090 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19091     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19092         :; SUNCXX=yes
19093     else
19094         :;
19095     fi
19096     ac_ext=c
19097 ac_cpp='$CPP $CPPFLAGS'
19098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19101
19102
19103
19104                 fi
19105                 ;;
19106
19107             HP-UX*)
19108
19109
19110     ac_ext=cpp
19111 ac_cpp='$CXXCPP $CPPFLAGS'
19112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19115
19116     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
19117 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
19118 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
19119   $as_echo_n "(cached) " >&6
19120 else
19121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19122 /* end confdefs.h.  */
19123
19124 int
19125 main ()
19126 {
19127
19128              #ifndef __HP_aCC
19129                 choke me
19130              #endif
19131
19132   ;
19133   return 0;
19134 }
19135 _ACEOF
19136 if ac_fn_cxx_try_compile "$LINENO"; then :
19137   bakefile_cv_cxx_compiler___HP_aCC=yes
19138 else
19139   bakefile_cv_cxx_compiler___HP_aCC=no
19140
19141 fi
19142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19143
19144
19145 fi
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19147 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19148     if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19149         :; HPCXX=yes
19150     else
19151         :;
19152     fi
19153     ac_ext=c
19154 ac_cpp='$CPP $CPPFLAGS'
19155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19158
19159
19160
19161                 ;;
19162
19163             OSF1)
19164
19165
19166     ac_ext=cpp
19167 ac_cpp='$CXXCPP $CPPFLAGS'
19168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19171
19172     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19173 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19174 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19175   $as_echo_n "(cached) " >&6
19176 else
19177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19178 /* end confdefs.h.  */
19179
19180 int
19181 main ()
19182 {
19183
19184              #ifndef __DECCXX
19185                 choke me
19186              #endif
19187
19188   ;
19189   return 0;
19190 }
19191 _ACEOF
19192 if ac_fn_cxx_try_compile "$LINENO"; then :
19193   bakefile_cv_cxx_compiler___DECCXX=yes
19194 else
19195   bakefile_cv_cxx_compiler___DECCXX=no
19196
19197 fi
19198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19199
19200
19201 fi
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19203 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19204     if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19205         :; COMPAQCXX=yes
19206     else
19207         :;
19208     fi
19209     ac_ext=c
19210 ac_cpp='$CPP $CPPFLAGS'
19211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19214
19215
19216
19217                 ;;
19218
19219             SunOS)
19220
19221
19222     ac_ext=cpp
19223 ac_cpp='$CXXCPP $CPPFLAGS'
19224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19227
19228     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19229 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19230 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19231   $as_echo_n "(cached) " >&6
19232 else
19233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19234 /* end confdefs.h.  */
19235
19236 int
19237 main ()
19238 {
19239
19240              #ifndef __SUNPRO_CC
19241                 choke me
19242              #endif
19243
19244   ;
19245   return 0;
19246 }
19247 _ACEOF
19248 if ac_fn_cxx_try_compile "$LINENO"; then :
19249   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19250 else
19251   bakefile_cv_cxx_compiler___SUNPRO_CC=no
19252
19253 fi
19254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19255
19256
19257 fi
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19259 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19260     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19261         :; SUNCXX=yes
19262     else
19263         :;
19264     fi
19265     ac_ext=c
19266 ac_cpp='$CPP $CPPFLAGS'
19267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19270
19271
19272
19273                 ;;
19274         esac
19275     fi
19276
19277
19278
19279 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19280     as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19281 fi
19282
19283 if test "x$SUNCXX" != xyes; then
19284     if test -n "$ac_tool_prefix"; then
19285   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19286 set dummy ${ac_tool_prefix}ar; ac_word=$2
19287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19288 $as_echo_n "checking for $ac_word... " >&6; }
19289 if ${ac_cv_prog_AR+:} false; then :
19290   $as_echo_n "(cached) " >&6
19291 else
19292   if test -n "$AR"; then
19293   ac_cv_prog_AR="$AR" # Let the user override the test.
19294 else
19295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19296 for as_dir in $PATH
19297 do
19298   IFS=$as_save_IFS
19299   test -z "$as_dir" && as_dir=.
19300     for ac_exec_ext in '' $ac_executable_extensions; do
19301   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19302     ac_cv_prog_AR="${ac_tool_prefix}ar"
19303     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19304     break 2
19305   fi
19306 done
19307   done
19308 IFS=$as_save_IFS
19309
19310 fi
19311 fi
19312 AR=$ac_cv_prog_AR
19313 if test -n "$AR"; then
19314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19315 $as_echo "$AR" >&6; }
19316 else
19317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19318 $as_echo "no" >&6; }
19319 fi
19320
19321
19322 fi
19323 if test -z "$ac_cv_prog_AR"; then
19324   ac_ct_AR=$AR
19325   # Extract the first word of "ar", so it can be a program name with args.
19326 set dummy ar; ac_word=$2
19327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19328 $as_echo_n "checking for $ac_word... " >&6; }
19329 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19330   $as_echo_n "(cached) " >&6
19331 else
19332   if test -n "$ac_ct_AR"; then
19333   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19334 else
19335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19336 for as_dir in $PATH
19337 do
19338   IFS=$as_save_IFS
19339   test -z "$as_dir" && as_dir=.
19340     for ac_exec_ext in '' $ac_executable_extensions; do
19341   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19342     ac_cv_prog_ac_ct_AR="ar"
19343     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19344     break 2
19345   fi
19346 done
19347   done
19348 IFS=$as_save_IFS
19349
19350 fi
19351 fi
19352 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19353 if test -n "$ac_ct_AR"; then
19354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19355 $as_echo "$ac_ct_AR" >&6; }
19356 else
19357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19358 $as_echo "no" >&6; }
19359 fi
19360
19361   if test "x$ac_ct_AR" = x; then
19362     AR=""
19363   else
19364     case $cross_compiling:$ac_tool_warned in
19365 yes:)
19366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19368 ac_tool_warned=yes ;;
19369 esac
19370     AR=$ac_ct_AR
19371   fi
19372 else
19373   AR="$ac_cv_prog_AR"
19374 fi
19375
19376     if test "x$AR" = "x" ; then
19377         as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19378     fi
19379 fi
19380
19381
19382 if test "$wxUSE_MAC" = 1; then
19383
19384 retest_macosx_linking=no
19385
19386 OSX_ARCH_OPTS=""
19387
19388 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19389     if test "x$wxUSE_MAC_ARCH" != xno; then
19390         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19391 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19392     fi
19393
19394     if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19395         OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19396     else         OSX_ARCH_OPTS="ppc,i386"
19397         if test "$wxUSE_OSX_COCOA" = 1; then
19398             OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19399         fi
19400     fi
19401
19402     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19403 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19404     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19405 $as_echo "$OSX_ARCH_OPTS" >&6; }
19406
19407                                                         retest_macosx_linking=yes
19408 else
19409     if test "x$wxUSE_MAC_ARCH" != xno; then
19410         OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19411     fi
19412 fi
19413
19414 if test "x$OSX_ARCH_OPTS" != "x"; then
19415         if echo $OSX_ARCH_OPTS | grep -q ","; then
19416         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19417 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19418         disable_macosx_deps=yes
19419
19420                                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19421 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19422         bk_use_pch=no
19423     fi
19424
19425     OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19426
19427     CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19428     CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19429     OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19430     OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19431     LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19432 fi
19433
19434 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19435     wxUSE_MACOSX_SDK=
19436 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19437     # TODO: Search for most recent SDK and use it.
19438     wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19439 fi
19440
19441
19442 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19443     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19444 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19445     if ! test -d "$wxUSE_MACOSX_SDK"; then
19446         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19448 as_fn_error $? "not found
19449 See \`config.log' for more details" "$LINENO" 5; }
19450     else
19451         { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19452 $as_echo "exists" >&6; }
19453     fi
19454         MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19455     retest_macosx_linking=yes
19456             fi
19457
19458 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19459     wxUSE_MACOSX_VERSION_MIN=
19460 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19461     if test "x$wxUSE_MACOSX_SDK" != "x"; then
19462         { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19463 $as_echo_n "checking SDK deployment version... " >&6; }
19464
19465         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/'`
19466
19467         # If that failed, try again with the new key
19468         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19469
19470             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/'`
19471
19472         fi
19473
19474         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19475             wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19476             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19477 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19478         else
19479             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19480 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19481             wxUSE_MACOSX_VERSION_MIN=
19482         fi
19483     else
19484         wxUSE_MACOSX_VERSION_MIN=
19485     fi
19486 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19487     wxUSE_MACOSX_VERSION_MIN=10.5
19488 fi
19489
19490 if test "x$MACOSX_SDK_OPTS" != "x"; then
19491     eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19492     eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19493     eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19494     retest_macosx_linking=yes
19495 fi
19496
19497 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19498     if test "$wxUSE_OSX_IPHONE" = 1; then
19499         MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19500     else
19501         MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19502     fi
19503     eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19504     eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19505     eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19506     retest_macosx_linking=yes
19507 fi
19508
19509 if test "x$retest_macosx_linking" = "xyes"; then
19510     ac_ext=c
19511 ac_cpp='$CPP $CPPFLAGS'
19512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19515
19516     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19517 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19518     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19519 /* end confdefs.h.  */
19520
19521 int
19522 main ()
19523 {
19524
19525   ;
19526   return 0;
19527 }
19528 _ACEOF
19529 if ac_fn_c_try_link "$LINENO"; then :
19530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19531 $as_echo "yes" >&6; }
19532 else
19533   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19535 as_fn_error $? "no.  Try a different SDK
19536 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19537 fi
19538 rm -f core conftest.err conftest.$ac_objext \
19539     conftest$ac_exeext conftest.$ac_ext
19540     ac_ext=c
19541 ac_cpp='$CPP $CPPFLAGS'
19542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19545
19546
19547     ac_ext=cpp
19548 ac_cpp='$CXXCPP $CPPFLAGS'
19549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19552
19553     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19554 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19555     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19556 /* end confdefs.h.  */
19557
19558 int
19559 main ()
19560 {
19561
19562   ;
19563   return 0;
19564 }
19565 _ACEOF
19566 if ac_fn_cxx_try_link "$LINENO"; then :
19567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19568 $as_echo "yes" >&6; }
19569 else
19570   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19572 as_fn_error $? "no.  Try a different SDK
19573 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19574 fi
19575 rm -f core conftest.err conftest.$ac_objext \
19576     conftest$ac_exeext conftest.$ac_ext
19577     ac_ext=c
19578 ac_cpp='$CPP $CPPFLAGS'
19579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19582
19583 fi
19584
19585 fi
19586 case "${host}" in
19587
19588                 *-*-darwin* )
19589         INSTALL_PROGRAM="cp -fp"
19590         INSTALL_DATA="cp -fp"
19591         ;;
19592     *)
19593         ;;
19594 esac
19595
19596
19597 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19598                     $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19599
19600
19601             GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19602     CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19603 fi
19604
19605 if test "x$USE_AIX" = "x1"; then
19606             if test "x$XLCXX" = "xyes"; then
19607         CXXFLAGS="-qunique $CXXFLAGS"
19608     fi
19609
19610                                 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19611 fi
19612
19613 case "${host}" in
19614   powerpc-*-darwin* )
19615     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19616 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19617     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19618 /* end confdefs.h.  */
19619
19620 int
19621 main ()
19622 {
19623 #ifndef __POWERPC__
19624         choke me for lack of PowerPC
19625 #endif
19626
19627   ;
19628   return 0;
19629 }
19630 _ACEOF
19631 if ac_fn_c_try_compile "$LINENO"; then :
19632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19633 $as_echo "yes" >&6; }
19634 else
19635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19636 $as_echo "no" >&6; }
19637         $as_echo "#define __POWERPC__ 1" >>confdefs.h
19638
19639
19640 fi
19641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19642   ;;
19643 esac
19644
19645 case "${host}" in
19646   *-*-darwin* )
19647     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19648 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19649     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19650 /* end confdefs.h.  */
19651 #include <CoreFoundation/CFBase.h>
19652
19653 int
19654 main ()
19655 {
19656
19657   ;
19658   return 0;
19659 }
19660 _ACEOF
19661 if ac_fn_c_try_compile "$LINENO"; then :
19662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19663 $as_echo "yes" >&6; }
19664 else
19665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19666 $as_echo "no" >&6; }
19667         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19668 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19669         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h.  */
19671 #define __CF_USE_FRAMEWORK_INCLUDES__
19672 #include <CoreFoundation/CFBase.h>
19673
19674 int
19675 main ()
19676 {
19677
19678   ;
19679   return 0;
19680 }
19681 _ACEOF
19682 if ac_fn_c_try_compile "$LINENO"; then :
19683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19684 $as_echo "yes" >&6; }
19685                         CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19686 else
19687   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19689 as_fn_error $? "no.  CoreFoundation not available.
19690 See \`config.log' for more details" "$LINENO" 5; }
19691
19692 fi
19693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19694
19695
19696 fi
19697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19698   ;;
19699 esac
19700
19701 wants_win32=0
19702 doesnt_want_win32=0
19703 case "${host}" in
19704   *-*-cygwin*)
19705       if test "$wxUSE_MSW" = 1 ; then
19706         wants_win32=1
19707       else
19708                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19709 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19710 if ${wx_cv_nocygwin+:} false; then :
19711   $as_echo_n "(cached) " >&6
19712 else
19713
19714                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19715 /* end confdefs.h.  */
19716
19717 int
19718 main ()
19719 {
19720
19721                         #ifdef __MINGW32__
19722                             choke me
19723                         #endif
19724
19725   ;
19726   return 0;
19727 }
19728 _ACEOF
19729 if ac_fn_c_try_compile "$LINENO"; then :
19730   wx_cv_nocygwin=no
19731 else
19732   wx_cv_nocygwin=yes
19733
19734 fi
19735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19736
19737
19738 fi
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19740 $as_echo "$wx_cv_nocygwin" >&6; }
19741
19742         if test "$wx_cv_nocygwin" = "yes"; then
19743             wants_win32=1
19744         else
19745             doesnt_want_win32=1
19746         fi
19747       fi
19748       if test "$wants_win32" = 1 ; then
19749         BAKEFILE_FORCE_PLATFORM=win32
19750       fi
19751   ;;
19752   *-*-mingw*)
19753       wants_win32=1
19754   ;;
19755 esac
19756
19757 if test "$wxUSE_WINE" = "yes"; then
19758     wants_win32=1
19759     LDFLAGS_GUI="-mwindows"
19760 fi
19761
19762 if test "$wants_win32" = 1 ; then
19763     USE_UNIX=0
19764     USE_WIN32=1
19765     $as_echo "#define __WIN32__ 1" >>confdefs.h
19766
19767     $as_echo "#define __WIN95__ 1" >>confdefs.h
19768
19769     $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19770
19771     $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19772
19773     $as_echo "#define STRICT 1" >>confdefs.h
19774
19775 fi
19776 if test "$doesnt_want_win32" = 1 ; then
19777     USE_UNIX=1
19778     USE_WIN32=0
19779 fi
19780
19781 if test "$USE_UNIX" = 1 ; then
19782     wxUSE_UNIX=yes
19783     $as_echo "#define __UNIX__ 1" >>confdefs.h
19784
19785 fi
19786
19787 case "${host}" in
19788   *-pc-os2_emx | *-pc-os2-emx )
19789                                                       if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19790                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19791 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19792 if ${ac_cv_lib_cExt_drand48+:} false; then :
19793   $as_echo_n "(cached) " >&6
19794 else
19795   ac_check_lib_save_LIBS=$LIBS
19796 LIBS="-lcExt  $LIBS"
19797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19798 /* end confdefs.h.  */
19799
19800 /* Override any GCC internal prototype to avoid an error.
19801    Use char because int might match the return type of a GCC
19802    builtin and then its argument prototype would still apply.  */
19803 #ifdef __cplusplus
19804 extern "C"
19805 #endif
19806 char drand48 ();
19807 int
19808 main ()
19809 {
19810 return drand48 ();
19811   ;
19812   return 0;
19813 }
19814 _ACEOF
19815 if ac_fn_c_try_link "$LINENO"; then :
19816   ac_cv_lib_cExt_drand48=yes
19817 else
19818   ac_cv_lib_cExt_drand48=no
19819 fi
19820 rm -f core conftest.err conftest.$ac_objext \
19821     conftest$ac_exeext conftest.$ac_ext
19822 LIBS=$ac_check_lib_save_LIBS
19823 fi
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19825 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19826 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19827   LIBS="$LIBS -lcExt"
19828 fi
19829
19830       else
19831                     RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19832       fi
19833                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19834 $as_echo_n "checking for gcc/libc version... " >&6; }
19835 if ${wx_cv_gccversion+:} false; then :
19836   $as_echo_n "(cached) " >&6
19837 else
19838
19839           if test "$cross_compiling" = yes; then :
19840                 wx_cv_gccversion="EMX2"
19841
19842 else
19843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19844 /* end confdefs.h.  */
19845
19846                   #include <stdio.h>
19847
19848                   int main()
19849                   {
19850                       FILE *f=fopen("conftestval", "w");
19851                       if (!f) exit(1);
19852                       fprintf(f,
19853                   #if (__GNUC__ < 3)
19854                               "EMX2"
19855                   #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19856                               "EMX3"
19857                   #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19858                               "Innotek5"
19859                   #else
19860                               "Innotek6"
19861                   #endif
19862                       );
19863                       exit(0);
19864                   }
19865
19866 _ACEOF
19867 if ac_fn_c_try_run "$LINENO"; then :
19868   wx_cv_gccversion=`cat conftestval`
19869 else
19870   wx_cv_gccversion="EMX2"
19871 fi
19872 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19873   conftest.$ac_objext conftest.beam conftest.$ac_ext
19874 fi
19875
19876
19877 fi
19878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19879 $as_echo "$wx_cv_gccversion" >&6; }
19880       if test "$wx_cv_gccversion" = "EMX2"; then
19881           LIBS="$LIBS -lstdcpp"
19882           LDFLAGS="$LDFLAGS -Zsysv-signals"
19883       else
19884           if test "$wx_cv_gccversion" = "EMX3"; then
19885               LIBS="$LIBS -lstdcxx -lgcc"
19886               LDFLAGS="$LDFLAGS -Zsysv-signals"
19887           else
19888               LIBS="$LIBS -lstdc++"
19889           fi
19890       fi
19891       if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19892         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19893 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19894         wxUSE_OMF=yes
19895         enable_omf=yes
19896       fi
19897         ;;
19898   *)
19899
19900       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19901 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19902 if ${ac_cv_string_strcasecmp+:} false; then :
19903   $as_echo_n "(cached) " >&6
19904 else
19905
19906           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19907 /* end confdefs.h.  */
19908
19909               #include <string.h>
19910
19911 int
19912 main ()
19913 {
19914
19915                   strcasecmp("foo", "bar");
19916
19917   ;
19918   return 0;
19919 }
19920 _ACEOF
19921 if ac_fn_c_try_link "$LINENO"; then :
19922   ac_cv_string_strcasecmp=yes
19923 else
19924   ac_cv_string_strcasecmp=no
19925
19926 fi
19927 rm -f core conftest.err conftest.$ac_objext \
19928     conftest$ac_exeext conftest.$ac_ext
19929
19930 fi
19931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19932 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19933
19934       if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19935           $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19936
19937       else
19938           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19939 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19940 if ${ac_cv_strings_strcasecmp+:} false; then :
19941   $as_echo_n "(cached) " >&6
19942 else
19943
19944               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19945 /* end confdefs.h.  */
19946
19947                   #include <strings.h>
19948
19949 int
19950 main ()
19951 {
19952
19953                       strcasecmp("foo", "bar");
19954
19955   ;
19956   return 0;
19957 }
19958 _ACEOF
19959 if ac_fn_c_try_link "$LINENO"; then :
19960   ac_cv_strings_strcasecmp=yes
19961 else
19962   ac_cv_strings_strcasecmp=no
19963
19964 fi
19965 rm -f core conftest.err conftest.$ac_objext \
19966     conftest$ac_exeext conftest.$ac_ext
19967
19968 fi
19969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19970 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19971
19972           if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19973               $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19974
19975           else
19976               as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19977           fi
19978       fi
19979
19980         ;;
19981 esac
19982
19983
19984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19985 $as_echo_n "checking for ANSI C header files... " >&6; }
19986 if ${ac_cv_header_stdc+:} false; then :
19987   $as_echo_n "(cached) " >&6
19988 else
19989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19990 /* end confdefs.h.  */
19991 #include <stdlib.h>
19992 #include <stdarg.h>
19993 #include <string.h>
19994 #include <float.h>
19995
19996 int
19997 main ()
19998 {
19999
20000   ;
20001   return 0;
20002 }
20003 _ACEOF
20004 if ac_fn_c_try_compile "$LINENO"; then :
20005   ac_cv_header_stdc=yes
20006 else
20007   ac_cv_header_stdc=no
20008 fi
20009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20010
20011 if test $ac_cv_header_stdc = yes; then
20012   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20014 /* end confdefs.h.  */
20015 #include <string.h>
20016
20017 _ACEOF
20018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20019   $EGREP "memchr" >/dev/null 2>&1; then :
20020
20021 else
20022   ac_cv_header_stdc=no
20023 fi
20024 rm -f conftest*
20025
20026 fi
20027
20028 if test $ac_cv_header_stdc = yes; then
20029   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20031 /* end confdefs.h.  */
20032 #include <stdlib.h>
20033
20034 _ACEOF
20035 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20036   $EGREP "free" >/dev/null 2>&1; then :
20037
20038 else
20039   ac_cv_header_stdc=no
20040 fi
20041 rm -f conftest*
20042
20043 fi
20044
20045 if test $ac_cv_header_stdc = yes; then
20046   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20047   if test "$cross_compiling" = yes; then :
20048   :
20049 else
20050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20051 /* end confdefs.h.  */
20052 #include <ctype.h>
20053 #include <stdlib.h>
20054 #if ((' ' & 0x0FF) == 0x020)
20055 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20056 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20057 #else
20058 # define ISLOWER(c) \
20059                    (('a' <= (c) && (c) <= 'i') \
20060                      || ('j' <= (c) && (c) <= 'r') \
20061                      || ('s' <= (c) && (c) <= 'z'))
20062 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20063 #endif
20064
20065 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20066 int
20067 main ()
20068 {
20069   int i;
20070   for (i = 0; i < 256; i++)
20071     if (XOR (islower (i), ISLOWER (i))
20072         || toupper (i) != TOUPPER (i))
20073       return 2;
20074   return 0;
20075 }
20076 _ACEOF
20077 if ac_fn_c_try_run "$LINENO"; then :
20078
20079 else
20080   ac_cv_header_stdc=no
20081 fi
20082 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20083   conftest.$ac_objext conftest.beam conftest.$ac_ext
20084 fi
20085
20086 fi
20087 fi
20088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20089 $as_echo "$ac_cv_header_stdc" >&6; }
20090 if test $ac_cv_header_stdc = yes; then
20091
20092 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20093
20094 fi
20095
20096 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20097 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20098                   inttypes.h stdint.h unistd.h
20099 do :
20100   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20101 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20102 "
20103 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20104   cat >>confdefs.h <<_ACEOF
20105 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20106 _ACEOF
20107
20108 fi
20109
20110 done
20111
20112
20113 for ac_header in langinfo.h wchar.h
20114 do :
20115   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20116 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20117 "
20118 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20119   cat >>confdefs.h <<_ACEOF
20120 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20121 _ACEOF
20122
20123 fi
20124
20125 done
20126
20127
20128 if test "$ac_cv_header_wchar_h" != "yes"; then
20129     for ac_header in wcstr.h
20130 do :
20131   ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20132 "
20133 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20134   cat >>confdefs.h <<_ACEOF
20135 #define HAVE_WCSTR_H 1
20136 _ACEOF
20137
20138 fi
20139
20140 done
20141
20142 fi
20143
20144 case "${host}" in
20145   *-pc-os2_emx | *-pc-os2-emx )
20146                   if test $ac_cv_header_langinfo_h = "yes" \
20147                 -a \(   "$wx_cv_gccversion" = "EMX2" \
20148                      -o "$wx_cv_gccversion" = "EMX3" \
20149                      -o "$wx_cv_gccversion" = "Innotek5" \); then
20150           LIBS="$LIBS -lintl"
20151       fi
20152   ;;
20153 esac
20154
20155 if test "$USE_UNIX" = 1 ; then
20156         for ac_header in sys/select.h
20157 do :
20158   ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20159 "
20160 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20161   cat >>confdefs.h <<_ACEOF
20162 #define HAVE_SYS_SELECT_H 1
20163 _ACEOF
20164
20165 fi
20166
20167 done
20168
20169
20170             ac_ext=cpp
20171 ac_cpp='$CXXCPP $CPPFLAGS'
20172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20175
20176     for ac_header in cxxabi.h
20177 do :
20178   ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20179 "
20180 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20181   cat >>confdefs.h <<_ACEOF
20182 #define HAVE_CXXABI_H 1
20183 _ACEOF
20184
20185 fi
20186
20187 done
20188
20189     ac_ext=c
20190 ac_cpp='$CPP $CPPFLAGS'
20191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20194
20195 fi
20196
20197
20198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20199 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20200 if ${ac_cv_c_const+:} false; then :
20201   $as_echo_n "(cached) " >&6
20202 else
20203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20204 /* end confdefs.h.  */
20205
20206 int
20207 main ()
20208 {
20209
20210 #ifndef __cplusplus
20211   /* Ultrix mips cc rejects this sort of thing.  */
20212   typedef int charset[2];
20213   const charset cs = { 0, 0 };
20214   /* SunOS 4.1.1 cc rejects this.  */
20215   char const *const *pcpcc;
20216   char **ppc;
20217   /* NEC SVR4.0.2 mips cc rejects this.  */
20218   struct point {int x, y;};
20219   static struct point const zero = {0,0};
20220   /* AIX XL C 1.02.0.0 rejects this.
20221      It does not let you subtract one const X* pointer from another in
20222      an arm of an if-expression whose if-part is not a constant
20223      expression */
20224   const char *g = "string";
20225   pcpcc = &g + (g ? g-g : 0);
20226   /* HPUX 7.0 cc rejects these. */
20227   ++pcpcc;
20228   ppc = (char**) pcpcc;
20229   pcpcc = (char const *const *) ppc;
20230   { /* SCO 3.2v4 cc rejects this sort of thing.  */
20231     char tx;
20232     char *t = &tx;
20233     char const *s = 0 ? (char *) 0 : (char const *) 0;
20234
20235     *t++ = 0;
20236     if (s) return 0;
20237   }
20238   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
20239     int x[] = {25, 17};
20240     const int *foo = &x[0];
20241     ++foo;
20242   }
20243   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20244     typedef const int *iptr;
20245     iptr p = 0;
20246     ++p;
20247   }
20248   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20249        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20250     struct s { int j; const int *ap[3]; } bx;
20251     struct s *b = &bx; b->j = 5;
20252   }
20253   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20254     const int foo = 10;
20255     if (!foo) return 0;
20256   }
20257   return !cs[0] && !zero.x;
20258 #endif
20259
20260   ;
20261   return 0;
20262 }
20263 _ACEOF
20264 if ac_fn_c_try_compile "$LINENO"; then :
20265   ac_cv_c_const=yes
20266 else
20267   ac_cv_c_const=no
20268 fi
20269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20270 fi
20271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20272 $as_echo "$ac_cv_c_const" >&6; }
20273 if test $ac_cv_c_const = no; then
20274
20275 $as_echo "#define const /**/" >>confdefs.h
20276
20277 fi
20278
20279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20280 $as_echo_n "checking for inline... " >&6; }
20281 if ${ac_cv_c_inline+:} false; then :
20282   $as_echo_n "(cached) " >&6
20283 else
20284   ac_cv_c_inline=no
20285 for ac_kw in inline __inline__ __inline; do
20286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20287 /* end confdefs.h.  */
20288 #ifndef __cplusplus
20289 typedef int foo_t;
20290 static $ac_kw foo_t static_foo () {return 0; }
20291 $ac_kw foo_t foo () {return 0; }
20292 #endif
20293
20294 _ACEOF
20295 if ac_fn_c_try_compile "$LINENO"; then :
20296   ac_cv_c_inline=$ac_kw
20297 fi
20298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20299   test "$ac_cv_c_inline" != no && break
20300 done
20301
20302 fi
20303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20304 $as_echo "$ac_cv_c_inline" >&6; }
20305
20306 case $ac_cv_c_inline in
20307   inline | yes) ;;
20308   *)
20309     case $ac_cv_c_inline in
20310       no) ac_val=;;
20311       *) ac_val=$ac_cv_c_inline;;
20312     esac
20313     cat >>confdefs.h <<_ACEOF
20314 #ifndef __cplusplus
20315 #define inline $ac_val
20316 #endif
20317 _ACEOF
20318     ;;
20319 esac
20320
20321
20322 # The cast to long int works around a bug in the HP C Compiler
20323 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20324 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20325 # This bug is HP SR number 8606223364.
20326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20327 $as_echo_n "checking size of short... " >&6; }
20328 if ${ac_cv_sizeof_short+:} false; then :
20329   $as_echo_n "(cached) " >&6
20330 else
20331   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
20332
20333 else
20334   if test "$ac_cv_type_short" = yes; then
20335      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20337 as_fn_error 77 "cannot compute sizeof (short)
20338 See \`config.log' for more details" "$LINENO" 5; }
20339    else
20340      ac_cv_sizeof_short=0
20341    fi
20342 fi
20343
20344 fi
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20346 $as_echo "$ac_cv_sizeof_short" >&6; }
20347
20348
20349
20350 cat >>confdefs.h <<_ACEOF
20351 #define SIZEOF_SHORT $ac_cv_sizeof_short
20352 _ACEOF
20353
20354
20355 # The cast to long int works around a bug in the HP C Compiler
20356 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20357 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20358 # This bug is HP SR number 8606223364.
20359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20360 $as_echo_n "checking size of void *... " >&6; }
20361 if ${ac_cv_sizeof_void_p+:} false; then :
20362   $as_echo_n "(cached) " >&6
20363 else
20364   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
20365
20366 else
20367   if test "$ac_cv_type_void_p" = yes; then
20368      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20370 as_fn_error 77 "cannot compute sizeof (void *)
20371 See \`config.log' for more details" "$LINENO" 5; }
20372    else
20373      ac_cv_sizeof_void_p=0
20374    fi
20375 fi
20376
20377 fi
20378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20379 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20380
20381
20382
20383 cat >>confdefs.h <<_ACEOF
20384 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20385 _ACEOF
20386
20387
20388 # The cast to long int works around a bug in the HP C Compiler
20389 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20390 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20391 # This bug is HP SR number 8606223364.
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20393 $as_echo_n "checking size of int... " >&6; }
20394 if ${ac_cv_sizeof_int+:} false; then :
20395   $as_echo_n "(cached) " >&6
20396 else
20397   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
20398
20399 else
20400   if test "$ac_cv_type_int" = yes; then
20401      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20403 as_fn_error 77 "cannot compute sizeof (int)
20404 See \`config.log' for more details" "$LINENO" 5; }
20405    else
20406      ac_cv_sizeof_int=0
20407    fi
20408 fi
20409
20410 fi
20411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20412 $as_echo "$ac_cv_sizeof_int" >&6; }
20413
20414
20415
20416 cat >>confdefs.h <<_ACEOF
20417 #define SIZEOF_INT $ac_cv_sizeof_int
20418 _ACEOF
20419
20420
20421 # The cast to long int works around a bug in the HP C Compiler
20422 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20423 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20424 # This bug is HP SR number 8606223364.
20425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20426 $as_echo_n "checking size of long... " >&6; }
20427 if ${ac_cv_sizeof_long+:} false; then :
20428   $as_echo_n "(cached) " >&6
20429 else
20430   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
20431
20432 else
20433   if test "$ac_cv_type_long" = yes; then
20434      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20436 as_fn_error 77 "cannot compute sizeof (long)
20437 See \`config.log' for more details" "$LINENO" 5; }
20438    else
20439      ac_cv_sizeof_long=0
20440    fi
20441 fi
20442
20443 fi
20444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20445 $as_echo "$ac_cv_sizeof_long" >&6; }
20446
20447
20448
20449 cat >>confdefs.h <<_ACEOF
20450 #define SIZEOF_LONG $ac_cv_sizeof_long
20451 _ACEOF
20452
20453
20454 # The cast to long int works around a bug in the HP C Compiler
20455 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20456 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20457 # This bug is HP SR number 8606223364.
20458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20459 $as_echo_n "checking size of size_t... " >&6; }
20460 if ${ac_cv_sizeof_size_t+:} false; then :
20461   $as_echo_n "(cached) " >&6
20462 else
20463   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
20464
20465 else
20466   if test "$ac_cv_type_size_t" = yes; then
20467      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20469 as_fn_error 77 "cannot compute sizeof (size_t)
20470 See \`config.log' for more details" "$LINENO" 5; }
20471    else
20472      ac_cv_sizeof_size_t=0
20473    fi
20474 fi
20475
20476 fi
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20478 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20479
20480
20481
20482 cat >>confdefs.h <<_ACEOF
20483 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20484 _ACEOF
20485
20486
20487
20488 case "${host}" in
20489     arm-*-linux* )
20490         # The cast to long int works around a bug in the HP C Compiler
20491 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20492 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20493 # This bug is HP SR number 8606223364.
20494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20495 $as_echo_n "checking size of long long... " >&6; }
20496 if ${ac_cv_sizeof_long_long+:} false; then :
20497   $as_echo_n "(cached) " >&6
20498 else
20499   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20500
20501 else
20502   if test "$ac_cv_type_long_long" = yes; then
20503      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20505 as_fn_error 77 "cannot compute sizeof (long long)
20506 See \`config.log' for more details" "$LINENO" 5; }
20507    else
20508      ac_cv_sizeof_long_long=0
20509    fi
20510 fi
20511
20512 fi
20513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20514 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20515
20516
20517
20518 cat >>confdefs.h <<_ACEOF
20519 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20520 _ACEOF
20521
20522
20523     ;;
20524     *-hp-hpux* )
20525         # The cast to long int works around a bug in the HP C Compiler
20526 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20527 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20528 # This bug is HP SR number 8606223364.
20529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20530 $as_echo_n "checking size of long long... " >&6; }
20531 if ${ac_cv_sizeof_long_long+:} false; then :
20532   $as_echo_n "(cached) " >&6
20533 else
20534   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20535
20536 else
20537   if test "$ac_cv_type_long_long" = yes; then
20538      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20540 as_fn_error 77 "cannot compute sizeof (long long)
20541 See \`config.log' for more details" "$LINENO" 5; }
20542    else
20543      ac_cv_sizeof_long_long=0
20544    fi
20545 fi
20546
20547 fi
20548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20549 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20550
20551
20552
20553 cat >>confdefs.h <<_ACEOF
20554 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20555 _ACEOF
20556
20557
20558         if test "$ac_cv_sizeof_long_long" != 0; then
20559                         CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20560         fi
20561     ;;
20562     * )
20563         # The cast to long int works around a bug in the HP C Compiler
20564 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20565 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20566 # This bug is HP SR number 8606223364.
20567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20568 $as_echo_n "checking size of long long... " >&6; }
20569 if ${ac_cv_sizeof_long_long+:} false; then :
20570   $as_echo_n "(cached) " >&6
20571 else
20572   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20573
20574 else
20575   if test "$ac_cv_type_long_long" = yes; then
20576      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20578 as_fn_error 77 "cannot compute sizeof (long long)
20579 See \`config.log' for more details" "$LINENO" 5; }
20580    else
20581      ac_cv_sizeof_long_long=0
20582    fi
20583 fi
20584
20585 fi
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20587 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20588
20589
20590
20591 cat >>confdefs.h <<_ACEOF
20592 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20593 _ACEOF
20594
20595
20596 esac
20597
20598 # The cast to long int works around a bug in the HP C Compiler
20599 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20600 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20601 # This bug is HP SR number 8606223364.
20602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20603 $as_echo_n "checking size of wchar_t... " >&6; }
20604 if ${ac_cv_sizeof_wchar_t+:} false; then :
20605   $as_echo_n "(cached) " >&6
20606 else
20607   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t"        "
20608         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20609         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20610         #  error \"fake wchar_t\"
20611         #endif
20612         #ifdef HAVE_WCHAR_H
20613         #  ifdef __CYGWIN__
20614         #    include <stddef.h>
20615         #  endif
20616         #  include <wchar.h>
20617         #endif
20618         #ifdef HAVE_STDLIB_H
20619         #  include <stdlib.h>
20620         #endif
20621         #include <stdio.h>
20622
20623
20624 "; then :
20625
20626 else
20627   if test "$ac_cv_type_wchar_t" = yes; then
20628      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20630 as_fn_error 77 "cannot compute sizeof (wchar_t)
20631 See \`config.log' for more details" "$LINENO" 5; }
20632    else
20633      ac_cv_sizeof_wchar_t=0
20634    fi
20635 fi
20636
20637 fi
20638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20639 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20640
20641
20642
20643 cat >>confdefs.h <<_ACEOF
20644 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20645 _ACEOF
20646
20647
20648 if test "$ac_cv_sizeof_wchar_t" = 0; then
20649     as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20650 fi
20651 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20652
20653
20654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20655 $as_echo_n "checking for va_copy... " >&6; }
20656 if ${wx_cv_func_va_copy+:} false; then :
20657   $as_echo_n "(cached) " >&6
20658 else
20659
20660         ac_ext=cpp
20661 ac_cpp='$CXXCPP $CPPFLAGS'
20662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20665
20666         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20667 /* end confdefs.h.  */
20668
20669
20670                 #include <stdarg.h>
20671                 void foo(char *f, ...)
20672                 {
20673                     va_list ap1, ap2;
20674                     va_start(ap1, f);
20675                     va_copy(ap2, ap1);
20676                     va_end(ap2);
20677                     va_end(ap1);
20678                 }
20679                 int main()
20680                 {
20681                     foo("hi", 17);
20682                     return 0;
20683                 }
20684
20685 _ACEOF
20686 if ac_fn_cxx_try_link "$LINENO"; then :
20687   wx_cv_func_va_copy=yes
20688 else
20689   wx_cv_func_va_copy=no
20690
20691 fi
20692 rm -f core conftest.err conftest.$ac_objext \
20693     conftest$ac_exeext conftest.$ac_ext
20694         ac_ext=c
20695 ac_cpp='$CPP $CPPFLAGS'
20696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20699
20700
20701
20702 fi
20703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20704 $as_echo "$wx_cv_func_va_copy" >&6; }
20705
20706 if test $wx_cv_func_va_copy = "yes"; then
20707     $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20708
20709 else
20710         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20711 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20712 if ${wx_cv_type_va_list_lvalue+:} false; then :
20713   $as_echo_n "(cached) " >&6
20714 else
20715
20716             if test "$cross_compiling" = yes; then :
20717                   wx_cv_type_va_list_lvalue=yes
20718
20719 else
20720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20721 /* end confdefs.h.  */
20722
20723
20724                     #include <stdarg.h>
20725                     int foo(char *f, ...)
20726                     {
20727                         va_list ap1, ap2;
20728                         va_start(ap1, f);
20729                         ap2 = ap1;
20730                         if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20731                             return 1;
20732                         va_end(ap2);
20733                         va_end(ap1);
20734                         return 0;
20735                     }
20736                     int main()
20737                     {
20738                         return foo("hi", 17);
20739                     }
20740
20741 _ACEOF
20742 if ac_fn_c_try_run "$LINENO"; then :
20743   wx_cv_type_va_list_lvalue=yes
20744 else
20745   wx_cv_type_va_list_lvalue=no
20746 fi
20747 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20748   conftest.$ac_objext conftest.beam conftest.$ac_ext
20749 fi
20750
20751
20752
20753 fi
20754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20755 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20756
20757     if test $wx_cv_type_va_list_lvalue != "yes"; then
20758                         $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20759
20760     fi
20761 fi
20762
20763 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20764
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20766 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20767 if ${wx_cv_have_variadic_macros+:} false; then :
20768   $as_echo_n "(cached) " >&6
20769 else
20770
20771                         ac_ext=cpp
20772 ac_cpp='$CXXCPP $CPPFLAGS'
20773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20776
20777         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20778 /* end confdefs.h.  */
20779
20780
20781                     #include <stdio.h>
20782                     #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20783
20784 int
20785 main ()
20786 {
20787
20788                     test("%s %d %p", "test", 1, 0);
20789
20790
20791   ;
20792   return 0;
20793 }
20794 _ACEOF
20795 if ac_fn_cxx_try_compile "$LINENO"; then :
20796   wx_cv_have_variadic_macros=yes
20797 else
20798   wx_cv_have_variadic_macros=no
20799
20800 fi
20801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20802         ac_ext=c
20803 ac_cpp='$CPP $CPPFLAGS'
20804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20807
20808
20809
20810 fi
20811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20812 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20813
20814 if test $wx_cv_have_variadic_macros = "yes"; then
20815     $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20816
20817 fi
20818
20819 else
20820     $as_echo "#define wxNO_VARIADIC_MACROS 1" >>confdefs.h
20821
20822 fi
20823
20824 LARGEFILE_CPPFLAGS=
20825 # Check whether --enable-largefile was given.
20826 if test "${enable_largefile+set}" = set; then :
20827   enableval=$enable_largefile;
20828 fi
20829
20830 if test "$enable_largefile" != no; then
20831             wx_largefile=no
20832
20833     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20834 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20835 if ${ac_cv_sys_file_offset_bits+:} false; then :
20836   $as_echo_n "(cached) " >&6
20837 else
20838
20839           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20840 /* end confdefs.h.  */
20841 #define _FILE_OFFSET_BITS 64
20842                           #include <sys/types.h>
20843 int
20844 main ()
20845 {
20846 typedef struct {
20847     unsigned int field: sizeof(off_t) == 8;
20848 } wxlf;
20849
20850   ;
20851   return 0;
20852 }
20853 _ACEOF
20854 if ac_fn_c_try_compile "$LINENO"; then :
20855   ac_cv_sys_file_offset_bits=64
20856 else
20857   ac_cv_sys_file_offset_bits=no
20858 fi
20859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20860
20861
20862 fi
20863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20864 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20865
20866     if test "$ac_cv_sys_file_offset_bits" != no; then
20867         wx_largefile=yes
20868         cat >>confdefs.h <<_ACEOF
20869 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20870 _ACEOF
20871
20872     fi
20873
20874     if test "x$wx_largefile" != "xyes"; then
20875
20876     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20877 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20878 if ${ac_cv_sys_large_files+:} false; then :
20879   $as_echo_n "(cached) " >&6
20880 else
20881
20882           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20883 /* end confdefs.h.  */
20884 #define _LARGE_FILES 1
20885                           #include <sys/types.h>
20886 int
20887 main ()
20888 {
20889 typedef struct {
20890     unsigned int field: sizeof(off_t) == 8;
20891 } wxlf;
20892
20893   ;
20894   return 0;
20895 }
20896 _ACEOF
20897 if ac_fn_c_try_compile "$LINENO"; then :
20898   ac_cv_sys_large_files=1
20899 else
20900   ac_cv_sys_large_files=no
20901 fi
20902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20903
20904
20905 fi
20906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20907 $as_echo "$ac_cv_sys_large_files" >&6; }
20908
20909     if test "$ac_cv_sys_large_files" != no; then
20910         wx_largefile=yes
20911         cat >>confdefs.h <<_ACEOF
20912 #define _LARGE_FILES $ac_cv_sys_large_files
20913 _ACEOF
20914
20915     fi
20916
20917     fi
20918
20919     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20920 $as_echo_n "checking if large file support is available... " >&6; }
20921     if test "x$wx_largefile" = "xyes"; then
20922         $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20923
20924     fi
20925     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20926 $as_echo "$wx_largefile" >&6; }
20927 fi
20928
20929 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20930     LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20931 elif test "$ac_cv_sys_large_files" = 1; then
20932     LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20933 fi
20934
20935 if test -n "$LARGEFILE_CPPFLAGS"; then
20936     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20937
20938                             if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20939         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20940 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20941 if ${wx_cv_STDC_EXT_required+:} false; then :
20942   $as_echo_n "(cached) " >&6
20943 else
20944
20945                 ac_ext=cpp
20946 ac_cpp='$CXXCPP $CPPFLAGS'
20947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20950
20951                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20952 /* end confdefs.h.  */
20953
20954 int
20955 main ()
20956 {
20957
20958                         #ifndef __STDC_EXT__
20959                             choke me
20960                         #endif
20961
20962   ;
20963   return 0;
20964 }
20965 _ACEOF
20966 if ac_fn_cxx_try_compile "$LINENO"; then :
20967   wx_cv_STDC_EXT_required=no
20968 else
20969   wx_cv_STDC_EXT_required=yes
20970
20971 fi
20972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20973                 ac_ext=c
20974 ac_cpp='$CPP $CPPFLAGS'
20975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20978
20979
20980
20981 fi
20982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20983 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20984         if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20985             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20986         fi
20987     fi
20988 fi
20989
20990 ac_ext=cpp
20991 ac_cpp='$CXXCPP $CPPFLAGS'
20992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20995
20996 old_CPPFLAGS="$CPPFLAGS"
20997 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20999 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
21000 if ${ac_cv_sys_largefile_source+:} false; then :
21001   $as_echo_n "(cached) " >&6
21002 else
21003   while :; do
21004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21005 /* end confdefs.h.  */
21006 #include <sys/types.h> /* for off_t */
21007      #include <stdio.h>
21008 int
21009 main ()
21010 {
21011 int (*fp) (FILE *, off_t, int) = fseeko;
21012      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21013   ;
21014   return 0;
21015 }
21016 _ACEOF
21017 if ac_fn_cxx_try_link "$LINENO"; then :
21018   ac_cv_sys_largefile_source=no; break
21019 fi
21020 rm -f core conftest.err conftest.$ac_objext \
21021     conftest$ac_exeext conftest.$ac_ext
21022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21023 /* end confdefs.h.  */
21024 #define _LARGEFILE_SOURCE 1
21025 #include <sys/types.h> /* for off_t */
21026      #include <stdio.h>
21027 int
21028 main ()
21029 {
21030 int (*fp) (FILE *, off_t, int) = fseeko;
21031      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21032   ;
21033   return 0;
21034 }
21035 _ACEOF
21036 if ac_fn_cxx_try_link "$LINENO"; then :
21037   ac_cv_sys_largefile_source=1; break
21038 fi
21039 rm -f core conftest.err conftest.$ac_objext \
21040     conftest$ac_exeext conftest.$ac_ext
21041   ac_cv_sys_largefile_source=unknown
21042   break
21043 done
21044 fi
21045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
21046 $as_echo "$ac_cv_sys_largefile_source" >&6; }
21047 case $ac_cv_sys_largefile_source in #(
21048   no | unknown) ;;
21049   *)
21050 cat >>confdefs.h <<_ACEOF
21051 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21052 _ACEOF
21053 ;;
21054 esac
21055 rm -rf conftest*
21056
21057 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21058 # in glibc 2.1.3, but that breaks too many other things.
21059 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21060 if test $ac_cv_sys_largefile_source != unknown; then
21061
21062 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
21063
21064 fi
21065
21066 CPPFLAGS="$old_CPPFLAGS"
21067 ac_ext=c
21068 ac_cpp='$CPP $CPPFLAGS'
21069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21072
21073 if test "$ac_cv_sys_largefile_source" != no; then
21074     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21075 fi
21076
21077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
21078 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
21079 if ${ac_cv_c_bigendian+:} false; then :
21080   $as_echo_n "(cached) " >&6
21081 else
21082   ac_cv_c_bigendian=unknown
21083 # See if sys/param.h defines the BYTE_ORDER macro.
21084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21085 /* end confdefs.h.  */
21086 #include <sys/types.h>
21087 #include <sys/param.h>
21088 int
21089 main ()
21090 {
21091
21092 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21093  bogus endian macros
21094 #endif
21095   ;
21096   return 0;
21097 }
21098 _ACEOF
21099 if ac_fn_c_try_compile "$LINENO"; then :
21100   # It does; now see whether it defined to BIG_ENDIAN or not.
21101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21102 /* end confdefs.h.  */
21103 #include <sys/types.h>
21104 #include <sys/param.h>
21105 int
21106 main ()
21107 {
21108
21109 #if BYTE_ORDER != BIG_ENDIAN
21110  not big endian
21111 #endif
21112   ;
21113   return 0;
21114 }
21115 _ACEOF
21116 if ac_fn_c_try_compile "$LINENO"; then :
21117   ac_cv_c_bigendian=yes
21118 else
21119   ac_cv_c_bigendian=no
21120 fi
21121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21122 fi
21123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21124 if test $ac_cv_c_bigendian = unknown; then
21125 if test "$cross_compiling" = yes; then :
21126   ac_cv_c_bigendian=unknown
21127 else
21128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21129 /* end confdefs.h.  */
21130 main () {
21131   /* Are we little or big endian?  From Harbison&Steele.  */
21132   union
21133   {
21134     long l;
21135     char c[sizeof (long)];
21136   } u;
21137   u.l = 1;
21138   exit (u.c[sizeof (long) - 1] == 1);
21139 }
21140 _ACEOF
21141 if ac_fn_c_try_run "$LINENO"; then :
21142   ac_cv_c_bigendian=no
21143 else
21144   ac_cv_c_bigendian=yes
21145 fi
21146 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21147   conftest.$ac_objext conftest.beam conftest.$ac_ext
21148 fi
21149
21150 fi
21151 fi
21152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21153 $as_echo "$ac_cv_c_bigendian" >&6; }
21154 if test $ac_cv_c_bigendian = unknown; then
21155   { $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
21156 $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;}
21157 fi
21158 if test $ac_cv_c_bigendian = yes; then
21159   $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21160
21161 fi
21162
21163
21164
21165
21166     ac_ext=cpp
21167 ac_cpp='$CXXCPP $CPPFLAGS'
21168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21171
21172
21173     for ac_header in iostream
21174 do :
21175   ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
21176 "
21177 if test "x$ac_cv_header_iostream" = xyes; then :
21178   cat >>confdefs.h <<_ACEOF
21179 #define HAVE_IOSTREAM 1
21180 _ACEOF
21181
21182 fi
21183
21184 done
21185
21186
21187     if test "$ac_cv_header_iostream" = "yes" ; then
21188       :
21189     else
21190       $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21191
21192     fi
21193
21194     ac_ext=c
21195 ac_cpp='$CPP $CPPFLAGS'
21196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21199
21200
21201
21202
21203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21204 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21205 if ${wx_cv_explicit+:} false; then :
21206   $as_echo_n "(cached) " >&6
21207 else
21208
21209
21210     ac_ext=cpp
21211 ac_cpp='$CXXCPP $CPPFLAGS'
21212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21215
21216
21217             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21218 /* end confdefs.h.  */
21219
21220         class Foo { public: explicit Foo(int) {} };
21221
21222 int
21223 main ()
21224 {
21225
21226         return 0;
21227
21228   ;
21229   return 0;
21230 }
21231 _ACEOF
21232 if ac_fn_cxx_try_compile "$LINENO"; then :
21233
21234         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21235 /* end confdefs.h.  */
21236
21237                 class Foo { public: explicit Foo(int) {} };
21238                 static void TakeFoo(const Foo& foo) { }
21239
21240 int
21241 main ()
21242 {
21243
21244                 TakeFoo(17);
21245                 return 0;
21246
21247   ;
21248   return 0;
21249 }
21250 _ACEOF
21251 if ac_fn_cxx_try_compile "$LINENO"; then :
21252   wx_cv_explicit=no
21253 else
21254   wx_cv_explicit=yes
21255
21256 fi
21257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21258
21259 else
21260   wx_cv_explicit=no
21261
21262 fi
21263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21264
21265     ac_ext=c
21266 ac_cpp='$CPP $CPPFLAGS'
21267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21270
21271
21272 fi
21273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21274 $as_echo "$wx_cv_explicit" >&6; }
21275
21276   if test "$wx_cv_explicit" = "yes"; then
21277     $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21278
21279   fi
21280
21281
21282 if test "x$SUNCXX" = xyes; then
21283     CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21284 fi
21285
21286 if test "x$SUNCC" = xyes; then
21287     CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21288 fi
21289
21290 if test "x$SGICC" = "xyes"; then
21291     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21292 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21293 if ${wx_cv_prog_sgicc744+:} false; then :
21294   $as_echo_n "(cached) " >&6
21295 else
21296
21297             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21298 /* end confdefs.h.  */
21299
21300 int
21301 main ()
21302 {
21303
21304                     #if _SGI_COMPILER_VERSION >= 744
21305                     chock me: mipsPro is 7.4.4 or later
21306                     #endif
21307
21308   ;
21309   return 0;
21310 }
21311 _ACEOF
21312 if ac_fn_c_try_compile "$LINENO"; then :
21313   wx_cv_prog_sgicc744=no
21314 else
21315   wx_cv_prog_sgicc744=yes
21316
21317 fi
21318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21319
21320
21321 fi
21322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21323 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21324
21325     if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21326         CFLAGS="-woff 3970 $CFLAGS"
21327     fi
21328 fi
21329 if test "x$SGICXX" = "xyes"; then
21330     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21331 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21332 if ${wx_cv_prog_sgicxx744+:} false; then :
21333   $as_echo_n "(cached) " >&6
21334 else
21335
21336             ac_ext=cpp
21337 ac_cpp='$CXXCPP $CPPFLAGS'
21338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21341
21342             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21343 /* end confdefs.h.  */
21344
21345 int
21346 main ()
21347 {
21348
21349                     #if _SGI_COMPILER_VERSION >= 744
21350                     chock me: mipsPro is 7.4.4 or later
21351                     #endif
21352
21353   ;
21354   return 0;
21355 }
21356 _ACEOF
21357 if ac_fn_cxx_try_compile "$LINENO"; then :
21358   wx_cv_prog_sgicxx744=no
21359 else
21360   wx_cv_prog_sgicxx744=yes
21361
21362 fi
21363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21364             ac_ext=c
21365 ac_cpp='$CPP $CPPFLAGS'
21366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21369
21370
21371
21372 fi
21373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21374 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21375
21376     if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21377         CXXFLAGS="-woff 3970 $CXXFLAGS"
21378     fi
21379 fi
21380
21381 if test "x$HPCC" = "xyes"; then
21382                     CFLAGS="+W 2011,2450 $CFLAGS"
21383 fi
21384 if test "x$HPCXX" = "xyes"; then
21385                             CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21386 fi
21387
21388 if test "x$COMPAQCXX" = "xyes"; then
21389                                 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21390 fi
21391
21392 ac_ext=cpp
21393 ac_cpp='$CXXCPP $CPPFLAGS'
21394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21397
21398
21399 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21400     if test "$wxUSE_UNICODE" = "yes"; then
21401         std_string="std::wstring"
21402         char_type="wchar_t"
21403     else
21404         std_string="std::string"
21405         char_type="char"
21406     fi
21407
21408         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21409 $as_echo_n "checking for $std_string in <string>... " >&6; }
21410 if ${wx_cv_class_stdstring+:} false; then :
21411   $as_echo_n "(cached) " >&6
21412 else
21413
21414             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21415 /* end confdefs.h.  */
21416 #include <string>
21417 int
21418 main ()
21419 {
21420 $std_string foo;
21421   ;
21422   return 0;
21423 }
21424 _ACEOF
21425 if ac_fn_cxx_try_compile "$LINENO"; then :
21426   wx_cv_class_stdstring=yes
21427 else
21428   wx_cv_class_stdstring=no
21429
21430 fi
21431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21432
21433
21434 fi
21435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21436 $as_echo "$wx_cv_class_stdstring" >&6; }
21437
21438     if test "$wx_cv_class_stdstring" = yes; then
21439         if test "$wxUSE_UNICODE" = "yes"; then
21440             $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21441
21442         fi
21443                     else
21444         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21445 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21446 if ${wx_cv_class_stdbasicstring+:} false; then :
21447   $as_echo_n "(cached) " >&6
21448 else
21449
21450                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21451 /* end confdefs.h.  */
21452
21453                     #ifdef HAVE_WCHAR_H
21454                     #  ifdef __CYGWIN__
21455                     #    include <stddef.h>
21456                     #  endif
21457                     #  include <wchar.h>
21458                     #endif
21459                     #ifdef HAVE_STDLIB_H
21460                     #  include <stdlib.h>
21461                     #endif
21462                     #include <stdio.h>
21463                     #include <string>
21464
21465 int
21466 main ()
21467 {
21468 std::basic_string<$char_type> foo;
21469                      const $char_type* dummy = foo.c_str();
21470   ;
21471   return 0;
21472 }
21473 _ACEOF
21474 if ac_fn_cxx_try_compile "$LINENO"; then :
21475   wx_cv_class_stdbasicstring=yes
21476 else
21477   wx_cv_class_stdbasicstring=no
21478
21479 fi
21480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21481
21482
21483 fi
21484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21485 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21486
21487         if test "$wx_cv_class_stdbasicstring" != yes; then
21488             if test "$wxUSE_STL" = "yes"; then
21489                 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21490             elif test "$wxUSE_STD_STRING" = "yes"; then
21491                 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21492             else
21493                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21494 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21495                 wxUSE_STD_STRING=no
21496             fi
21497         fi
21498     fi
21499 fi
21500
21501 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21502     ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21503 "
21504 if test "x$ac_cv_type_std__istream" = xyes; then :
21505
21506 cat >>confdefs.h <<_ACEOF
21507 #define HAVE_STD__ISTREAM 1
21508 _ACEOF
21509
21510
21511 else
21512   wxUSE_STD_IOSTREAM=no
21513 fi
21514 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21515 "
21516 if test "x$ac_cv_type_std__ostream" = xyes; then :
21517
21518 cat >>confdefs.h <<_ACEOF
21519 #define HAVE_STD__OSTREAM 1
21520 _ACEOF
21521
21522
21523 else
21524   wxUSE_STD_IOSTREAM=no
21525 fi
21526
21527
21528     if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21529         if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21530             as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21531         else
21532             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21533 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21534         fi
21535     fi
21536 fi
21537
21538 if test "$wxUSE_STL" = "yes"; then
21539         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21540 $as_echo_n "checking for basic STL functionality... " >&6; }
21541 if ${wx_cv_lib_stl+:} false; then :
21542   $as_echo_n "(cached) " >&6
21543 else
21544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21545 /* end confdefs.h.  */
21546 #include <string>
21547             #include <functional>
21548             #include <algorithm>
21549             #include <vector>
21550             #include <list>
21551 int
21552 main ()
21553 {
21554 std::vector<int> moo;
21555              std::list<int> foo;
21556              std::vector<int>::iterator it =
21557                  std::find_if(moo.begin(), moo.end(),
21558                               std::bind2nd(std::less<int>(), 3));
21559   ;
21560   return 0;
21561 }
21562 _ACEOF
21563 if ac_fn_cxx_try_compile "$LINENO"; then :
21564   wx_cv_lib_stl=yes
21565 else
21566   wx_cv_lib_stl=no
21567
21568 fi
21569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21570
21571 fi
21572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21573 $as_echo "$wx_cv_lib_stl" >&6; }
21574
21575     if test "$wx_cv_lib_stl" != yes; then
21576          as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21577     fi
21578
21579         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21580 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21581 if ${wx_cv_func_stdstring_compare+:} false; then :
21582   $as_echo_n "(cached) " >&6
21583 else
21584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21585 /* end confdefs.h.  */
21586 #include <string>
21587 int
21588 main ()
21589 {
21590 std::string foo, bar;
21591             foo.compare(bar);
21592             foo.compare(1, 1, bar);
21593             foo.compare(1, 1, bar, 1, 1);
21594             foo.compare("");
21595             foo.compare(1, 1, "");
21596             foo.compare(1, 1, "", 2);
21597   ;
21598   return 0;
21599 }
21600 _ACEOF
21601 if ac_fn_cxx_try_compile "$LINENO"; then :
21602   wx_cv_func_stdstring_compare=yes
21603 else
21604   wx_cv_func_stdstring_compare=no
21605
21606 fi
21607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21608
21609 fi
21610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21611 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21612
21613     if test "$wx_cv_func_stdstring_compare" = yes; then
21614         $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21615
21616     fi
21617
21618     if test "$wx_cv_class_gnuhashmapset" = yes; then
21619          $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21620
21621          $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21622
21623     fi
21624
21625     ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21626
21627 "
21628 if test "x$ac_cv_header_unordered_map" = xyes; then :
21629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21630 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21631 if ${wx_cv_class_stdunorderedmapset+:} false; then :
21632   $as_echo_n "(cached) " >&6
21633 else
21634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21635 /* end confdefs.h.  */
21636 #include <unordered_map>
21637                 #include <unordered_set>
21638 int
21639 main ()
21640 {
21641 std::unordered_map<double*, char*> test1;
21642                  std::unordered_set<char*> test2;
21643   ;
21644   return 0;
21645 }
21646 _ACEOF
21647 if ac_fn_cxx_try_compile "$LINENO"; then :
21648   wx_cv_class_stdunorderedmapset=yes
21649 else
21650   wx_cv_class_stdunorderedmapset=no
21651 fi
21652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21653
21654
21655 fi
21656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21657 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21658 fi
21659
21660
21661
21662     if test "$wx_cv_class_stdunorderedmapset" = yes; then
21663          $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21664
21665          $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21666
21667     else
21668         ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21669
21670 "
21671 if test "x$ac_cv_header_tr1_unordered_map" = xyes; then :
21672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21673 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21674 if ${wx_cv_class_tr1unorderedmapset+:} false; then :
21675   $as_echo_n "(cached) " >&6
21676 else
21677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21678 /* end confdefs.h.  */
21679 #include <tr1/unordered_map>
21680                     #include <tr1/unordered_set>
21681 int
21682 main ()
21683 {
21684 std::tr1::unordered_map<double*, char*> test1;
21685                      std::tr1::unordered_set<char*> test2;
21686             #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21687             #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21688             #endif
21689   ;
21690   return 0;
21691 }
21692 _ACEOF
21693 if ac_fn_cxx_try_compile "$LINENO"; then :
21694   wx_cv_class_tr1unorderedmapset=yes
21695 else
21696   wx_cv_class_tr1unorderedmapset=no
21697 fi
21698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21699
21700
21701 fi
21702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21703 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21704 fi
21705
21706
21707
21708         if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21709             $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21710
21711             $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21712
21713         else
21714                         ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21715
21716 "
21717 if test "x$ac_cv_header_hash_map" = xyes; then :
21718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21719 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21720 if ${wx_cv_class_stdhashmapset+:} false; then :
21721   $as_echo_n "(cached) " >&6
21722 else
21723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21724 /* end confdefs.h.  */
21725 #include <hash_map>
21726                         #include <hash_set>
21727 int
21728 main ()
21729 {
21730 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21731                          std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21732   ;
21733   return 0;
21734 }
21735 _ACEOF
21736 if ac_fn_cxx_try_compile "$LINENO"; then :
21737   wx_cv_class_stdhashmapset=yes
21738 else
21739   wx_cv_class_stdhashmapset=no
21740 fi
21741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21742
21743
21744 fi
21745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21746 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21747 fi
21748
21749
21750
21751             if test "$wx_cv_class_stdhashmapset" = yes; then
21752                 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21753
21754                 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21755
21756             fi
21757
21758             ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21759
21760 "
21761 if test "x$ac_cv_header_ext_hash_map" = xyes; then :
21762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21763 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21764 if ${wx_cv_class_gnuhashmapset+:} false; then :
21765   $as_echo_n "(cached) " >&6
21766 else
21767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21768 /* end confdefs.h.  */
21769 #include <ext/hash_map>
21770                         #include <ext/hash_set>
21771 int
21772 main ()
21773 {
21774 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21775                          __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21776   ;
21777   return 0;
21778 }
21779 _ACEOF
21780 if ac_fn_cxx_try_compile "$LINENO"; then :
21781   wx_cv_class_gnuhashmapset=yes
21782 else
21783   wx_cv_class_gnuhashmapset=no
21784 fi
21785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21786
21787
21788 fi
21789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21790 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21791 fi
21792
21793
21794
21795         fi
21796     fi
21797 fi
21798
21799 ac_ext=cpp
21800 ac_cpp='$CXXCPP $CPPFLAGS'
21801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21805 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21806 if test -z "$CXXCPP"; then
21807   if ${ac_cv_prog_CXXCPP+:} false; then :
21808   $as_echo_n "(cached) " >&6
21809 else
21810       # Double quotes because CXXCPP needs to be expanded
21811     for CXXCPP in "$CXX -E" "/lib/cpp"
21812     do
21813       ac_preproc_ok=false
21814 for ac_cxx_preproc_warn_flag in '' yes
21815 do
21816   # Use a header file that comes with gcc, so configuring glibc
21817   # with a fresh cross-compiler works.
21818   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21819   # <limits.h> exists even on freestanding compilers.
21820   # On the NeXT, cc -E runs the code through the compiler's parser,
21821   # not just through cpp. "Syntax error" is here to catch this case.
21822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21823 /* end confdefs.h.  */
21824 #ifdef __STDC__
21825 # include <limits.h>
21826 #else
21827 # include <assert.h>
21828 #endif
21829                      Syntax error
21830 _ACEOF
21831 if ac_fn_cxx_try_cpp "$LINENO"; then :
21832
21833 else
21834   # Broken: fails on valid input.
21835 continue
21836 fi
21837 rm -f conftest.err conftest.i conftest.$ac_ext
21838
21839   # OK, works on sane cases.  Now check whether nonexistent headers
21840   # can be detected and how.
21841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21842 /* end confdefs.h.  */
21843 #include <ac_nonexistent.h>
21844 _ACEOF
21845 if ac_fn_cxx_try_cpp "$LINENO"; then :
21846   # Broken: success on invalid input.
21847 continue
21848 else
21849   # Passes both tests.
21850 ac_preproc_ok=:
21851 break
21852 fi
21853 rm -f conftest.err conftest.i conftest.$ac_ext
21854
21855 done
21856 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21857 rm -f conftest.i conftest.err conftest.$ac_ext
21858 if $ac_preproc_ok; then :
21859   break
21860 fi
21861
21862     done
21863     ac_cv_prog_CXXCPP=$CXXCPP
21864
21865 fi
21866   CXXCPP=$ac_cv_prog_CXXCPP
21867 else
21868   ac_cv_prog_CXXCPP=$CXXCPP
21869 fi
21870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21871 $as_echo "$CXXCPP" >&6; }
21872 ac_preproc_ok=false
21873 for ac_cxx_preproc_warn_flag in '' yes
21874 do
21875   # Use a header file that comes with gcc, so configuring glibc
21876   # with a fresh cross-compiler works.
21877   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21878   # <limits.h> exists even on freestanding compilers.
21879   # On the NeXT, cc -E runs the code through the compiler's parser,
21880   # not just through cpp. "Syntax error" is here to catch this case.
21881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21882 /* end confdefs.h.  */
21883 #ifdef __STDC__
21884 # include <limits.h>
21885 #else
21886 # include <assert.h>
21887 #endif
21888                      Syntax error
21889 _ACEOF
21890 if ac_fn_cxx_try_cpp "$LINENO"; then :
21891
21892 else
21893   # Broken: fails on valid input.
21894 continue
21895 fi
21896 rm -f conftest.err conftest.i conftest.$ac_ext
21897
21898   # OK, works on sane cases.  Now check whether nonexistent headers
21899   # can be detected and how.
21900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21901 /* end confdefs.h.  */
21902 #include <ac_nonexistent.h>
21903 _ACEOF
21904 if ac_fn_cxx_try_cpp "$LINENO"; then :
21905   # Broken: success on invalid input.
21906 continue
21907 else
21908   # Passes both tests.
21909 ac_preproc_ok=:
21910 break
21911 fi
21912 rm -f conftest.err conftest.i conftest.$ac_ext
21913
21914 done
21915 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21916 rm -f conftest.i conftest.err conftest.$ac_ext
21917 if $ac_preproc_ok; then :
21918
21919 else
21920   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21922 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21923 See \`config.log' for more details" "$LINENO" 5; }
21924 fi
21925
21926 ac_ext=cpp
21927 ac_cpp='$CXXCPP $CPPFLAGS'
21928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21931
21932
21933 for ac_header in type_traits tr1/type_traits
21934 do :
21935   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21936 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21937 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21938   cat >>confdefs.h <<_ACEOF
21939 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21940 _ACEOF
21941
21942 fi
21943
21944 done
21945
21946
21947
21948
21949   if test -n "$GCC"; then
21950     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21951 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21952     if ${wx_cv_cc_gcc_atomic_builtins+:} false; then :
21953   $as_echo_n "(cached) " >&6
21954 else
21955
21956       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21957 /* end confdefs.h.  */
21958
21959 int
21960 main ()
21961 {
21962
21963           unsigned int value=0;
21964           /* wxAtomicInc doesn't use return value here */
21965           __sync_fetch_and_add(&value, 2);
21966           __sync_sub_and_fetch(&value, 1);
21967           /* but wxAtomicDec does, so mimic that: */
21968           unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21969
21970   ;
21971   return 0;
21972 }
21973 _ACEOF
21974 if ac_fn_cxx_try_link "$LINENO"; then :
21975   wx_cv_cc_gcc_atomic_builtins=yes
21976 else
21977   wx_cv_cc_gcc_atomic_builtins=no
21978 fi
21979 rm -f core conftest.err conftest.$ac_objext \
21980     conftest$ac_exeext conftest.$ac_ext
21981
21982 fi
21983
21984     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21985 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21986     if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21987       $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21988
21989     fi
21990   fi
21991
21992
21993 ac_ext=c
21994 ac_cpp='$CPP $CPPFLAGS'
21995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21998
21999
22000
22001 SEARCH_INCLUDE="\
22002     /usr/local/include        \
22003     /usr/local/X11/include    \
22004     /usr/local/include/X11    \
22005     /usr/local/X11R7/include  \
22006     /usr/local/X11R6/include  \
22007     /usr/local/include/X11R7  \
22008     /usr/local/include/X11R6  \
22009                               \
22010     /usr/Motif-2.1/include    \
22011     /usr/Motif-1.2/include    \
22012     /usr/include/Motif1.2     \
22013                               \
22014     /usr/dt/include           \
22015     /usr/openwin/include      \
22016                               \
22017     /usr/include/Xm           \
22018                               \
22019     /usr/X11R7/include        \
22020     /usr/X11R6/include        \
22021     /usr/X11R6.4/include      \
22022                               \
22023     /usr/include/X11R7        \
22024     /usr/include/X11R6        \
22025                               \
22026     /usr/X11/include          \
22027     /usr/include/X11          \
22028                               \
22029     /usr/XFree86/include/X11  \
22030     /usr/pkg/include          \
22031                               \
22032     /usr/local/X1R5/include  \
22033     /usr/local/include/X11R5  \
22034     /usr/X11R5/include        \
22035     /usr/include/X11R5        \
22036                               \
22037     /usr/local/X11R4/include  \
22038     /usr/local/include/X11R4  \
22039     /usr/X11R4/include        \
22040     /usr/include/X11R4        \
22041                               \
22042     /usr/openwin/share/include"
22043
22044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
22045 $as_echo_n "checking for libraries directories... " >&6; }
22046
22047 case "${host}" in
22048     *-*-irix6* )
22049         if ${wx_cv_std_libpath+:} false; then :
22050   $as_echo_n "(cached) " >&6
22051 else
22052
22053                 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
22054                     for e in a so sl dylib dll.a; do
22055                         libc="$d/libc.$e"
22056                         if test -f $libc; then
22057                             save_LIBS="$LIBS"
22058                             LIBS="$libc"
22059                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22060 /* end confdefs.h.  */
22061
22062                                     int main() { return 0; }
22063
22064 _ACEOF
22065 if ac_fn_c_try_link "$LINENO"; then :
22066   wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
22067 fi
22068 rm -f core conftest.err conftest.$ac_objext \
22069     conftest$ac_exeext conftest.$ac_ext
22070                             LIBS="$save_LIBS"
22071                             if test "x$wx_cv_std_libpath" != "x"; then
22072                                 break 2
22073                             fi
22074                         fi
22075                     done
22076                 done
22077
22078
22079 fi
22080
22081         ;;
22082
22083     *-*-solaris2* )
22084                 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
22085             wx_cv_std_libpath="lib/64"
22086         fi
22087         ;;
22088
22089     *-*-linux* )
22090                                         if test "$ac_cv_sizeof_void_p" = 8; then
22091             if test -d "/usr/lib/`uname -m`-linux-gnu"; then
22092                 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
22093             elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
22094                 wx_cv_std_libpath="lib64"
22095             fi
22096         else
22097             case "${host}" in
22098                 i*86-*-linux* )
22099                     if test -d '/usr/lib/i386-linux-gnu'; then
22100                         wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
22101                     fi
22102             esac
22103         fi
22104
22105                                 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
22106             wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
22107         fi
22108         ;;
22109 esac
22110
22111 if test -z "$wx_cv_std_libpath"; then
22112     wx_cv_std_libpath="lib"
22113 fi
22114
22115 if test -z "$wx_cv_std_libfullpath"; then
22116     wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
22117 fi
22118
22119
22120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
22121 $as_echo "$wx_cv_std_libfullpath" >&6; }
22122
22123 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22124
22125 if test "$build" != "$host" -a "$GCC" = yes; then
22126                     if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
22127         cross_root=`dirname $cross_root`
22128         cross_root=`dirname $cross_root`
22129
22130                         SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22131         SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22132         SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
22133
22134                 if test -z "$PKG_CONFIG_PATH"; then
22135             PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22136             export PKG_CONFIG_PATH
22137         fi
22138
22139                                 if test -z "$x_includes" -o "$x_includes" = NONE; then
22140
22141 ac_find_includes=
22142 for ac_dir in $SEARCH_INCLUDE /usr/include
22143   do
22144     if test -f "$ac_dir/X11/Intrinsic.h"; then
22145       ac_find_includes=$ac_dir
22146       break
22147     fi
22148   done
22149
22150             x_includes=$ac_find_includes
22151         fi
22152         if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22153
22154   ac_find_libraries=
22155   for ac_dir in  $SEARCH_LIB
22156   do
22157     for ac_extension in a so sl dylib dll.a; do
22158       if test -f "$ac_dir/libXt.$ac_extension"; then
22159         ac_find_libraries=$ac_dir
22160         break 2
22161       fi
22162     done
22163   done
22164
22165             x_libraries=$ac_find_libraries
22166         fi
22167     fi
22168 fi
22169
22170
22171 cat >confcache <<\_ACEOF
22172 # This file is a shell script that caches the results of configure
22173 # tests run on this system so they can be shared between configure
22174 # scripts and configure runs, see configure's option --config-cache.
22175 # It is not useful on other systems.  If it contains results you don't
22176 # want to keep, you may remove or edit it.
22177 #
22178 # config.status only pays attention to the cache file if you give it
22179 # the --recheck option to rerun configure.
22180 #
22181 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22182 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22183 # following values.
22184
22185 _ACEOF
22186
22187 # The following way of writing the cache mishandles newlines in values,
22188 # but we know of no workaround that is simple, portable, and efficient.
22189 # So, we kill variables containing newlines.
22190 # Ultrix sh set writes to stderr and can't be redirected directly,
22191 # and sets the high bit in the cache file unless we assign to the vars.
22192 (
22193   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22194     eval ac_val=\$$ac_var
22195     case $ac_val in #(
22196     *${as_nl}*)
22197       case $ac_var in #(
22198       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22199 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22200       esac
22201       case $ac_var in #(
22202       _ | IFS | as_nl) ;; #(
22203       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22204       *) { eval $ac_var=; unset $ac_var;} ;;
22205       esac ;;
22206     esac
22207   done
22208
22209   (set) 2>&1 |
22210     case $as_nl`(ac_space=' '; set) 2>&1` in #(
22211     *${as_nl}ac_space=\ *)
22212       # `set' does not quote correctly, so add quotes: double-quote
22213       # substitution turns \\\\ into \\, and sed turns \\ into \.
22214       sed -n \
22215         "s/'/'\\\\''/g;
22216           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22217       ;; #(
22218     *)
22219       # `set' quotes correctly as required by POSIX, so do not add quotes.
22220       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22221       ;;
22222     esac |
22223     sort
22224 ) |
22225   sed '
22226      /^ac_cv_env_/b end
22227      t clear
22228      :clear
22229      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22230      t end
22231      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22232      :end' >>confcache
22233 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22234   if test -w "$cache_file"; then
22235     if test "x$cache_file" != "x/dev/null"; then
22236       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22237 $as_echo "$as_me: updating cache $cache_file" >&6;}
22238       if test ! -f "$cache_file" || test -h "$cache_file"; then
22239         cat confcache >"$cache_file"
22240       else
22241         case $cache_file in #(
22242         */* | ?:*)
22243           mv -f confcache "$cache_file"$$ &&
22244           mv -f "$cache_file"$$ "$cache_file" ;; #(
22245         *)
22246           mv -f confcache "$cache_file" ;;
22247         esac
22248       fi
22249     fi
22250   else
22251     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22252 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22253   fi
22254 fi
22255 rm -f confcache
22256
22257 have_cos=0
22258 have_floor=0
22259 for ac_func in cos
22260 do :
22261   ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22262 if test "x$ac_cv_func_cos" = xyes; then :
22263   cat >>confdefs.h <<_ACEOF
22264 #define HAVE_COS 1
22265 _ACEOF
22266  have_cos=1
22267 fi
22268 done
22269
22270 for ac_func in floor
22271 do :
22272   ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22273 if test "x$ac_cv_func_floor" = xyes; then :
22274   cat >>confdefs.h <<_ACEOF
22275 #define HAVE_FLOOR 1
22276 _ACEOF
22277  have_floor=1
22278 fi
22279 done
22280
22281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22282 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22283 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22284     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22285 $as_echo "yes" >&6; }
22286 else
22287     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22288 $as_echo "no" >&6; }
22289     LIBS="$LIBS -lm"
22290     # use different functions to avoid configure caching
22291     have_sin=0
22292     have_ceil=0
22293     for ac_func in sin
22294 do :
22295   ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22296 if test "x$ac_cv_func_sin" = xyes; then :
22297   cat >>confdefs.h <<_ACEOF
22298 #define HAVE_SIN 1
22299 _ACEOF
22300  have_sin=1
22301 fi
22302 done
22303
22304     for ac_func in ceil
22305 do :
22306   ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22307 if test "x$ac_cv_func_ceil" = xyes; then :
22308   cat >>confdefs.h <<_ACEOF
22309 #define HAVE_CEIL 1
22310 _ACEOF
22311  have_ceil=1
22312 fi
22313 done
22314
22315     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22316 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22317     if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22318         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22319 $as_echo "yes" >&6; }
22320     else
22321         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22322 $as_echo "no" >&6; }
22323         # not sure we should warn the user, crash, etc.
22324     fi
22325 fi
22326
22327 ac_ext=cpp
22328 ac_cpp='$CXXCPP $CPPFLAGS'
22329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22332
22333 if test "wxUSE_UNICODE" = "yes"; then
22334
22335   for wx_func in wcstoull
22336   do
22337     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22338 $as_echo_n "checking for $wx_func... " >&6; }
22339 if eval \${wx_cv_func_$wx_func+:} false; then :
22340   $as_echo_n "(cached) " >&6
22341 else
22342
22343         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22344 /* end confdefs.h.  */
22345
22346
22347
22348                 $ac_includes_default
22349
22350 int
22351 main ()
22352 {
22353
22354                 #ifndef $wx_func
22355                   &$wx_func;
22356                 #endif
22357
22358
22359   ;
22360   return 0;
22361 }
22362
22363 _ACEOF
22364 if ac_fn_cxx_try_link "$LINENO"; then :
22365   eval wx_cv_func_$wx_func=yes
22366 else
22367   eval wx_cv_func_$wx_func=no
22368 fi
22369 rm -f core conftest.err conftest.$ac_objext \
22370     conftest$ac_exeext conftest.$ac_ext
22371
22372 fi
22373 eval ac_res=\$wx_cv_func_$wx_func
22374                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22375 $as_echo "$ac_res" >&6; }
22376
22377     if eval test \$wx_cv_func_$wx_func = yes
22378     then
22379       cat >>confdefs.h <<_ACEOF
22380 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22381 _ACEOF
22382
22383
22384     else
22385       :
22386
22387     fi
22388   done
22389
22390 else
22391
22392   for wx_func in strtoull
22393   do
22394     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22395 $as_echo_n "checking for $wx_func... " >&6; }
22396 if eval \${wx_cv_func_$wx_func+:} false; then :
22397   $as_echo_n "(cached) " >&6
22398 else
22399
22400         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22401 /* end confdefs.h.  */
22402
22403
22404
22405                 $ac_includes_default
22406
22407 int
22408 main ()
22409 {
22410
22411                 #ifndef $wx_func
22412                   &$wx_func;
22413                 #endif
22414
22415
22416   ;
22417   return 0;
22418 }
22419
22420 _ACEOF
22421 if ac_fn_cxx_try_link "$LINENO"; then :
22422   eval wx_cv_func_$wx_func=yes
22423 else
22424   eval wx_cv_func_$wx_func=no
22425 fi
22426 rm -f core conftest.err conftest.$ac_objext \
22427     conftest$ac_exeext conftest.$ac_ext
22428
22429 fi
22430 eval ac_res=\$wx_cv_func_$wx_func
22431                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22432 $as_echo "$ac_res" >&6; }
22433
22434     if eval test \$wx_cv_func_$wx_func = yes
22435     then
22436       cat >>confdefs.h <<_ACEOF
22437 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22438 _ACEOF
22439
22440
22441     else
22442       :
22443
22444     fi
22445   done
22446
22447 fi
22448 ac_ext=c
22449 ac_cpp='$CPP $CPPFLAGS'
22450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22453
22454
22455
22456
22457 if test "$wxUSE_REGEX" != "no"; then
22458     $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22459
22460
22461     if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22462         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22463 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22464         wxUSE_REGEX=builtin
22465     fi
22466
22467     if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22468                         ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22469 "
22470 if test "x$ac_cv_header_regex_h" = xyes; then :
22471   for ac_func in regcomp re_search
22472 do :
22473   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22474 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22475 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22476   cat >>confdefs.h <<_ACEOF
22477 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22478 _ACEOF
22479
22480 fi
22481 done
22482
22483 fi
22484
22485
22486
22487         if test "x$ac_cv_func_regcomp" != "xyes"; then
22488             if test "$wxUSE_REGEX" = "sys" ; then
22489                 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22490             else
22491                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22492 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22493                 wxUSE_REGEX=builtin
22494             fi
22495         else
22496                         wxUSE_REGEX=sys
22497                         $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22498
22499         fi
22500     fi
22501 fi
22502
22503
22504 ZLIB_LINK=
22505 if test "$wxUSE_ZLIB" != "no" ; then
22506     $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22507
22508
22509     if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22510                                                 if test "$USE_DARWIN" = 1; then
22511             system_zlib_h_ok="yes"
22512         else
22513                                                                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22514 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22515 if ${ac_cv_header_zlib_h+:} false; then :
22516   $as_echo_n "(cached) " >&6
22517 else
22518   if test "$cross_compiling" = yes; then :
22519                       unset ac_cv_header_zlib_h
22520
22521 else
22522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22523 /* end confdefs.h.  */
22524
22525                         #include <zlib.h>
22526                         #include <stdio.h>
22527
22528                         int main()
22529                         {
22530                             FILE *f=fopen("conftestval", "w");
22531                             if (!f) exit(1);
22532                             fprintf(f, "%s",
22533                                     ZLIB_VERSION[0] == '1' &&
22534                                     (ZLIB_VERSION[2] > '1' ||
22535                                     (ZLIB_VERSION[2] == '1' &&
22536                                      ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22537                             exit(0);
22538                         }
22539
22540 _ACEOF
22541 if ac_fn_c_try_run "$LINENO"; then :
22542   ac_cv_header_zlib_h=`cat conftestval`
22543 else
22544   ac_cv_header_zlib_h=no
22545 fi
22546 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22547   conftest.$ac_objext conftest.beam conftest.$ac_ext
22548 fi
22549
22550
22551 fi
22552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22553 $as_echo "$ac_cv_header_zlib_h" >&6; }
22554                                     ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22555 "
22556 if test "x$ac_cv_header_zlib_h" = xyes; then :
22557
22558 fi
22559
22560
22561
22562             system_zlib_h_ok=$ac_cv_header_zlib_h
22563         fi
22564
22565         if test "$system_zlib_h_ok" = "yes"; then
22566             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22567 $as_echo_n "checking for deflate in -lz... " >&6; }
22568 if ${ac_cv_lib_z_deflate+:} false; then :
22569   $as_echo_n "(cached) " >&6
22570 else
22571   ac_check_lib_save_LIBS=$LIBS
22572 LIBS="-lz  $LIBS"
22573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22574 /* end confdefs.h.  */
22575
22576 /* Override any GCC internal prototype to avoid an error.
22577    Use char because int might match the return type of a GCC
22578    builtin and then its argument prototype would still apply.  */
22579 #ifdef __cplusplus
22580 extern "C"
22581 #endif
22582 char deflate ();
22583 int
22584 main ()
22585 {
22586 return deflate ();
22587   ;
22588   return 0;
22589 }
22590 _ACEOF
22591 if ac_fn_c_try_link "$LINENO"; then :
22592   ac_cv_lib_z_deflate=yes
22593 else
22594   ac_cv_lib_z_deflate=no
22595 fi
22596 rm -f core conftest.err conftest.$ac_objext \
22597     conftest$ac_exeext conftest.$ac_ext
22598 LIBS=$ac_check_lib_save_LIBS
22599 fi
22600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22601 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22602 if test "x$ac_cv_lib_z_deflate" = xyes; then :
22603   ZLIB_LINK=" -lz"
22604 fi
22605
22606         fi
22607
22608         if test "x$ZLIB_LINK" = "x" ; then
22609             if test "$wxUSE_ZLIB" = "sys" ; then
22610                 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22611             else
22612                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22613 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22614                 wxUSE_ZLIB=builtin
22615             fi
22616         else
22617                         wxUSE_ZLIB=sys
22618         fi
22619     fi
22620 fi
22621
22622
22623 PNG_LINK=
22624 if test "$wxUSE_LIBPNG" != "no" ; then
22625     $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22626
22627
22628             if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22629         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22630 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22631         wxUSE_LIBPNG=builtin
22632     fi
22633
22634     if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22635                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22636 $as_echo_n "checking for png.h > 0.90... " >&6; }
22637 if ${ac_cv_header_png_h+:} false; then :
22638   $as_echo_n "(cached) " >&6
22639 else
22640   if test "$cross_compiling" = yes; then :
22641                   unset ac_cv_header_png_h
22642
22643 else
22644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22645 /* end confdefs.h.  */
22646
22647                     #include <png.h>
22648                     #include <stdio.h>
22649
22650                     int main()
22651                     {
22652                         FILE *f=fopen("conftestval", "w");
22653                         if (!f) exit(1);
22654                         fprintf(f, "%s",
22655                                  PNG_LIBPNG_VER > 90 ? "yes" : "no");
22656                         exit(0);
22657                     }
22658
22659 _ACEOF
22660 if ac_fn_c_try_run "$LINENO"; then :
22661   ac_cv_header_png_h=`cat conftestval`
22662 else
22663   ac_cv_header_png_h=no
22664 fi
22665 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22666   conftest.$ac_objext conftest.beam conftest.$ac_ext
22667 fi
22668
22669
22670 fi
22671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22672 $as_echo "$ac_cv_header_png_h" >&6; }
22673         ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22674 "
22675 if test "x$ac_cv_header_png_h" = xyes; then :
22676
22677 fi
22678
22679
22680
22681         if test "$ac_cv_header_png_h" = "yes"; then
22682             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22683 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22684 if ${ac_cv_lib_png_png_sig_cmp+:} false; then :
22685   $as_echo_n "(cached) " >&6
22686 else
22687   ac_check_lib_save_LIBS=$LIBS
22688 LIBS="-lpng -lz -lm $LIBS"
22689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22690 /* end confdefs.h.  */
22691
22692 /* Override any GCC internal prototype to avoid an error.
22693    Use char because int might match the return type of a GCC
22694    builtin and then its argument prototype would still apply.  */
22695 #ifdef __cplusplus
22696 extern "C"
22697 #endif
22698 char png_sig_cmp ();
22699 int
22700 main ()
22701 {
22702 return png_sig_cmp ();
22703   ;
22704   return 0;
22705 }
22706 _ACEOF
22707 if ac_fn_c_try_link "$LINENO"; then :
22708   ac_cv_lib_png_png_sig_cmp=yes
22709 else
22710   ac_cv_lib_png_png_sig_cmp=no
22711 fi
22712 rm -f core conftest.err conftest.$ac_objext \
22713     conftest$ac_exeext conftest.$ac_ext
22714 LIBS=$ac_check_lib_save_LIBS
22715 fi
22716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22717 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22718 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then :
22719   PNG_LINK=" -lpng -lz"
22720 fi
22721
22722         fi
22723
22724         if test "x$PNG_LINK" = "x" ; then
22725             if test "$wxUSE_LIBPNG" = "sys" ; then
22726                 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22727             else
22728                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22729 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22730                 wxUSE_LIBPNG=builtin
22731             fi
22732         else
22733                         wxUSE_LIBPNG=sys
22734         fi
22735     fi
22736 fi
22737
22738
22739 JPEG_LINK=
22740 if test "$wxUSE_LIBJPEG" != "no" ; then
22741     $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22742
22743
22744     if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22745                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22746 $as_echo_n "checking for jpeglib.h... " >&6; }
22747         if ${ac_cv_header_jpeglib_h+:} false; then :
22748   $as_echo_n "(cached) " >&6
22749 else
22750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22751 /* end confdefs.h.  */
22752
22753                     #undef HAVE_STDLIB_H
22754                     #include <stdio.h>
22755                     #include <jpeglib.h>
22756
22757 int
22758 main ()
22759 {
22760
22761
22762   ;
22763   return 0;
22764 }
22765 _ACEOF
22766 if ac_fn_c_try_compile "$LINENO"; then :
22767   ac_cv_header_jpeglib_h=yes
22768 else
22769   ac_cv_header_jpeglib_h=no
22770
22771 fi
22772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22773
22774 fi
22775
22776         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22777 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22778
22779         if test "$ac_cv_header_jpeglib_h" = "yes"; then
22780             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22781 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22782 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
22783   $as_echo_n "(cached) " >&6
22784 else
22785   ac_check_lib_save_LIBS=$LIBS
22786 LIBS="-ljpeg  $LIBS"
22787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22788 /* end confdefs.h.  */
22789
22790 /* Override any GCC internal prototype to avoid an error.
22791    Use char because int might match the return type of a GCC
22792    builtin and then its argument prototype would still apply.  */
22793 #ifdef __cplusplus
22794 extern "C"
22795 #endif
22796 char jpeg_read_header ();
22797 int
22798 main ()
22799 {
22800 return jpeg_read_header ();
22801   ;
22802   return 0;
22803 }
22804 _ACEOF
22805 if ac_fn_c_try_link "$LINENO"; then :
22806   ac_cv_lib_jpeg_jpeg_read_header=yes
22807 else
22808   ac_cv_lib_jpeg_jpeg_read_header=no
22809 fi
22810 rm -f core conftest.err conftest.$ac_objext \
22811     conftest$ac_exeext conftest.$ac_ext
22812 LIBS=$ac_check_lib_save_LIBS
22813 fi
22814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22815 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22816 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
22817   JPEG_LINK=" -ljpeg"
22818 fi
22819
22820         fi
22821
22822         if test "x$JPEG_LINK" = "x" ; then
22823             if test "$wxUSE_LIBJPEG" = "sys" ; then
22824                 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22825             else
22826                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22827 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22828                 wxUSE_LIBJPEG=builtin
22829             fi
22830         else
22831                         wxUSE_LIBJPEG=sys
22832
22833             if test "$wxUSE_MSW" = 1; then
22834                                                                                 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22835 "
22836 if test "x$ac_cv_type_boolean" = xyes; then :
22837
22838 cat >>confdefs.h <<_ACEOF
22839 #define HAVE_BOOLEAN 1
22840 _ACEOF
22841
22842
22843                         # The cast to long int works around a bug in the HP C Compiler
22844 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22845 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22846 # This bug is HP SR number 8606223364.
22847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22848 $as_echo_n "checking size of boolean... " >&6; }
22849 if ${ac_cv_sizeof_boolean+:} false; then :
22850   $as_echo_n "(cached) " >&6
22851 else
22852   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean"        "
22853                                 #undef HAVE_BOOLEAN
22854                                 #include <stdio.h>
22855                                 #include <jpeglib.h>
22856
22857 "; then :
22858
22859 else
22860   if test "$ac_cv_type_boolean" = yes; then
22861      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22863 as_fn_error 77 "cannot compute sizeof (boolean)
22864 See \`config.log' for more details" "$LINENO" 5; }
22865    else
22866      ac_cv_sizeof_boolean=0
22867    fi
22868 fi
22869
22870 fi
22871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22872 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22873
22874
22875
22876 cat >>confdefs.h <<_ACEOF
22877 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22878 _ACEOF
22879
22880
22881                         cat >>confdefs.h <<_ACEOF
22882 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22883 _ACEOF
22884
22885
22886 fi
22887
22888             fi
22889         fi
22890     fi
22891 fi
22892
22893
22894 TIFF_LINK=
22895 TIFF_PREREQ_LINKS=-lm
22896 if test "$wxUSE_LIBTIFF" != "no" ; then
22897     $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22898
22899
22900     if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22901                         if test "$wxUSE_LIBJPEG" = "sys"; then
22902             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22903         fi
22904         if test "$wxUSE_ZLIB" = "sys"; then
22905             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22906         fi
22907         ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22908
22909 "
22910 if test "x$ac_cv_header_tiffio_h" = xyes; then :
22911
22912                             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22913 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22914 if ${ac_cv_lib_tiff_TIFFError+:} false; then :
22915   $as_echo_n "(cached) " >&6
22916 else
22917   ac_check_lib_save_LIBS=$LIBS
22918 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22920 /* end confdefs.h.  */
22921
22922 /* Override any GCC internal prototype to avoid an error.
22923    Use char because int might match the return type of a GCC
22924    builtin and then its argument prototype would still apply.  */
22925 #ifdef __cplusplus
22926 extern "C"
22927 #endif
22928 char TIFFError ();
22929 int
22930 main ()
22931 {
22932 return TIFFError ();
22933   ;
22934   return 0;
22935 }
22936 _ACEOF
22937 if ac_fn_c_try_link "$LINENO"; then :
22938   ac_cv_lib_tiff_TIFFError=yes
22939 else
22940   ac_cv_lib_tiff_TIFFError=no
22941 fi
22942 rm -f core conftest.err conftest.$ac_objext \
22943     conftest$ac_exeext conftest.$ac_ext
22944 LIBS=$ac_check_lib_save_LIBS
22945 fi
22946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22947 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22948 if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then :
22949   TIFF_LINK=" -ltiff"
22950 fi
22951
22952
22953 fi
22954
22955
22956
22957         if test "x$TIFF_LINK" = "x" ; then
22958             if test "$wxUSE_LIBTIFF" = "sys" ; then
22959                 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22960             else
22961                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22962 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22963                 wxUSE_LIBTIFF=builtin
22964             fi
22965         else
22966                         wxUSE_LIBTIFF=sys
22967         fi
22968     fi
22969     if test "$wxUSE_LIBTIFF" = "builtin" ; then
22970         if test "$wxUSE_LIBJPEG" = "no"; then
22971                                                                                     ac_configure_args="$ac_configure_args --disable-jpeg"
22972         fi
22973
22974         if test "$wxUSE_LIBLZMA" = "yes"; then
22975                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
22976 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
22977 if ${ac_cv_lib_lzma_lzma_code+:} false; then :
22978   $as_echo_n "(cached) " >&6
22979 else
22980   ac_check_lib_save_LIBS=$LIBS
22981 LIBS="-llzma  $LIBS"
22982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22983 /* end confdefs.h.  */
22984
22985 /* Override any GCC internal prototype to avoid an error.
22986    Use char because int might match the return type of a GCC
22987    builtin and then its argument prototype would still apply.  */
22988 #ifdef __cplusplus
22989 extern "C"
22990 #endif
22991 char lzma_code ();
22992 int
22993 main ()
22994 {
22995 return lzma_code ();
22996   ;
22997   return 0;
22998 }
22999 _ACEOF
23000 if ac_fn_c_try_link "$LINENO"; then :
23001   ac_cv_lib_lzma_lzma_code=yes
23002 else
23003   ac_cv_lib_lzma_lzma_code=no
23004 fi
23005 rm -f core conftest.err conftest.$ac_objext \
23006     conftest$ac_exeext conftest.$ac_ext
23007 LIBS=$ac_check_lib_save_LIBS
23008 fi
23009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
23010 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
23011 if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then :
23012   LIBS="$LIBS -llzma"
23013 fi
23014
23015         else
23016                                     ac_configure_args="$ac_configure_args --disable-lzma"
23017         fi
23018
23019                 if test "$wxUSE_LIBJBIG" = "yes"; then
23020             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jbg_dec_init in -ljbig" >&5
23021 $as_echo_n "checking for jbg_dec_init in -ljbig... " >&6; }
23022 if ${ac_cv_lib_jbig_jbg_dec_init+:} false; then :
23023   $as_echo_n "(cached) " >&6
23024 else
23025   ac_check_lib_save_LIBS=$LIBS
23026 LIBS="-ljbig  $LIBS"
23027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23028 /* end confdefs.h.  */
23029
23030 /* Override any GCC internal prototype to avoid an error.
23031    Use char because int might match the return type of a GCC
23032    builtin and then its argument prototype would still apply.  */
23033 #ifdef __cplusplus
23034 extern "C"
23035 #endif
23036 char jbg_dec_init ();
23037 int
23038 main ()
23039 {
23040 return jbg_dec_init ();
23041   ;
23042   return 0;
23043 }
23044 _ACEOF
23045 if ac_fn_c_try_link "$LINENO"; then :
23046   ac_cv_lib_jbig_jbg_dec_init=yes
23047 else
23048   ac_cv_lib_jbig_jbg_dec_init=no
23049 fi
23050 rm -f core conftest.err conftest.$ac_objext \
23051     conftest$ac_exeext conftest.$ac_ext
23052 LIBS=$ac_check_lib_save_LIBS
23053 fi
23054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jbig_jbg_dec_init" >&5
23055 $as_echo "$ac_cv_lib_jbig_jbg_dec_init" >&6; }
23056 if test "x$ac_cv_lib_jbig_jbg_dec_init" = xyes; then :
23057   LIBS="$LIBS -ljbig"
23058 fi
23059
23060         else
23061             ac_configure_args="$ac_configure_args --disable-jbig"
23062         fi
23063
23064
23065
23066 subdirs="$subdirs src/tiff"
23067
23068     fi
23069 fi
23070
23071
23072 if test "$wxUSE_EXPAT" != "no"; then
23073     wxUSE_XML=yes
23074     $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
23075
23076     $as_echo "#define wxUSE_XML 1" >>confdefs.h
23077
23078
23079     if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23080         ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
23081 "
23082 if test "x$ac_cv_header_expat_h" = xyes; then :
23083   found_expat_h=1
23084 fi
23085
23086
23087         if test "x$found_expat_h" = "x1"; then
23088                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
23089 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
23090 if ${wx_cv_expat_is_not_broken+:} false; then :
23091   $as_echo_n "(cached) " >&6
23092 else
23093
23094                 ac_ext=cpp
23095 ac_cpp='$CXXCPP $CPPFLAGS'
23096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23099
23100                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23101 /* end confdefs.h.  */
23102 #include <expat.h>
23103 int
23104 main ()
23105 {
23106
23107   ;
23108   return 0;
23109 }
23110 _ACEOF
23111 if ac_fn_cxx_try_compile "$LINENO"; then :
23112   wx_cv_expat_is_not_broken=yes
23113 else
23114   wx_cv_expat_is_not_broken=no
23115
23116 fi
23117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23118                 ac_ext=c
23119 ac_cpp='$CPP $CPPFLAGS'
23120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23123
23124
23125
23126 fi
23127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
23128 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
23129             if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23130                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
23131 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
23132 if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
23133   $as_echo_n "(cached) " >&6
23134 else
23135   ac_check_lib_save_LIBS=$LIBS
23136 LIBS="-lexpat  $LIBS"
23137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23138 /* end confdefs.h.  */
23139
23140 /* Override any GCC internal prototype to avoid an error.
23141    Use char because int might match the return type of a GCC
23142    builtin and then its argument prototype would still apply.  */
23143 #ifdef __cplusplus
23144 extern "C"
23145 #endif
23146 char XML_ParserCreate ();
23147 int
23148 main ()
23149 {
23150 return XML_ParserCreate ();
23151   ;
23152   return 0;
23153 }
23154 _ACEOF
23155 if ac_fn_c_try_link "$LINENO"; then :
23156   ac_cv_lib_expat_XML_ParserCreate=yes
23157 else
23158   ac_cv_lib_expat_XML_ParserCreate=no
23159 fi
23160 rm -f core conftest.err conftest.$ac_objext \
23161     conftest$ac_exeext conftest.$ac_ext
23162 LIBS=$ac_check_lib_save_LIBS
23163 fi
23164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23165 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
23166 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
23167   EXPAT_LINK=" -lexpat"
23168 fi
23169
23170             fi
23171         fi
23172         if test "x$EXPAT_LINK" = "x" ; then
23173             if test "$wxUSE_EXPAT" = "sys" ; then
23174                 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
23175             else
23176                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
23177 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23178                 wxUSE_EXPAT=builtin
23179             fi
23180         else
23181                         wxUSE_EXPAT=sys
23182         fi
23183     fi
23184     if test "$wxUSE_EXPAT" = "builtin" ; then
23185                 subdirs="$subdirs src/expat"
23186
23187     fi
23188 fi
23189
23190
23191
23192 if test "$wxUSE_LIBMSPACK" != "no"; then
23193     ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
23194 "
23195 if test "x$ac_cv_header_mspack_h" = xyes; then :
23196   found_mspack_h=1
23197 fi
23198
23199
23200     if test "x$found_mspack_h" = "x1"; then
23201         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
23202 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
23203 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false; then :
23204   $as_echo_n "(cached) " >&6
23205 else
23206   ac_check_lib_save_LIBS=$LIBS
23207 LIBS="-lmspack  $LIBS"
23208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23209 /* end confdefs.h.  */
23210
23211 /* Override any GCC internal prototype to avoid an error.
23212    Use char because int might match the return type of a GCC
23213    builtin and then its argument prototype would still apply.  */
23214 #ifdef __cplusplus
23215 extern "C"
23216 #endif
23217 char mspack_create_chm_decompressor ();
23218 int
23219 main ()
23220 {
23221 return mspack_create_chm_decompressor ();
23222   ;
23223   return 0;
23224 }
23225 _ACEOF
23226 if ac_fn_c_try_link "$LINENO"; then :
23227   ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
23228 else
23229   ac_cv_lib_mspack_mspack_create_chm_decompressor=no
23230 fi
23231 rm -f core conftest.err conftest.$ac_objext \
23232     conftest$ac_exeext conftest.$ac_ext
23233 LIBS=$ac_check_lib_save_LIBS
23234 fi
23235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23236 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23237 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes; then :
23238   MSPACK_LINK=" -lmspack"
23239 fi
23240
23241     fi
23242     if test "x$MSPACK_LINK" = "x" ; then
23243         wxUSE_LIBMSPACK=no
23244     fi
23245 fi
23246
23247 if test "$wxUSE_LIBMSPACK" != "no"; then
23248     $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23249
23250 fi
23251
23252
23253
23254 AFMINSTALL=
23255 WIN32INSTALL=
23256
23257 TOOLKIT=
23258 TOOLKIT_INCLUDE=
23259 WIDGET_SET=
23260
23261 if test "$USE_WIN32" = 1 ; then
23262     for ac_header in w32api.h
23263 do :
23264   ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23265 "
23266 if test "x$ac_cv_header_w32api_h" = xyes; then :
23267   cat >>confdefs.h <<_ACEOF
23268 #define HAVE_W32API_H 1
23269 _ACEOF
23270
23271 fi
23272
23273 done
23274
23275     ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
23276 "
23277 if test "x$ac_cv_header_windows_h" = xyes; then :
23278
23279 else
23280
23281         as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23282
23283 fi
23284
23285
23286
23287     LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23288     case "${host}" in
23289         x86_64-*-mingw32* )
23290                                                 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
23291         ;;
23292     esac
23293     if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23294         LIBS="$LIBS -loleacc"
23295     fi
23296
23297     case "${host}" in
23298         *-*-cygwin* )
23299                         LIBS="$LIBS -lkernel32 -luser32"
23300     esac
23301
23302         RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23303     RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
23304
23305                 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23306
23307         WIN32INSTALL=win32install
23308 fi
23309
23310 if test "$wxUSE_GUI" = "yes"; then
23311     USE_GUI=1
23312
23313     GUI_TK_LIBRARY=
23314
23315     WXGTK1=
23316     WXGTK127=
23317     WXGTK2=
23318     WXGTK3=
23319     WXGPE=
23320
23321     if test "$wxUSE_OLD_COCOA" = 1 ; then
23322         if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23323             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23324 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23325             wxUSE_PRINTING_ARCHITECTURE=no
23326         fi
23327         if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23328             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23329 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23330             wxUSE_DRAG_AND_DROP=no
23331         fi
23332         if test "$wxUSE_DRAGIMAGE" = "yes"; then
23333             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23334 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23335             wxUSE_DRAGIMAGE=no
23336         fi
23337     fi
23338
23339     if test "$wxUSE_MSW" = 1 ; then
23340         TOOLKIT=MSW
23341         GUIDIST=MSW_DIST
23342
23343                 case "${host}" in
23344             *-*-mingw32* )
23345                 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23346         esac
23347     fi
23348
23349     if test "$wxUSE_GTK" = 1; then
23350                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23351 $as_echo_n "checking for GTK+ version... " >&6; }
23352
23353         gtk_version_cached=1
23354         if ${wx_cv_lib_gtk+:} false; then :
23355   $as_echo_n "(cached) " >&6
23356 else
23357
23358                                                 gtk_version_cached=0
23359                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23360 $as_echo "" >&6; }
23361
23362                                                 GTK_MODULES=
23363                 if test "$wxUSE_THREADS" = "yes"; then
23364                     GTK_MODULES=gthread
23365                 fi
23366
23367                 if test -z "$wxGTK_VERSION"; then
23368                     wxGTK_VERSION=any
23369                 fi
23370
23371                                 wx_cv_lib_gtk=
23372                 if test "x$wxGTK_VERSION" != "x1"
23373                 then
23374                                                                                 case "${host}" in
23375                         *-*-solaris2* )
23376                             if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23377                                 enable_gtktest=no
23378                             fi
23379                     esac
23380
23381                     if test "$wxGTK_VERSION" != 3; then
23382                         # Check whether --enable-gtktest was given.
23383 if test "${enable_gtktest+set}" = set; then :
23384   enableval=$enable_gtktest;
23385 else
23386   enable_gtktest=yes
23387 fi
23388
23389
23390   pkg_config_args=gtk+-2.0
23391   for module in . $GTK_MODULES
23392   do
23393       case "$module" in
23394          gthread)
23395              pkg_config_args="$pkg_config_args gthread-2.0"
23396          ;;
23397       esac
23398   done
23399
23400   no_gtk=""
23401
23402   # Extract the first word of "pkg-config", so it can be a program name with args.
23403 set dummy pkg-config; ac_word=$2
23404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23405 $as_echo_n "checking for $ac_word... " >&6; }
23406 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23407   $as_echo_n "(cached) " >&6
23408 else
23409   case $PKG_CONFIG in
23410   [\\/]* | ?:[\\/]*)
23411   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23412   ;;
23413   *)
23414   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23415 for as_dir in $PATH
23416 do
23417   IFS=$as_save_IFS
23418   test -z "$as_dir" && as_dir=.
23419     for ac_exec_ext in '' $ac_executable_extensions; do
23420   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23421     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23422     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23423     break 2
23424   fi
23425 done
23426   done
23427 IFS=$as_save_IFS
23428
23429   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23430   ;;
23431 esac
23432 fi
23433 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23434 if test -n "$PKG_CONFIG"; then
23435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23436 $as_echo "$PKG_CONFIG" >&6; }
23437 else
23438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23439 $as_echo "no" >&6; }
23440 fi
23441
23442
23443
23444   if test x$PKG_CONFIG != xno ; then
23445     if pkg-config --atleast-pkgconfig-version 0.7 ; then
23446       :
23447     else
23448       echo "*** pkg-config too old; version 0.7 or better required."
23449       no_gtk=yes
23450       PKG_CONFIG=no
23451     fi
23452   else
23453     no_gtk=yes
23454   fi
23455
23456   min_gtk_version=2.6.0
23457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23458 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23459
23460   if test x$PKG_CONFIG != xno ; then
23461     ## don't try to run the test against uninstalled libtool libs
23462     if $PKG_CONFIG --uninstalled $pkg_config_args; then
23463           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23464           enable_gtktest=no
23465     fi
23466
23467     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23468           :
23469     else
23470           no_gtk=yes
23471     fi
23472   fi
23473
23474   if test x"$no_gtk" = x ; then
23475     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23476     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23477     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23478            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23479     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23480            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23481     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23482            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23483     if test "x$enable_gtktest" = "xyes" ; then
23484       ac_save_CFLAGS="$CFLAGS"
23485       ac_save_LIBS="$LIBS"
23486       CFLAGS="$CFLAGS $GTK_CFLAGS"
23487       LIBS="$GTK_LIBS $LIBS"
23488       rm -f conf.gtktest
23489       if test "$cross_compiling" = yes; then :
23490   echo $ac_n "cross compiling; assumed OK... $ac_c"
23491 else
23492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23493 /* end confdefs.h.  */
23494
23495 #include <gtk/gtk.h>
23496 #include <stdio.h>
23497 #include <stdlib.h>
23498
23499 int
23500 main ()
23501 {
23502   int major, minor, micro;
23503   char *tmp_version;
23504
23505   system ("touch conf.gtktest");
23506
23507   /* HP/UX 9 (%@#!) writes to sscanf strings */
23508   tmp_version = g_strdup("$min_gtk_version");
23509   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23510      printf("%s, bad version string\n", "$min_gtk_version");
23511      exit(1);
23512    }
23513
23514   if ((gtk_major_version != $gtk_config_major_version) ||
23515       (gtk_minor_version != $gtk_config_minor_version) ||
23516       (gtk_micro_version != $gtk_config_micro_version))
23517     {
23518       printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23519              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23520              gtk_major_version, gtk_minor_version, gtk_micro_version);
23521       printf ("*** was found! If pkg-config was correct, then it is best\n");
23522       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23523       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23524       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23525       printf("*** required on your system.\n");
23526       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23527       printf("*** to point to the correct configuration files\n");
23528     }
23529   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23530            (gtk_minor_version != GTK_MINOR_VERSION) ||
23531            (gtk_micro_version != GTK_MICRO_VERSION))
23532     {
23533       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23534              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23535       printf("*** library (version %d.%d.%d)\n",
23536              gtk_major_version, gtk_minor_version, gtk_micro_version);
23537     }
23538   else
23539     {
23540       if ((gtk_major_version > major) ||
23541         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23542         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23543       {
23544         return 0;
23545        }
23546      else
23547       {
23548         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23549                gtk_major_version, gtk_minor_version, gtk_micro_version);
23550         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23551                major, minor, micro);
23552         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23553         printf("***\n");
23554         printf("*** If you have already installed a sufficiently new version, this error\n");
23555         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23556         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23557         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23558         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23559         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23560         printf("*** so that the correct libraries are found at run-time))\n");
23561       }
23562     }
23563   return 1;
23564 }
23565
23566 _ACEOF
23567 if ac_fn_c_try_run "$LINENO"; then :
23568
23569 else
23570   no_gtk=yes
23571 fi
23572 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23573   conftest.$ac_objext conftest.beam conftest.$ac_ext
23574 fi
23575
23576        CFLAGS="$ac_save_CFLAGS"
23577        LIBS="$ac_save_LIBS"
23578      fi
23579   fi
23580   if test "x$no_gtk" = x ; then
23581      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23582 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23583      wx_cv_lib_gtk=2.0
23584   else
23585      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23586 $as_echo "no" >&6; }
23587      if test "$PKG_CONFIG" = "no" ; then
23588        echo "*** A new enough version of pkg-config was not found."
23589        echo "*** See http://pkgconfig.sourceforge.net"
23590      else
23591        if test -f conf.gtktest ; then
23592         :
23593        else
23594           echo "*** Could not run GTK+ test program, checking why..."
23595           ac_save_CFLAGS="$CFLAGS"
23596           ac_save_LIBS="$LIBS"
23597           CFLAGS="$CFLAGS $GTK_CFLAGS"
23598           LIBS="$LIBS $GTK_LIBS"
23599           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23600 /* end confdefs.h.  */
23601
23602 #include <gtk/gtk.h>
23603 #include <stdio.h>
23604
23605 int
23606 main ()
23607 {
23608  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23609   ;
23610   return 0;
23611 }
23612 _ACEOF
23613 if ac_fn_c_try_link "$LINENO"; then :
23614    echo "*** The test program compiled, but did not run. This usually means"
23615           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23616           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23617           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23618           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23619           echo "*** is required on your system"
23620           echo "***"
23621           echo "*** If you have an old version installed, it is best to remove it, although"
23622           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23623 else
23624    echo "*** The test program failed to compile or link. See the file config.log for the"
23625           echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23626 fi
23627 rm -f core conftest.err conftest.$ac_objext \
23628     conftest$ac_exeext conftest.$ac_ext
23629           CFLAGS="$ac_save_CFLAGS"
23630           LIBS="$ac_save_LIBS"
23631        fi
23632      fi
23633      GTK_CFLAGS=""
23634      GTK_LIBS=""
23635      :
23636   fi
23637
23638
23639   rm -f conf.gtktest
23640
23641                     fi
23642                     if test -z "$wx_cv_lib_gtk"; then
23643                         if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23644                             # Check whether --enable-gtktest was given.
23645 if test "${enable_gtktest+set}" = set; then :
23646   enableval=$enable_gtktest;
23647 else
23648   enable_gtktest=yes
23649 fi
23650
23651
23652   pkg_gtk_version=gtk+-3.0
23653   pkg_config_args=$pkg_gtk_version
23654   for module in . $GTK_MODULES
23655   do
23656       case "$module" in
23657          gthread)
23658              pkg_gthread_version=gthread-2.0
23659              pkg_config_args="$pkg_config_args $pkg_gthread_version"
23660          ;;
23661       esac
23662   done
23663
23664   no_gtk=""
23665
23666   # Extract the first word of "pkg-config", so it can be a program name with args.
23667 set dummy pkg-config; ac_word=$2
23668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23669 $as_echo_n "checking for $ac_word... " >&6; }
23670 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23671   $as_echo_n "(cached) " >&6
23672 else
23673   case $PKG_CONFIG in
23674   [\\/]* | ?:[\\/]*)
23675   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23676   ;;
23677   *)
23678   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23679 for as_dir in $PATH
23680 do
23681   IFS=$as_save_IFS
23682   test -z "$as_dir" && as_dir=.
23683     for ac_exec_ext in '' $ac_executable_extensions; do
23684   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23685     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23686     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23687     break 2
23688   fi
23689 done
23690   done
23691 IFS=$as_save_IFS
23692
23693   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23694   ;;
23695 esac
23696 fi
23697 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23698 if test -n "$PKG_CONFIG"; then
23699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23700 $as_echo "$PKG_CONFIG" >&6; }
23701 else
23702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23703 $as_echo "no" >&6; }
23704 fi
23705
23706
23707
23708   if test x$PKG_CONFIG != xno ; then
23709     if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23710       :
23711     else
23712       echo "*** pkg-config too old; version 0.7 or better required."
23713       no_gtk=yes
23714       PKG_CONFIG=no
23715     fi
23716   else
23717     no_gtk=yes
23718   fi
23719
23720   min_gtk_version=3.0.0
23721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23722 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23723
23724   if test x$PKG_CONFIG != xno ; then
23725     ## don't try to run the test against uninstalled libtool libs
23726     if $PKG_CONFIG --uninstalled $pkg_config_args; then
23727           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23728           enable_gtktest=no
23729     fi
23730     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_gtk_version ; then
23731           :
23732     else
23733           no_gtk=yes
23734     fi
23735   fi
23736
23737   if test x"$no_gtk" = x ; then
23738     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23739     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23740     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23741            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23742     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23743            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23744     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23745            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23746     if test "x$enable_gtktest" = "xyes" ; then
23747       ac_save_CFLAGS="$CFLAGS"
23748       ac_save_LIBS="$LIBS"
23749       CFLAGS="$CFLAGS $GTK_CFLAGS"
23750       LIBS="$GTK_LIBS $LIBS"
23751       rm -f conf.gtktest
23752       if test "$cross_compiling" = yes; then :
23753   echo $ac_n "cross compiling; assumed OK... $ac_c"
23754 else
23755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23756 /* end confdefs.h.  */
23757
23758 #include <gtk/gtk.h>
23759 #include <stdio.h>
23760 #include <stdlib.h>
23761
23762 int
23763 main ()
23764 {
23765   int major, minor, micro;
23766   char *tmp_version;
23767
23768   fclose (fopen ("conf.gtktest", "w"));
23769
23770   /* HP/UX 9 (%@#!) writes to sscanf strings */
23771   tmp_version = g_strdup("$min_gtk_version");
23772   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23773      printf("%s, bad version string\n", "$min_gtk_version");
23774      exit(1);
23775    }
23776
23777   if ((gtk_major_version != $gtk_config_major_version) ||
23778       (gtk_minor_version != $gtk_config_minor_version) ||
23779       (gtk_micro_version != $gtk_config_micro_version))
23780     {
23781       printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23782              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23783              gtk_major_version, gtk_minor_version, gtk_micro_version);
23784       printf ("*** was found! If pkg-config was correct, then it is best\n");
23785       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23786       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23787       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23788       printf("*** required on your system.\n");
23789       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23790       printf("*** to point to the correct configuration files\n");
23791     }
23792   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23793            (gtk_minor_version != GTK_MINOR_VERSION) ||
23794            (gtk_micro_version != GTK_MICRO_VERSION))
23795     {
23796       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23797              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23798       printf("*** library (version %d.%d.%d)\n",
23799              gtk_major_version, gtk_minor_version, gtk_micro_version);
23800     }
23801   else
23802     {
23803       if ((gtk_major_version > major) ||
23804         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23805         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23806       {
23807         return 0;
23808        }
23809      else
23810       {
23811         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23812                gtk_major_version, gtk_minor_version, gtk_micro_version);
23813         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23814                major, minor, micro);
23815         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23816         printf("***\n");
23817         printf("*** If you have already installed a sufficiently new version, this error\n");
23818         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23819         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23820         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23821         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23822         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23823         printf("*** so that the correct libraries are found at run-time))\n");
23824       }
23825     }
23826   return 1;
23827 }
23828
23829 _ACEOF
23830 if ac_fn_c_try_run "$LINENO"; then :
23831
23832 else
23833   no_gtk=yes
23834 fi
23835 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23836   conftest.$ac_objext conftest.beam conftest.$ac_ext
23837 fi
23838
23839        CFLAGS="$ac_save_CFLAGS"
23840        LIBS="$ac_save_LIBS"
23841      fi
23842   fi
23843   if test "x$no_gtk" = x ; then
23844      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23845 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23846      wx_cv_lib_gtk=3
23847   else
23848      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23849 $as_echo "no" >&6; }
23850      if test "$PKG_CONFIG" = "no" ; then
23851        echo "*** A new enough version of pkg-config was not found."
23852        echo "*** See http://pkgconfig.sourceforge.net"
23853      else
23854        if test -f conf.gtktest ; then
23855         :
23856        else
23857           echo "*** Could not run GTK+ test program, checking why..."
23858           ac_save_CFLAGS="$CFLAGS"
23859           ac_save_LIBS="$LIBS"
23860           CFLAGS="$CFLAGS $GTK_CFLAGS"
23861           LIBS="$LIBS $GTK_LIBS"
23862           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23863 /* end confdefs.h.  */
23864
23865 #include <gtk/gtk.h>
23866 #include <stdio.h>
23867
23868 int
23869 main ()
23870 {
23871  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23872   ;
23873   return 0;
23874 }
23875 _ACEOF
23876 if ac_fn_c_try_link "$LINENO"; then :
23877    echo "*** The test program compiled, but did not run. This usually means"
23878           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23879           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23880           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23881           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23882           echo "*** is required on your system"
23883           echo "***"
23884           echo "*** If you have an old version installed, it is best to remove it, although"
23885           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23886 else
23887    echo "*** The test program failed to compile or link. See the file config.log for the"
23888           echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23889 fi
23890 rm -f core conftest.err conftest.$ac_objext \
23891     conftest$ac_exeext conftest.$ac_ext
23892           CFLAGS="$ac_save_CFLAGS"
23893           LIBS="$ac_save_LIBS"
23894        fi
23895      fi
23896      GTK_CFLAGS=""
23897      GTK_LIBS=""
23898      :
23899   fi
23900
23901
23902   rm -f conf.gtktest
23903
23904                         fi
23905                     fi
23906                 fi
23907
23908                                 if test -z "$wx_cv_lib_gtk"; then
23909                     if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23910
23911 # Check whether --with-gtk-prefix was given.
23912 if test "${with_gtk_prefix+set}" = set; then :
23913   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23914 else
23915   gtk_config_prefix=""
23916 fi
23917
23918
23919 # Check whether --with-gtk-exec-prefix was given.
23920 if test "${with_gtk_exec_prefix+set}" = set; then :
23921   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23922 else
23923   gtk_config_exec_prefix=""
23924 fi
23925
23926 # Check whether --enable-gtktest was given.
23927 if test "${enable_gtktest+set}" = set; then :
23928   enableval=$enable_gtktest;
23929 else
23930   enable_gtktest=yes
23931 fi
23932
23933
23934   for module in . $GTK_MODULES
23935   do
23936       case "$module" in
23937          gthread)
23938              gtk_config_args="$gtk_config_args gthread"
23939          ;;
23940       esac
23941   done
23942
23943   if test x$gtk_config_exec_prefix != x ; then
23944      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23945      if test x${GTK_CONFIG+set} != xset ; then
23946         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23947      fi
23948   fi
23949   if test x$gtk_config_prefix != x ; then
23950      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23951      if test x${GTK_CONFIG+set} != xset ; then
23952         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23953      fi
23954   fi
23955
23956   # Extract the first word of "gtk-config", so it can be a program name with args.
23957 set dummy gtk-config; ac_word=$2
23958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23959 $as_echo_n "checking for $ac_word... " >&6; }
23960 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23961   $as_echo_n "(cached) " >&6
23962 else
23963   case $GTK_CONFIG in
23964   [\\/]* | ?:[\\/]*)
23965   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23966   ;;
23967   *)
23968   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23969 for as_dir in $PATH
23970 do
23971   IFS=$as_save_IFS
23972   test -z "$as_dir" && as_dir=.
23973     for ac_exec_ext in '' $ac_executable_extensions; do
23974   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23975     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23976     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23977     break 2
23978   fi
23979 done
23980   done
23981 IFS=$as_save_IFS
23982
23983   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23984   ;;
23985 esac
23986 fi
23987 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23988 if test -n "$GTK_CONFIG"; then
23989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23990 $as_echo "$GTK_CONFIG" >&6; }
23991 else
23992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23993 $as_echo "no" >&6; }
23994 fi
23995
23996
23997   min_gtk_version=1.2.7
23998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23999 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24000   no_gtk=""
24001   if test "$GTK_CONFIG" = "no" ; then
24002     no_gtk=yes
24003   else
24004     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24005     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24006     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24007            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24008     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24009            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24010     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24011            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24012     if test "x$enable_gtktest" = "xyes" ; then
24013       ac_save_CFLAGS="$CFLAGS"
24014       ac_save_LIBS="$LIBS"
24015       CFLAGS="$CFLAGS $GTK_CFLAGS"
24016       LIBS="$GTK_LIBS $LIBS"
24017       rm -f conf.gtktest
24018       if test "$cross_compiling" = yes; then :
24019   echo $ac_n "cross compiling; assumed OK... $ac_c"
24020 else
24021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24022 /* end confdefs.h.  */
24023
24024 #include <gtk/gtk.h>
24025 #include <stdio.h>
24026 #include <stdlib.h>
24027
24028 int
24029 main ()
24030 {
24031   int major, minor, micro;
24032   char *tmp_version;
24033
24034   system ("touch conf.gtktest");
24035
24036   /* HP/UX 9 (%@#!) writes to sscanf strings */
24037   tmp_version = g_strdup("$min_gtk_version");
24038   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24039      printf("%s, bad version string\n", "$min_gtk_version");
24040      exit(1);
24041    }
24042
24043   if ((gtk_major_version != $gtk_config_major_version) ||
24044       (gtk_minor_version != $gtk_config_minor_version) ||
24045       (gtk_micro_version != $gtk_config_micro_version))
24046     {
24047       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24048              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24049              gtk_major_version, gtk_minor_version, gtk_micro_version);
24050       printf ("*** was found! If gtk-config was correct, then it is best\n");
24051       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24052       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24053       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24054       printf("*** required on your system.\n");
24055       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24056       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24057       printf("*** before re-running configure\n");
24058     }
24059 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24060   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24061            (gtk_minor_version != GTK_MINOR_VERSION) ||
24062            (gtk_micro_version != GTK_MICRO_VERSION))
24063     {
24064       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24065              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24066       printf("*** library (version %d.%d.%d)\n",
24067              gtk_major_version, gtk_minor_version, gtk_micro_version);
24068     }
24069 #endif /* defined (GTK_MAJOR_VERSION) ... */
24070   else
24071     {
24072       if ((gtk_major_version > major) ||
24073         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24074         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24075       {
24076         return 0;
24077        }
24078      else
24079       {
24080         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24081                gtk_major_version, gtk_minor_version, gtk_micro_version);
24082         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24083                major, minor, micro);
24084         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24085         printf("***\n");
24086         printf("*** If you have already installed a sufficiently new version, this error\n");
24087         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24088         printf("*** being found. The easiest way to fix this is to remove the old version\n");
24089         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24090         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24091         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24092         printf("*** so that the correct libraries are found at run-time))\n");
24093       }
24094     }
24095   return 1;
24096 }
24097
24098 _ACEOF
24099 if ac_fn_c_try_run "$LINENO"; then :
24100
24101 else
24102   no_gtk=yes
24103 fi
24104 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24105   conftest.$ac_objext conftest.beam conftest.$ac_ext
24106 fi
24107
24108        CFLAGS="$ac_save_CFLAGS"
24109        LIBS="$ac_save_LIBS"
24110      fi
24111   fi
24112   if test "x$no_gtk" = x ; then
24113      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24114 $as_echo "yes" >&6; }
24115      wx_cv_lib_gtk=1.2.7
24116   else
24117      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24118 $as_echo "no" >&6; }
24119      if test "$GTK_CONFIG" = "no" ; then
24120        echo "*** The gtk-config script installed by GTK could not be found"
24121        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24122        echo "*** your path, or set the GTK_CONFIG environment variable to the"
24123        echo "*** full path to gtk-config."
24124      else
24125        if test -f conf.gtktest ; then
24126         :
24127        else
24128           echo "*** Could not run GTK test program, checking why..."
24129           CFLAGS="$CFLAGS $GTK_CFLAGS"
24130           LIBS="$LIBS $GTK_LIBS"
24131           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24132 /* end confdefs.h.  */
24133
24134 #include <gtk/gtk.h>
24135 #include <stdio.h>
24136
24137 int
24138 main ()
24139 {
24140  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24141   ;
24142   return 0;
24143 }
24144 _ACEOF
24145 if ac_fn_c_try_link "$LINENO"; then :
24146    echo "*** The test program compiled, but did not run. This usually means"
24147           echo "*** that the run-time linker is not finding GTK or finding the wrong"
24148           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24149           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24150           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
24151           echo "*** is required on your system"
24152           echo "***"
24153           echo "*** If you have an old version installed, it is best to remove it, although"
24154           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24155           echo "***"
24156           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24157           echo "*** came with the system with the command"
24158           echo "***"
24159           echo "***    rpm --erase --nodeps gtk gtk-devel"
24160 else
24161    echo "*** The test program failed to compile or link. See the file config.log for the"
24162           echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24163           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24164           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24165 fi
24166 rm -f core conftest.err conftest.$ac_objext \
24167     conftest$ac_exeext conftest.$ac_ext
24168           CFLAGS="$ac_save_CFLAGS"
24169           LIBS="$ac_save_LIBS"
24170        fi
24171      fi
24172      GTK_CFLAGS=""
24173      GTK_LIBS=""
24174      :
24175   fi
24176
24177
24178   rm -f conf.gtktest
24179
24180
24181                         if test -z "$wx_cv_lib_gtk"; then
24182
24183 # Check whether --with-gtk-prefix was given.
24184 if test "${with_gtk_prefix+set}" = set; then :
24185   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
24186 else
24187   gtk_config_prefix=""
24188 fi
24189
24190
24191 # Check whether --with-gtk-exec-prefix was given.
24192 if test "${with_gtk_exec_prefix+set}" = set; then :
24193   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
24194 else
24195   gtk_config_exec_prefix=""
24196 fi
24197
24198 # Check whether --enable-gtktest was given.
24199 if test "${enable_gtktest+set}" = set; then :
24200   enableval=$enable_gtktest;
24201 else
24202   enable_gtktest=yes
24203 fi
24204
24205
24206   for module in . $GTK_MODULES
24207   do
24208       case "$module" in
24209          gthread)
24210              gtk_config_args="$gtk_config_args gthread"
24211          ;;
24212       esac
24213   done
24214
24215   if test x$gtk_config_exec_prefix != x ; then
24216      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24217      if test x${GTK_CONFIG+set} != xset ; then
24218         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24219      fi
24220   fi
24221   if test x$gtk_config_prefix != x ; then
24222      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24223      if test x${GTK_CONFIG+set} != xset ; then
24224         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24225      fi
24226   fi
24227
24228   # Extract the first word of "gtk-config", so it can be a program name with args.
24229 set dummy gtk-config; ac_word=$2
24230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24231 $as_echo_n "checking for $ac_word... " >&6; }
24232 if ${ac_cv_path_GTK_CONFIG+:} false; then :
24233   $as_echo_n "(cached) " >&6
24234 else
24235   case $GTK_CONFIG in
24236   [\\/]* | ?:[\\/]*)
24237   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24238   ;;
24239   *)
24240   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24241 for as_dir in $PATH
24242 do
24243   IFS=$as_save_IFS
24244   test -z "$as_dir" && as_dir=.
24245     for ac_exec_ext in '' $ac_executable_extensions; do
24246   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24247     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24249     break 2
24250   fi
24251 done
24252   done
24253 IFS=$as_save_IFS
24254
24255   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24256   ;;
24257 esac
24258 fi
24259 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24260 if test -n "$GTK_CONFIG"; then
24261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24262 $as_echo "$GTK_CONFIG" >&6; }
24263 else
24264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24265 $as_echo "no" >&6; }
24266 fi
24267
24268
24269   min_gtk_version=1.2.3
24270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24271 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24272   no_gtk=""
24273   if test "$GTK_CONFIG" = "no" ; then
24274     no_gtk=yes
24275   else
24276     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24277     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24278     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24279            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24280     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24281            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24282     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24283            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24284     if test "x$enable_gtktest" = "xyes" ; then
24285       ac_save_CFLAGS="$CFLAGS"
24286       ac_save_LIBS="$LIBS"
24287       CFLAGS="$CFLAGS $GTK_CFLAGS"
24288       LIBS="$GTK_LIBS $LIBS"
24289       rm -f conf.gtktest
24290       if test "$cross_compiling" = yes; then :
24291   echo $ac_n "cross compiling; assumed OK... $ac_c"
24292 else
24293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24294 /* end confdefs.h.  */
24295
24296 #include <gtk/gtk.h>
24297 #include <stdio.h>
24298 #include <stdlib.h>
24299
24300 int
24301 main ()
24302 {
24303   int major, minor, micro;
24304   char *tmp_version;
24305
24306   system ("touch conf.gtktest");
24307
24308   /* HP/UX 9 (%@#!) writes to sscanf strings */
24309   tmp_version = g_strdup("$min_gtk_version");
24310   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24311      printf("%s, bad version string\n", "$min_gtk_version");
24312      exit(1);
24313    }
24314
24315   if ((gtk_major_version != $gtk_config_major_version) ||
24316       (gtk_minor_version != $gtk_config_minor_version) ||
24317       (gtk_micro_version != $gtk_config_micro_version))
24318     {
24319       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24320              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24321              gtk_major_version, gtk_minor_version, gtk_micro_version);
24322       printf ("*** was found! If gtk-config was correct, then it is best\n");
24323       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24324       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24325       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24326       printf("*** required on your system.\n");
24327       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24328       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24329       printf("*** before re-running configure\n");
24330     }
24331 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24332   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24333            (gtk_minor_version != GTK_MINOR_VERSION) ||
24334            (gtk_micro_version != GTK_MICRO_VERSION))
24335     {
24336       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24337              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24338       printf("*** library (version %d.%d.%d)\n",
24339              gtk_major_version, gtk_minor_version, gtk_micro_version);
24340     }
24341 #endif /* defined (GTK_MAJOR_VERSION) ... */
24342   else
24343     {
24344       if ((gtk_major_version > major) ||
24345         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24346         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24347       {
24348         return 0;
24349        }
24350      else
24351       {
24352         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24353                gtk_major_version, gtk_minor_version, gtk_micro_version);
24354         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24355                major, minor, micro);
24356         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24357         printf("***\n");
24358         printf("*** If you have already installed a sufficiently new version, this error\n");
24359         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24360         printf("*** being found. The easiest way to fix this is to remove the old version\n");
24361         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24362         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24363         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24364         printf("*** so that the correct libraries are found at run-time))\n");
24365       }
24366     }
24367   return 1;
24368 }
24369
24370 _ACEOF
24371 if ac_fn_c_try_run "$LINENO"; then :
24372
24373 else
24374   no_gtk=yes
24375 fi
24376 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24377   conftest.$ac_objext conftest.beam conftest.$ac_ext
24378 fi
24379
24380        CFLAGS="$ac_save_CFLAGS"
24381        LIBS="$ac_save_LIBS"
24382      fi
24383   fi
24384   if test "x$no_gtk" = x ; then
24385      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24386 $as_echo "yes" >&6; }
24387      wx_cv_lib_gtk=1.2.3
24388   else
24389      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24390 $as_echo "no" >&6; }
24391      if test "$GTK_CONFIG" = "no" ; then
24392        echo "*** The gtk-config script installed by GTK could not be found"
24393        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24394        echo "*** your path, or set the GTK_CONFIG environment variable to the"
24395        echo "*** full path to gtk-config."
24396      else
24397        if test -f conf.gtktest ; then
24398         :
24399        else
24400           echo "*** Could not run GTK test program, checking why..."
24401           CFLAGS="$CFLAGS $GTK_CFLAGS"
24402           LIBS="$LIBS $GTK_LIBS"
24403           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24404 /* end confdefs.h.  */
24405
24406 #include <gtk/gtk.h>
24407 #include <stdio.h>
24408
24409 int
24410 main ()
24411 {
24412  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24413   ;
24414   return 0;
24415 }
24416 _ACEOF
24417 if ac_fn_c_try_link "$LINENO"; then :
24418    echo "*** The test program compiled, but did not run. This usually means"
24419           echo "*** that the run-time linker is not finding GTK or finding the wrong"
24420           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24421           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24422           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
24423           echo "*** is required on your system"
24424           echo "***"
24425           echo "*** If you have an old version installed, it is best to remove it, although"
24426           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24427           echo "***"
24428           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24429           echo "*** came with the system with the command"
24430           echo "***"
24431           echo "***    rpm --erase --nodeps gtk gtk-devel"
24432 else
24433    echo "*** The test program failed to compile or link. See the file config.log for the"
24434           echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24435           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24436           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24437 fi
24438 rm -f core conftest.err conftest.$ac_objext \
24439     conftest$ac_exeext conftest.$ac_ext
24440           CFLAGS="$ac_save_CFLAGS"
24441           LIBS="$ac_save_LIBS"
24442        fi
24443      fi
24444      GTK_CFLAGS=""
24445      GTK_LIBS=""
24446      :
24447   fi
24448
24449
24450   rm -f conf.gtktest
24451
24452                         fi
24453                     fi
24454                 fi
24455
24456                 if test -z "$wx_cv_lib_gtk"; then
24457                                         wx_cv_lib_gtk=none
24458                 else
24459                                         GTK_LIBS="$GTK_LIBS -lX11"
24460
24461                                                             wx_cv_cflags_gtk=$GTK_CFLAGS
24462                     wx_cv_libs_gtk=$GTK_LIBS
24463                 fi
24464
24465
24466 fi
24467
24468
24469                         if test "$gtk_version_cached" = 1; then
24470             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24471 $as_echo "$wx_cv_lib_gtk" >&6; }
24472         fi
24473
24474         case "$wx_cv_lib_gtk" in
24475             3)      WXGTK3=1
24476                     TOOLKIT_VERSION=3
24477                     ;;
24478             2.0)    WXGTK2=1
24479                     TOOLKIT_VERSION=2
24480                     ;;
24481             1.2.7)  WXGTK127=1
24482                     WXGTK1=1
24483                     ;;
24484             1.2*)   WXGTK1=1 ;;
24485             *)      as_fn_error $? "
24486 The development files for GTK+ were not found. For GTK+ 2, please
24487 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24488 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24489 and that the version is 1.2.3 or above. Also check that the
24490 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24491 --libs' are in the LD_LIBRARY_PATH or equivalent.
24492                             " "$LINENO" 5
24493                     ;;
24494         esac
24495
24496         if test "$WXGTK3" = 1; then
24497             $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24498
24499             $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24500
24501         elif test "$WXGTK2" = 1; then
24502             save_CFLAGS="$CFLAGS"
24503             save_LIBS="$LIBS"
24504             CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24505             LIBS="$LIBS $wx_cv_libs_gtk"
24506
24507                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24508 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24509             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24510 /* end confdefs.h.  */
24511
24512                             #include <gtk/gtk.h>
24513
24514 int
24515 main ()
24516 {
24517
24518                             #if !GTK_CHECK_VERSION(2,18,0)
24519                             Not GTK+ 2.18
24520                             #endif
24521
24522   ;
24523   return 0;
24524 }
24525 _ACEOF
24526 if ac_fn_c_try_compile "$LINENO"; then :
24527
24528                             $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24529
24530                             $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24531
24532                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24533 $as_echo "yes" >&6; }
24534                             ac_wxgtk218=1
24535
24536 else
24537
24538                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24539 $as_echo "no" >&6; }
24540                             ac_wxgtk218=0
24541
24542 fi
24543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24544
24545             if test "$ac_wxgtk218" = 0; then
24546                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24547 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24548                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24549 /* end confdefs.h.  */
24550
24551                                 #include <gtk/gtk.h>
24552
24553 int
24554 main ()
24555 {
24556
24557                                 #if !GTK_CHECK_VERSION(2,10,0)
24558                                 Not GTK+ 2.10
24559                                 #endif
24560
24561   ;
24562   return 0;
24563 }
24564 _ACEOF
24565 if ac_fn_c_try_compile "$LINENO"; then :
24566
24567                                 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24568
24569                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24570 $as_echo "yes" >&6; }
24571                                 ac_wxgtk210=1
24572
24573 else
24574
24575                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24576 $as_echo "no" >&6; }
24577                                 ac_wxgtk210=0
24578
24579 fi
24580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24581             fi
24582
24583             CFLAGS="$save_CFLAGS"
24584             LIBS="$save_LIBS"
24585         else
24586             if test "$wxUSE_UNICODE" = "yes"; then
24587                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24588 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24589                 wxUSE_UNICODE=no
24590             fi
24591
24592                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24593 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24594 if ${ac_cv_lib_gdk_gdk_im_open+:} false; then :
24595   $as_echo_n "(cached) " >&6
24596 else
24597   ac_check_lib_save_LIBS=$LIBS
24598 LIBS="-lgdk  $LIBS"
24599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24600 /* end confdefs.h.  */
24601
24602 /* Override any GCC internal prototype to avoid an error.
24603    Use char because int might match the return type of a GCC
24604    builtin and then its argument prototype would still apply.  */
24605 #ifdef __cplusplus
24606 extern "C"
24607 #endif
24608 char gdk_im_open ();
24609 int
24610 main ()
24611 {
24612 return gdk_im_open ();
24613   ;
24614   return 0;
24615 }
24616 _ACEOF
24617 if ac_fn_c_try_link "$LINENO"; then :
24618   ac_cv_lib_gdk_gdk_im_open=yes
24619 else
24620   ac_cv_lib_gdk_gdk_im_open=no
24621 fi
24622 rm -f core conftest.err conftest.$ac_objext \
24623     conftest$ac_exeext conftest.$ac_ext
24624 LIBS=$ac_check_lib_save_LIBS
24625 fi
24626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24627 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24628 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes; then :
24629   $as_echo "#define HAVE_XIM 1" >>confdefs.h
24630
24631 fi
24632
24633
24634                                     if test "$USE_DARWIN" != 1; then
24635                 for ac_func in poll
24636 do :
24637   ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24638 if test "x$ac_cv_func_poll" = xyes; then :
24639   cat >>confdefs.h <<_ACEOF
24640 #define HAVE_POLL 1
24641 _ACEOF
24642
24643 fi
24644 done
24645
24646             fi
24647         fi
24648
24649         TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24650         GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24651         AFMINSTALL=afminstall
24652         TOOLKIT=GTK
24653         GUIDIST=GTK_DIST
24654
24655                 if test "$wxUSE_GPE" = "yes"; then
24656             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24657 $as_echo_n "checking for gpewidget library... " >&6; }
24658
24659   ac_find_libraries=
24660   for ac_dir in  $SEARCH_LIB
24661   do
24662     for ac_extension in a so sl dylib dll.a; do
24663       if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24664         ac_find_libraries=$ac_dir
24665         break 2
24666       fi
24667     done
24668   done
24669
24670             if test "$ac_find_libraries" != "" ; then
24671
24672     if test "$ac_find_libraries" = "default location"; then
24673     ac_path_to_link=""
24674   else
24675     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24676     result=$?
24677     if test $result = 0; then
24678       ac_path_to_link=""
24679     else
24680       ac_path_to_link=" -L$ac_find_libraries"
24681     fi
24682   fi
24683
24684                                                 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24685                 WXGPE=1
24686                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24687 $as_echo "found in $ac_find_libraries" >&6; }
24688             else
24689                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24690 $as_echo "not found" >&6; }
24691             fi
24692
24693                                                                                                                     fi
24694     fi
24695
24696     if test "$wxUSE_DFB" = 1; then
24697
24698
24699 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24700         if test -n "$ac_tool_prefix"; then
24701   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24702 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24704 $as_echo_n "checking for $ac_word... " >&6; }
24705 if ${ac_cv_path_PKG_CONFIG+:} false; then :
24706   $as_echo_n "(cached) " >&6
24707 else
24708   case $PKG_CONFIG in
24709   [\\/]* | ?:[\\/]*)
24710   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24711   ;;
24712   *)
24713   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24714 for as_dir in $PATH
24715 do
24716   IFS=$as_save_IFS
24717   test -z "$as_dir" && as_dir=.
24718     for ac_exec_ext in '' $ac_executable_extensions; do
24719   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24720     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24721     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24722     break 2
24723   fi
24724 done
24725   done
24726 IFS=$as_save_IFS
24727
24728   ;;
24729 esac
24730 fi
24731 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24732 if test -n "$PKG_CONFIG"; then
24733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24734 $as_echo "$PKG_CONFIG" >&6; }
24735 else
24736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24737 $as_echo "no" >&6; }
24738 fi
24739
24740
24741 fi
24742 if test -z "$ac_cv_path_PKG_CONFIG"; then
24743   ac_pt_PKG_CONFIG=$PKG_CONFIG
24744   # Extract the first word of "pkg-config", so it can be a program name with args.
24745 set dummy pkg-config; ac_word=$2
24746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24747 $as_echo_n "checking for $ac_word... " >&6; }
24748 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
24749   $as_echo_n "(cached) " >&6
24750 else
24751   case $ac_pt_PKG_CONFIG in
24752   [\\/]* | ?:[\\/]*)
24753   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24754   ;;
24755   *)
24756   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24757 for as_dir in $PATH
24758 do
24759   IFS=$as_save_IFS
24760   test -z "$as_dir" && as_dir=.
24761     for ac_exec_ext in '' $ac_executable_extensions; do
24762   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24763     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24764     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24765     break 2
24766   fi
24767 done
24768   done
24769 IFS=$as_save_IFS
24770
24771   ;;
24772 esac
24773 fi
24774 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24775 if test -n "$ac_pt_PKG_CONFIG"; then
24776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24777 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24778 else
24779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24780 $as_echo "no" >&6; }
24781 fi
24782
24783   if test "x$ac_pt_PKG_CONFIG" = x; then
24784     PKG_CONFIG=""
24785   else
24786     case $cross_compiling:$ac_tool_warned in
24787 yes:)
24788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24790 ac_tool_warned=yes ;;
24791 esac
24792     PKG_CONFIG=$ac_pt_PKG_CONFIG
24793   fi
24794 else
24795   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24796 fi
24797
24798 fi
24799 if test -n "$PKG_CONFIG"; then
24800         _pkg_min_version=0.9.0
24801         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24802 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24803         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24804                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24805 $as_echo "yes" >&6; }
24806         else
24807                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24808 $as_echo "no" >&6; }
24809                 PKG_CONFIG=""
24810         fi
24811
24812 fi
24813
24814
24815 pkg_failed=no
24816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24817 $as_echo_n "checking for DIRECTFB... " >&6; }
24818
24819 if test -n "$PKG_CONFIG"; then
24820     if test -n "$DIRECTFB_CFLAGS"; then
24821         pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24822     else
24823         if test -n "$PKG_CONFIG" && \
24824     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24825   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24826   ac_status=$?
24827   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24828   test $ac_status = 0; }; then
24829   pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24830 else
24831   pkg_failed=yes
24832 fi
24833     fi
24834 else
24835         pkg_failed=untried
24836 fi
24837 if test -n "$PKG_CONFIG"; then
24838     if test -n "$DIRECTFB_LIBS"; then
24839         pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24840     else
24841         if test -n "$PKG_CONFIG" && \
24842     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24843   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24844   ac_status=$?
24845   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24846   test $ac_status = 0; }; then
24847   pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24848 else
24849   pkg_failed=yes
24850 fi
24851     fi
24852 else
24853         pkg_failed=untried
24854 fi
24855
24856
24857
24858 if test $pkg_failed = yes; then
24859
24860 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24861         _pkg_short_errors_supported=yes
24862 else
24863         _pkg_short_errors_supported=no
24864 fi
24865         if test $_pkg_short_errors_supported = yes; then
24866                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24867         else
24868                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24869         fi
24870         # Put the nasty error message in config.log where it belongs
24871         echo "$DIRECTFB_PKG_ERRORS" >&5
24872
24873
24874                            as_fn_error $? "DirectFB not found." "$LINENO" 5
24875
24876
24877 elif test $pkg_failed = untried; then
24878
24879                            as_fn_error $? "DirectFB not found." "$LINENO" 5
24880
24881
24882 else
24883         DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24884         DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24885         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24886 $as_echo "yes" >&6; }
24887
24888                            wxUSE_UNIVERSAL="yes"
24889                            TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24890                            GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24891                            TOOLKIT=DFB
24892                            GUIDIST=DFB_DIST
24893
24894 fi
24895     fi
24896
24897     if test "$wxUSE_MICROWIN" = 1; then
24898         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24899 $as_echo_n "checking for MicroWindows... " >&6; }
24900         if test "x$MICROWINDOWS" = x ; then
24901             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24902 $as_echo "not found" >&6; }
24903             as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24904         else
24905             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24906 $as_echo "$MICROWINDOWS" >&6; }
24907         fi
24908
24909         if test -f $MICROWINDOWS/lib/libmwin.a; then
24910             { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24911 $as_echo "MicroWindows' libraries found." >&6; }
24912         else
24913             as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24914         fi
24915
24916         TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24917         GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24918
24919         wxUSE_UNIVERSAL="yes"
24920
24921         AFMINSTALL=afminstall
24922         TOOLKIT=MICROWIN
24923         GUIDIST=MICROWIN_DIST
24924
24925         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24926     fi
24927
24928         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24929                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24930 $as_echo_n "checking for X... " >&6; }
24931
24932
24933 # Check whether --with-x was given.
24934 if test "${with_x+set}" = set; then :
24935   withval=$with_x;
24936 fi
24937
24938 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24939 if test "x$with_x" = xno; then
24940   # The user explicitly disabled X.
24941   have_x=disabled
24942 else
24943   case $x_includes,$x_libraries in #(
24944     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24945     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24946   $as_echo_n "(cached) " >&6
24947 else
24948   # One or both of the vars are not set, and there is no cached value.
24949 ac_x_includes=no ac_x_libraries=no
24950 rm -f -r conftest.dir
24951 if mkdir conftest.dir; then
24952   cd conftest.dir
24953   cat >Imakefile <<'_ACEOF'
24954 incroot:
24955         @echo incroot='${INCROOT}'
24956 usrlibdir:
24957         @echo usrlibdir='${USRLIBDIR}'
24958 libdir:
24959         @echo libdir='${LIBDIR}'
24960 _ACEOF
24961   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24962     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24963     for ac_var in incroot usrlibdir libdir; do
24964       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24965     done
24966     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24967     for ac_extension in a so sl dylib la dll; do
24968       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24969          test -f "$ac_im_libdir/libX11.$ac_extension"; then
24970         ac_im_usrlibdir=$ac_im_libdir; break
24971       fi
24972     done
24973     # Screen out bogus values from the imake configuration.  They are
24974     # bogus both because they are the default anyway, and because
24975     # using them would break gcc on systems where it needs fixed includes.
24976     case $ac_im_incroot in
24977         /usr/include) ac_x_includes= ;;
24978         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24979     esac
24980     case $ac_im_usrlibdir in
24981         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24982         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24983     esac
24984   fi
24985   cd ..
24986   rm -f -r conftest.dir
24987 fi
24988
24989 # Standard set of common directories for X headers.
24990 # Check X11 before X11Rn because it is often a symlink to the current release.
24991 ac_x_header_dirs='
24992 /usr/X11/include
24993 /usr/X11R7/include
24994 /usr/X11R6/include
24995 /usr/X11R5/include
24996 /usr/X11R4/include
24997
24998 /usr/include/X11
24999 /usr/include/X11R7
25000 /usr/include/X11R6
25001 /usr/include/X11R5
25002 /usr/include/X11R4
25003
25004 /usr/local/X11/include
25005 /usr/local/X11R7/include
25006 /usr/local/X11R6/include
25007 /usr/local/X11R5/include
25008 /usr/local/X11R4/include
25009
25010 /usr/local/include/X11
25011 /usr/local/include/X11R7
25012 /usr/local/include/X11R6
25013 /usr/local/include/X11R5
25014 /usr/local/include/X11R4
25015
25016 /usr/X386/include
25017 /usr/x386/include
25018 /usr/XFree86/include/X11
25019
25020 /usr/include
25021 /usr/local/include
25022 /usr/unsupported/include
25023 /usr/athena/include
25024 /usr/local/x11r5/include
25025 /usr/lpp/Xamples/include
25026
25027 /usr/openwin/include
25028 /usr/openwin/share/include'
25029
25030 if test "$ac_x_includes" = no; then
25031   # Guess where to find include files, by looking for Xlib.h.
25032   # First, try using that file with no special directory specified.
25033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25034 /* end confdefs.h.  */
25035 #include <X11/Xlib.h>
25036 _ACEOF
25037 if ac_fn_c_try_cpp "$LINENO"; then :
25038   # We can compile using X headers with no special include directory.
25039 ac_x_includes=
25040 else
25041   for ac_dir in $ac_x_header_dirs; do
25042   if test -r "$ac_dir/X11/Xlib.h"; then
25043     ac_x_includes=$ac_dir
25044     break
25045   fi
25046 done
25047 fi
25048 rm -f conftest.err conftest.i conftest.$ac_ext
25049 fi # $ac_x_includes = no
25050
25051 if test "$ac_x_libraries" = no; then
25052   # Check for the libraries.
25053   # See if we find them without any special options.
25054   # Don't add to $LIBS permanently.
25055   ac_save_LIBS=$LIBS
25056   LIBS="-lX11 $LIBS"
25057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25058 /* end confdefs.h.  */
25059 #include <X11/Xlib.h>
25060 int
25061 main ()
25062 {
25063 XrmInitialize ()
25064   ;
25065   return 0;
25066 }
25067 _ACEOF
25068 if ac_fn_c_try_link "$LINENO"; then :
25069   LIBS=$ac_save_LIBS
25070 # We can link X programs with no special library path.
25071 ac_x_libraries=
25072 else
25073   LIBS=$ac_save_LIBS
25074 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25075 do
25076   # Don't even attempt the hair of trying to link an X program!
25077   for ac_extension in a so sl dylib la dll; do
25078     if test -r "$ac_dir/libX11.$ac_extension"; then
25079       ac_x_libraries=$ac_dir
25080       break 2
25081     fi
25082   done
25083 done
25084 fi
25085 rm -f core conftest.err conftest.$ac_objext \
25086     conftest$ac_exeext conftest.$ac_ext
25087 fi # $ac_x_libraries = no
25088
25089 case $ac_x_includes,$ac_x_libraries in #(
25090   no,* | *,no | *\'*)
25091     # Didn't find X, or a directory has "'" in its name.
25092     ac_cv_have_x="have_x=no";; #(
25093   *)
25094     # Record where we found X for the cache.
25095     ac_cv_have_x="have_x=yes\
25096         ac_x_includes='$ac_x_includes'\
25097         ac_x_libraries='$ac_x_libraries'"
25098 esac
25099 fi
25100 ;; #(
25101     *) have_x=yes;;
25102   esac
25103   eval "$ac_cv_have_x"
25104 fi # $with_x != no
25105
25106 if test "$have_x" != yes; then
25107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25108 $as_echo "$have_x" >&6; }
25109   no_x=yes
25110 else
25111   # If each of the values was on the command line, it overrides each guess.
25112   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25113   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25114   # Update the cache value to reflect the command line values.
25115   ac_cv_have_x="have_x=yes\
25116         ac_x_includes='$x_includes'\
25117         ac_x_libraries='$x_libraries'"
25118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25119 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25120 fi
25121
25122 if test "$no_x" = yes; then
25123   # Not all programs may use this symbol, but it does not hurt to define it.
25124
25125 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25126
25127   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25128 else
25129   if test -n "$x_includes"; then
25130     X_CFLAGS="$X_CFLAGS -I$x_includes"
25131   fi
25132
25133   # It would also be nice to do this for all -L options, not just this one.
25134   if test -n "$x_libraries"; then
25135     X_LIBS="$X_LIBS -L$x_libraries"
25136     # For Solaris; some versions of Sun CC require a space after -R and
25137     # others require no space.  Words are not sufficient . . . .
25138     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25139 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25140     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25141     ac_xsave_c_werror_flag=$ac_c_werror_flag
25142     ac_c_werror_flag=yes
25143     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25144 /* end confdefs.h.  */
25145
25146 int
25147 main ()
25148 {
25149
25150   ;
25151   return 0;
25152 }
25153 _ACEOF
25154 if ac_fn_c_try_link "$LINENO"; then :
25155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25156 $as_echo "no" >&6; }
25157        X_LIBS="$X_LIBS -R$x_libraries"
25158 else
25159   LIBS="$ac_xsave_LIBS -R $x_libraries"
25160        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25161 /* end confdefs.h.  */
25162
25163 int
25164 main ()
25165 {
25166
25167   ;
25168   return 0;
25169 }
25170 _ACEOF
25171 if ac_fn_c_try_link "$LINENO"; then :
25172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25173 $as_echo "yes" >&6; }
25174           X_LIBS="$X_LIBS -R $x_libraries"
25175 else
25176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25177 $as_echo "neither works" >&6; }
25178 fi
25179 rm -f core conftest.err conftest.$ac_objext \
25180     conftest$ac_exeext conftest.$ac_ext
25181 fi
25182 rm -f core conftest.err conftest.$ac_objext \
25183     conftest$ac_exeext conftest.$ac_ext
25184     ac_c_werror_flag=$ac_xsave_c_werror_flag
25185     LIBS=$ac_xsave_LIBS
25186   fi
25187
25188   # Check for system-dependent libraries X programs must link with.
25189   # Do this before checking for the system-independent R6 libraries
25190   # (-lICE), since we may need -lsocket or whatever for X linking.
25191
25192   if test "$ISC" = yes; then
25193     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25194   else
25195     # Martyn Johnson says this is needed for Ultrix, if the X
25196     # libraries were built with DECnet support.  And Karl Berry says
25197     # the Alpha needs dnet_stub (dnet does not exist).
25198     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25199     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25200 /* end confdefs.h.  */
25201
25202 /* Override any GCC internal prototype to avoid an error.
25203    Use char because int might match the return type of a GCC
25204    builtin and then its argument prototype would still apply.  */
25205 #ifdef __cplusplus
25206 extern "C"
25207 #endif
25208 char XOpenDisplay ();
25209 int
25210 main ()
25211 {
25212 return XOpenDisplay ();
25213   ;
25214   return 0;
25215 }
25216 _ACEOF
25217 if ac_fn_c_try_link "$LINENO"; then :
25218
25219 else
25220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25221 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25222 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25223   $as_echo_n "(cached) " >&6
25224 else
25225   ac_check_lib_save_LIBS=$LIBS
25226 LIBS="-ldnet  $LIBS"
25227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25228 /* end confdefs.h.  */
25229
25230 /* Override any GCC internal prototype to avoid an error.
25231    Use char because int might match the return type of a GCC
25232    builtin and then its argument prototype would still apply.  */
25233 #ifdef __cplusplus
25234 extern "C"
25235 #endif
25236 char dnet_ntoa ();
25237 int
25238 main ()
25239 {
25240 return dnet_ntoa ();
25241   ;
25242   return 0;
25243 }
25244 _ACEOF
25245 if ac_fn_c_try_link "$LINENO"; then :
25246   ac_cv_lib_dnet_dnet_ntoa=yes
25247 else
25248   ac_cv_lib_dnet_dnet_ntoa=no
25249 fi
25250 rm -f core conftest.err conftest.$ac_objext \
25251     conftest$ac_exeext conftest.$ac_ext
25252 LIBS=$ac_check_lib_save_LIBS
25253 fi
25254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25255 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25256 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
25257   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25258 fi
25259
25260     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25261       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25262 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25263 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
25264   $as_echo_n "(cached) " >&6
25265 else
25266   ac_check_lib_save_LIBS=$LIBS
25267 LIBS="-ldnet_stub  $LIBS"
25268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25269 /* end confdefs.h.  */
25270
25271 /* Override any GCC internal prototype to avoid an error.
25272    Use char because int might match the return type of a GCC
25273    builtin and then its argument prototype would still apply.  */
25274 #ifdef __cplusplus
25275 extern "C"
25276 #endif
25277 char dnet_ntoa ();
25278 int
25279 main ()
25280 {
25281 return dnet_ntoa ();
25282   ;
25283   return 0;
25284 }
25285 _ACEOF
25286 if ac_fn_c_try_link "$LINENO"; then :
25287   ac_cv_lib_dnet_stub_dnet_ntoa=yes
25288 else
25289   ac_cv_lib_dnet_stub_dnet_ntoa=no
25290 fi
25291 rm -f core conftest.err conftest.$ac_objext \
25292     conftest$ac_exeext conftest.$ac_ext
25293 LIBS=$ac_check_lib_save_LIBS
25294 fi
25295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25296 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25297 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25298   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25299 fi
25300
25301     fi
25302 fi
25303 rm -f core conftest.err conftest.$ac_objext \
25304     conftest$ac_exeext conftest.$ac_ext
25305     LIBS="$ac_xsave_LIBS"
25306
25307     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25308     # to get the SysV transport functions.
25309     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25310     # needs -lnsl.
25311     # The nsl library prevents programs from opening the X display
25312     # on Irix 5.2, according to T.E. Dickey.
25313     # The functions gethostbyname, getservbyname, and inet_addr are
25314     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25315     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25316 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25317
25318 fi
25319
25320     if test $ac_cv_func_gethostbyname = no; then
25321       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25322 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25323 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25324   $as_echo_n "(cached) " >&6
25325 else
25326   ac_check_lib_save_LIBS=$LIBS
25327 LIBS="-lnsl  $LIBS"
25328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25329 /* end confdefs.h.  */
25330
25331 /* Override any GCC internal prototype to avoid an error.
25332    Use char because int might match the return type of a GCC
25333    builtin and then its argument prototype would still apply.  */
25334 #ifdef __cplusplus
25335 extern "C"
25336 #endif
25337 char gethostbyname ();
25338 int
25339 main ()
25340 {
25341 return gethostbyname ();
25342   ;
25343   return 0;
25344 }
25345 _ACEOF
25346 if ac_fn_c_try_link "$LINENO"; then :
25347   ac_cv_lib_nsl_gethostbyname=yes
25348 else
25349   ac_cv_lib_nsl_gethostbyname=no
25350 fi
25351 rm -f core conftest.err conftest.$ac_objext \
25352     conftest$ac_exeext conftest.$ac_ext
25353 LIBS=$ac_check_lib_save_LIBS
25354 fi
25355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25356 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25357 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25358   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25359 fi
25360
25361       if test $ac_cv_lib_nsl_gethostbyname = no; then
25362         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25363 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25364 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25365   $as_echo_n "(cached) " >&6
25366 else
25367   ac_check_lib_save_LIBS=$LIBS
25368 LIBS="-lbsd  $LIBS"
25369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25370 /* end confdefs.h.  */
25371
25372 /* Override any GCC internal prototype to avoid an error.
25373    Use char because int might match the return type of a GCC
25374    builtin and then its argument prototype would still apply.  */
25375 #ifdef __cplusplus
25376 extern "C"
25377 #endif
25378 char gethostbyname ();
25379 int
25380 main ()
25381 {
25382 return gethostbyname ();
25383   ;
25384   return 0;
25385 }
25386 _ACEOF
25387 if ac_fn_c_try_link "$LINENO"; then :
25388   ac_cv_lib_bsd_gethostbyname=yes
25389 else
25390   ac_cv_lib_bsd_gethostbyname=no
25391 fi
25392 rm -f core conftest.err conftest.$ac_objext \
25393     conftest$ac_exeext conftest.$ac_ext
25394 LIBS=$ac_check_lib_save_LIBS
25395 fi
25396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25397 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25398 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25399   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25400 fi
25401
25402       fi
25403     fi
25404
25405     # lieder@skyler.mavd.honeywell.com says without -lsocket,
25406     # socket/setsockopt and other routines are undefined under SCO ODT
25407     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
25408     # on later versions), says Simon Leinen: it contains gethostby*
25409     # variants that don't use the name server (or something).  -lsocket
25410     # must be given before -lnsl if both are needed.  We assume that
25411     # if connect needs -lnsl, so does gethostbyname.
25412     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25413 if test "x$ac_cv_func_connect" = xyes; then :
25414
25415 fi
25416
25417     if test $ac_cv_func_connect = no; then
25418       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25419 $as_echo_n "checking for connect in -lsocket... " >&6; }
25420 if ${ac_cv_lib_socket_connect+:} false; then :
25421   $as_echo_n "(cached) " >&6
25422 else
25423   ac_check_lib_save_LIBS=$LIBS
25424 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25426 /* end confdefs.h.  */
25427
25428 /* Override any GCC internal prototype to avoid an error.
25429    Use char because int might match the return type of a GCC
25430    builtin and then its argument prototype would still apply.  */
25431 #ifdef __cplusplus
25432 extern "C"
25433 #endif
25434 char connect ();
25435 int
25436 main ()
25437 {
25438 return connect ();
25439   ;
25440   return 0;
25441 }
25442 _ACEOF
25443 if ac_fn_c_try_link "$LINENO"; then :
25444   ac_cv_lib_socket_connect=yes
25445 else
25446   ac_cv_lib_socket_connect=no
25447 fi
25448 rm -f core conftest.err conftest.$ac_objext \
25449     conftest$ac_exeext conftest.$ac_ext
25450 LIBS=$ac_check_lib_save_LIBS
25451 fi
25452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25453 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25454 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25455   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25456 fi
25457
25458     fi
25459
25460     # Guillermo Gomez says -lposix is necessary on A/UX.
25461     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25462 if test "x$ac_cv_func_remove" = xyes; then :
25463
25464 fi
25465
25466     if test $ac_cv_func_remove = no; then
25467       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25468 $as_echo_n "checking for remove in -lposix... " >&6; }
25469 if ${ac_cv_lib_posix_remove+:} false; then :
25470   $as_echo_n "(cached) " >&6
25471 else
25472   ac_check_lib_save_LIBS=$LIBS
25473 LIBS="-lposix  $LIBS"
25474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25475 /* end confdefs.h.  */
25476
25477 /* Override any GCC internal prototype to avoid an error.
25478    Use char because int might match the return type of a GCC
25479    builtin and then its argument prototype would still apply.  */
25480 #ifdef __cplusplus
25481 extern "C"
25482 #endif
25483 char remove ();
25484 int
25485 main ()
25486 {
25487 return remove ();
25488   ;
25489   return 0;
25490 }
25491 _ACEOF
25492 if ac_fn_c_try_link "$LINENO"; then :
25493   ac_cv_lib_posix_remove=yes
25494 else
25495   ac_cv_lib_posix_remove=no
25496 fi
25497 rm -f core conftest.err conftest.$ac_objext \
25498     conftest$ac_exeext conftest.$ac_ext
25499 LIBS=$ac_check_lib_save_LIBS
25500 fi
25501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25502 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25503 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25504   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25505 fi
25506
25507     fi
25508
25509     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25510     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25511 if test "x$ac_cv_func_shmat" = xyes; then :
25512
25513 fi
25514
25515     if test $ac_cv_func_shmat = no; then
25516       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25517 $as_echo_n "checking for shmat in -lipc... " >&6; }
25518 if ${ac_cv_lib_ipc_shmat+:} false; then :
25519   $as_echo_n "(cached) " >&6
25520 else
25521   ac_check_lib_save_LIBS=$LIBS
25522 LIBS="-lipc  $LIBS"
25523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25524 /* end confdefs.h.  */
25525
25526 /* Override any GCC internal prototype to avoid an error.
25527    Use char because int might match the return type of a GCC
25528    builtin and then its argument prototype would still apply.  */
25529 #ifdef __cplusplus
25530 extern "C"
25531 #endif
25532 char shmat ();
25533 int
25534 main ()
25535 {
25536 return shmat ();
25537   ;
25538   return 0;
25539 }
25540 _ACEOF
25541 if ac_fn_c_try_link "$LINENO"; then :
25542   ac_cv_lib_ipc_shmat=yes
25543 else
25544   ac_cv_lib_ipc_shmat=no
25545 fi
25546 rm -f core conftest.err conftest.$ac_objext \
25547     conftest$ac_exeext conftest.$ac_ext
25548 LIBS=$ac_check_lib_save_LIBS
25549 fi
25550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25551 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25552 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25553   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25554 fi
25555
25556     fi
25557   fi
25558
25559   # Check for libraries that X11R6 Xt/Xaw programs need.
25560   ac_save_LDFLAGS=$LDFLAGS
25561   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25562   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25563   # check for ICE first), but we must link in the order -lSM -lICE or
25564   # we get undefined symbols.  So assume we have SM if we have ICE.
25565   # These have to be linked with before -lX11, unlike the other
25566   # libraries we check for below, so use a different variable.
25567   # John Interrante, Karl Berry
25568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25569 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25570 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25571   $as_echo_n "(cached) " >&6
25572 else
25573   ac_check_lib_save_LIBS=$LIBS
25574 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25576 /* end confdefs.h.  */
25577
25578 /* Override any GCC internal prototype to avoid an error.
25579    Use char because int might match the return type of a GCC
25580    builtin and then its argument prototype would still apply.  */
25581 #ifdef __cplusplus
25582 extern "C"
25583 #endif
25584 char IceConnectionNumber ();
25585 int
25586 main ()
25587 {
25588 return IceConnectionNumber ();
25589   ;
25590   return 0;
25591 }
25592 _ACEOF
25593 if ac_fn_c_try_link "$LINENO"; then :
25594   ac_cv_lib_ICE_IceConnectionNumber=yes
25595 else
25596   ac_cv_lib_ICE_IceConnectionNumber=no
25597 fi
25598 rm -f core conftest.err conftest.$ac_objext \
25599     conftest$ac_exeext conftest.$ac_ext
25600 LIBS=$ac_check_lib_save_LIBS
25601 fi
25602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25603 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25604 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25605   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25606 fi
25607
25608   LDFLAGS=$ac_save_LDFLAGS
25609
25610 fi
25611
25612
25613         if test "$no_x" = "yes"; then
25614           as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25615         fi
25616
25617                                 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25618         TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25619         AFMINSTALL=afminstall
25620         COMPILED_X_PROGRAM=0
25621
25622     fi
25623
25624     if test "$wxUSE_X11" = 1; then
25625         if test "$wxUSE_NANOX" = "yes"; then
25626             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25627 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25628             if test "x$MICROWIN" = x ; then
25629                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25630 $as_echo "not found" >&6; }
25631                 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25632             else
25633                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25634 $as_echo "$MICROWIN" >&6; }
25635                 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25636
25637             fi
25638         fi
25639
25640         if test "$wxUSE_UNICODE" = "yes"; then
25641
25642
25643 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25644         if test -n "$ac_tool_prefix"; then
25645   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25646 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25648 $as_echo_n "checking for $ac_word... " >&6; }
25649 if ${ac_cv_path_PKG_CONFIG+:} false; then :
25650   $as_echo_n "(cached) " >&6
25651 else
25652   case $PKG_CONFIG in
25653   [\\/]* | ?:[\\/]*)
25654   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25655   ;;
25656   *)
25657   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25658 for as_dir in $PATH
25659 do
25660   IFS=$as_save_IFS
25661   test -z "$as_dir" && as_dir=.
25662     for ac_exec_ext in '' $ac_executable_extensions; do
25663   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25664     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25665     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25666     break 2
25667   fi
25668 done
25669   done
25670 IFS=$as_save_IFS
25671
25672   ;;
25673 esac
25674 fi
25675 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25676 if test -n "$PKG_CONFIG"; then
25677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25678 $as_echo "$PKG_CONFIG" >&6; }
25679 else
25680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25681 $as_echo "no" >&6; }
25682 fi
25683
25684
25685 fi
25686 if test -z "$ac_cv_path_PKG_CONFIG"; then
25687   ac_pt_PKG_CONFIG=$PKG_CONFIG
25688   # Extract the first word of "pkg-config", so it can be a program name with args.
25689 set dummy pkg-config; ac_word=$2
25690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25691 $as_echo_n "checking for $ac_word... " >&6; }
25692 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
25693   $as_echo_n "(cached) " >&6
25694 else
25695   case $ac_pt_PKG_CONFIG in
25696   [\\/]* | ?:[\\/]*)
25697   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25698   ;;
25699   *)
25700   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25701 for as_dir in $PATH
25702 do
25703   IFS=$as_save_IFS
25704   test -z "$as_dir" && as_dir=.
25705     for ac_exec_ext in '' $ac_executable_extensions; do
25706   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25707     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25708     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25709     break 2
25710   fi
25711 done
25712   done
25713 IFS=$as_save_IFS
25714
25715   ;;
25716 esac
25717 fi
25718 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25719 if test -n "$ac_pt_PKG_CONFIG"; then
25720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25721 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25722 else
25723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25724 $as_echo "no" >&6; }
25725 fi
25726
25727   if test "x$ac_pt_PKG_CONFIG" = x; then
25728     PKG_CONFIG=""
25729   else
25730     case $cross_compiling:$ac_tool_warned in
25731 yes:)
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25733 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25734 ac_tool_warned=yes ;;
25735 esac
25736     PKG_CONFIG=$ac_pt_PKG_CONFIG
25737   fi
25738 else
25739   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25740 fi
25741
25742 fi
25743 if test -n "$PKG_CONFIG"; then
25744         _pkg_min_version=0.9.0
25745         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25746 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25747         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25748                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25749 $as_echo "yes" >&6; }
25750         else
25751                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25752 $as_echo "no" >&6; }
25753                 PKG_CONFIG=""
25754         fi
25755
25756 fi
25757
25758
25759 pkg_failed=no
25760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25761 $as_echo_n "checking for PANGOX... " >&6; }
25762
25763 if test -n "$PKG_CONFIG"; then
25764     if test -n "$PANGOX_CFLAGS"; then
25765         pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25766     else
25767         if test -n "$PKG_CONFIG" && \
25768     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25769   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25770   ac_status=$?
25771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25772   test $ac_status = 0; }; then
25773   pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25774 else
25775   pkg_failed=yes
25776 fi
25777     fi
25778 else
25779         pkg_failed=untried
25780 fi
25781 if test -n "$PKG_CONFIG"; then
25782     if test -n "$PANGOX_LIBS"; then
25783         pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25784     else
25785         if test -n "$PKG_CONFIG" && \
25786     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25787   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25788   ac_status=$?
25789   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25790   test $ac_status = 0; }; then
25791   pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25792 else
25793   pkg_failed=yes
25794 fi
25795     fi
25796 else
25797         pkg_failed=untried
25798 fi
25799
25800
25801
25802 if test $pkg_failed = yes; then
25803
25804 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25805         _pkg_short_errors_supported=yes
25806 else
25807         _pkg_short_errors_supported=no
25808 fi
25809         if test $_pkg_short_errors_supported = yes; then
25810                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25811         else
25812                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25813         fi
25814         # Put the nasty error message in config.log where it belongs
25815         echo "$PANGOX_PKG_ERRORS" >&5
25816
25817
25818                     as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25819
25820
25821 elif test $pkg_failed = untried; then
25822
25823                     as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25824
25825
25826 else
25827         PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25828         PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25829         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25830 $as_echo "yes" >&6; }
25831
25832                     CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25833                     CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25834                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25835
25836 fi
25837
25838 pkg_failed=no
25839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25840 $as_echo_n "checking for PANGOFT2... " >&6; }
25841
25842 if test -n "$PKG_CONFIG"; then
25843     if test -n "$PANGOFT2_CFLAGS"; then
25844         pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25845     else
25846         if test -n "$PKG_CONFIG" && \
25847     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25848   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25849   ac_status=$?
25850   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25851   test $ac_status = 0; }; then
25852   pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25853 else
25854   pkg_failed=yes
25855 fi
25856     fi
25857 else
25858         pkg_failed=untried
25859 fi
25860 if test -n "$PKG_CONFIG"; then
25861     if test -n "$PANGOFT2_LIBS"; then
25862         pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25863     else
25864         if test -n "$PKG_CONFIG" && \
25865     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25866   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25867   ac_status=$?
25868   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25869   test $ac_status = 0; }; then
25870   pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25871 else
25872   pkg_failed=yes
25873 fi
25874     fi
25875 else
25876         pkg_failed=untried
25877 fi
25878
25879
25880
25881 if test $pkg_failed = yes; then
25882
25883 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25884         _pkg_short_errors_supported=yes
25885 else
25886         _pkg_short_errors_supported=no
25887 fi
25888         if test $_pkg_short_errors_supported = yes; then
25889                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25890         else
25891                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25892         fi
25893         # Put the nasty error message in config.log where it belongs
25894         echo "$PANGOFT2_PKG_ERRORS" >&5
25895
25896
25897                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25898 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25899                     wxUSE_PRINTING_ARCHITECTURE="no"
25900
25901
25902 elif test $pkg_failed = untried; then
25903
25904                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25905 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25906                     wxUSE_PRINTING_ARCHITECTURE="no"
25907
25908
25909 else
25910         PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25911         PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25912         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25913 $as_echo "yes" >&6; }
25914
25915                     CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25916                     CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25917                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25918
25919 fi
25920
25921 pkg_failed=no
25922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25923 $as_echo_n "checking for PANGOXFT... " >&6; }
25924
25925 if test -n "$PKG_CONFIG"; then
25926     if test -n "$PANGOXFT_CFLAGS"; then
25927         pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25928     else
25929         if test -n "$PKG_CONFIG" && \
25930     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25931   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25932   ac_status=$?
25933   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25934   test $ac_status = 0; }; then
25935   pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25936 else
25937   pkg_failed=yes
25938 fi
25939     fi
25940 else
25941         pkg_failed=untried
25942 fi
25943 if test -n "$PKG_CONFIG"; then
25944     if test -n "$PANGOXFT_LIBS"; then
25945         pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25946     else
25947         if test -n "$PKG_CONFIG" && \
25948     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25949   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25950   ac_status=$?
25951   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25952   test $ac_status = 0; }; then
25953   pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25954 else
25955   pkg_failed=yes
25956 fi
25957     fi
25958 else
25959         pkg_failed=untried
25960 fi
25961
25962
25963
25964 if test $pkg_failed = yes; then
25965
25966 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25967         _pkg_short_errors_supported=yes
25968 else
25969         _pkg_short_errors_supported=no
25970 fi
25971         if test $_pkg_short_errors_supported = yes; then
25972                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25973         else
25974                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25975         fi
25976         # Put the nasty error message in config.log where it belongs
25977         echo "$PANGOXFT_PKG_ERRORS" >&5
25978
25979
25980                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25981 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25982
25983
25984 elif test $pkg_failed = untried; then
25985
25986                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25987 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25988
25989
25990 else
25991         PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25992         PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25993         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25994 $as_echo "yes" >&6; }
25995
25996                     $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25997
25998                     CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25999                     CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
26000                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
26001
26002 fi
26003             save_LIBS="$LIBS"
26004             LIBS="$LIBS $PANGOX_LIBS"
26005             for ac_func in pango_font_family_is_monospace
26006 do :
26007   ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
26008 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes; then :
26009   cat >>confdefs.h <<_ACEOF
26010 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
26011 _ACEOF
26012
26013 fi
26014 done
26015
26016             LIBS="$save_LIBS"
26017         fi
26018
26019         wxUSE_UNIVERSAL="yes"
26020
26021         if test "$wxUSE_NANOX" = "yes"; then
26022             TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26023             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"
26024             GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26025         else
26026             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
26027         fi
26028
26029         TOOLKIT=X11
26030         GUIDIST=X11_DIST
26031     fi
26032
26033     if test "$wxUSE_MOTIF" = 1; then
26034         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
26035 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
26036
26037 ac_find_includes=
26038 for ac_dir in $SEARCH_INCLUDE /usr/include
26039   do
26040     if test -f "$ac_dir/Xm/Xm.h"; then
26041       ac_find_includes=$ac_dir
26042       break
26043     fi
26044   done
26045
26046         if test "$ac_find_includes" != "" ; then
26047             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
26048 $as_echo "found in $ac_find_includes" >&6; }
26049
26050     if test "x$ac_find_includes" = "x/usr/include"; then
26051     ac_path_to_include=""
26052   else
26053     echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26054     result=$?
26055     if test $result = 0; then
26056       ac_path_to_include=""
26057     else
26058       ac_path_to_include=" -I$ac_find_includes"
26059     fi
26060   fi
26061
26062             TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26063         else
26064             save_CFLAGS=$CFLAGS
26065             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26066
26067             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26068 /* end confdefs.h.  */
26069
26070                     #include <Xm/Xm.h>
26071
26072 int
26073 main ()
26074 {
26075
26076                     int version;
26077                     version = xmUseVersion;
26078
26079   ;
26080   return 0;
26081 }
26082 _ACEOF
26083 if ac_fn_c_try_compile "$LINENO"; then :
26084
26085                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26086 $as_echo "found in default search path" >&6; }
26087                     COMPILED_X_PROGRAM=1
26088
26089 else
26090
26091                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26092 $as_echo "no" >&6; }
26093                     as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
26094
26095
26096 fi
26097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26098
26099             CFLAGS=$save_CFLAGS
26100         fi
26101
26102
26103         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
26104 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
26105
26106   ac_find_libraries=
26107   for ac_dir in  $SEARCH_LIB
26108   do
26109     for ac_extension in a so sl dylib dll.a; do
26110       if test -f "$ac_dir/libXm.$ac_extension"; then
26111         ac_find_libraries=$ac_dir
26112         break 2
26113       fi
26114     done
26115   done
26116
26117
26118         if test "x$ac_find_libraries" != "x" ; then
26119             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26120 $as_echo "found in $ac_find_libraries" >&6; }
26121
26122
26123     if test "$ac_find_libraries" = "default location"; then
26124     ac_path_to_link=""
26125   else
26126     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26127     result=$?
26128     if test $result = 0; then
26129       ac_path_to_link=""
26130     else
26131       ac_path_to_link=" -L$ac_find_libraries"
26132     fi
26133   fi
26134
26135             GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26136         else
26137                                                 save_CFLAGS=$CFLAGS
26138             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26139             save_LIBS="$LIBS"
26140             LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
26141
26142             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26143 /* end confdefs.h.  */
26144
26145                     #include <Xm/Xm.h>
26146
26147 int
26148 main ()
26149 {
26150
26151                     int version;
26152                     version = xmUseVersion;
26153
26154   ;
26155   return 0;
26156 }
26157 _ACEOF
26158 if ac_fn_c_try_link "$LINENO"; then :
26159
26160                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26161 $as_echo "found in default search path" >&6; }
26162                     COMPILED_X_PROGRAM=1
26163
26164 else
26165
26166                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26167 $as_echo "no" >&6; }
26168                     as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
26169
26170
26171 fi
26172 rm -f core conftest.err conftest.$ac_objext \
26173     conftest$ac_exeext conftest.$ac_ext
26174
26175             CFLAGS=$save_CFLAGS
26176             LIBS="$save_LIBS"
26177         fi
26178
26179         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
26180 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
26181         libp_link=""
26182         libsm_ice_link=""
26183         libs_found=0
26184         for libp in "" " -lXp"; do
26185             if test "$libs_found" = 0; then
26186                 for libsm_ice in "" " -lSM -lICE"; do
26187                     if test "$libs_found" = 0; then
26188                         save_LIBS="$LIBS"
26189                         LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26190                         save_CFLAGS=$CFLAGS
26191                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26192
26193                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26194 /* end confdefs.h.  */
26195
26196                                 #include <Xm/Xm.h>
26197                                 #include <Xm/List.h>
26198
26199 int
26200 main ()
26201 {
26202
26203                                 XmString string = NULL;
26204                                 Widget w = NULL;
26205                                 int position = 0;
26206                                 XmListAddItem(w, string, position);
26207
26208   ;
26209   return 0;
26210 }
26211 _ACEOF
26212 if ac_fn_c_try_link "$LINENO"; then :
26213
26214                                 libp_link="$libp"
26215                                 libsm_ice_link="$libsm_ice"
26216                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26217 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26218                                 libs_found=1
26219
26220 fi
26221 rm -f core conftest.err conftest.$ac_objext \
26222     conftest$ac_exeext conftest.$ac_ext
26223
26224                         LIBS="$save_LIBS"
26225                         CFLAGS=$save_CFLAGS
26226                     fi
26227                 done
26228             fi
26229         done
26230
26231         if test "$libs_found" = 0; then
26232             { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26233 $as_echo "can't find the right libraries" >&6; }
26234             as_fn_error $? "can't link a simple motif program" "$LINENO" 5
26235         fi
26236
26237                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26238 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26239 if ${ac_cv_lib_Sgm_SgCreateList+:} false; then :
26240   $as_echo_n "(cached) " >&6
26241 else
26242   ac_check_lib_save_LIBS=$LIBS
26243 LIBS="-lSgm  $LIBS"
26244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26245 /* end confdefs.h.  */
26246
26247 /* Override any GCC internal prototype to avoid an error.
26248    Use char because int might match the return type of a GCC
26249    builtin and then its argument prototype would still apply.  */
26250 #ifdef __cplusplus
26251 extern "C"
26252 #endif
26253 char SgCreateList ();
26254 int
26255 main ()
26256 {
26257 return SgCreateList ();
26258   ;
26259   return 0;
26260 }
26261 _ACEOF
26262 if ac_fn_c_try_link "$LINENO"; then :
26263   ac_cv_lib_Sgm_SgCreateList=yes
26264 else
26265   ac_cv_lib_Sgm_SgCreateList=no
26266 fi
26267 rm -f core conftest.err conftest.$ac_objext \
26268     conftest$ac_exeext conftest.$ac_ext
26269 LIBS=$ac_check_lib_save_LIBS
26270 fi
26271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26272 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26273 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes; then :
26274   libsgm_link=" -lSgm"
26275 fi
26276
26277
26278         save_CFLAGS=$CFLAGS
26279         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26280
26281         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26282 $as_echo_n "checking for Motif 2... " >&6; }
26283 if ${wx_cv_lib_motif2+:} false; then :
26284   $as_echo_n "(cached) " >&6
26285 else
26286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26287 /* end confdefs.h.  */
26288
26289                             #include <Xm/Xm.h>
26290
26291 int
26292 main ()
26293 {
26294
26295                             #if XmVersion < 2000
26296                             Not Motif 2
26297                             #endif
26298
26299   ;
26300   return 0;
26301 }
26302 _ACEOF
26303 if ac_fn_c_try_compile "$LINENO"; then :
26304   wx_cv_lib_motif2="yes"
26305 else
26306   wx_cv_lib_motif2="no"
26307 fi
26308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26309 fi
26310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26311 $as_echo "$wx_cv_lib_motif2" >&6; }
26312         if test "$wx_cv_lib_motif2" = "yes"; then
26313             $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26314
26315         else
26316             $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26317
26318         fi
26319
26320         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26321 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26322 if ${wx_cv_lib_lesstif+:} false; then :
26323   $as_echo_n "(cached) " >&6
26324 else
26325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26326 /* end confdefs.h.  */
26327
26328                             #include <Xm/Xm.h>
26329
26330 int
26331 main ()
26332 {
26333
26334                             #if !defined(LesstifVersion) || LesstifVersion <= 0
26335                             Not Lesstif
26336                             #endif
26337
26338   ;
26339   return 0;
26340 }
26341 _ACEOF
26342 if ac_fn_c_try_compile "$LINENO"; then :
26343   wx_cv_lib_lesstif="yes"
26344 else
26345   wx_cv_lib_lesstif="no"
26346 fi
26347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26348
26349 fi
26350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26351 $as_echo "$wx_cv_lib_lesstif" >&6; }
26352         if test "$wx_cv_lib_lesstif" = "yes"; then
26353             $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26354
26355         else
26356             $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26357
26358         fi
26359
26360         CFLAGS=$save_CFLAGS
26361
26362         GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26363         TOOLKIT=MOTIF
26364         GUIDIST=MOTIF_DIST
26365     fi
26366
26367         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26368                 if test "$wxUSE_LIBXPM" = "sys"; then
26369             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26370 $as_echo_n "checking for Xpm library... " >&6; }
26371
26372   ac_find_libraries=
26373   for ac_dir in  $SEARCH_LIB
26374   do
26375     for ac_extension in a so sl dylib dll.a; do
26376       if test -f "$ac_dir/libXpm.$ac_extension"; then
26377         ac_find_libraries=$ac_dir
26378         break 2
26379       fi
26380     done
26381   done
26382
26383             if test "$ac_find_libraries" != "" ; then
26384
26385     if test "$ac_find_libraries" = "default location"; then
26386     ac_path_to_link=""
26387   else
26388     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26389     result=$?
26390     if test $result = 0; then
26391       ac_path_to_link=""
26392     else
26393       ac_path_to_link=" -L$ac_find_libraries"
26394     fi
26395   fi
26396
26397                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26398                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26399 $as_echo "found in $ac_find_libraries" >&6; }
26400
26401                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26402 $as_echo_n "checking for X11/xpm.h... " >&6; }
26403 if ${wx_cv_x11_xpm_h+:} false; then :
26404   $as_echo_n "(cached) " >&6
26405 else
26406
26407                         save_CFLAGS=$CFLAGS
26408                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26409
26410                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26411 /* end confdefs.h.  */
26412
26413                                 #include <X11/xpm.h>
26414
26415 int
26416 main ()
26417 {
26418
26419                                 int version;
26420                                 version = XpmLibraryVersion();
26421
26422   ;
26423   return 0;
26424 }
26425 _ACEOF
26426 if ac_fn_c_try_compile "$LINENO"; then :
26427   wx_cv_x11_xpm_h=yes
26428 else
26429   wx_cv_x11_xpm_h=no
26430
26431 fi
26432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26433
26434                         CFLAGS=$save_CFLAGS
26435
26436
26437 fi
26438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26439 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26440
26441                 if test $wx_cv_x11_xpm_h = "yes"; then
26442                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26443                     $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26444
26445                 else
26446                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26447 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26448                 fi
26449             fi
26450
26451         fi
26452
26453                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26454 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26455 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
26456   $as_echo_n "(cached) " >&6
26457 else
26458   ac_check_lib_save_LIBS=$LIBS
26459 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26461 /* end confdefs.h.  */
26462
26463 /* Override any GCC internal prototype to avoid an error.
26464    Use char because int might match the return type of a GCC
26465    builtin and then its argument prototype would still apply.  */
26466 #ifdef __cplusplus
26467 extern "C"
26468 #endif
26469 char XShapeQueryExtension ();
26470 int
26471 main ()
26472 {
26473 return XShapeQueryExtension ();
26474   ;
26475   return 0;
26476 }
26477 _ACEOF
26478 if ac_fn_c_try_link "$LINENO"; then :
26479   ac_cv_lib_Xext_XShapeQueryExtension=yes
26480 else
26481   ac_cv_lib_Xext_XShapeQueryExtension=no
26482 fi
26483 rm -f core conftest.err conftest.$ac_objext \
26484     conftest$ac_exeext conftest.$ac_ext
26485 LIBS=$ac_check_lib_save_LIBS
26486 fi
26487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26488 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26489 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
26490
26491                       GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26492                       wxHAVE_XEXT_LIB=1
26493
26494 fi
26495
26496
26497         if test "$wxHAVE_XEXT_LIB" = 1; then
26498             save_CFLAGS="$CFLAGS"
26499             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26500
26501             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26502 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26503             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26504 /* end confdefs.h.  */
26505
26506                             #include <X11/Xlib.h>
26507                             #include <X11/extensions/shape.h>
26508
26509 int
26510 main ()
26511 {
26512
26513                             int dummy1, dummy2;
26514                             XShapeQueryExtension((Display*)NULL,
26515                                                  (int*)NULL, (int*)NULL);
26516
26517   ;
26518   return 0;
26519 }
26520 _ACEOF
26521 if ac_fn_c_try_compile "$LINENO"; then :
26522
26523                             $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26524
26525                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26526 $as_echo "found" >&6; }
26527
26528 else
26529
26530                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26531 $as_echo "not found" >&6; }
26532
26533 fi
26534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26535             CFLAGS="$save_CFLAGS"
26536
26537         fi
26538     fi
26539
26540     if test "$wxUSE_OSX_CARBON" = 1; then
26541         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26542 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26543         if test "$GCC" = yes; then
26544             { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26545 $as_echo "gcc" >&6; }
26546             CPPFLAGS_PASCAL="-fpascal-strings"
26547         elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26548             { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26549 $as_echo "xlc" >&6; }
26550             CPPFLAGS_PASCAL="-qmacpstr"
26551         else
26552             { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26553 $as_echo "none" >&6; }
26554         fi
26555
26556         if test "x$wxUSE_UNIX" = "xyes"; then
26557             CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26558         else
26559                         CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26560         fi
26561
26562         TOOLKIT=OSX_CARBON
26563                 GUIDIST=OSX_CARBON_DIST
26564                         WXBASEPORT="_carbon"
26565
26566                                         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26567     fi
26568
26569     if test "$wxUSE_OSX_COCOA" = 1; then
26570         TOOLKIT=OSX_COCOA
26571         GUIDIST=OSX_COCOA_DIST
26572
26573                 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26574     fi
26575
26576     if test "$wxUSE_OSX_IPHONE" = 1; then
26577         TOOLKIT=OSX_IPHONE
26578     fi
26579
26580     if test "$wxUSE_OLD_COCOA" = 1; then
26581         TOOLKIT=COCOA
26582         GUIDIST=COCOA_DIST
26583     fi
26584
26585     if test "$wxUSE_PM" = 1; then
26586         TOOLKIT=PM
26587         GUIDIST=PM_DIST
26588         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26589 $as_echo_n "checking for type SPBCDATA... " >&6; }
26590 if ${wx_cv_spbcdata+:} false; then :
26591   $as_echo_n "(cached) " >&6
26592 else
26593
26594                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26595 /* end confdefs.h.  */
26596
26597                         #define INCL_PM
26598                         #include <os2.h>
26599
26600 int
26601 main ()
26602 {
26603
26604                         SPBCDATA test;
26605
26606   ;
26607   return 0;
26608 }
26609 _ACEOF
26610 if ac_fn_c_try_compile "$LINENO"; then :
26611   wx_cv_spbcdata=yes
26612 else
26613   wx_cv_spbcdata=no
26614
26615 fi
26616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26617
26618
26619 fi
26620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26621 $as_echo "$wx_cv_spbcdata" >&6; }
26622
26623         if test $wx_cv_spbcdata = "yes"; then
26624             $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26625
26626         fi
26627     fi
26628
26629         if test "$TOOLKIT" = "PM" ; then
26630         TOOLKIT_DIR="os2"
26631     else
26632         TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26633     fi
26634
26635     if test "$wxUSE_UNIVERSAL" = "yes"; then
26636         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26637         WIDGET_SET=univ
26638     fi
26639
26640         GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26641     DISTDIR="wx\$(TOOLKIT)"
26642 else
26643     USE_GUI=0
26644
26645             TOOLKIT_DIR="base"
26646
26647         if test "$USE_WIN32" = 1 ; then
26648                         TOOLKIT="MSW"
26649     fi
26650
26651         GUIDIST="BASE_DIST"
26652     DISTDIR="wxBase"
26653 fi
26654
26655
26656
26657 if test "$wxUSE_GUI" = "yes"; then
26658     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26659                 for ac_header in X11/Xlib.h
26660 do :
26661   ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26662 "
26663 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
26664   cat >>confdefs.h <<_ACEOF
26665 #define HAVE_X11_XLIB_H 1
26666 _ACEOF
26667
26668 fi
26669
26670 done
26671
26672         for ac_header in X11/XKBlib.h
26673 do :
26674   ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26675                           #if HAVE_X11_XLIB_H
26676                             #include <X11/Xlib.h>
26677                           #endif
26678
26679 "
26680 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
26681   cat >>confdefs.h <<_ACEOF
26682 #define HAVE_X11_XKBLIB_H 1
26683 _ACEOF
26684
26685 fi
26686
26687 done
26688
26689     fi
26690 fi
26691
26692
26693
26694 USE_XINERAMA=0
26695 if test "$wxUSE_DISPLAY" = "yes"; then
26696         if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26697
26698   ac_find_libraries=
26699
26700     fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26701
26702
26703 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26704         if test -n "$ac_tool_prefix"; then
26705   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26706 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26708 $as_echo_n "checking for $ac_word... " >&6; }
26709 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26710   $as_echo_n "(cached) " >&6
26711 else
26712   case $PKG_CONFIG in
26713   [\\/]* | ?:[\\/]*)
26714   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26715   ;;
26716   *)
26717   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26718 for as_dir in $PATH
26719 do
26720   IFS=$as_save_IFS
26721   test -z "$as_dir" && as_dir=.
26722     for ac_exec_ext in '' $ac_executable_extensions; do
26723   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26724     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26725     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26726     break 2
26727   fi
26728 done
26729   done
26730 IFS=$as_save_IFS
26731
26732   ;;
26733 esac
26734 fi
26735 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26736 if test -n "$PKG_CONFIG"; then
26737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26738 $as_echo "$PKG_CONFIG" >&6; }
26739 else
26740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26741 $as_echo "no" >&6; }
26742 fi
26743
26744
26745 fi
26746 if test -z "$ac_cv_path_PKG_CONFIG"; then
26747   ac_pt_PKG_CONFIG=$PKG_CONFIG
26748   # Extract the first word of "pkg-config", so it can be a program name with args.
26749 set dummy pkg-config; ac_word=$2
26750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26751 $as_echo_n "checking for $ac_word... " >&6; }
26752 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26753   $as_echo_n "(cached) " >&6
26754 else
26755   case $ac_pt_PKG_CONFIG in
26756   [\\/]* | ?:[\\/]*)
26757   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26758   ;;
26759   *)
26760   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26761 for as_dir in $PATH
26762 do
26763   IFS=$as_save_IFS
26764   test -z "$as_dir" && as_dir=.
26765     for ac_exec_ext in '' $ac_executable_extensions; do
26766   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26767     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26768     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26769     break 2
26770   fi
26771 done
26772   done
26773 IFS=$as_save_IFS
26774
26775   ;;
26776 esac
26777 fi
26778 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26779 if test -n "$ac_pt_PKG_CONFIG"; then
26780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26781 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26782 else
26783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26784 $as_echo "no" >&6; }
26785 fi
26786
26787   if test "x$ac_pt_PKG_CONFIG" = x; then
26788     PKG_CONFIG=""
26789   else
26790     case $cross_compiling:$ac_tool_warned in
26791 yes:)
26792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26794 ac_tool_warned=yes ;;
26795 esac
26796     PKG_CONFIG=$ac_pt_PKG_CONFIG
26797   fi
26798 else
26799   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26800 fi
26801
26802 fi
26803 if test -n "$PKG_CONFIG"; then
26804         _pkg_min_version=0.9.0
26805         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26806 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26807         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26808                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26809 $as_echo "yes" >&6; }
26810         else
26811                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26812 $as_echo "no" >&6; }
26813                 PKG_CONFIG=""
26814         fi
26815
26816 fi 6> /dev/null
26817
26818 pkg_failed=no
26819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26820 $as_echo_n "checking for Xinerama... " >&6; }
26821
26822 if test -n "$PKG_CONFIG"; then
26823     if test -n "$Xinerama_CFLAGS"; then
26824         pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26825     else
26826         if test -n "$PKG_CONFIG" && \
26827     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26828   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26829   ac_status=$?
26830   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26831   test $ac_status = 0; }; then
26832   pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26833 else
26834   pkg_failed=yes
26835 fi
26836     fi
26837 else
26838         pkg_failed=untried
26839 fi
26840 if test -n "$PKG_CONFIG"; then
26841     if test -n "$Xinerama_LIBS"; then
26842         pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26843     else
26844         if test -n "$PKG_CONFIG" && \
26845     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26846   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26847   ac_status=$?
26848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26849   test $ac_status = 0; }; then
26850   pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26851 else
26852   pkg_failed=yes
26853 fi
26854     fi
26855 else
26856         pkg_failed=untried
26857 fi
26858
26859
26860
26861 if test $pkg_failed = yes; then
26862
26863 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26864         _pkg_short_errors_supported=yes
26865 else
26866         _pkg_short_errors_supported=no
26867 fi
26868         if test $_pkg_short_errors_supported = yes; then
26869                 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26870         else
26871                 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26872         fi
26873         # Put the nasty error message in config.log where it belongs
26874         echo "$Xinerama_PKG_ERRORS" >&5
26875
26876
26877       if test "x$ac_find_libraries" = "x"; then
26878                 if test "xXineramaQueryScreens" != "x"; then
26879           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26880 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26881 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26882   $as_echo_n "(cached) " >&6
26883 else
26884   ac_check_lib_save_LIBS=$LIBS
26885 LIBS="-lXinerama  $LIBS"
26886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26887 /* end confdefs.h.  */
26888
26889 /* Override any GCC internal prototype to avoid an error.
26890    Use char because int might match the return type of a GCC
26891    builtin and then its argument prototype would still apply.  */
26892 #ifdef __cplusplus
26893 extern "C"
26894 #endif
26895 char XineramaQueryScreens ();
26896 int
26897 main ()
26898 {
26899 return XineramaQueryScreens ();
26900   ;
26901   return 0;
26902 }
26903 _ACEOF
26904 if ac_fn_c_try_link "$LINENO"; then :
26905   ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26906 else
26907   ac_cv_lib_Xinerama_XineramaQueryScreens=no
26908 fi
26909 rm -f core conftest.err conftest.$ac_objext \
26910     conftest$ac_exeext conftest.$ac_ext
26911 LIBS=$ac_check_lib_save_LIBS
26912 fi
26913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26914 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26915 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26916   ac_find_libraries="std"
26917 fi
26918
26919         fi
26920       fi
26921
26922       if test "x$ac_find_libraries" = "x"; then
26923                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26924 $as_echo_n "checking elsewhere... " >&6; }
26925
26926   ac_find_libraries=
26927   for ac_dir in  $SEARCH_LIB
26928   do
26929     for ac_extension in a so sl dylib dll.a; do
26930       if test -f "$ac_dir/libXinerama.$ac_extension"; then
26931         ac_find_libraries=$ac_dir
26932         break 2
26933       fi
26934     done
26935   done
26936
26937         if test "x$ac_find_libraries" != "x"; then
26938           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26939 $as_echo "yes" >&6; }
26940         else
26941           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26942 $as_echo "no" >&6; }
26943         fi
26944       fi
26945
26946 elif test $pkg_failed = untried; then
26947
26948       if test "x$ac_find_libraries" = "x"; then
26949                 if test "xXineramaQueryScreens" != "x"; then
26950           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26951 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26952 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26953   $as_echo_n "(cached) " >&6
26954 else
26955   ac_check_lib_save_LIBS=$LIBS
26956 LIBS="-lXinerama  $LIBS"
26957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26958 /* end confdefs.h.  */
26959
26960 /* Override any GCC internal prototype to avoid an error.
26961    Use char because int might match the return type of a GCC
26962    builtin and then its argument prototype would still apply.  */
26963 #ifdef __cplusplus
26964 extern "C"
26965 #endif
26966 char XineramaQueryScreens ();
26967 int
26968 main ()
26969 {
26970 return XineramaQueryScreens ();
26971   ;
26972   return 0;
26973 }
26974 _ACEOF
26975 if ac_fn_c_try_link "$LINENO"; then :
26976   ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26977 else
26978   ac_cv_lib_Xinerama_XineramaQueryScreens=no
26979 fi
26980 rm -f core conftest.err conftest.$ac_objext \
26981     conftest$ac_exeext conftest.$ac_ext
26982 LIBS=$ac_check_lib_save_LIBS
26983 fi
26984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26985 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26986 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26987   ac_find_libraries="std"
26988 fi
26989
26990         fi
26991       fi
26992
26993       if test "x$ac_find_libraries" = "x"; then
26994                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26995 $as_echo_n "checking elsewhere... " >&6; }
26996
26997   ac_find_libraries=
26998   for ac_dir in  $SEARCH_LIB
26999   do
27000     for ac_extension in a so sl dylib dll.a; do
27001       if test -f "$ac_dir/libXinerama.$ac_extension"; then
27002         ac_find_libraries=$ac_dir
27003         break 2
27004       fi
27005     done
27006   done
27007
27008         if test "x$ac_find_libraries" != "x"; then
27009           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27010 $as_echo "yes" >&6; }
27011         else
27012           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27013 $as_echo "no" >&6; }
27014         fi
27015       fi
27016
27017 else
27018         Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
27019         Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
27020         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27021 $as_echo "yes" >&6; }
27022
27023             ac_find_libraries="std"
27024
27025                                                 eval ac_find_cflags=\$Xinerama_CFLAGS
27026       eval fl_libs=\$Xinerama_LIBS
27027
27028                   for fl_path in $fl_libs
27029       do
27030         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27031                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27032         fi
27033       done
27034
27035 fi
27036
27037         if test "$ac_find_libraries" != "" ; then
27038             if test "$ac_find_libraries" != "std" ; then
27039
27040     if test "$ac_find_libraries" = "default location"; then
27041     ac_path_to_link=""
27042   else
27043     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27044     result=$?
27045     if test $result = 0; then
27046       ac_path_to_link=""
27047     else
27048       ac_path_to_link=" -L$ac_find_libraries"
27049     fi
27050   fi
27051
27052               if test "$ac_path_to_link" != " -L/usr/lib" ; then
27053                   LDFLAGS="$LDFLAGS $ac_path_to_link"
27054               fi
27055             fi
27056             USE_XINERAMA=1
27057             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27058         else
27059             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
27060 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27061             wxUSE_DISPLAY="no"
27062         fi
27063     elif test "$wxUSE_MSW" = 1; then
27064                 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
27065 "
27066 if test "x$ac_cv_header_ddraw_h" = xyes; then :
27067
27068 fi
27069
27070
27071     fi
27072 fi
27073
27074 if test "$wxUSE_DISPLAY" = "yes"; then
27075         if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
27076
27077   ac_find_libraries=
27078
27079     fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
27080
27081
27082 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27083         if test -n "$ac_tool_prefix"; then
27084   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27085 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27087 $as_echo_n "checking for $ac_word... " >&6; }
27088 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27089   $as_echo_n "(cached) " >&6
27090 else
27091   case $PKG_CONFIG in
27092   [\\/]* | ?:[\\/]*)
27093   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27094   ;;
27095   *)
27096   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27097 for as_dir in $PATH
27098 do
27099   IFS=$as_save_IFS
27100   test -z "$as_dir" && as_dir=.
27101     for ac_exec_ext in '' $ac_executable_extensions; do
27102   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27103     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27104     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27105     break 2
27106   fi
27107 done
27108   done
27109 IFS=$as_save_IFS
27110
27111   ;;
27112 esac
27113 fi
27114 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27115 if test -n "$PKG_CONFIG"; then
27116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27117 $as_echo "$PKG_CONFIG" >&6; }
27118 else
27119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27120 $as_echo "no" >&6; }
27121 fi
27122
27123
27124 fi
27125 if test -z "$ac_cv_path_PKG_CONFIG"; then
27126   ac_pt_PKG_CONFIG=$PKG_CONFIG
27127   # Extract the first word of "pkg-config", so it can be a program name with args.
27128 set dummy pkg-config; ac_word=$2
27129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27130 $as_echo_n "checking for $ac_word... " >&6; }
27131 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27132   $as_echo_n "(cached) " >&6
27133 else
27134   case $ac_pt_PKG_CONFIG in
27135   [\\/]* | ?:[\\/]*)
27136   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27137   ;;
27138   *)
27139   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27140 for as_dir in $PATH
27141 do
27142   IFS=$as_save_IFS
27143   test -z "$as_dir" && as_dir=.
27144     for ac_exec_ext in '' $ac_executable_extensions; do
27145   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27146     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27147     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27148     break 2
27149   fi
27150 done
27151   done
27152 IFS=$as_save_IFS
27153
27154   ;;
27155 esac
27156 fi
27157 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27158 if test -n "$ac_pt_PKG_CONFIG"; then
27159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27160 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27161 else
27162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27163 $as_echo "no" >&6; }
27164 fi
27165
27166   if test "x$ac_pt_PKG_CONFIG" = x; then
27167     PKG_CONFIG=""
27168   else
27169     case $cross_compiling:$ac_tool_warned in
27170 yes:)
27171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27172 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27173 ac_tool_warned=yes ;;
27174 esac
27175     PKG_CONFIG=$ac_pt_PKG_CONFIG
27176   fi
27177 else
27178   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27179 fi
27180
27181 fi
27182 if test -n "$PKG_CONFIG"; then
27183         _pkg_min_version=0.9.0
27184         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27185 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27186         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27187                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27188 $as_echo "yes" >&6; }
27189         else
27190                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27191 $as_echo "no" >&6; }
27192                 PKG_CONFIG=""
27193         fi
27194
27195 fi 6> /dev/null
27196
27197 pkg_failed=no
27198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
27199 $as_echo_n "checking for Xxf86vm... " >&6; }
27200
27201 if test -n "$PKG_CONFIG"; then
27202     if test -n "$Xxf86vm_CFLAGS"; then
27203         pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
27204     else
27205         if test -n "$PKG_CONFIG" && \
27206     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27207   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27208   ac_status=$?
27209   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27210   test $ac_status = 0; }; then
27211   pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27212 else
27213   pkg_failed=yes
27214 fi
27215     fi
27216 else
27217         pkg_failed=untried
27218 fi
27219 if test -n "$PKG_CONFIG"; then
27220     if test -n "$Xxf86vm_LIBS"; then
27221         pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
27222     else
27223         if test -n "$PKG_CONFIG" && \
27224     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27225   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27226   ac_status=$?
27227   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27228   test $ac_status = 0; }; then
27229   pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27230 else
27231   pkg_failed=yes
27232 fi
27233     fi
27234 else
27235         pkg_failed=untried
27236 fi
27237
27238
27239
27240 if test $pkg_failed = yes; then
27241
27242 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27243         _pkg_short_errors_supported=yes
27244 else
27245         _pkg_short_errors_supported=no
27246 fi
27247         if test $_pkg_short_errors_supported = yes; then
27248                 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27249         else
27250                 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27251         fi
27252         # Put the nasty error message in config.log where it belongs
27253         echo "$Xxf86vm_PKG_ERRORS" >&5
27254
27255
27256       if test "x$ac_find_libraries" = "x"; then
27257                 if test "xXF86VidModeQueryExtension" != "x"; then
27258           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27259 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27260 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27261   $as_echo_n "(cached) " >&6
27262 else
27263   ac_check_lib_save_LIBS=$LIBS
27264 LIBS="-lXxf86vm  $LIBS"
27265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27266 /* end confdefs.h.  */
27267
27268 /* Override any GCC internal prototype to avoid an error.
27269    Use char because int might match the return type of a GCC
27270    builtin and then its argument prototype would still apply.  */
27271 #ifdef __cplusplus
27272 extern "C"
27273 #endif
27274 char XF86VidModeQueryExtension ();
27275 int
27276 main ()
27277 {
27278 return XF86VidModeQueryExtension ();
27279   ;
27280   return 0;
27281 }
27282 _ACEOF
27283 if ac_fn_c_try_link "$LINENO"; then :
27284   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27285 else
27286   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27287 fi
27288 rm -f core conftest.err conftest.$ac_objext \
27289     conftest$ac_exeext conftest.$ac_ext
27290 LIBS=$ac_check_lib_save_LIBS
27291 fi
27292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27293 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27294 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27295   ac_find_libraries="std"
27296 fi
27297
27298         fi
27299       fi
27300
27301       if test "x$ac_find_libraries" = "x"; then
27302                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27303 $as_echo_n "checking elsewhere... " >&6; }
27304
27305   ac_find_libraries=
27306   for ac_dir in  $SEARCH_LIB
27307   do
27308     for ac_extension in a so sl dylib dll.a; do
27309       if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27310         ac_find_libraries=$ac_dir
27311         break 2
27312       fi
27313     done
27314   done
27315
27316         if test "x$ac_find_libraries" != "x"; then
27317           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27318 $as_echo "yes" >&6; }
27319         else
27320           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27321 $as_echo "no" >&6; }
27322         fi
27323       fi
27324
27325 elif test $pkg_failed = untried; then
27326
27327       if test "x$ac_find_libraries" = "x"; then
27328                 if test "xXF86VidModeQueryExtension" != "x"; then
27329           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27330 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27331 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27332   $as_echo_n "(cached) " >&6
27333 else
27334   ac_check_lib_save_LIBS=$LIBS
27335 LIBS="-lXxf86vm  $LIBS"
27336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27337 /* end confdefs.h.  */
27338
27339 /* Override any GCC internal prototype to avoid an error.
27340    Use char because int might match the return type of a GCC
27341    builtin and then its argument prototype would still apply.  */
27342 #ifdef __cplusplus
27343 extern "C"
27344 #endif
27345 char XF86VidModeQueryExtension ();
27346 int
27347 main ()
27348 {
27349 return XF86VidModeQueryExtension ();
27350   ;
27351   return 0;
27352 }
27353 _ACEOF
27354 if ac_fn_c_try_link "$LINENO"; then :
27355   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27356 else
27357   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27358 fi
27359 rm -f core conftest.err conftest.$ac_objext \
27360     conftest$ac_exeext conftest.$ac_ext
27361 LIBS=$ac_check_lib_save_LIBS
27362 fi
27363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27364 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27365 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27366   ac_find_libraries="std"
27367 fi
27368
27369         fi
27370       fi
27371
27372       if test "x$ac_find_libraries" = "x"; then
27373                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27374 $as_echo_n "checking elsewhere... " >&6; }
27375
27376   ac_find_libraries=
27377   for ac_dir in  $SEARCH_LIB
27378   do
27379     for ac_extension in a so sl dylib dll.a; do
27380       if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27381         ac_find_libraries=$ac_dir
27382         break 2
27383       fi
27384     done
27385   done
27386
27387         if test "x$ac_find_libraries" != "x"; then
27388           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27389 $as_echo "yes" >&6; }
27390         else
27391           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27392 $as_echo "no" >&6; }
27393         fi
27394       fi
27395
27396 else
27397         Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27398         Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27399         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27400 $as_echo "yes" >&6; }
27401
27402             ac_find_libraries="std"
27403
27404                                                 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27405       eval fl_libs=\$Xxf86vm_LIBS
27406
27407                   for fl_path in $fl_libs
27408       do
27409         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27410                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27411         fi
27412       done
27413
27414 fi
27415
27416         if test "$ac_find_libraries" != "" ; then
27417             for ac_header in X11/extensions/xf86vmode.h
27418 do :
27419   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27420                                   #if HAVE_X11_XLIB_H
27421                                     #include <X11/Xlib.h>
27422                                   #endif
27423
27424 "
27425 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then :
27426   cat >>confdefs.h <<_ACEOF
27427 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27428 _ACEOF
27429
27430                               GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27431
27432 fi
27433
27434 done
27435
27436         fi
27437     fi
27438 fi
27439
27440 if test "$wxUSE_DETECT_SM" = "yes"; then
27441     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27442
27443   ac_find_libraries=
27444
27445     fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27446
27447
27448 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27449         if test -n "$ac_tool_prefix"; then
27450   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27451 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27453 $as_echo_n "checking for $ac_word... " >&6; }
27454 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27455   $as_echo_n "(cached) " >&6
27456 else
27457   case $PKG_CONFIG in
27458   [\\/]* | ?:[\\/]*)
27459   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27460   ;;
27461   *)
27462   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27463 for as_dir in $PATH
27464 do
27465   IFS=$as_save_IFS
27466   test -z "$as_dir" && as_dir=.
27467     for ac_exec_ext in '' $ac_executable_extensions; do
27468   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27469     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27471     break 2
27472   fi
27473 done
27474   done
27475 IFS=$as_save_IFS
27476
27477   ;;
27478 esac
27479 fi
27480 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27481 if test -n "$PKG_CONFIG"; then
27482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27483 $as_echo "$PKG_CONFIG" >&6; }
27484 else
27485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27486 $as_echo "no" >&6; }
27487 fi
27488
27489
27490 fi
27491 if test -z "$ac_cv_path_PKG_CONFIG"; then
27492   ac_pt_PKG_CONFIG=$PKG_CONFIG
27493   # Extract the first word of "pkg-config", so it can be a program name with args.
27494 set dummy pkg-config; ac_word=$2
27495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27496 $as_echo_n "checking for $ac_word... " >&6; }
27497 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27498   $as_echo_n "(cached) " >&6
27499 else
27500   case $ac_pt_PKG_CONFIG in
27501   [\\/]* | ?:[\\/]*)
27502   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27503   ;;
27504   *)
27505   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27506 for as_dir in $PATH
27507 do
27508   IFS=$as_save_IFS
27509   test -z "$as_dir" && as_dir=.
27510     for ac_exec_ext in '' $ac_executable_extensions; do
27511   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27512     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27513     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27514     break 2
27515   fi
27516 done
27517   done
27518 IFS=$as_save_IFS
27519
27520   ;;
27521 esac
27522 fi
27523 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27524 if test -n "$ac_pt_PKG_CONFIG"; then
27525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27526 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27527 else
27528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27529 $as_echo "no" >&6; }
27530 fi
27531
27532   if test "x$ac_pt_PKG_CONFIG" = x; then
27533     PKG_CONFIG=""
27534   else
27535     case $cross_compiling:$ac_tool_warned in
27536 yes:)
27537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27539 ac_tool_warned=yes ;;
27540 esac
27541     PKG_CONFIG=$ac_pt_PKG_CONFIG
27542   fi
27543 else
27544   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27545 fi
27546
27547 fi
27548 if test -n "$PKG_CONFIG"; then
27549         _pkg_min_version=0.9.0
27550         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27551 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27552         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27553                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27554 $as_echo "yes" >&6; }
27555         else
27556                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27557 $as_echo "no" >&6; }
27558                 PKG_CONFIG=""
27559         fi
27560
27561 fi 6> /dev/null
27562
27563 pkg_failed=no
27564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27565 $as_echo_n "checking for SM... " >&6; }
27566
27567 if test -n "$PKG_CONFIG"; then
27568     if test -n "$SM_CFLAGS"; then
27569         pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27570     else
27571         if test -n "$PKG_CONFIG" && \
27572     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27573   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27574   ac_status=$?
27575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27576   test $ac_status = 0; }; then
27577   pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27578 else
27579   pkg_failed=yes
27580 fi
27581     fi
27582 else
27583         pkg_failed=untried
27584 fi
27585 if test -n "$PKG_CONFIG"; then
27586     if test -n "$SM_LIBS"; then
27587         pkg_cv_SM_LIBS="$SM_LIBS"
27588     else
27589         if test -n "$PKG_CONFIG" && \
27590     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27591   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27592   ac_status=$?
27593   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27594   test $ac_status = 0; }; then
27595   pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27596 else
27597   pkg_failed=yes
27598 fi
27599     fi
27600 else
27601         pkg_failed=untried
27602 fi
27603
27604
27605
27606 if test $pkg_failed = yes; then
27607
27608 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27609         _pkg_short_errors_supported=yes
27610 else
27611         _pkg_short_errors_supported=no
27612 fi
27613         if test $_pkg_short_errors_supported = yes; then
27614                 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27615         else
27616                 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27617         fi
27618         # Put the nasty error message in config.log where it belongs
27619         echo "$SM_PKG_ERRORS" >&5
27620
27621
27622       if test "x$ac_find_libraries" = "x"; then
27623                 if test "xSmcOpenConnection" != "x"; then
27624           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27625 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27626 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27627   $as_echo_n "(cached) " >&6
27628 else
27629   ac_check_lib_save_LIBS=$LIBS
27630 LIBS="-lSM  $LIBS"
27631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27632 /* end confdefs.h.  */
27633
27634 /* Override any GCC internal prototype to avoid an error.
27635    Use char because int might match the return type of a GCC
27636    builtin and then its argument prototype would still apply.  */
27637 #ifdef __cplusplus
27638 extern "C"
27639 #endif
27640 char SmcOpenConnection ();
27641 int
27642 main ()
27643 {
27644 return SmcOpenConnection ();
27645   ;
27646   return 0;
27647 }
27648 _ACEOF
27649 if ac_fn_c_try_link "$LINENO"; then :
27650   ac_cv_lib_SM_SmcOpenConnection=yes
27651 else
27652   ac_cv_lib_SM_SmcOpenConnection=no
27653 fi
27654 rm -f core conftest.err conftest.$ac_objext \
27655     conftest$ac_exeext conftest.$ac_ext
27656 LIBS=$ac_check_lib_save_LIBS
27657 fi
27658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27659 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27660 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27661   ac_find_libraries="std"
27662 fi
27663
27664         fi
27665       fi
27666
27667       if test "x$ac_find_libraries" = "x"; then
27668                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27669 $as_echo_n "checking elsewhere... " >&6; }
27670
27671   ac_find_libraries=
27672   for ac_dir in  $SEARCH_LIB
27673   do
27674     for ac_extension in a so sl dylib dll.a; do
27675       if test -f "$ac_dir/libSM.$ac_extension"; then
27676         ac_find_libraries=$ac_dir
27677         break 2
27678       fi
27679     done
27680   done
27681
27682         if test "x$ac_find_libraries" != "x"; then
27683           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27684 $as_echo "yes" >&6; }
27685         else
27686           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27687 $as_echo "no" >&6; }
27688         fi
27689       fi
27690
27691 elif test $pkg_failed = untried; then
27692
27693       if test "x$ac_find_libraries" = "x"; then
27694                 if test "xSmcOpenConnection" != "x"; then
27695           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27696 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27697 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27698   $as_echo_n "(cached) " >&6
27699 else
27700   ac_check_lib_save_LIBS=$LIBS
27701 LIBS="-lSM  $LIBS"
27702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27703 /* end confdefs.h.  */
27704
27705 /* Override any GCC internal prototype to avoid an error.
27706    Use char because int might match the return type of a GCC
27707    builtin and then its argument prototype would still apply.  */
27708 #ifdef __cplusplus
27709 extern "C"
27710 #endif
27711 char SmcOpenConnection ();
27712 int
27713 main ()
27714 {
27715 return SmcOpenConnection ();
27716   ;
27717   return 0;
27718 }
27719 _ACEOF
27720 if ac_fn_c_try_link "$LINENO"; then :
27721   ac_cv_lib_SM_SmcOpenConnection=yes
27722 else
27723   ac_cv_lib_SM_SmcOpenConnection=no
27724 fi
27725 rm -f core conftest.err conftest.$ac_objext \
27726     conftest$ac_exeext conftest.$ac_ext
27727 LIBS=$ac_check_lib_save_LIBS
27728 fi
27729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27730 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27731 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27732   ac_find_libraries="std"
27733 fi
27734
27735         fi
27736       fi
27737
27738       if test "x$ac_find_libraries" = "x"; then
27739                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27740 $as_echo_n "checking elsewhere... " >&6; }
27741
27742   ac_find_libraries=
27743   for ac_dir in  $SEARCH_LIB
27744   do
27745     for ac_extension in a so sl dylib dll.a; do
27746       if test -f "$ac_dir/libSM.$ac_extension"; then
27747         ac_find_libraries=$ac_dir
27748         break 2
27749       fi
27750     done
27751   done
27752
27753         if test "x$ac_find_libraries" != "x"; then
27754           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27755 $as_echo "yes" >&6; }
27756         else
27757           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27758 $as_echo "no" >&6; }
27759         fi
27760       fi
27761
27762 else
27763         SM_CFLAGS=$pkg_cv_SM_CFLAGS
27764         SM_LIBS=$pkg_cv_SM_LIBS
27765         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27766 $as_echo "yes" >&6; }
27767
27768             ac_find_libraries="std"
27769
27770                                                 eval ac_find_cflags=\$SM_CFLAGS
27771       eval fl_libs=\$SM_LIBS
27772
27773                   for fl_path in $fl_libs
27774       do
27775         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27776                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27777         fi
27778       done
27779
27780 fi
27781
27782         if test "$ac_find_libraries" != "" ; then
27783             if test "$ac_find_libraries" != "std" ; then
27784
27785     if test "$ac_find_libraries" = "default location"; then
27786     ac_path_to_link=""
27787   else
27788     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27789     result=$?
27790     if test $result = 0; then
27791       ac_path_to_link=""
27792     else
27793       ac_path_to_link=" -L$ac_find_libraries"
27794     fi
27795   fi
27796
27797               if test "$ac_path_to_link" != " -L/usr/lib" ; then
27798                 LDFLAGS="$LDFLAGS $ac_path_to_link"
27799               fi
27800             fi
27801             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27802         else
27803             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27804 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27805             wxUSE_DETECT_SM="no"
27806         fi
27807     else
27808         wxUSE_DETECT_SM="no"
27809     fi
27810 fi
27811
27812
27813
27814 USE_OPENGL=0
27815 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27816
27817
27818     if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27819         OPENGL_LIBS="-framework OpenGL -framework AGL"
27820     elif test "$wxUSE_MSW" = 1; then
27821         OPENGL_LIBS="-lopengl32 -lglu32"
27822     elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27823
27824                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27825 $as_echo_n "checking for OpenGL headers... " >&6; }
27826
27827 ac_find_includes=
27828 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27829   do
27830     if test -f "$ac_dir/GL/gl.h"; then
27831       ac_find_includes=$ac_dir
27832       break
27833     fi
27834   done
27835
27836         if test "$ac_find_includes" != "" ; then
27837             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27838 $as_echo "found in $ac_find_includes" >&6; }
27839
27840     if test "x$ac_find_includes" = "x/usr/include"; then
27841     ac_path_to_include=""
27842   else
27843     echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27844     result=$?
27845     if test $result = 0; then
27846       ac_path_to_include=""
27847     else
27848       ac_path_to_include=" -I$ac_find_includes"
27849     fi
27850   fi
27851
27852             CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27853         else
27854             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27855 $as_echo "not found" >&6; }
27856         fi
27857
27858         ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27859 "
27860 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27861
27862             ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27863 "
27864 if test "x$ac_cv_header_GL_glu_h" = xyes; then :
27865
27866                 found_gl=0
27867
27868
27869   ac_find_libraries=
27870
27871     fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27872
27873
27874 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27875         if test -n "$ac_tool_prefix"; then
27876   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27877 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27879 $as_echo_n "checking for $ac_word... " >&6; }
27880 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27881   $as_echo_n "(cached) " >&6
27882 else
27883   case $PKG_CONFIG in
27884   [\\/]* | ?:[\\/]*)
27885   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27886   ;;
27887   *)
27888   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27889 for as_dir in $PATH
27890 do
27891   IFS=$as_save_IFS
27892   test -z "$as_dir" && as_dir=.
27893     for ac_exec_ext in '' $ac_executable_extensions; do
27894   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27895     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27896     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27897     break 2
27898   fi
27899 done
27900   done
27901 IFS=$as_save_IFS
27902
27903   ;;
27904 esac
27905 fi
27906 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27907 if test -n "$PKG_CONFIG"; then
27908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27909 $as_echo "$PKG_CONFIG" >&6; }
27910 else
27911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27912 $as_echo "no" >&6; }
27913 fi
27914
27915
27916 fi
27917 if test -z "$ac_cv_path_PKG_CONFIG"; then
27918   ac_pt_PKG_CONFIG=$PKG_CONFIG
27919   # Extract the first word of "pkg-config", so it can be a program name with args.
27920 set dummy pkg-config; ac_word=$2
27921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27922 $as_echo_n "checking for $ac_word... " >&6; }
27923 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27924   $as_echo_n "(cached) " >&6
27925 else
27926   case $ac_pt_PKG_CONFIG in
27927   [\\/]* | ?:[\\/]*)
27928   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27929   ;;
27930   *)
27931   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27932 for as_dir in $PATH
27933 do
27934   IFS=$as_save_IFS
27935   test -z "$as_dir" && as_dir=.
27936     for ac_exec_ext in '' $ac_executable_extensions; do
27937   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27938     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27939     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27940     break 2
27941   fi
27942 done
27943   done
27944 IFS=$as_save_IFS
27945
27946   ;;
27947 esac
27948 fi
27949 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27950 if test -n "$ac_pt_PKG_CONFIG"; then
27951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27952 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27953 else
27954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27955 $as_echo "no" >&6; }
27956 fi
27957
27958   if test "x$ac_pt_PKG_CONFIG" = x; then
27959     PKG_CONFIG=""
27960   else
27961     case $cross_compiling:$ac_tool_warned in
27962 yes:)
27963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27965 ac_tool_warned=yes ;;
27966 esac
27967     PKG_CONFIG=$ac_pt_PKG_CONFIG
27968   fi
27969 else
27970   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27971 fi
27972
27973 fi
27974 if test -n "$PKG_CONFIG"; then
27975         _pkg_min_version=0.9.0
27976         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27977 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27978         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27979                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27980 $as_echo "yes" >&6; }
27981         else
27982                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27983 $as_echo "no" >&6; }
27984                 PKG_CONFIG=""
27985         fi
27986
27987 fi 6> /dev/null
27988
27989 pkg_failed=no
27990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27991 $as_echo_n "checking for GL... " >&6; }
27992
27993 if test -n "$PKG_CONFIG"; then
27994     if test -n "$GL_CFLAGS"; then
27995         pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27996     else
27997         if test -n "$PKG_CONFIG" && \
27998     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27999   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28000   ac_status=$?
28001   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28002   test $ac_status = 0; }; then
28003   pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28004 else
28005   pkg_failed=yes
28006 fi
28007     fi
28008 else
28009         pkg_failed=untried
28010 fi
28011 if test -n "$PKG_CONFIG"; then
28012     if test -n "$GL_LIBS"; then
28013         pkg_cv_GL_LIBS="$GL_LIBS"
28014     else
28015         if test -n "$PKG_CONFIG" && \
28016     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28017   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28018   ac_status=$?
28019   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28020   test $ac_status = 0; }; then
28021   pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28022 else
28023   pkg_failed=yes
28024 fi
28025     fi
28026 else
28027         pkg_failed=untried
28028 fi
28029
28030
28031
28032 if test $pkg_failed = yes; then
28033
28034 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28035         _pkg_short_errors_supported=yes
28036 else
28037         _pkg_short_errors_supported=no
28038 fi
28039         if test $_pkg_short_errors_supported = yes; then
28040                 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28041         else
28042                 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28043         fi
28044         # Put the nasty error message in config.log where it belongs
28045         echo "$GL_PKG_ERRORS" >&5
28046
28047
28048       if test "x$ac_find_libraries" = "x"; then
28049                 if test "xglBegin" != "x"; then
28050           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28051 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28052 if ${ac_cv_lib_GL_glBegin+:} false; then :
28053   $as_echo_n "(cached) " >&6
28054 else
28055   ac_check_lib_save_LIBS=$LIBS
28056 LIBS="-lGL  $LIBS"
28057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28058 /* end confdefs.h.  */
28059
28060 /* Override any GCC internal prototype to avoid an error.
28061    Use char because int might match the return type of a GCC
28062    builtin and then its argument prototype would still apply.  */
28063 #ifdef __cplusplus
28064 extern "C"
28065 #endif
28066 char glBegin ();
28067 int
28068 main ()
28069 {
28070 return glBegin ();
28071   ;
28072   return 0;
28073 }
28074 _ACEOF
28075 if ac_fn_c_try_link "$LINENO"; then :
28076   ac_cv_lib_GL_glBegin=yes
28077 else
28078   ac_cv_lib_GL_glBegin=no
28079 fi
28080 rm -f core conftest.err conftest.$ac_objext \
28081     conftest$ac_exeext conftest.$ac_ext
28082 LIBS=$ac_check_lib_save_LIBS
28083 fi
28084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28085 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28086 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
28087   ac_find_libraries="std"
28088 fi
28089
28090         fi
28091       fi
28092
28093       if test "x$ac_find_libraries" = "x"; then
28094                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28095 $as_echo_n "checking elsewhere... " >&6; }
28096
28097   ac_find_libraries=
28098   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28099   do
28100     for ac_extension in a so sl dylib dll.a; do
28101       if test -f "$ac_dir/libGL.$ac_extension"; then
28102         ac_find_libraries=$ac_dir
28103         break 2
28104       fi
28105     done
28106   done
28107
28108         if test "x$ac_find_libraries" != "x"; then
28109           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28110 $as_echo "yes" >&6; }
28111         else
28112           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28113 $as_echo "no" >&6; }
28114         fi
28115       fi
28116
28117 elif test $pkg_failed = untried; then
28118
28119       if test "x$ac_find_libraries" = "x"; then
28120                 if test "xglBegin" != "x"; then
28121           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28122 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28123 if ${ac_cv_lib_GL_glBegin+:} false; then :
28124   $as_echo_n "(cached) " >&6
28125 else
28126   ac_check_lib_save_LIBS=$LIBS
28127 LIBS="-lGL  $LIBS"
28128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28129 /* end confdefs.h.  */
28130
28131 /* Override any GCC internal prototype to avoid an error.
28132    Use char because int might match the return type of a GCC
28133    builtin and then its argument prototype would still apply.  */
28134 #ifdef __cplusplus
28135 extern "C"
28136 #endif
28137 char glBegin ();
28138 int
28139 main ()
28140 {
28141 return glBegin ();
28142   ;
28143   return 0;
28144 }
28145 _ACEOF
28146 if ac_fn_c_try_link "$LINENO"; then :
28147   ac_cv_lib_GL_glBegin=yes
28148 else
28149   ac_cv_lib_GL_glBegin=no
28150 fi
28151 rm -f core conftest.err conftest.$ac_objext \
28152     conftest$ac_exeext conftest.$ac_ext
28153 LIBS=$ac_check_lib_save_LIBS
28154 fi
28155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28156 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28157 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
28158   ac_find_libraries="std"
28159 fi
28160
28161         fi
28162       fi
28163
28164       if test "x$ac_find_libraries" = "x"; then
28165                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28166 $as_echo_n "checking elsewhere... " >&6; }
28167
28168   ac_find_libraries=
28169   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28170   do
28171     for ac_extension in a so sl dylib dll.a; do
28172       if test -f "$ac_dir/libGL.$ac_extension"; then
28173         ac_find_libraries=$ac_dir
28174         break 2
28175       fi
28176     done
28177   done
28178
28179         if test "x$ac_find_libraries" != "x"; then
28180           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28181 $as_echo "yes" >&6; }
28182         else
28183           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28184 $as_echo "no" >&6; }
28185         fi
28186       fi
28187
28188 else
28189         GL_CFLAGS=$pkg_cv_GL_CFLAGS
28190         GL_LIBS=$pkg_cv_GL_LIBS
28191         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28192 $as_echo "yes" >&6; }
28193
28194             ac_find_libraries="std"
28195
28196                                                 eval ac_find_cflags=\$GL_CFLAGS
28197       eval fl_libs=\$GL_LIBS
28198
28199                   for fl_path in $fl_libs
28200       do
28201         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28202                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28203         fi
28204       done
28205
28206 fi
28207
28208                 if test "$ac_find_libraries" != "" ; then
28209                     if test "$ac_find_libraries" != "std" ; then
28210
28211     if test "$ac_find_libraries" = "default location"; then
28212     ac_path_to_link=""
28213   else
28214     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28215     result=$?
28216     if test $result = 0; then
28217       ac_path_to_link=""
28218     else
28219       ac_path_to_link=" -L$ac_find_libraries"
28220     fi
28221   fi
28222
28223                       if test "$ac_path_to_link" != " -L/usr/lib" ; then
28224                         LDFLAGS_GL="$ac_path_to_link"
28225                       fi
28226                     fi
28227
28228
28229   ac_find_libraries=
28230
28231     fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
28232
28233
28234 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28235         if test -n "$ac_tool_prefix"; then
28236   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28237 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28239 $as_echo_n "checking for $ac_word... " >&6; }
28240 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28241   $as_echo_n "(cached) " >&6
28242 else
28243   case $PKG_CONFIG in
28244   [\\/]* | ?:[\\/]*)
28245   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28246   ;;
28247   *)
28248   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28249 for as_dir in $PATH
28250 do
28251   IFS=$as_save_IFS
28252   test -z "$as_dir" && as_dir=.
28253     for ac_exec_ext in '' $ac_executable_extensions; do
28254   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28255     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28256     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28257     break 2
28258   fi
28259 done
28260   done
28261 IFS=$as_save_IFS
28262
28263   ;;
28264 esac
28265 fi
28266 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28267 if test -n "$PKG_CONFIG"; then
28268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28269 $as_echo "$PKG_CONFIG" >&6; }
28270 else
28271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28272 $as_echo "no" >&6; }
28273 fi
28274
28275
28276 fi
28277 if test -z "$ac_cv_path_PKG_CONFIG"; then
28278   ac_pt_PKG_CONFIG=$PKG_CONFIG
28279   # Extract the first word of "pkg-config", so it can be a program name with args.
28280 set dummy pkg-config; ac_word=$2
28281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28282 $as_echo_n "checking for $ac_word... " >&6; }
28283 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28284   $as_echo_n "(cached) " >&6
28285 else
28286   case $ac_pt_PKG_CONFIG in
28287   [\\/]* | ?:[\\/]*)
28288   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28289   ;;
28290   *)
28291   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28292 for as_dir in $PATH
28293 do
28294   IFS=$as_save_IFS
28295   test -z "$as_dir" && as_dir=.
28296     for ac_exec_ext in '' $ac_executable_extensions; do
28297   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28298     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28299     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28300     break 2
28301   fi
28302 done
28303   done
28304 IFS=$as_save_IFS
28305
28306   ;;
28307 esac
28308 fi
28309 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28310 if test -n "$ac_pt_PKG_CONFIG"; then
28311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28312 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28313 else
28314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28315 $as_echo "no" >&6; }
28316 fi
28317
28318   if test "x$ac_pt_PKG_CONFIG" = x; then
28319     PKG_CONFIG=""
28320   else
28321     case $cross_compiling:$ac_tool_warned in
28322 yes:)
28323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28325 ac_tool_warned=yes ;;
28326 esac
28327     PKG_CONFIG=$ac_pt_PKG_CONFIG
28328   fi
28329 else
28330   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28331 fi
28332
28333 fi
28334 if test -n "$PKG_CONFIG"; then
28335         _pkg_min_version=0.9.0
28336         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28337 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28338         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28339                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28340 $as_echo "yes" >&6; }
28341         else
28342                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28343 $as_echo "no" >&6; }
28344                 PKG_CONFIG=""
28345         fi
28346
28347 fi 6> /dev/null
28348
28349 pkg_failed=no
28350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28351 $as_echo_n "checking for GLU... " >&6; }
28352
28353 if test -n "$PKG_CONFIG"; then
28354     if test -n "$GLU_CFLAGS"; then
28355         pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28356     else
28357         if test -n "$PKG_CONFIG" && \
28358     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28359   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28360   ac_status=$?
28361   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28362   test $ac_status = 0; }; then
28363   pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28364 else
28365   pkg_failed=yes
28366 fi
28367     fi
28368 else
28369         pkg_failed=untried
28370 fi
28371 if test -n "$PKG_CONFIG"; then
28372     if test -n "$GLU_LIBS"; then
28373         pkg_cv_GLU_LIBS="$GLU_LIBS"
28374     else
28375         if test -n "$PKG_CONFIG" && \
28376     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28377   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28378   ac_status=$?
28379   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28380   test $ac_status = 0; }; then
28381   pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28382 else
28383   pkg_failed=yes
28384 fi
28385     fi
28386 else
28387         pkg_failed=untried
28388 fi
28389
28390
28391
28392 if test $pkg_failed = yes; then
28393
28394 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28395         _pkg_short_errors_supported=yes
28396 else
28397         _pkg_short_errors_supported=no
28398 fi
28399         if test $_pkg_short_errors_supported = yes; then
28400                 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28401         else
28402                 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28403         fi
28404         # Put the nasty error message in config.log where it belongs
28405         echo "$GLU_PKG_ERRORS" >&5
28406
28407
28408       if test "x$ac_find_libraries" = "x"; then
28409                 if test "xgluBeginCurve" != "x"; then
28410           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28411 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28412 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28413   $as_echo_n "(cached) " >&6
28414 else
28415   ac_check_lib_save_LIBS=$LIBS
28416 LIBS="-lGLU  $LIBS"
28417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28418 /* end confdefs.h.  */
28419
28420 /* Override any GCC internal prototype to avoid an error.
28421    Use char because int might match the return type of a GCC
28422    builtin and then its argument prototype would still apply.  */
28423 #ifdef __cplusplus
28424 extern "C"
28425 #endif
28426 char gluBeginCurve ();
28427 int
28428 main ()
28429 {
28430 return gluBeginCurve ();
28431   ;
28432   return 0;
28433 }
28434 _ACEOF
28435 if ac_fn_c_try_link "$LINENO"; then :
28436   ac_cv_lib_GLU_gluBeginCurve=yes
28437 else
28438   ac_cv_lib_GLU_gluBeginCurve=no
28439 fi
28440 rm -f core conftest.err conftest.$ac_objext \
28441     conftest$ac_exeext conftest.$ac_ext
28442 LIBS=$ac_check_lib_save_LIBS
28443 fi
28444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28445 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28446 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28447   ac_find_libraries="std"
28448 fi
28449
28450         fi
28451       fi
28452
28453       if test "x$ac_find_libraries" = "x"; then
28454                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28455 $as_echo_n "checking elsewhere... " >&6; }
28456
28457   ac_find_libraries=
28458   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28459   do
28460     for ac_extension in a so sl dylib dll.a; do
28461       if test -f "$ac_dir/libGLU.$ac_extension"; then
28462         ac_find_libraries=$ac_dir
28463         break 2
28464       fi
28465     done
28466   done
28467
28468         if test "x$ac_find_libraries" != "x"; then
28469           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28470 $as_echo "yes" >&6; }
28471         else
28472           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28473 $as_echo "no" >&6; }
28474         fi
28475       fi
28476
28477 elif test $pkg_failed = untried; then
28478
28479       if test "x$ac_find_libraries" = "x"; then
28480                 if test "xgluBeginCurve" != "x"; then
28481           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28482 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28483 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28484   $as_echo_n "(cached) " >&6
28485 else
28486   ac_check_lib_save_LIBS=$LIBS
28487 LIBS="-lGLU  $LIBS"
28488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28489 /* end confdefs.h.  */
28490
28491 /* Override any GCC internal prototype to avoid an error.
28492    Use char because int might match the return type of a GCC
28493    builtin and then its argument prototype would still apply.  */
28494 #ifdef __cplusplus
28495 extern "C"
28496 #endif
28497 char gluBeginCurve ();
28498 int
28499 main ()
28500 {
28501 return gluBeginCurve ();
28502   ;
28503   return 0;
28504 }
28505 _ACEOF
28506 if ac_fn_c_try_link "$LINENO"; then :
28507   ac_cv_lib_GLU_gluBeginCurve=yes
28508 else
28509   ac_cv_lib_GLU_gluBeginCurve=no
28510 fi
28511 rm -f core conftest.err conftest.$ac_objext \
28512     conftest$ac_exeext conftest.$ac_ext
28513 LIBS=$ac_check_lib_save_LIBS
28514 fi
28515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28516 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28517 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28518   ac_find_libraries="std"
28519 fi
28520
28521         fi
28522       fi
28523
28524       if test "x$ac_find_libraries" = "x"; then
28525                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28526 $as_echo_n "checking elsewhere... " >&6; }
28527
28528   ac_find_libraries=
28529   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28530   do
28531     for ac_extension in a so sl dylib dll.a; do
28532       if test -f "$ac_dir/libGLU.$ac_extension"; then
28533         ac_find_libraries=$ac_dir
28534         break 2
28535       fi
28536     done
28537   done
28538
28539         if test "x$ac_find_libraries" != "x"; then
28540           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28541 $as_echo "yes" >&6; }
28542         else
28543           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28544 $as_echo "no" >&6; }
28545         fi
28546       fi
28547
28548 else
28549         GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28550         GLU_LIBS=$pkg_cv_GLU_LIBS
28551         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28552 $as_echo "yes" >&6; }
28553
28554             ac_find_libraries="std"
28555
28556                                                 eval ac_find_cflags=\$GLU_CFLAGS
28557       eval fl_libs=\$GLU_LIBS
28558
28559                   for fl_path in $fl_libs
28560       do
28561         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28562                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28563         fi
28564       done
28565
28566 fi
28567
28568                     if test "$ac_find_libraries" != "" ; then
28569                       if test "$ac_find_libraries" != "std" ; then
28570
28571     if test "$ac_find_libraries" = "default location"; then
28572     ac_path_to_link=""
28573   else
28574     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28575     result=$?
28576     if test $result = 0; then
28577       ac_path_to_link=""
28578     else
28579       ac_path_to_link=" -L$ac_find_libraries"
28580     fi
28581   fi
28582
28583                         if test "$ac_path_to_link" != " -L/usr/lib" -a \
28584                                 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28585                           LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28586                         fi
28587                       fi
28588
28589                         found_gl=1
28590                         OPENGL_LIBS="-lGL -lGLU"
28591                     fi
28592                 fi
28593
28594                 if test "$found_gl" != 1; then
28595
28596   ac_find_libraries=
28597
28598     fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28599
28600
28601 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28602         if test -n "$ac_tool_prefix"; then
28603   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28604 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28606 $as_echo_n "checking for $ac_word... " >&6; }
28607 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28608   $as_echo_n "(cached) " >&6
28609 else
28610   case $PKG_CONFIG in
28611   [\\/]* | ?:[\\/]*)
28612   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28613   ;;
28614   *)
28615   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28616 for as_dir in $PATH
28617 do
28618   IFS=$as_save_IFS
28619   test -z "$as_dir" && as_dir=.
28620     for ac_exec_ext in '' $ac_executable_extensions; do
28621   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28622     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28623     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28624     break 2
28625   fi
28626 done
28627   done
28628 IFS=$as_save_IFS
28629
28630   ;;
28631 esac
28632 fi
28633 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28634 if test -n "$PKG_CONFIG"; then
28635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28636 $as_echo "$PKG_CONFIG" >&6; }
28637 else
28638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28639 $as_echo "no" >&6; }
28640 fi
28641
28642
28643 fi
28644 if test -z "$ac_cv_path_PKG_CONFIG"; then
28645   ac_pt_PKG_CONFIG=$PKG_CONFIG
28646   # Extract the first word of "pkg-config", so it can be a program name with args.
28647 set dummy pkg-config; ac_word=$2
28648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28649 $as_echo_n "checking for $ac_word... " >&6; }
28650 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28651   $as_echo_n "(cached) " >&6
28652 else
28653   case $ac_pt_PKG_CONFIG in
28654   [\\/]* | ?:[\\/]*)
28655   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28656   ;;
28657   *)
28658   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28659 for as_dir in $PATH
28660 do
28661   IFS=$as_save_IFS
28662   test -z "$as_dir" && as_dir=.
28663     for ac_exec_ext in '' $ac_executable_extensions; do
28664   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28665     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28667     break 2
28668   fi
28669 done
28670   done
28671 IFS=$as_save_IFS
28672
28673   ;;
28674 esac
28675 fi
28676 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28677 if test -n "$ac_pt_PKG_CONFIG"; then
28678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28679 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28680 else
28681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28682 $as_echo "no" >&6; }
28683 fi
28684
28685   if test "x$ac_pt_PKG_CONFIG" = x; then
28686     PKG_CONFIG=""
28687   else
28688     case $cross_compiling:$ac_tool_warned in
28689 yes:)
28690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28692 ac_tool_warned=yes ;;
28693 esac
28694     PKG_CONFIG=$ac_pt_PKG_CONFIG
28695   fi
28696 else
28697   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28698 fi
28699
28700 fi
28701 if test -n "$PKG_CONFIG"; then
28702         _pkg_min_version=0.9.0
28703         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28704 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28705         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28706                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28707 $as_echo "yes" >&6; }
28708         else
28709                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28710 $as_echo "no" >&6; }
28711                 PKG_CONFIG=""
28712         fi
28713
28714 fi 6> /dev/null
28715
28716 pkg_failed=no
28717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28718 $as_echo_n "checking for MesaGL... " >&6; }
28719
28720 if test -n "$PKG_CONFIG"; then
28721     if test -n "$MesaGL_CFLAGS"; then
28722         pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28723     else
28724         if test -n "$PKG_CONFIG" && \
28725     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28726   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28727   ac_status=$?
28728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28729   test $ac_status = 0; }; then
28730   pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28731 else
28732   pkg_failed=yes
28733 fi
28734     fi
28735 else
28736         pkg_failed=untried
28737 fi
28738 if test -n "$PKG_CONFIG"; then
28739     if test -n "$MesaGL_LIBS"; then
28740         pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28741     else
28742         if test -n "$PKG_CONFIG" && \
28743     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28744   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28745   ac_status=$?
28746   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28747   test $ac_status = 0; }; then
28748   pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28749 else
28750   pkg_failed=yes
28751 fi
28752     fi
28753 else
28754         pkg_failed=untried
28755 fi
28756
28757
28758
28759 if test $pkg_failed = yes; then
28760
28761 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28762         _pkg_short_errors_supported=yes
28763 else
28764         _pkg_short_errors_supported=no
28765 fi
28766         if test $_pkg_short_errors_supported = yes; then
28767                 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28768         else
28769                 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28770         fi
28771         # Put the nasty error message in config.log where it belongs
28772         echo "$MesaGL_PKG_ERRORS" >&5
28773
28774
28775       if test "x$ac_find_libraries" = "x"; then
28776                 if test "xglEnable" != "x"; then
28777           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28778 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28779 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28780   $as_echo_n "(cached) " >&6
28781 else
28782   ac_check_lib_save_LIBS=$LIBS
28783 LIBS="-lMesaGL  $LIBS"
28784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28785 /* end confdefs.h.  */
28786
28787 /* Override any GCC internal prototype to avoid an error.
28788    Use char because int might match the return type of a GCC
28789    builtin and then its argument prototype would still apply.  */
28790 #ifdef __cplusplus
28791 extern "C"
28792 #endif
28793 char glEnable ();
28794 int
28795 main ()
28796 {
28797 return glEnable ();
28798   ;
28799   return 0;
28800 }
28801 _ACEOF
28802 if ac_fn_c_try_link "$LINENO"; then :
28803   ac_cv_lib_MesaGL_glEnable=yes
28804 else
28805   ac_cv_lib_MesaGL_glEnable=no
28806 fi
28807 rm -f core conftest.err conftest.$ac_objext \
28808     conftest$ac_exeext conftest.$ac_ext
28809 LIBS=$ac_check_lib_save_LIBS
28810 fi
28811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28812 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28813 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28814   ac_find_libraries="std"
28815 fi
28816
28817         fi
28818       fi
28819
28820       if test "x$ac_find_libraries" = "x"; then
28821                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28822 $as_echo_n "checking elsewhere... " >&6; }
28823
28824   ac_find_libraries=
28825   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28826   do
28827     for ac_extension in a so sl dylib dll.a; do
28828       if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28829         ac_find_libraries=$ac_dir
28830         break 2
28831       fi
28832     done
28833   done
28834
28835         if test "x$ac_find_libraries" != "x"; then
28836           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28837 $as_echo "yes" >&6; }
28838         else
28839           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28840 $as_echo "no" >&6; }
28841         fi
28842       fi
28843
28844 elif test $pkg_failed = untried; then
28845
28846       if test "x$ac_find_libraries" = "x"; then
28847                 if test "xglEnable" != "x"; then
28848           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28849 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28850 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28851   $as_echo_n "(cached) " >&6
28852 else
28853   ac_check_lib_save_LIBS=$LIBS
28854 LIBS="-lMesaGL  $LIBS"
28855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28856 /* end confdefs.h.  */
28857
28858 /* Override any GCC internal prototype to avoid an error.
28859    Use char because int might match the return type of a GCC
28860    builtin and then its argument prototype would still apply.  */
28861 #ifdef __cplusplus
28862 extern "C"
28863 #endif
28864 char glEnable ();
28865 int
28866 main ()
28867 {
28868 return glEnable ();
28869   ;
28870   return 0;
28871 }
28872 _ACEOF
28873 if ac_fn_c_try_link "$LINENO"; then :
28874   ac_cv_lib_MesaGL_glEnable=yes
28875 else
28876   ac_cv_lib_MesaGL_glEnable=no
28877 fi
28878 rm -f core conftest.err conftest.$ac_objext \
28879     conftest$ac_exeext conftest.$ac_ext
28880 LIBS=$ac_check_lib_save_LIBS
28881 fi
28882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28883 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28884 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28885   ac_find_libraries="std"
28886 fi
28887
28888         fi
28889       fi
28890
28891       if test "x$ac_find_libraries" = "x"; then
28892                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28893 $as_echo_n "checking elsewhere... " >&6; }
28894
28895   ac_find_libraries=
28896   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28897   do
28898     for ac_extension in a so sl dylib dll.a; do
28899       if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28900         ac_find_libraries=$ac_dir
28901         break 2
28902       fi
28903     done
28904   done
28905
28906         if test "x$ac_find_libraries" != "x"; then
28907           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28908 $as_echo "yes" >&6; }
28909         else
28910           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28911 $as_echo "no" >&6; }
28912         fi
28913       fi
28914
28915 else
28916         MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28917         MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28918         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28919 $as_echo "yes" >&6; }
28920
28921             ac_find_libraries="std"
28922
28923                                                 eval ac_find_cflags=\$MesaGL_CFLAGS
28924       eval fl_libs=\$MesaGL_LIBS
28925
28926                   for fl_path in $fl_libs
28927       do
28928         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28929                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28930         fi
28931       done
28932
28933 fi
28934
28935                     if test "$ac_find_libraries" != "" ; then
28936                       if test "$ac_find_libraries" != "std" ; then
28937
28938     if test "$ac_find_libraries" = "default location"; then
28939     ac_path_to_link=""
28940   else
28941     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28942     result=$?
28943     if test $result = 0; then
28944       ac_path_to_link=""
28945     else
28946       ac_path_to_link=" -L$ac_find_libraries"
28947     fi
28948   fi
28949
28950                         if test "$ac_path_to_link" != " -L/usr/lib" ; then
28951                           LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28952                         fi
28953                       fi
28954                       OPENGL_LIBS="-lMesaGL -lMesaGLU"
28955                     fi
28956                 fi
28957
28958 fi
28959
28960
28961
28962 fi
28963
28964
28965
28966         if test "x$OPENGL_LIBS" = "x"; then
28967             if test "$wxUSE_OPENGL" = "yes"; then
28968                 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28969             else
28970                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28971 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28972                 wxUSE_OPENGL=no
28973                 USE_OPENGL=0
28974             fi
28975         fi
28976     else
28977         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28978 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28979         wxUSE_OPENGL="no"
28980     fi
28981
28982     if test "$wxUSE_OPENGL" = "auto"; then
28983                                 wxUSE_OPENGL=yes
28984     fi
28985
28986     if test "$wxUSE_OPENGL" = "yes"; then
28987         USE_OPENGL=1
28988         $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28989
28990         $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28991
28992         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28993     fi
28994 fi
28995
28996
28997 if test -n "$TOOLKIT" ; then
28998     TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28999 fi
29000
29001
29002
29003 if test "$wxUSE_SHARED" = "yes"; then
29004     case "${host}" in
29005       *-pc-msdosdjgpp )
29006                 wxUSE_SHARED=no
29007         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
29008 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29009       ;;
29010     esac
29011 fi
29012
29013 if test "$wxUSE_SHARED" = "yes"; then
29014
29015
29016     case "${host}" in
29017         *-*-cygwin* | *-*-mingw* )
29018                                                                                                 wx_cv_version_script=no
29019             ;;
29020
29021         *)
29022             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
29023 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
29024 if ${wx_cv_version_script+:} false; then :
29025   $as_echo_n "(cached) " >&6
29026 else
29027
29028                 echo "VER_1 { *; };" >conftest.sym
29029                 echo "int main() { return 0; }" >conftest.cpp
29030
29031                 if { ac_try='
29032                         $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29033                         -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29034   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29035   (eval $ac_try) 2>&5
29036   ac_status=$?
29037   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29038   test $ac_status = 0; }; } ; then
29039                   if test -s conftest.stderr ; then
29040                       wx_cv_version_script=no
29041                   else
29042                       wx_cv_version_script=yes
29043                   fi
29044                 else
29045                   wx_cv_version_script=no
29046                 fi
29047
29048                                                                                                                                                                                                 if test $wx_cv_version_script = yes
29049                 then
29050                   echo "struct B { virtual ~B() { } }; \
29051                         struct D : public B { }; \
29052                         void F() { D d; }" > conftest.cpp
29053
29054                   if { ac_try='
29055                         $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29056                         -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29057   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29058   (eval $ac_try) 2>&5
29059   ac_status=$?
29060   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29061   test $ac_status = 0; }; } &&
29062                      { ac_try='
29063                         $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29064                         -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29065   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29066   (eval $ac_try) 2>&5
29067   ac_status=$?
29068   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29069   test $ac_status = 0; }; }
29070                   then
29071                     if { ac_try='
29072                           $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29073                           -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29074   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29075   (eval $ac_try) 2>&5
29076   ac_status=$?
29077   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29078   test $ac_status = 0; }; }
29079                     then
29080                       wx_cv_version_script=yes
29081                     else
29082                       wx_cv_version_script=no
29083                     fi
29084                   fi
29085                 fi
29086
29087                 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29088                 rm -f conftest1.output conftest2.output conftest3.output
29089
29090 fi
29091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
29092 $as_echo "$wx_cv_version_script" >&6; }
29093
29094             if test $wx_cv_version_script = yes ; then
29095                 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
29096             fi
29097             ;;
29098     esac
29099
29100
29101             if test "$wxUSE_VISIBILITY" != "no"; then
29102
29103
29104   if test -n "$GCC"; then
29105     CFLAGS_VISIBILITY="-fvisibility=hidden"
29106     CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
29107     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
29108 $as_echo_n "checking for symbols visibility support... " >&6; }
29109     if ${wx_cv_cc_visibility+:} false; then :
29110   $as_echo_n "(cached) " >&6
29111 else
29112
29113       wx_save_CXXFLAGS="$CXXFLAGS"
29114       CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29115       ac_ext=cpp
29116 ac_cpp='$CXXCPP $CPPFLAGS'
29117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29120
29121       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29122 /* end confdefs.h.  */
29123
29124          /* we need gcc >= 4.0, older versions with visibility support
29125             didn't have class visibility: */
29126          #if defined(__GNUC__) && __GNUC__ < 4
29127          error this gcc is too old;
29128          #endif
29129
29130          /* visibility only makes sense for ELF shared libs: */
29131          #if !defined(__ELF__) && !defined(__APPLE__)
29132          error this platform has no visibility;
29133          #endif
29134
29135          /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
29136          #if defined(__clang__)
29137          clang compiler is still broken w.r.t. visibility;
29138          #endif
29139
29140          extern __attribute__((__visibility__("hidden"))) int hiddenvar;
29141          extern __attribute__((__visibility__("default"))) int exportedvar;
29142          extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
29143          extern __attribute__((__visibility__("default"))) int exportedfunc (void);
29144          class __attribute__((__visibility__("default"))) Foo {
29145            Foo() {}
29146          };
29147
29148 int
29149 main ()
29150 {
29151
29152   ;
29153   return 0;
29154 }
29155 _ACEOF
29156 if ac_fn_cxx_try_compile "$LINENO"; then :
29157   wx_cv_cc_visibility=yes
29158 else
29159   wx_cv_cc_visibility=no
29160 fi
29161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29162       ac_ext=c
29163 ac_cpp='$CPP $CPPFLAGS'
29164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29167
29168       CXXFLAGS="$wx_save_CXXFLAGS"
29169 fi
29170
29171     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
29172 $as_echo "$wx_cv_cc_visibility" >&6; }
29173     if test $wx_cv_cc_visibility = yes; then
29174                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
29175 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
29176       if ${wx_cv_cc_broken_libstdcxx_visibility+:} false; then :
29177   $as_echo_n "(cached) " >&6
29178 else
29179
29180         wx_save_CXXFLAGS="$CXXFLAGS"
29181         wx_save_LDFLAGS="$LDFLAGS"
29182         CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29183         LDFLAGS="$LDFLAGS -shared -fPIC"
29184         ac_ext=cpp
29185 ac_cpp='$CXXCPP $CPPFLAGS'
29186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29189
29190         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29191 /* end confdefs.h.  */
29192
29193             #include <string>
29194
29195 int
29196 main ()
29197 {
29198
29199             std::string s("hello");
29200             return s.length();
29201
29202   ;
29203   return 0;
29204 }
29205 _ACEOF
29206 if ac_fn_cxx_try_link "$LINENO"; then :
29207   wx_cv_cc_broken_libstdcxx_visibility=no
29208 else
29209   wx_cv_cc_broken_libstdcxx_visibility=yes
29210 fi
29211 rm -f core conftest.err conftest.$ac_objext \
29212     conftest$ac_exeext conftest.$ac_ext
29213         ac_ext=c
29214 ac_cpp='$CPP $CPPFLAGS'
29215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29218
29219         CXXFLAGS="$wx_save_CXXFLAGS"
29220         LDFLAGS="$wx_save_LDFLAGS"
29221 fi
29222
29223       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29224 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29225
29226       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29227         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29228 $as_echo_n "checking whether we can work around it... " >&6; }
29229         if ${wx_cv_cc_visibility_workaround+:} false; then :
29230   $as_echo_n "(cached) " >&6
29231 else
29232
29233           ac_ext=cpp
29234 ac_cpp='$CXXCPP $CPPFLAGS'
29235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29238
29239           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29240 /* end confdefs.h.  */
29241
29242               #pragma GCC visibility push(default)
29243               #include <string>
29244               #pragma GCC visibility pop
29245
29246 int
29247 main ()
29248 {
29249
29250               std::string s("hello");
29251               return s.length();
29252
29253   ;
29254   return 0;
29255 }
29256 _ACEOF
29257 if ac_fn_cxx_try_link "$LINENO"; then :
29258   wx_cv_cc_visibility_workaround=no
29259 else
29260   wx_cv_cc_visibility_workaround=yes
29261 fi
29262 rm -f core conftest.err conftest.$ac_objext \
29263     conftest$ac_exeext conftest.$ac_ext
29264           ac_ext=c
29265 ac_cpp='$CPP $CPPFLAGS'
29266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29269
29270
29271 fi
29272
29273         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29274 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29275
29276         if test $wx_cv_cc_visibility_workaround = no; then
29277                     wx_cv_cc_visibility=no
29278         fi
29279       fi
29280     fi
29281
29282     if test $wx_cv_cc_visibility = yes; then
29283       $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29284
29285       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29286         $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29287
29288       fi
29289     else
29290       CFLAGS_VISIBILITY=""
29291       CXXFLAGS_VISIBILITY=""
29292     fi
29293
29294
29295   fi
29296
29297     fi
29298
29299         if test "x$SUNCXX" = xyes; then
29300         SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
29301         WXCONFIG_RPATH="-R\$libdir"
29302     else
29303     case "${host}" in
29304       *-*-linux* | *-*-gnu* )
29305         SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29306         WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29307         ;;
29308
29309       *-*-solaris2* )
29310
29311                         CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
29312
29313                         saveLdflags="$LDFLAGS"
29314         LDFLAGS="$saveLdflags -Wl,-rpath,/"
29315         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29316 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29317         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29318 /* end confdefs.h.  */
29319
29320 int
29321 main ()
29322 {
29323
29324   ;
29325   return 0;
29326 }
29327 _ACEOF
29328 if ac_fn_c_try_link "$LINENO"; then :
29329
29330                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29331 $as_echo "yes" >&6; }
29332                 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29333                 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29334
29335 else
29336
29337                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29338 $as_echo "no" >&6; }
29339                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29340 $as_echo_n "checking if the linker accepts -R... " >&6; }
29341                 LDFLAGS="$saveLdflags -Wl,-R,/"
29342                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29343 /* end confdefs.h.  */
29344
29345 int
29346 main ()
29347 {
29348
29349   ;
29350   return 0;
29351 }
29352 _ACEOF
29353 if ac_fn_c_try_link "$LINENO"; then :
29354
29355                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29356 $as_echo "yes" >&6; }
29357                         SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29358                         WXCONFIG_RPATH="-Wl,-R,\$libdir"
29359
29360 else
29361
29362                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29363 $as_echo "no" >&6; }
29364
29365 fi
29366 rm -f core conftest.err conftest.$ac_objext \
29367     conftest$ac_exeext conftest.$ac_ext
29368
29369 fi
29370 rm -f core conftest.err conftest.$ac_objext \
29371     conftest$ac_exeext conftest.$ac_ext
29372         LDFLAGS="$saveLdflags"
29373       ;;
29374
29375       *-*-darwin* )
29376         install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29377         if test "$install_name_tool" -a -x "$install_name_tool"; then
29378             DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29379             cat <<EOF >change-install-names
29380 #!/bin/sh
29381 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29382 for i in \${libnames} ; do
29383     ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29384     for dep in \${libnames} ; do
29385         ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29386     done
29387 done
29388 EOF
29389             chmod +x change-install-names
29390             DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29391         fi
29392
29393                                         HEADER_PAD_OPTION="-headerpad_max_install_names"
29394       ;;
29395
29396       *-*-cygwin* | *-*-mingw32* )
29397         ;;
29398
29399       *-*-hpux* )
29400         SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29401         WXCONFIG_RPATH="-Wl,+b,\$libdir"
29402         ;;
29403
29404     esac
29405     fi
29406
29407             WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29408
29409     if test $wxUSE_RPATH = "no"; then
29410         SAMPLES_RPATH_FLAG=''
29411         DYLIB_PATH_POSTLINK=''
29412         WXCONFIG_RPATH=''
29413     fi
29414
29415     SHARED=1
29416
29417 else
29418
29419     config_linkage_component="-static"
29420     SHARED=0
29421
29422 fi
29423
29424
29425 UNICODE=0
29426 lib_unicode_suffix=
29427 WX_CHARTYPE="ansi"
29428 if test "$wxUSE_UNICODE" = "yes"; then
29429     lib_unicode_suffix=u
29430     WX_CHARTYPE="unicode"
29431     UNICODE=1
29432 fi
29433
29434 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29435 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29436
29437 DEBUG_INFO=0
29438 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29439     DEBUG_INFO=1
29440 fi
29441
29442 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29443
29444 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29445
29446 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29447
29448
29449 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29450     WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29451 else
29452     WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29453 fi
29454 if test "${TOOLKIT_DIR}" = "os2"; then
29455     WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29456 else
29457     WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29458 fi
29459
29460
29461
29462 if test "$wxUSE_OLD_COCOA" = 1; then
29463
29464     ac_ext=c
29465 ac_cpp='$CPP $CPPFLAGS'
29466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29469
29470 ac_ext=m
29471
29472     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29473 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29474     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29475 /* end confdefs.h.  */
29476 #include <AppKit/NSEvent.h>
29477 #include <CoreFoundation/CoreFoundation.h>
29478
29479 int
29480 main ()
29481 {
29482
29483   ;
29484   return 0;
29485 }
29486 _ACEOF
29487 if ac_fn_c_try_compile "$LINENO"; then :
29488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29489 $as_echo "no" >&6; }
29490 else
29491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29492 $as_echo "yes" >&6; }
29493         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29494 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29495         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29496 /* end confdefs.h.  */
29497 #define __Point__ 1
29498 #include <AppKit/NSEvent.h>
29499 #include <CoreFoundation/CoreFoundation.h>
29500
29501 int
29502 main ()
29503 {
29504
29505   ;
29506   return 0;
29507 }
29508 _ACEOF
29509 if ac_fn_c_try_compile "$LINENO"; then :
29510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29511 $as_echo "yes" >&6; }
29512             $as_echo "#define __Point__ 1" >>confdefs.h
29513
29514
29515 else
29516   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29518 as_fn_error $? "no
29519 See \`config.log' for more details" "$LINENO" 5; }
29520
29521 fi
29522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29523
29524 fi
29525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29526     ac_ext=c
29527 ac_cpp='$CPP $CPPFLAGS'
29528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29531
29532 fi
29533
29534
29535 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29536 if test "x$ac_cv_type_mode_t" = xyes; then :
29537
29538 else
29539
29540 cat >>confdefs.h <<_ACEOF
29541 #define mode_t int
29542 _ACEOF
29543
29544 fi
29545
29546 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29547 if test "x$ac_cv_type_off_t" = xyes; then :
29548
29549 else
29550
29551 cat >>confdefs.h <<_ACEOF
29552 #define off_t long int
29553 _ACEOF
29554
29555 fi
29556
29557 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29558 if test "x$ac_cv_type_pid_t" = xyes; then :
29559
29560 else
29561
29562 cat >>confdefs.h <<_ACEOF
29563 #define pid_t int
29564 _ACEOF
29565
29566 fi
29567
29568 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29569 if test "x$ac_cv_type_size_t" = xyes; then :
29570
29571 else
29572
29573 cat >>confdefs.h <<_ACEOF
29574 #define size_t unsigned int
29575 _ACEOF
29576
29577 fi
29578
29579
29580 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29581 if test "x$ac_cv_type_ssize_t" = xyes; then :
29582
29583 cat >>confdefs.h <<_ACEOF
29584 #define HAVE_SSIZE_T 1
29585 _ACEOF
29586
29587
29588 fi
29589
29590
29591 ac_ext=cpp
29592 ac_cpp='$CXXCPP $CPPFLAGS'
29593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29596  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29597 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29598 if ${wx_cv_size_t_is_uint+:} false; then :
29599   $as_echo_n "(cached) " >&6
29600 else
29601
29602                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29603 /* end confdefs.h.  */
29604 #include <stddef.h>
29605 int
29606 main ()
29607 {
29608
29609             return 0; }
29610
29611             struct Foo { void foo(size_t); void foo(unsigned int); };
29612
29613             int bar() {
29614
29615   ;
29616   return 0;
29617 }
29618 _ACEOF
29619 if ac_fn_cxx_try_compile "$LINENO"; then :
29620   wx_cv_size_t_is_uint=no
29621 else
29622   wx_cv_size_t_is_uint=yes
29623
29624 fi
29625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29626
29627
29628 fi
29629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29630 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29631
29632 if test "$wx_cv_size_t_is_uint" = "yes"; then
29633     $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29634
29635 else
29636     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29637 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29638 if ${wx_cv_size_t_is_ulong+:} false; then :
29639   $as_echo_n "(cached) " >&6
29640 else
29641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29642 /* end confdefs.h.  */
29643 #include <stddef.h>
29644 int
29645 main ()
29646 {
29647
29648                 return 0; }
29649
29650                 struct Foo { void foo(size_t); void foo(unsigned long); };
29651
29652                 int bar() {
29653
29654   ;
29655   return 0;
29656 }
29657 _ACEOF
29658 if ac_fn_cxx_try_compile "$LINENO"; then :
29659   wx_cv_size_t_is_ulong=no
29660 else
29661   wx_cv_size_t_is_ulong=yes
29662
29663 fi
29664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29665
29666 fi
29667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29668 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29669
29670     if test "$wx_cv_size_t_is_ulong" = "yes"; then
29671         $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29672
29673     fi
29674 fi
29675
29676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29677 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29678 if ${wx_cv_wchar_t_is_separate_type+:} false; then :
29679   $as_echo_n "(cached) " >&6
29680 else
29681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29682 /* end confdefs.h.  */
29683 #include <wchar.h>
29684 int
29685 main ()
29686 {
29687
29688             return 0; }
29689
29690             struct Foo { void foo(wchar_t);
29691                          void foo(unsigned short);
29692                          void foo(unsigned int);
29693                          void foo(unsigned long); };
29694
29695             int bar() {
29696
29697   ;
29698   return 0;
29699 }
29700 _ACEOF
29701 if ac_fn_cxx_try_compile "$LINENO"; then :
29702   wx_cv_wchar_t_is_separate_type=yes
29703 else
29704   wx_cv_wchar_t_is_separate_type=no
29705
29706 fi
29707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29708
29709 fi
29710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29711 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29712
29713 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29714     $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29715
29716 else
29717     $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29718
29719 fi
29720
29721 ac_ext=c
29722 ac_cpp='$CPP $CPPFLAGS'
29723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29726
29727
29728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29729 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29730 if ${wx_cv_struct_pw_gecos+:} false; then :
29731   $as_echo_n "(cached) " >&6
29732 else
29733
29734         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29735 /* end confdefs.h.  */
29736 #include <pwd.h>
29737 int
29738 main ()
29739 {
29740
29741                 char *p;
29742                 struct passwd *pw;
29743                 p = pw->pw_gecos;
29744
29745   ;
29746   return 0;
29747 }
29748 _ACEOF
29749 if ac_fn_c_try_compile "$LINENO"; then :
29750
29751                 wx_cv_struct_pw_gecos=yes
29752
29753 else
29754
29755                 wx_cv_struct_pw_gecos=no
29756
29757
29758 fi
29759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29760
29761
29762 fi
29763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29764 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29765
29766 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29767     $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29768
29769 fi
29770
29771
29772 WCSLEN_FOUND=0
29773 WCHAR_LINK=
29774 for ac_func in wcslen
29775 do :
29776   ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29777 if test "x$ac_cv_func_wcslen" = xyes; then :
29778   cat >>confdefs.h <<_ACEOF
29779 #define HAVE_WCSLEN 1
29780 _ACEOF
29781  WCSLEN_FOUND=1
29782 fi
29783 done
29784
29785
29786 if test "$WCSLEN_FOUND" = 0; then
29787     if test "$TOOLKIT" = "MSW"; then
29788         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29789 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29790 if ${ac_cv_lib_msvcrt_wcslen+:} false; then :
29791   $as_echo_n "(cached) " >&6
29792 else
29793   ac_check_lib_save_LIBS=$LIBS
29794 LIBS="-lmsvcrt  $LIBS"
29795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29796 /* end confdefs.h.  */
29797
29798 /* Override any GCC internal prototype to avoid an error.
29799    Use char because int might match the return type of a GCC
29800    builtin and then its argument prototype would still apply.  */
29801 #ifdef __cplusplus
29802 extern "C"
29803 #endif
29804 char wcslen ();
29805 int
29806 main ()
29807 {
29808 return wcslen ();
29809   ;
29810   return 0;
29811 }
29812 _ACEOF
29813 if ac_fn_c_try_link "$LINENO"; then :
29814   ac_cv_lib_msvcrt_wcslen=yes
29815 else
29816   ac_cv_lib_msvcrt_wcslen=no
29817 fi
29818 rm -f core conftest.err conftest.$ac_objext \
29819     conftest$ac_exeext conftest.$ac_ext
29820 LIBS=$ac_check_lib_save_LIBS
29821 fi
29822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29823 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29824 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes; then :
29825   WCHAR_OK=1
29826 fi
29827
29828     else
29829         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29830 $as_echo_n "checking for wcslen in -lw... " >&6; }
29831 if ${ac_cv_lib_w_wcslen+:} false; then :
29832   $as_echo_n "(cached) " >&6
29833 else
29834   ac_check_lib_save_LIBS=$LIBS
29835 LIBS="-lw  $LIBS"
29836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29837 /* end confdefs.h.  */
29838
29839 /* Override any GCC internal prototype to avoid an error.
29840    Use char because int might match the return type of a GCC
29841    builtin and then its argument prototype would still apply.  */
29842 #ifdef __cplusplus
29843 extern "C"
29844 #endif
29845 char wcslen ();
29846 int
29847 main ()
29848 {
29849 return wcslen ();
29850   ;
29851   return 0;
29852 }
29853 _ACEOF
29854 if ac_fn_c_try_link "$LINENO"; then :
29855   ac_cv_lib_w_wcslen=yes
29856 else
29857   ac_cv_lib_w_wcslen=no
29858 fi
29859 rm -f core conftest.err conftest.$ac_objext \
29860     conftest$ac_exeext conftest.$ac_ext
29861 LIBS=$ac_check_lib_save_LIBS
29862 fi
29863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29864 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29865 if test "x$ac_cv_lib_w_wcslen" = xyes; then :
29866
29867                         WCHAR_LINK=" -lw"
29868                         WCSLEN_FOUND=1
29869
29870 fi
29871
29872     fi
29873 fi
29874
29875 if test "$WCSLEN_FOUND" = 1; then
29876     $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29877
29878 fi
29879
29880 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29881 do :
29882   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29883 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29884 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29885   cat >>confdefs.h <<_ACEOF
29886 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29887 _ACEOF
29888
29889 fi
29890 done
29891
29892
29893 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29894     CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29895 fi
29896
29897 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29898 "
29899 if test "x$ac_cv_type_mbstate_t" = xyes; then :
29900
29901 cat >>confdefs.h <<_ACEOF
29902 #define HAVE_MBSTATE_T 1
29903 _ACEOF
29904
29905 for ac_func in wcsrtombs
29906 do :
29907   ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29908 if test "x$ac_cv_func_wcsrtombs" = xyes; then :
29909   cat >>confdefs.h <<_ACEOF
29910 #define HAVE_WCSRTOMBS 1
29911 _ACEOF
29912
29913 fi
29914 done
29915
29916 fi
29917
29918
29919 for ac_func in snprintf vsnprintf vsscanf
29920 do :
29921   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29922 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29923 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29924   cat >>confdefs.h <<_ACEOF
29925 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29926 _ACEOF
29927
29928 fi
29929 done
29930
29931
29932 ac_ext=cpp
29933 ac_cpp='$CXXCPP $CPPFLAGS'
29934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29937
29938 if test "$ac_cv_func_vsnprintf" = "yes"; then
29939         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29940 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29941 if ${wx_cv_func_vsnprintf_decl+:} false; then :
29942   $as_echo_n "(cached) " >&6
29943 else
29944
29945                                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29946 /* end confdefs.h.  */
29947
29948                     #include <stdio.h>
29949                     #include <stdarg.h>
29950
29951 int
29952 main ()
29953 {
29954
29955                     char *buf;
29956                     va_list ap;
29957                     vsnprintf(buf, 10u, "%s", ap);
29958
29959   ;
29960   return 0;
29961 }
29962 _ACEOF
29963 if ac_fn_cxx_try_compile "$LINENO"; then :
29964   wx_cv_func_vsnprintf_decl=yes
29965 else
29966   wx_cv_func_vsnprintf_decl=no
29967
29968 fi
29969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29970
29971
29972 fi
29973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29974 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29975
29976     if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29977         $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29978
29979
29980                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29981 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29982 if ${wx_cv_func_broken_vsnprintf_decl+:} false; then :
29983   $as_echo_n "(cached) " >&6
29984 else
29985
29986                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29987 /* end confdefs.h.  */
29988
29989                         #include <stdio.h>
29990                         #include <stdarg.h>
29991                         #ifdef __MSL__
29992                         #if __MSL__ >= 0x6000
29993                         namespace std {}
29994                         using namespace std;
29995                         #endif
29996                         #endif
29997
29998 int
29999 main ()
30000 {
30001
30002                         char *buf;
30003                         va_list ap;
30004                         const char *fmt = "%s";
30005                         vsnprintf(buf, 10u, fmt, ap);
30006
30007   ;
30008   return 0;
30009 }
30010 _ACEOF
30011 if ac_fn_cxx_try_compile "$LINENO"; then :
30012   wx_cv_func_broken_vsnprintf_decl=no
30013 else
30014   wx_cv_func_broken_vsnprintf_decl=yes
30015
30016 fi
30017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30018
30019
30020 fi
30021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
30022 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
30023
30024         if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
30025             $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
30026
30027         fi
30028     fi
30029 fi
30030
30031 if test "$ac_cv_func_snprintf" = "yes"; then
30032     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
30033 $as_echo_n "checking for snprintf declaration... " >&6; }
30034 if ${wx_cv_func_snprintf_decl+:} false; then :
30035   $as_echo_n "(cached) " >&6
30036 else
30037
30038             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30039 /* end confdefs.h.  */
30040
30041                     #include <stdio.h>
30042                     #include <stdarg.h>
30043                     #ifdef __MSL__
30044                     #if __MSL__ >= 0x6000
30045                     namespace std {}
30046                     using namespace std;
30047                     #endif
30048                     #endif
30049
30050 int
30051 main ()
30052 {
30053
30054                     char *buf;
30055                     snprintf(buf, 10u, "%s", "wx");
30056
30057   ;
30058   return 0;
30059 }
30060 _ACEOF
30061 if ac_fn_cxx_try_compile "$LINENO"; then :
30062   wx_cv_func_snprintf_decl=yes
30063 else
30064   wx_cv_func_snprintf_decl=no
30065
30066 fi
30067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30068
30069
30070 fi
30071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
30072 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
30073
30074     if test "$wx_cv_func_snprintf_decl" = "yes"; then
30075         $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
30076
30077     fi
30078
30079     if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
30080
30081                                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
30082 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
30083 if ${wx_cv_func_snprintf_pos_params+:} false; then :
30084   $as_echo_n "(cached) " >&6
30085 else
30086
30087                 if test "$cross_compiling" = yes; then :
30088
30089                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
30090 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
30091 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
30092 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
30093                         wx_cv_func_snprintf_pos_params=no
30094
30095
30096 else
30097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30098 /* end confdefs.h.  */
30099
30100                         #include <stdio.h>
30101
30102                         int main (void)
30103                         {
30104                             char buffer[128];
30105                             snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
30106                             if (strcmp ("2 3 1", buffer) == 0)
30107                                 exit (0);
30108                             exit (1);
30109                         }
30110
30111 _ACEOF
30112 if ac_fn_cxx_try_run "$LINENO"; then :
30113   wx_cv_func_snprintf_pos_params=no
30114 else
30115   wx_cv_func_snprintf_pos_params=yes
30116 fi
30117 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30118   conftest.$ac_objext conftest.beam conftest.$ac_ext
30119 fi
30120
30121
30122
30123 fi
30124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
30125 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
30126
30127         if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
30128             $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
30129
30130         fi
30131     fi
30132 fi
30133
30134 if test "$ac_cv_func_vsscanf" = "yes"; then
30135     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
30136 $as_echo_n "checking for vsscanf declaration... " >&6; }
30137 if ${wx_cv_func_vsscanf_decl+:} false; then :
30138   $as_echo_n "(cached) " >&6
30139 else
30140
30141             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30142 /* end confdefs.h.  */
30143
30144                     #include <stdio.h>
30145                     #include <stdarg.h>
30146                     #ifdef __MSL__
30147                     #if __MSL__ >= 0x6000
30148                     namespace std {}
30149                     using namespace std;
30150                     #endif
30151                     #endif
30152
30153 int
30154 main ()
30155 {
30156
30157                     char *buf;
30158                     va_list args;
30159                     vsscanf(buf, "%s", args);
30160
30161   ;
30162   return 0;
30163 }
30164 _ACEOF
30165 if ac_fn_cxx_try_compile "$LINENO"; then :
30166   wx_cv_func_vsscanf_decl=yes
30167 else
30168   wx_cv_func_vsscanf_decl=no
30169
30170 fi
30171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30172
30173
30174 fi
30175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
30176 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
30177
30178     if test "$wx_cv_func_vsscanf_decl" = "yes"; then
30179         $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
30180
30181     fi
30182 fi
30183 ac_ext=c
30184 ac_cpp='$CPP $CPPFLAGS'
30185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30188
30189
30190 if test "$wxUSE_UNICODE" = yes; then
30191
30192             wchar_headers="#include <stdio.h>
30193 #include <wchar.h>"
30194     case "${host}" in
30195         *-*-solaris2* )
30196             for ac_header in widec.h
30197 do :
30198   ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
30199 "
30200 if test "x$ac_cv_header_widec_h" = xyes; then :
30201   cat >>confdefs.h <<_ACEOF
30202 #define HAVE_WIDEC_H 1
30203 _ACEOF
30204
30205 fi
30206
30207 done
30208
30209             if test "$ac_cv_header_widec_h" = "yes"; then
30210                 wchar_headers="$wchar_headers
30211 #include <widec.h>"
30212             fi
30213     esac
30214
30215
30216   for wx_func in putws fputws wprintf vswprintf vswscanf
30217   do
30218     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30219 $as_echo_n "checking for $wx_func... " >&6; }
30220 if eval \${wx_cv_func_$wx_func+:} false; then :
30221   $as_echo_n "(cached) " >&6
30222 else
30223
30224         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30225 /* end confdefs.h.  */
30226
30227
30228                 $wchar_headers
30229                 $ac_includes_default
30230
30231 int
30232 main ()
30233 {
30234
30235                 #ifndef $wx_func
30236                   &$wx_func;
30237                 #endif
30238
30239
30240   ;
30241   return 0;
30242 }
30243
30244 _ACEOF
30245 if ac_fn_c_try_link "$LINENO"; then :
30246   eval wx_cv_func_$wx_func=yes
30247 else
30248   eval wx_cv_func_$wx_func=no
30249 fi
30250 rm -f core conftest.err conftest.$ac_objext \
30251     conftest$ac_exeext conftest.$ac_ext
30252
30253 fi
30254 eval ac_res=\$wx_cv_func_$wx_func
30255                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30256 $as_echo "$ac_res" >&6; }
30257
30258     if eval test \$wx_cv_func_$wx_func = yes
30259     then
30260       cat >>confdefs.h <<_ACEOF
30261 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30262 _ACEOF
30263
30264
30265     else
30266       :
30267
30268     fi
30269   done
30270
30271
30272                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30273 $as_echo_n "checking for _vsnwprintf... " >&6; }
30274     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30275 /* end confdefs.h.  */
30276 #include <wchar.h>
30277 int
30278 main ()
30279 {
30280 &_vsnwprintf;
30281   ;
30282   return 0;
30283 }
30284 _ACEOF
30285 if ac_fn_c_try_compile "$LINENO"; then :
30286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30287 $as_echo "yes" >&6; }
30288                     $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30289
30290 else
30291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30292 $as_echo "no" >&6; }
30293 fi
30294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
30295 fi
30296
30297 if test "$wxUSE_FILE" = "yes"; then
30298
30299   for wx_func in fsync
30300   do
30301     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30302 $as_echo_n "checking for $wx_func... " >&6; }
30303 if eval \${wx_cv_func_$wx_func+:} false; then :
30304   $as_echo_n "(cached) " >&6
30305 else
30306
30307         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30308 /* end confdefs.h.  */
30309
30310
30311
30312                 $ac_includes_default
30313
30314 int
30315 main ()
30316 {
30317
30318                 #ifndef $wx_func
30319                   &$wx_func;
30320                 #endif
30321
30322
30323   ;
30324   return 0;
30325 }
30326
30327 _ACEOF
30328 if ac_fn_c_try_link "$LINENO"; then :
30329   eval wx_cv_func_$wx_func=yes
30330 else
30331   eval wx_cv_func_$wx_func=no
30332 fi
30333 rm -f core conftest.err conftest.$ac_objext \
30334     conftest$ac_exeext conftest.$ac_ext
30335
30336 fi
30337 eval ac_res=\$wx_cv_func_$wx_func
30338                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30339 $as_echo "$ac_res" >&6; }
30340
30341     if eval test \$wx_cv_func_$wx_func = yes
30342     then
30343       cat >>confdefs.h <<_ACEOF
30344 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30345 _ACEOF
30346
30347
30348     else
30349       :
30350
30351     fi
30352   done
30353
30354 fi
30355
30356 ac_ext=cpp
30357 ac_cpp='$CXXCPP $CPPFLAGS'
30358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30361
30362
30363   for wx_func in round
30364   do
30365     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30366 $as_echo_n "checking for $wx_func... " >&6; }
30367 if eval \${wx_cv_func_$wx_func+:} false; then :
30368   $as_echo_n "(cached) " >&6
30369 else
30370
30371         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30372 /* end confdefs.h.  */
30373
30374
30375                 #include <math.h>
30376                 $ac_includes_default
30377
30378 int
30379 main ()
30380 {
30381
30382                 #ifndef $wx_func
30383                   &$wx_func;
30384                 #endif
30385
30386
30387   ;
30388   return 0;
30389 }
30390
30391 _ACEOF
30392 if ac_fn_cxx_try_link "$LINENO"; then :
30393   eval wx_cv_func_$wx_func=yes
30394 else
30395   eval wx_cv_func_$wx_func=no
30396 fi
30397 rm -f core conftest.err conftest.$ac_objext \
30398     conftest$ac_exeext conftest.$ac_ext
30399
30400 fi
30401 eval ac_res=\$wx_cv_func_$wx_func
30402                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30403 $as_echo "$ac_res" >&6; }
30404
30405     if eval test \$wx_cv_func_$wx_func = yes
30406     then
30407       cat >>confdefs.h <<_ACEOF
30408 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30409 _ACEOF
30410
30411
30412     else
30413       :
30414
30415     fi
30416   done
30417
30418 ac_ext=c
30419 ac_cpp='$CPP $CPPFLAGS'
30420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30423
30424
30425 if test "$TOOLKIT" != "MSW"; then
30426
30427 if test "$wxUSE_LIBICONV" != "no" ; then
30428
30429
30430
30431 # Check whether --with-libiconv-prefix was given.
30432 if test "${with_libiconv_prefix+set}" = set; then :
30433   withval=$with_libiconv_prefix;
30434     for dir in `echo "$withval" | tr : ' '`; do
30435       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30436       if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30437     done
30438
30439 fi
30440
30441
30442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30443 $as_echo_n "checking for iconv... " >&6; }
30444 if ${am_cv_func_iconv+:} false; then :
30445   $as_echo_n "(cached) " >&6
30446 else
30447
30448     am_cv_func_iconv="no, consider installing GNU libiconv"
30449     am_cv_lib_iconv=no
30450     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30451 /* end confdefs.h.  */
30452 #include <stdlib.h>
30453 #include <iconv.h>
30454 int
30455 main ()
30456 {
30457 iconv_t cd = iconv_open("","");
30458        iconv(cd,NULL,NULL,NULL,NULL);
30459        iconv_close(cd);
30460   ;
30461   return 0;
30462 }
30463 _ACEOF
30464 if ac_fn_c_try_link "$LINENO"; then :
30465   am_cv_func_iconv=yes
30466 fi
30467 rm -f core conftest.err conftest.$ac_objext \
30468     conftest$ac_exeext conftest.$ac_ext
30469     if test "$am_cv_func_iconv" != yes; then
30470       am_save_LIBS="$LIBS"
30471       LIBS="$LIBS -liconv"
30472       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30473 /* end confdefs.h.  */
30474 #include <stdlib.h>
30475 #include <iconv.h>
30476 int
30477 main ()
30478 {
30479 iconv_t cd = iconv_open("","");
30480          iconv(cd,NULL,NULL,NULL,NULL);
30481          iconv_close(cd);
30482   ;
30483   return 0;
30484 }
30485 _ACEOF
30486 if ac_fn_c_try_link "$LINENO"; then :
30487   am_cv_lib_iconv=yes
30488         am_cv_func_iconv=yes
30489 fi
30490 rm -f core conftest.err conftest.$ac_objext \
30491     conftest$ac_exeext conftest.$ac_ext
30492       LIBS="$am_save_LIBS"
30493     fi
30494
30495 fi
30496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30497 $as_echo "$am_cv_func_iconv" >&6; }
30498   if test "$am_cv_func_iconv" = yes; then
30499
30500 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30501
30502     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30503 $as_echo_n "checking if iconv needs const... " >&6; }
30504 if ${wx_cv_func_iconv_const+:} false; then :
30505   $as_echo_n "(cached) " >&6
30506 else
30507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30508 /* end confdefs.h.  */
30509
30510 #include <stdlib.h>
30511 #include <iconv.h>
30512 extern
30513 #ifdef __cplusplus
30514 "C"
30515 #endif
30516 #if defined(__STDC__) || defined(__cplusplus)
30517 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30518 #else
30519 size_t iconv();
30520 #endif
30521
30522 int
30523 main ()
30524 {
30525
30526   ;
30527   return 0;
30528 }
30529 _ACEOF
30530 if ac_fn_c_try_compile "$LINENO"; then :
30531   wx_cv_func_iconv_const="no"
30532 else
30533   wx_cv_func_iconv_const="yes"
30534
30535 fi
30536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30537
30538 fi
30539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30540 $as_echo "$wx_cv_func_iconv_const" >&6; }
30541
30542     iconv_const=
30543     if test "x$wx_cv_func_iconv_const" = "xyes"; then
30544         iconv_const="const"
30545     fi
30546
30547
30548 cat >>confdefs.h <<_ACEOF
30549 #define ICONV_CONST $iconv_const
30550 _ACEOF
30551
30552   fi
30553   LIBICONV=
30554   if test "$am_cv_lib_iconv" = yes; then
30555     LIBICONV="-liconv"
30556   fi
30557
30558
30559     LIBS="$LIBICONV $LIBS"
30560 fi
30561
30562 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30563     for ac_func in sigaction
30564 do :
30565   ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30566 if test "x$ac_cv_func_sigaction" = xyes; then :
30567   cat >>confdefs.h <<_ACEOF
30568 #define HAVE_SIGACTION 1
30569 _ACEOF
30570
30571 fi
30572 done
30573
30574
30575     if test "$ac_cv_func_sigaction" = "no"; then
30576         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30577 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30578         wxUSE_ON_FATAL_EXCEPTION=no
30579     fi
30580
30581     if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30582       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30583 $as_echo_n "checking for sa_handler type... " >&6; }
30584 if ${wx_cv_type_sa_handler+:} false; then :
30585   $as_echo_n "(cached) " >&6
30586 else
30587
30588                 ac_ext=cpp
30589 ac_cpp='$CXXCPP $CPPFLAGS'
30590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30593
30594         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30595 /* end confdefs.h.  */
30596 #include <signal.h>
30597 int
30598 main ()
30599 {
30600
30601                         extern void testSigHandler(int);
30602
30603                         struct sigaction sa;
30604                         sa.sa_handler = testSigHandler;
30605
30606   ;
30607   return 0;
30608 }
30609 _ACEOF
30610 if ac_fn_cxx_try_compile "$LINENO"; then :
30611
30612                         wx_cv_type_sa_handler=int
30613
30614 else
30615
30616                         wx_cv_type_sa_handler=void
30617
30618 fi
30619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30620         ac_ext=c
30621 ac_cpp='$CPP $CPPFLAGS'
30622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30625
30626
30627 fi
30628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30629 $as_echo "$wx_cv_type_sa_handler" >&6; }
30630
30631       cat >>confdefs.h <<_ACEOF
30632 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30633 _ACEOF
30634
30635     fi
30636 fi
30637
30638 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30639     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30640 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30641 if ${wx_cv_func_backtrace+:} false; then :
30642   $as_echo_n "(cached) " >&6
30643 else
30644
30645             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
30646 $as_echo_n "checking for library containing backtrace... " >&6; }
30647 if ${ac_cv_search_backtrace+:} false; then :
30648   $as_echo_n "(cached) " >&6
30649 else
30650   ac_func_search_save_LIBS=$LIBS
30651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30652 /* end confdefs.h.  */
30653
30654 /* Override any GCC internal prototype to avoid an error.
30655    Use char because int might match the return type of a GCC
30656    builtin and then its argument prototype would still apply.  */
30657 #ifdef __cplusplus
30658 extern "C"
30659 #endif
30660 char backtrace ();
30661 int
30662 main ()
30663 {
30664 return backtrace ();
30665   ;
30666   return 0;
30667 }
30668 _ACEOF
30669 for ac_lib in '' execinfo; do
30670   if test -z "$ac_lib"; then
30671     ac_res="none required"
30672   else
30673     ac_res=-l$ac_lib
30674     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
30675   fi
30676   if ac_fn_c_try_link "$LINENO"; then :
30677   ac_cv_search_backtrace=$ac_res
30678 fi
30679 rm -f core conftest.err conftest.$ac_objext \
30680     conftest$ac_exeext
30681   if ${ac_cv_search_backtrace+:} false; then :
30682   break
30683 fi
30684 done
30685 if ${ac_cv_search_backtrace+:} false; then :
30686
30687 else
30688   ac_cv_search_backtrace=no
30689 fi
30690 rm conftest.$ac_ext
30691 LIBS=$ac_func_search_save_LIBS
30692 fi
30693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
30694 $as_echo "$ac_cv_search_backtrace" >&6; }
30695 ac_res=$ac_cv_search_backtrace
30696 if test "$ac_res" != no; then :
30697   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
30698
30699                     ac_ext=cpp
30700 ac_cpp='$CXXCPP $CPPFLAGS'
30701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30704
30705                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30706 /* end confdefs.h.  */
30707 #include <execinfo.h>
30708 int
30709 main ()
30710 {
30711
30712                             void *trace[1];
30713                             char **messages;
30714                             backtrace(trace, 1);
30715                             messages = backtrace_symbols(trace, 1);
30716
30717   ;
30718   return 0;
30719 }
30720 _ACEOF
30721 if ac_fn_cxx_try_link "$LINENO"; then :
30722   wx_cv_func_backtrace=yes
30723 else
30724   wx_cv_func_backtrace=no
30725
30726 fi
30727 rm -f core conftest.err conftest.$ac_objext \
30728     conftest$ac_exeext conftest.$ac_ext
30729                     ac_ext=c
30730 ac_cpp='$CPP $CPPFLAGS'
30731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30734
30735
30736 else
30737   wx_cv_func_backtrace=no
30738
30739 fi
30740
30741
30742
30743 fi
30744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30745 $as_echo "$wx_cv_func_backtrace" >&6; }
30746
30747     if test "$wx_cv_func_backtrace" = "no"; then
30748         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30749 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30750         wxUSE_STACKWALKER=no
30751     else
30752         if test "$ac_cv_header_cxxabi_h" = "yes"; then
30753             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30754 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30755 if ${wx_cv_func_cxa_demangle+:} false; then :
30756   $as_echo_n "(cached) " >&6
30757 else
30758
30759                     ac_ext=cpp
30760 ac_cpp='$CXXCPP $CPPFLAGS'
30761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30764
30765                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30766 /* end confdefs.h.  */
30767 #include <cxxabi.h>
30768 int
30769 main ()
30770 {
30771
30772                             int rc;
30773                             __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30774
30775   ;
30776   return 0;
30777 }
30778 _ACEOF
30779 if ac_fn_cxx_try_link "$LINENO"; then :
30780   wx_cv_func_cxa_demangle=yes
30781 else
30782   wx_cv_func_cxa_demangle=no
30783
30784 fi
30785 rm -f core conftest.err conftest.$ac_objext \
30786     conftest$ac_exeext conftest.$ac_ext
30787                     ac_ext=c
30788 ac_cpp='$CPP $CPPFLAGS'
30789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30792
30793
30794
30795 fi
30796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30797 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30798         else
30799             wx_cv_func_cxa_demangle=no
30800         fi
30801
30802         if test "$wx_cv_func_cxa_demangle" = "yes"; then
30803             $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30804
30805         fi
30806     fi
30807 fi
30808
30809 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30810     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30811 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30812     wxUSE_STACKWALKER=no
30813 fi
30814
30815
30816 for ac_func in mkstemp mktemp
30817 do :
30818   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30819 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30820 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30821   cat >>confdefs.h <<_ACEOF
30822 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30823 _ACEOF
30824  break
30825 fi
30826 done
30827
30828
30829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30830 $as_echo_n "checking for statfs... " >&6; }
30831 if ${wx_cv_func_statfs+:} false; then :
30832   $as_echo_n "(cached) " >&6
30833 else
30834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30835 /* end confdefs.h.  */
30836
30837              #if defined(__BSD__)
30838              #include <sys/param.h>
30839              #include <sys/mount.h>
30840              #else
30841              #include <sys/vfs.h>
30842              #endif
30843
30844 int
30845 main ()
30846 {
30847
30848              long l;
30849              struct statfs fs;
30850              statfs("/", &fs);
30851              l = fs.f_bsize;
30852              l += fs.f_blocks;
30853              l += fs.f_bavail;
30854
30855   ;
30856   return 0;
30857 }
30858 _ACEOF
30859 if ac_fn_c_try_compile "$LINENO"; then :
30860   wx_cv_func_statfs=yes
30861 else
30862   wx_cv_func_statfs=no
30863
30864 fi
30865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30866
30867 fi
30868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30869 $as_echo "$wx_cv_func_statfs" >&6; }
30870
30871 if test "$wx_cv_func_statfs" = "yes"; then
30872         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30873 $as_echo_n "checking for statfs declaration... " >&6; }
30874 if ${wx_cv_func_statfs_decl+:} false; then :
30875   $as_echo_n "(cached) " >&6
30876 else
30877   ac_ext=cpp
30878 ac_cpp='$CXXCPP $CPPFLAGS'
30879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30882
30883         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30884 /* end confdefs.h.  */
30885
30886                  #if defined(__BSD__)
30887                  #include <sys/param.h>
30888                  #include <sys/mount.h>
30889                  #else
30890                  #include <sys/vfs.h>
30891                  #endif
30892
30893 int
30894 main ()
30895 {
30896
30897                 struct statfs fs;
30898                 statfs("", &fs);
30899
30900   ;
30901   return 0;
30902 }
30903 _ACEOF
30904 if ac_fn_cxx_try_compile "$LINENO"; then :
30905   wx_cv_func_statfs_decl=yes
30906 else
30907   wx_cv_func_statfs_decl=no
30908
30909 fi
30910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30911         ac_ext=c
30912 ac_cpp='$CPP $CPPFLAGS'
30913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30916
30917
30918 fi
30919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30920 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30921
30922     if test "$wx_cv_func_statfs_decl" = "yes"; then
30923         $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30924
30925     fi
30926
30927     wx_cv_type_statvfs_t="struct statfs"
30928     $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30929
30930 else
30931     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30932 $as_echo_n "checking for statvfs... " >&6; }
30933 if ${wx_cv_func_statvfs+:} false; then :
30934   $as_echo_n "(cached) " >&6
30935 else
30936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30937 /* end confdefs.h.  */
30938
30939                 #include <stddef.h>
30940                 #include <sys/statvfs.h>
30941
30942 int
30943 main ()
30944 {
30945
30946                 statvfs("/", NULL);
30947
30948   ;
30949   return 0;
30950 }
30951 _ACEOF
30952 if ac_fn_c_try_compile "$LINENO"; then :
30953   wx_cv_func_statvfs=yes
30954 else
30955   wx_cv_func_statvfs=no
30956
30957 fi
30958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30959
30960 fi
30961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30962 $as_echo "$wx_cv_func_statvfs" >&6; }
30963
30964     if test "$wx_cv_func_statvfs" = "yes"; then
30965                                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30966 $as_echo_n "checking for statvfs argument type... " >&6; }
30967 if ${wx_cv_type_statvfs_t+:} false; then :
30968   $as_echo_n "(cached) " >&6
30969 else
30970   ac_ext=cpp
30971 ac_cpp='$CXXCPP $CPPFLAGS'
30972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30975
30976             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30977 /* end confdefs.h.  */
30978
30979                     #include <sys/statvfs.h>
30980
30981 int
30982 main ()
30983 {
30984
30985                     long l;
30986                     statvfs_t fs;
30987                     statvfs("/", &fs);
30988                     l = fs.f_bsize;
30989                     l += fs.f_blocks;
30990                     l += fs.f_bavail;
30991
30992   ;
30993   return 0;
30994 }
30995 _ACEOF
30996 if ac_fn_cxx_try_compile "$LINENO"; then :
30997   wx_cv_type_statvfs_t=statvfs_t
30998 else
30999
31000                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31001 /* end confdefs.h.  */
31002
31003                             #include <sys/statvfs.h>
31004
31005 int
31006 main ()
31007 {
31008
31009                             long l;
31010                             struct statvfs fs;
31011                             statvfs("/", &fs);
31012                             l = fs.f_bsize;
31013                             l += fs.f_blocks;
31014                             l += fs.f_bavail;
31015
31016   ;
31017   return 0;
31018 }
31019 _ACEOF
31020 if ac_fn_cxx_try_compile "$LINENO"; then :
31021   wx_cv_type_statvfs_t="struct statvfs"
31022 else
31023   wx_cv_type_statvfs_t="unknown"
31024
31025 fi
31026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31027
31028
31029 fi
31030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31031             ac_ext=c
31032 ac_cpp='$CPP $CPPFLAGS'
31033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31036
31037
31038 fi
31039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
31040 $as_echo "$wx_cv_type_statvfs_t" >&6; }
31041
31042         if test "$wx_cv_type_statvfs_t" != "unknown"; then
31043             $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
31044
31045         fi
31046     else
31047                 wx_cv_type_statvfs_t="unknown"
31048     fi
31049 fi
31050
31051 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31052     cat >>confdefs.h <<_ACEOF
31053 #define WX_STATFS_T $wx_cv_type_statvfs_t
31054 _ACEOF
31055
31056 else
31057     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31058 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31059 fi
31060
31061 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31062     for ac_func in fcntl flock
31063 do :
31064   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31066 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31067   cat >>confdefs.h <<_ACEOF
31068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31069 _ACEOF
31070  break
31071 fi
31072 done
31073
31074
31075     if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31076         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
31077 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31078         wxUSE_SNGLINST_CHECKER=no
31079     fi
31080 fi
31081
31082 for ac_func in setenv putenv
31083 do :
31084   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31085 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31086 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31087   cat >>confdefs.h <<_ACEOF
31088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31089 _ACEOF
31090  break
31091 fi
31092 done
31093
31094 if test "$ac_cv_func_setenv" = "yes"; then
31095     for ac_func in unsetenv
31096 do :
31097   ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
31098 if test "x$ac_cv_func_unsetenv" = xyes; then :
31099   cat >>confdefs.h <<_ACEOF
31100 #define HAVE_UNSETENV 1
31101 _ACEOF
31102
31103 fi
31104 done
31105
31106 fi
31107
31108 HAVE_SOME_SLEEP_FUNC=0
31109 if test "$USE_BEOS" = 1; then
31110             $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
31111
31112     HAVE_SOME_SLEEP_FUNC=1
31113 fi
31114
31115 if test "$USE_DARWIN" = 1; then
31116             $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
31117
31118     HAVE_SOME_SLEEP_FUNC=1
31119 fi
31120
31121 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31122         POSIX4_LINK=
31123     for ac_func in nanosleep
31124 do :
31125   ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
31126 if test "x$ac_cv_func_nanosleep" = xyes; then :
31127   cat >>confdefs.h <<_ACEOF
31128 #define HAVE_NANOSLEEP 1
31129 _ACEOF
31130  $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31131
31132 else
31133
31134             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
31135 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
31136 if ${ac_cv_lib_posix4_nanosleep+:} false; then :
31137   $as_echo_n "(cached) " >&6
31138 else
31139   ac_check_lib_save_LIBS=$LIBS
31140 LIBS="-lposix4  $LIBS"
31141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31142 /* end confdefs.h.  */
31143
31144 /* Override any GCC internal prototype to avoid an error.
31145    Use char because int might match the return type of a GCC
31146    builtin and then its argument prototype would still apply.  */
31147 #ifdef __cplusplus
31148 extern "C"
31149 #endif
31150 char nanosleep ();
31151 int
31152 main ()
31153 {
31154 return nanosleep ();
31155   ;
31156   return 0;
31157 }
31158 _ACEOF
31159 if ac_fn_c_try_link "$LINENO"; then :
31160   ac_cv_lib_posix4_nanosleep=yes
31161 else
31162   ac_cv_lib_posix4_nanosleep=no
31163 fi
31164 rm -f core conftest.err conftest.$ac_objext \
31165     conftest$ac_exeext conftest.$ac_ext
31166 LIBS=$ac_check_lib_save_LIBS
31167 fi
31168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
31169 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
31170 if test "x$ac_cv_lib_posix4_nanosleep" = xyes; then :
31171
31172                     $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31173
31174                     POSIX4_LINK=" -lposix4"
31175
31176 else
31177
31178
31179   for wx_func in usleep
31180   do
31181     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31182 $as_echo_n "checking for $wx_func... " >&6; }
31183 if eval \${wx_cv_func_$wx_func+:} false; then :
31184   $as_echo_n "(cached) " >&6
31185 else
31186
31187         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31188 /* end confdefs.h.  */
31189
31190
31191
31192                 $ac_includes_default
31193
31194 int
31195 main ()
31196 {
31197
31198                 #ifndef $wx_func
31199                   &$wx_func;
31200                 #endif
31201
31202
31203   ;
31204   return 0;
31205 }
31206
31207 _ACEOF
31208 if ac_fn_c_try_link "$LINENO"; then :
31209   eval wx_cv_func_$wx_func=yes
31210 else
31211   eval wx_cv_func_$wx_func=no
31212 fi
31213 rm -f core conftest.err conftest.$ac_objext \
31214     conftest$ac_exeext conftest.$ac_ext
31215
31216 fi
31217 eval ac_res=\$wx_cv_func_$wx_func
31218                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31219 $as_echo "$ac_res" >&6; }
31220
31221     if eval test \$wx_cv_func_$wx_func = yes
31222     then
31223       cat >>confdefs.h <<_ACEOF
31224 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31225 _ACEOF
31226
31227
31228     else
31229       :
31230       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
31231 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31232
31233     fi
31234   done
31235
31236
31237
31238 fi
31239
31240
31241
31242 fi
31243 done
31244
31245 fi
31246
31247
31248   for wx_func in uname
31249   do
31250     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31251 $as_echo_n "checking for $wx_func... " >&6; }
31252 if eval \${wx_cv_func_$wx_func+:} false; then :
31253   $as_echo_n "(cached) " >&6
31254 else
31255
31256         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31257 /* end confdefs.h.  */
31258
31259
31260                 #include <sys/utsname.h>
31261                 $ac_includes_default
31262
31263 int
31264 main ()
31265 {
31266
31267                 #ifndef $wx_func
31268                   &$wx_func;
31269                 #endif
31270
31271
31272   ;
31273   return 0;
31274 }
31275
31276 _ACEOF
31277 if ac_fn_c_try_link "$LINENO"; then :
31278   eval wx_cv_func_$wx_func=yes
31279 else
31280   eval wx_cv_func_$wx_func=no
31281 fi
31282 rm -f core conftest.err conftest.$ac_objext \
31283     conftest$ac_exeext conftest.$ac_ext
31284
31285 fi
31286 eval ac_res=\$wx_cv_func_$wx_func
31287                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31288 $as_echo "$ac_res" >&6; }
31289
31290     if eval test \$wx_cv_func_$wx_func = yes
31291     then
31292       cat >>confdefs.h <<_ACEOF
31293 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31294 _ACEOF
31295
31296
31297     else
31298       :
31299
31300     fi
31301   done
31302
31303 if test "$wx_cv_func_uname" != yes; then
31304
31305   for wx_func in gethostname
31306   do
31307     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31308 $as_echo_n "checking for $wx_func... " >&6; }
31309 if eval \${wx_cv_func_$wx_func+:} false; then :
31310   $as_echo_n "(cached) " >&6
31311 else
31312
31313         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31314 /* end confdefs.h.  */
31315
31316
31317
31318                 $ac_includes_default
31319
31320 int
31321 main ()
31322 {
31323
31324                 #ifndef $wx_func
31325                   &$wx_func;
31326                 #endif
31327
31328
31329   ;
31330   return 0;
31331 }
31332
31333 _ACEOF
31334 if ac_fn_c_try_link "$LINENO"; then :
31335   eval wx_cv_func_$wx_func=yes
31336 else
31337   eval wx_cv_func_$wx_func=no
31338 fi
31339 rm -f core conftest.err conftest.$ac_objext \
31340     conftest$ac_exeext conftest.$ac_ext
31341
31342 fi
31343 eval ac_res=\$wx_cv_func_$wx_func
31344                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31345 $as_echo "$ac_res" >&6; }
31346
31347     if eval test \$wx_cv_func_$wx_func = yes
31348     then
31349       cat >>confdefs.h <<_ACEOF
31350 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31351 _ACEOF
31352
31353
31354     else
31355       :
31356
31357     fi
31358   done
31359
31360 fi
31361
31362
31363   for wx_func in strtok_r
31364   do
31365     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31366 $as_echo_n "checking for $wx_func... " >&6; }
31367 if eval \${wx_cv_func_$wx_func+:} false; then :
31368   $as_echo_n "(cached) " >&6
31369 else
31370
31371         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31372 /* end confdefs.h.  */
31373
31374
31375                 #define _REENTRANT
31376                 $ac_includes_default
31377
31378 int
31379 main ()
31380 {
31381
31382                 #ifndef $wx_func
31383                   &$wx_func;
31384                 #endif
31385
31386
31387   ;
31388   return 0;
31389 }
31390
31391 _ACEOF
31392 if ac_fn_c_try_link "$LINENO"; then :
31393   eval wx_cv_func_$wx_func=yes
31394 else
31395   eval wx_cv_func_$wx_func=no
31396 fi
31397 rm -f core conftest.err conftest.$ac_objext \
31398     conftest$ac_exeext conftest.$ac_ext
31399
31400 fi
31401 eval ac_res=\$wx_cv_func_$wx_func
31402                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31403 $as_echo "$ac_res" >&6; }
31404
31405     if eval test \$wx_cv_func_$wx_func = yes
31406     then
31407       cat >>confdefs.h <<_ACEOF
31408 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31409 _ACEOF
31410
31411
31412     else
31413       :
31414
31415     fi
31416   done
31417
31418
31419 INET_LINK=
31420 for ac_func in inet_addr
31421 do :
31422   ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31423 if test "x$ac_cv_func_inet_addr" = xyes; then :
31424   cat >>confdefs.h <<_ACEOF
31425 #define HAVE_INET_ADDR 1
31426 _ACEOF
31427  $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31428
31429 else
31430
31431         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31432 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31433 if ${ac_cv_lib_nsl_inet_addr+:} false; then :
31434   $as_echo_n "(cached) " >&6
31435 else
31436   ac_check_lib_save_LIBS=$LIBS
31437 LIBS="-lnsl  $LIBS"
31438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31439 /* end confdefs.h.  */
31440
31441 /* Override any GCC internal prototype to avoid an error.
31442    Use char because int might match the return type of a GCC
31443    builtin and then its argument prototype would still apply.  */
31444 #ifdef __cplusplus
31445 extern "C"
31446 #endif
31447 char inet_addr ();
31448 int
31449 main ()
31450 {
31451 return inet_addr ();
31452   ;
31453   return 0;
31454 }
31455 _ACEOF
31456 if ac_fn_c_try_link "$LINENO"; then :
31457   ac_cv_lib_nsl_inet_addr=yes
31458 else
31459   ac_cv_lib_nsl_inet_addr=no
31460 fi
31461 rm -f core conftest.err conftest.$ac_objext \
31462     conftest$ac_exeext conftest.$ac_ext
31463 LIBS=$ac_check_lib_save_LIBS
31464 fi
31465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31466 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31467 if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
31468   INET_LINK="nsl"
31469 else
31470
31471                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31472 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31473 if ${ac_cv_lib_resolv_inet_addr+:} false; then :
31474   $as_echo_n "(cached) " >&6
31475 else
31476   ac_check_lib_save_LIBS=$LIBS
31477 LIBS="-lresolv  $LIBS"
31478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31479 /* end confdefs.h.  */
31480
31481 /* Override any GCC internal prototype to avoid an error.
31482    Use char because int might match the return type of a GCC
31483    builtin and then its argument prototype would still apply.  */
31484 #ifdef __cplusplus
31485 extern "C"
31486 #endif
31487 char inet_addr ();
31488 int
31489 main ()
31490 {
31491 return inet_addr ();
31492   ;
31493   return 0;
31494 }
31495 _ACEOF
31496 if ac_fn_c_try_link "$LINENO"; then :
31497   ac_cv_lib_resolv_inet_addr=yes
31498 else
31499   ac_cv_lib_resolv_inet_addr=no
31500 fi
31501 rm -f core conftest.err conftest.$ac_objext \
31502     conftest$ac_exeext conftest.$ac_ext
31503 LIBS=$ac_check_lib_save_LIBS
31504 fi
31505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31506 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31507 if test "x$ac_cv_lib_resolv_inet_addr" = xyes; then :
31508   INET_LINK="resolv"
31509 else
31510
31511                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31512 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31513 if ${ac_cv_lib_socket_inet_addr+:} false; then :
31514   $as_echo_n "(cached) " >&6
31515 else
31516   ac_check_lib_save_LIBS=$LIBS
31517 LIBS="-lsocket  $LIBS"
31518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31519 /* end confdefs.h.  */
31520
31521 /* Override any GCC internal prototype to avoid an error.
31522    Use char because int might match the return type of a GCC
31523    builtin and then its argument prototype would still apply.  */
31524 #ifdef __cplusplus
31525 extern "C"
31526 #endif
31527 char inet_addr ();
31528 int
31529 main ()
31530 {
31531 return inet_addr ();
31532   ;
31533   return 0;
31534 }
31535 _ACEOF
31536 if ac_fn_c_try_link "$LINENO"; then :
31537   ac_cv_lib_socket_inet_addr=yes
31538 else
31539   ac_cv_lib_socket_inet_addr=no
31540 fi
31541 rm -f core conftest.err conftest.$ac_objext \
31542     conftest$ac_exeext conftest.$ac_ext
31543 LIBS=$ac_check_lib_save_LIBS
31544 fi
31545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31546 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31547 if test "x$ac_cv_lib_socket_inet_addr" = xyes; then :
31548   INET_LINK="socket"
31549
31550 fi
31551
31552
31553
31554 fi
31555
31556
31557
31558 fi
31559
31560
31561
31562 fi
31563 done
31564
31565
31566 for ac_func in inet_aton
31567 do :
31568   ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31569 if test "x$ac_cv_func_inet_aton" = xyes; then :
31570   cat >>confdefs.h <<_ACEOF
31571 #define HAVE_INET_ATON 1
31572 _ACEOF
31573  $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31574
31575 else
31576
31577                         as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31579 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31580 if eval \${$as_ac_Lib+:} false; then :
31581   $as_echo_n "(cached) " >&6
31582 else
31583   ac_check_lib_save_LIBS=$LIBS
31584 LIBS="-l$INET_LINK  $LIBS"
31585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31586 /* end confdefs.h.  */
31587
31588 /* Override any GCC internal prototype to avoid an error.
31589    Use char because int might match the return type of a GCC
31590    builtin and then its argument prototype would still apply.  */
31591 #ifdef __cplusplus
31592 extern "C"
31593 #endif
31594 char inet_aton ();
31595 int
31596 main ()
31597 {
31598 return inet_aton ();
31599   ;
31600   return 0;
31601 }
31602 _ACEOF
31603 if ac_fn_c_try_link "$LINENO"; then :
31604   eval "$as_ac_Lib=yes"
31605 else
31606   eval "$as_ac_Lib=no"
31607 fi
31608 rm -f core conftest.err conftest.$ac_objext \
31609     conftest$ac_exeext conftest.$ac_ext
31610 LIBS=$ac_check_lib_save_LIBS
31611 fi
31612 eval ac_res=\$$as_ac_Lib
31613                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31614 $as_echo "$ac_res" >&6; }
31615 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31616   $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31617
31618 fi
31619
31620
31621 fi
31622 done
31623
31624
31625 if test "x$INET_LINK" != "x"; then
31626     $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31627
31628     INET_LINK=" -l$INET_LINK"
31629 fi
31630
31631
31632   for wx_func in fdopen
31633   do
31634     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31635 $as_echo_n "checking for $wx_func... " >&6; }
31636 if eval \${wx_cv_func_$wx_func+:} false; then :
31637   $as_echo_n "(cached) " >&6
31638 else
31639
31640         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31641 /* end confdefs.h.  */
31642
31643
31644
31645                 $ac_includes_default
31646
31647 int
31648 main ()
31649 {
31650
31651                 #ifndef $wx_func
31652                   &$wx_func;
31653                 #endif
31654
31655
31656   ;
31657   return 0;
31658 }
31659
31660 _ACEOF
31661 if ac_fn_c_try_link "$LINENO"; then :
31662   eval wx_cv_func_$wx_func=yes
31663 else
31664   eval wx_cv_func_$wx_func=no
31665 fi
31666 rm -f core conftest.err conftest.$ac_objext \
31667     conftest$ac_exeext conftest.$ac_ext
31668
31669 fi
31670 eval ac_res=\$wx_cv_func_$wx_func
31671                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31672 $as_echo "$ac_res" >&6; }
31673
31674     if eval test \$wx_cv_func_$wx_func = yes
31675     then
31676       cat >>confdefs.h <<_ACEOF
31677 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31678 _ACEOF
31679
31680
31681     else
31682       :
31683
31684     fi
31685   done
31686
31687
31688 if test "$wxUSE_TARSTREAM" = "yes"; then
31689
31690   for wx_func in sysconf
31691   do
31692     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31693 $as_echo_n "checking for $wx_func... " >&6; }
31694 if eval \${wx_cv_func_$wx_func+:} false; then :
31695   $as_echo_n "(cached) " >&6
31696 else
31697
31698         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31699 /* end confdefs.h.  */
31700
31701
31702
31703                 $ac_includes_default
31704
31705 int
31706 main ()
31707 {
31708
31709                 #ifndef $wx_func
31710                   &$wx_func;
31711                 #endif
31712
31713
31714   ;
31715   return 0;
31716 }
31717
31718 _ACEOF
31719 if ac_fn_c_try_link "$LINENO"; then :
31720   eval wx_cv_func_$wx_func=yes
31721 else
31722   eval wx_cv_func_$wx_func=no
31723 fi
31724 rm -f core conftest.err conftest.$ac_objext \
31725     conftest$ac_exeext conftest.$ac_ext
31726
31727 fi
31728 eval ac_res=\$wx_cv_func_$wx_func
31729                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31730 $as_echo "$ac_res" >&6; }
31731
31732     if eval test \$wx_cv_func_$wx_func = yes
31733     then
31734       cat >>confdefs.h <<_ACEOF
31735 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31736 _ACEOF
31737
31738
31739     else
31740       :
31741
31742     fi
31743   done
31744
31745
31746
31747   for wx_func in getpwuid_r
31748   do
31749     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31750 $as_echo_n "checking for $wx_func... " >&6; }
31751 if eval \${wx_cv_func_$wx_func+:} false; then :
31752   $as_echo_n "(cached) " >&6
31753 else
31754
31755         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31756 /* end confdefs.h.  */
31757
31758
31759
31760                     #define _REENTRANT
31761                     #include <pwd.h>
31762
31763                 $ac_includes_default
31764
31765 int
31766 main ()
31767 {
31768
31769                 #ifndef $wx_func
31770                   &$wx_func;
31771                 #endif
31772
31773                     struct passwd pw, *ppw;
31774                     char buf[1024];
31775                     getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31776
31777
31778   ;
31779   return 0;
31780 }
31781
31782 _ACEOF
31783 if ac_fn_c_try_link "$LINENO"; then :
31784   eval wx_cv_func_$wx_func=yes
31785 else
31786   eval wx_cv_func_$wx_func=no
31787 fi
31788 rm -f core conftest.err conftest.$ac_objext \
31789     conftest$ac_exeext conftest.$ac_ext
31790
31791 fi
31792 eval ac_res=\$wx_cv_func_$wx_func
31793                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31794 $as_echo "$ac_res" >&6; }
31795
31796     if eval test \$wx_cv_func_$wx_func = yes
31797     then
31798       cat >>confdefs.h <<_ACEOF
31799 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31800 _ACEOF
31801
31802
31803     else
31804       :
31805
31806     fi
31807   done
31808
31809
31810
31811   for wx_func in getgrgid_r
31812   do
31813     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31814 $as_echo_n "checking for $wx_func... " >&6; }
31815 if eval \${wx_cv_func_$wx_func+:} false; then :
31816   $as_echo_n "(cached) " >&6
31817 else
31818
31819         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31820 /* end confdefs.h.  */
31821
31822
31823
31824                     #define _REENTRANT
31825                     #include <grp.h>
31826
31827                 $ac_includes_default
31828
31829 int
31830 main ()
31831 {
31832
31833                 #ifndef $wx_func
31834                   &$wx_func;
31835                 #endif
31836
31837                     struct group grp, *pgrp;
31838                     char buf[1024];
31839                     getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31840
31841
31842   ;
31843   return 0;
31844 }
31845
31846 _ACEOF
31847 if ac_fn_c_try_link "$LINENO"; then :
31848   eval wx_cv_func_$wx_func=yes
31849 else
31850   eval wx_cv_func_$wx_func=no
31851 fi
31852 rm -f core conftest.err conftest.$ac_objext \
31853     conftest$ac_exeext conftest.$ac_ext
31854
31855 fi
31856 eval ac_res=\$wx_cv_func_$wx_func
31857                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31858 $as_echo "$ac_res" >&6; }
31859
31860     if eval test \$wx_cv_func_$wx_func = yes
31861     then
31862       cat >>confdefs.h <<_ACEOF
31863 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31864 _ACEOF
31865
31866
31867     else
31868       :
31869
31870     fi
31871   done
31872
31873 fi
31874
31875 fi
31876
31877
31878
31879 cat >confcache <<\_ACEOF
31880 # This file is a shell script that caches the results of configure
31881 # tests run on this system so they can be shared between configure
31882 # scripts and configure runs, see configure's option --config-cache.
31883 # It is not useful on other systems.  If it contains results you don't
31884 # want to keep, you may remove or edit it.
31885 #
31886 # config.status only pays attention to the cache file if you give it
31887 # the --recheck option to rerun configure.
31888 #
31889 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31890 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31891 # following values.
31892
31893 _ACEOF
31894
31895 # The following way of writing the cache mishandles newlines in values,
31896 # but we know of no workaround that is simple, portable, and efficient.
31897 # So, we kill variables containing newlines.
31898 # Ultrix sh set writes to stderr and can't be redirected directly,
31899 # and sets the high bit in the cache file unless we assign to the vars.
31900 (
31901   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31902     eval ac_val=\$$ac_var
31903     case $ac_val in #(
31904     *${as_nl}*)
31905       case $ac_var in #(
31906       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31907 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31908       esac
31909       case $ac_var in #(
31910       _ | IFS | as_nl) ;; #(
31911       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31912       *) { eval $ac_var=; unset $ac_var;} ;;
31913       esac ;;
31914     esac
31915   done
31916
31917   (set) 2>&1 |
31918     case $as_nl`(ac_space=' '; set) 2>&1` in #(
31919     *${as_nl}ac_space=\ *)
31920       # `set' does not quote correctly, so add quotes: double-quote
31921       # substitution turns \\\\ into \\, and sed turns \\ into \.
31922       sed -n \
31923         "s/'/'\\\\''/g;
31924           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31925       ;; #(
31926     *)
31927       # `set' quotes correctly as required by POSIX, so do not add quotes.
31928       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31929       ;;
31930     esac |
31931     sort
31932 ) |
31933   sed '
31934      /^ac_cv_env_/b end
31935      t clear
31936      :clear
31937      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31938      t end
31939      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31940      :end' >>confcache
31941 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31942   if test -w "$cache_file"; then
31943     if test "x$cache_file" != "x/dev/null"; then
31944       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31945 $as_echo "$as_me: updating cache $cache_file" >&6;}
31946       if test ! -f "$cache_file" || test -h "$cache_file"; then
31947         cat confcache >"$cache_file"
31948       else
31949         case $cache_file in #(
31950         */* | ?:*)
31951           mv -f confcache "$cache_file"$$ &&
31952           mv -f "$cache_file"$$ "$cache_file" ;; #(
31953         *)
31954           mv -f confcache "$cache_file" ;;
31955         esac
31956       fi
31957     fi
31958   else
31959     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31960 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31961   fi
31962 fi
31963 rm -f confcache
31964
31965
31966 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31967
31968
31969     THREADS_LINK=
31970     THREADS_CFLAGS=
31971
31972     if test "$wxUSE_THREADS" = "yes" ; then
31973         if test "$USE_BEOS" = 1; then
31974             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31975 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31976             wxUSE_THREADS="no"
31977         fi
31978     fi
31979
31980     if test "$wxUSE_THREADS" = "yes" ; then
31981
31982
31983                                 THREAD_OPTS="-pthread"
31984         if test "x$SUNCXX" = xyes; then
31985             THREAD_OPTS="-mt lthread $THREAD_OPTS"
31986         fi
31987
31988         case "${host}" in
31989           *-*-solaris2* | *-*-sunos4* )
31990                 if test "x$GCC" = "xyes"; then
31991                                         THREAD_OPTS="-pthreads $THREAD_OPTS"
31992                 fi
31993                 ;;
31994           *-*-freebsd*)
31995                                                 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31996                 ;;
31997           *-*-darwin* | *-*-cygwin* )
31998                                                 THREAD_OPTS=""
31999                 ;;
32000           *-*-aix*)
32001                                 THREAD_OPTS="pthreads"
32002                 ;;
32003           *-hp-hpux* )
32004                 if test "x$GCC" = "xyes"; then
32005                                         $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
32006                         THREAD_OPTS=""
32007                 else
32008                                                             THREAD_OPTS="-mt"
32009                 fi
32010                 ;;
32011
32012           *-*-irix* )
32013                                                                 if test "x$GCC" = "xyes"; then
32014                     THREAD_OPTS=""
32015                 fi
32016                 ;;
32017
32018           *-*-qnx*)
32019                                                 THREAD_OPTS=""
32020                 ;;
32021
32022           *-*-*UnixWare*)
32023                                 if test "x$GCC" != "xyes"; then
32024                     THREAD_OPTS="-Ethread"
32025                 fi
32026                 ;;
32027         esac
32028
32029         case "${host}" in
32030             *-*-qnx*)
32031                                                                 THREAD_OPTS="none pthread"
32032                 ;;
32033
32034             *)
32035                                                                                 THREAD_OPTS="$THREAD_OPTS pthread none"
32036                 ;;
32037         esac
32038
32039                 THREADS_OK=no
32040         for flag in $THREAD_OPTS; do
32041             case $flag in
32042                 none)
32043                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
32044 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
32045                     ;;
32046
32047                 -*)
32048                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
32049 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
32050                     THREADS_CFLAGS="$flag"
32051                     ;;
32052
32053                 *)
32054                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
32055 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
32056                     THREADS_LINK="-l$flag"
32057                     ;;
32058               esac
32059
32060               save_LIBS="$LIBS"
32061               save_CFLAGS="$CFLAGS"
32062               LIBS="$THREADS_LINK $LIBS"
32063               CFLAGS="$THREADS_CFLAGS $CFLAGS"
32064
32065               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32066 /* end confdefs.h.  */
32067 #include <pthread.h>
32068 int
32069 main ()
32070 {
32071 pthread_create(0,0,0,0);
32072   ;
32073   return 0;
32074 }
32075 _ACEOF
32076 if ac_fn_c_try_link "$LINENO"; then :
32077   THREADS_OK=yes
32078 fi
32079 rm -f core conftest.err conftest.$ac_objext \
32080     conftest$ac_exeext conftest.$ac_ext
32081
32082               LIBS="$save_LIBS"
32083               CFLAGS="$save_CFLAGS"
32084
32085               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
32086 $as_echo "$THREADS_OK" >&6; }
32087               if test "x$THREADS_OK" = "xyes"; then
32088                       break;
32089               fi
32090
32091               THREADS_LINK=""
32092               THREADS_CFLAGS=""
32093       done
32094
32095       if test "x$THREADS_OK" != "xyes"; then
32096           wxUSE_THREADS=no
32097           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
32098 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32099       else
32100                                                                                           LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32101           WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
32102           LIBS="$THREADS_LINK $LIBS"
32103
32104           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
32105 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
32106           flag=no
32107           case "${host}" in
32108             *-aix*)
32109                                                                                                                 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32110                 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
32111                 flag="-D_THREAD_SAFE"
32112                 ;;
32113             *-freebsd*)
32114                 flag="-D_THREAD_SAFE"
32115                 ;;
32116             *-hp-hpux* )
32117                 flag="-D_REENTRANT"
32118                 if test "x$GCC" != "xyes"; then
32119                                         flag="$flag -D_RWSTD_MULTI_THREAD"
32120                 fi
32121                 ;;
32122             *solaris* | alpha*-osf*)
32123                 flag="-D_REENTRANT"
32124                 ;;
32125           esac
32126           { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
32127 $as_echo "${flag}" >&6; }
32128           if test "x$flag" != xno; then
32129               THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32130           fi
32131
32132                     WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
32133       fi
32134     fi
32135
32136         if test "$wxUSE_THREADS" = "yes" ; then
32137         for ac_func in pthread_setconcurrency
32138 do :
32139   ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
32140 if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
32141   cat >>confdefs.h <<_ACEOF
32142 #define HAVE_PTHREAD_SETCONCURRENCY 1
32143 _ACEOF
32144  $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
32145
32146 else
32147
32148                 for ac_func in thr_setconcurrency
32149 do :
32150   ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
32151 if test "x$ac_cv_func_thr_setconcurrency" = xyes; then :
32152   cat >>confdefs.h <<_ACEOF
32153 #define HAVE_THR_SETCONCURRENCY 1
32154 _ACEOF
32155  $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
32156
32157 else
32158   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
32159 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
32160 fi
32161 done
32162
32163
32164 fi
32165 done
32166
32167
32168                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
32169 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
32170 if ${wx_cv_func_pthread_cleanup+:} false; then :
32171   $as_echo_n "(cached) " >&6
32172 else
32173
32174                                 ac_ext=cpp
32175 ac_cpp='$CXXCPP $CPPFLAGS'
32176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32179
32180         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32181 /* end confdefs.h.  */
32182 #include <pthread.h>
32183                void ThreadCleanupFunc(void *p);
32184
32185 int
32186 main ()
32187 {
32188
32189                 void *p;
32190                 pthread_cleanup_push(ThreadCleanupFunc, p);
32191                 pthread_cleanup_pop(0);
32192
32193   ;
32194   return 0;
32195 }
32196 _ACEOF
32197 if ac_fn_cxx_try_compile "$LINENO"; then :
32198
32199                wx_cv_func_pthread_cleanup=yes
32200
32201 else
32202
32203                wx_cv_func_pthread_cleanup=no
32204
32205
32206 fi
32207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32208         ac_ext=c
32209 ac_cpp='$CPP $CPPFLAGS'
32210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32213
32214
32215 fi
32216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
32217 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
32218       if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
32219         $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
32220
32221       fi
32222
32223       for ac_header in sched.h
32224 do :
32225   ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
32226 "
32227 if test "x$ac_cv_header_sched_h" = xyes; then :
32228   cat >>confdefs.h <<_ACEOF
32229 #define HAVE_SCHED_H 1
32230 _ACEOF
32231
32232 fi
32233
32234 done
32235
32236       if test "$ac_cv_header_sched_h" = "yes"; then
32237           ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
32238 if test "x$ac_cv_func_sched_yield" = xyes; then :
32239   $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32240
32241 else
32242
32243                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
32244 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
32245 if ${ac_cv_lib_posix4_sched_yield+:} false; then :
32246   $as_echo_n "(cached) " >&6
32247 else
32248   ac_check_lib_save_LIBS=$LIBS
32249 LIBS="-lposix4  $LIBS"
32250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32251 /* end confdefs.h.  */
32252
32253 /* Override any GCC internal prototype to avoid an error.
32254    Use char because int might match the return type of a GCC
32255    builtin and then its argument prototype would still apply.  */
32256 #ifdef __cplusplus
32257 extern "C"
32258 #endif
32259 char sched_yield ();
32260 int
32261 main ()
32262 {
32263 return sched_yield ();
32264   ;
32265   return 0;
32266 }
32267 _ACEOF
32268 if ac_fn_c_try_link "$LINENO"; then :
32269   ac_cv_lib_posix4_sched_yield=yes
32270 else
32271   ac_cv_lib_posix4_sched_yield=no
32272 fi
32273 rm -f core conftest.err conftest.$ac_objext \
32274     conftest$ac_exeext conftest.$ac_ext
32275 LIBS=$ac_check_lib_save_LIBS
32276 fi
32277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32278 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32279 if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
32280   $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32281  POSIX4_LINK=" -lposix4"
32282 else
32283   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32284 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32285
32286 fi
32287
32288
32289
32290 fi
32291
32292       fi
32293
32294                                           HAVE_PRIOR_FUNCS=0
32295       ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32296 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then :
32297   ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32298 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then :
32299   ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32300 if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
32301   HAVE_PRIOR_FUNCS=1
32302 else
32303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32304 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32305 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false; then :
32306   $as_echo_n "(cached) " >&6
32307 else
32308   ac_check_lib_save_LIBS=$LIBS
32309 LIBS="-lposix4  $LIBS"
32310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32311 /* end confdefs.h.  */
32312
32313 /* Override any GCC internal prototype to avoid an error.
32314    Use char because int might match the return type of a GCC
32315    builtin and then its argument prototype would still apply.  */
32316 #ifdef __cplusplus
32317 extern "C"
32318 #endif
32319 char sched_get_priority_max ();
32320 int
32321 main ()
32322 {
32323 return sched_get_priority_max ();
32324   ;
32325   return 0;
32326 }
32327 _ACEOF
32328 if ac_fn_c_try_link "$LINENO"; then :
32329   ac_cv_lib_posix4_sched_get_priority_max=yes
32330 else
32331   ac_cv_lib_posix4_sched_get_priority_max=no
32332 fi
32333 rm -f core conftest.err conftest.$ac_objext \
32334     conftest$ac_exeext conftest.$ac_ext
32335 LIBS=$ac_check_lib_save_LIBS
32336 fi
32337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32338 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32339 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes; then :
32340
32341                                 HAVE_PRIOR_FUNCS=1
32342                                 POSIX4_LINK=" -lposix4"
32343
32344 fi
32345
32346
32347 fi
32348
32349
32350 fi
32351
32352
32353 fi
32354
32355
32356       if test "$HAVE_PRIOR_FUNCS" = 1; then
32357         $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32358
32359       else
32360         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32361 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32362       fi
32363
32364       ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32365 if test "x$ac_cv_func_pthread_cancel" = xyes; then :
32366   $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32367
32368 else
32369   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32370 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32371 fi
32372
32373
32374       ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32375 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then :
32376   $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32377
32378 else
32379   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32380 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32381 fi
32382
32383
32384       ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32385 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then :
32386   $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32387
32388 fi
32389
32390
32391
32392       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32393 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32394 if ${wx_cv_type_pthread_mutexattr_t+:} false; then :
32395   $as_echo_n "(cached) " >&6
32396 else
32397
32398         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32399 /* end confdefs.h.  */
32400 #include <pthread.h>
32401 int
32402 main ()
32403 {
32404
32405                pthread_mutexattr_t attr;
32406                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32407
32408   ;
32409   return 0;
32410 }
32411 _ACEOF
32412 if ac_fn_c_try_compile "$LINENO"; then :
32413   wx_cv_type_pthread_mutexattr_t=yes
32414 else
32415   wx_cv_type_pthread_mutexattr_t=no
32416
32417 fi
32418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32419
32420 fi
32421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32422 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32423
32424       if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32425         $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32426
32427
32428                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32429 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32430 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false; then :
32431   $as_echo_n "(cached) " >&6
32432 else
32433
32434                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32435 /* end confdefs.h.  */
32436 #include <pthread.h>
32437 int
32438 main ()
32439 {
32440
32441                                pthread_mutexattr_t attr;
32442                                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32443
32444   ;
32445   return 0;
32446 }
32447 _ACEOF
32448 if ac_fn_c_try_compile "$LINENO"; then :
32449   wx_cv_func_pthread_mutexattr_settype_decl=yes
32450 else
32451   wx_cv_func_pthread_mutexattr_settype_decl=no
32452
32453 fi
32454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32455
32456 fi
32457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32458 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32459         if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32460             $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32461
32462         fi
32463       else
32464                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32465 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32466 if ${wx_cv_type_pthread_rec_mutex_init+:} false; then :
32467   $as_echo_n "(cached) " >&6
32468 else
32469
32470             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32471 /* end confdefs.h.  */
32472 #include <pthread.h>
32473 int
32474 main ()
32475 {
32476
32477                     pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32478
32479   ;
32480   return 0;
32481 }
32482 _ACEOF
32483 if ac_fn_c_try_compile "$LINENO"; then :
32484
32485                     wx_cv_type_pthread_rec_mutex_init=yes
32486
32487 else
32488
32489                     wx_cv_type_pthread_rec_mutex_init=no
32490
32491
32492 fi
32493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32494
32495 fi
32496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32497 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32498         if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32499           $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32500
32501         else
32502                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32503 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32504         fi
32505       fi
32506
32507       if test "$wxUSE_COMPILER_TLS" = "auto"; then
32508           if test "$USE_NETBSD" = 1; then
32509               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32510 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32511               wxUSE_COMPILER_TLS=no
32512           else
32513               wxUSE_COMPILER_TLS=yes
32514           fi
32515       fi
32516
32517       if test "$wxUSE_COMPILER_TLS" = "yes"; then
32518                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32519 $as_echo_n "checking for __thread keyword... " >&6; }
32520 if ${wx_cv_cc___thread+:} false; then :
32521   $as_echo_n "(cached) " >&6
32522 else
32523
32524                   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32525 /* end confdefs.h.  */
32526 #include <pthread.h>
32527 int
32528 main ()
32529 {
32530
32531                           static __thread int n = 0;
32532                           static __thread int *p = 0;
32533
32534   ;
32535   return 0;
32536 }
32537 _ACEOF
32538 if ac_fn_c_try_compile "$LINENO"; then :
32539   wx_cv_cc___thread=yes
32540 else
32541   wx_cv_cc___thread=no
32542
32543 fi
32544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32545
32546
32547 fi
32548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32549 $as_echo "$wx_cv_cc___thread" >&6; }
32550
32551           if test "$wx_cv_cc___thread" = "yes"; then
32552
32553   GXX_VERSION=""
32554
32555
32556
32557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32558 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32559
32560   if  test "x$GCC" = "xyes" ; then :
32561
32562     if  test -z "" ; then :
32563
32564       ax_gcc_option_test="int main()
32565 {
32566         return 0;
32567 }"
32568
32569 else
32570
32571       ax_gcc_option_test=""
32572
32573 fi
32574
32575     # Dump the test program to file
32576     cat <<EOF > conftest.c
32577 $ax_gcc_option_test
32578 EOF
32579
32580     # Dump back the file to the log, useful for debugging purposes
32581     { ac_try='cat conftest.c 1>&5'
32582   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32583   (eval $ac_try) 2>&5
32584   ac_status=$?
32585   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32586   test $ac_status = 0; }; }
32587
32588     if  { ac_try='$CC  -dumpversion -c conftest.c 1>&5'
32589   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32590   (eval $ac_try) 2>&5
32591   ac_status=$?
32592   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32593   test $ac_status = 0; }; } ; then :
32594
32595                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32596 $as_echo "yes" >&6; }
32597
32598     ax_gcc_version_option=yes
32599
32600
32601 else
32602
32603                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32604 $as_echo "no" >&6; }
32605
32606     ax_gcc_version_option=no
32607
32608
32609 fi
32610
32611 else
32612
32613     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32614 $as_echo "no gcc available" >&6; }
32615
32616 fi
32617
32618   if test "x$GXX" = "xyes"; then :
32619
32620     if test "x$ax_gxx_version_option" != "no"; then :
32621
32622       { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32623 $as_echo_n "checking gxx version... " >&6; }
32624 if ${ax_cv_gxx_version+:} false; then :
32625   $as_echo_n "(cached) " >&6
32626 else
32627
32628         ax_cv_gxx_version="`$CXX -dumpversion`"
32629         if test "x$ax_cv_gxx_version" = "x"; then :
32630
32631           ax_cv_gxx_version=""
32632
32633 fi
32634
32635 fi
32636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32637 $as_echo "$ax_cv_gxx_version" >&6; }
32638       GXX_VERSION=$ax_cv_gxx_version
32639
32640 fi
32641
32642 fi
32643
32644
32645               if test -n "$ax_cv_gxx_version"; then
32646                                                                                                                                                                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32647 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32648                   case "$ax_cv_gxx_version" in
32649                     1.* | 2.* | 3.* )
32650                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32651 $as_echo "no, it's broken" >&6; }
32652                         wx_cv_cc___thread=no
32653                         ;;
32654                     *)
32655                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32656 $as_echo "yes, it works" >&6; }
32657                         ;;
32658                   esac
32659               fi
32660           fi
32661
32662           if test "$wx_cv_cc___thread" = "yes"; then
32663             $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32664
32665           fi
32666         fi
32667
32668         if test "$ac_cv_header_cxxabi_h" = "yes"; then
32669             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
32670 $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
32671 if ${wx_cv_type_abi_forced_unwind+:} false; then :
32672   $as_echo_n "(cached) " >&6
32673 else
32674
32675                     ac_ext=cpp
32676 ac_cpp='$CXXCPP $CPPFLAGS'
32677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32680
32681                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32682 /* end confdefs.h.  */
32683 #include <cxxabi.h>
32684 int
32685 main ()
32686 {
32687
32688                             void foo(abi::__forced_unwind&);
32689
32690   ;
32691   return 0;
32692 }
32693 _ACEOF
32694 if ac_fn_cxx_try_compile "$LINENO"; then :
32695   wx_cv_type_abi_forced_unwind=yes
32696 else
32697   wx_cv_type_abi_forced_unwind=no
32698
32699 fi
32700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32701                     ac_ext=c
32702 ac_cpp='$CPP $CPPFLAGS'
32703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32706
32707
32708
32709 fi
32710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
32711 $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
32712         else
32713             wx_cv_type_abi_forced_unwind=no
32714         fi
32715
32716         if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
32717             $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
32718
32719         fi
32720     fi
32721
32722 else
32723     if test "$wxUSE_THREADS" = "yes" ; then
32724       case "${host}" in
32725         x86_64-*-mingw32* )
32726         ;;
32727         *-*-mingw32* )
32728                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32729 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32730 if ${wx_cv_cflags_mthread+:} false; then :
32731   $as_echo_n "(cached) " >&6
32732 else
32733
32734                     CFLAGS_OLD="$CFLAGS"
32735                     CFLAGS="-mthreads $CFLAGS"
32736                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32737 /* end confdefs.h.  */
32738
32739 int
32740 main ()
32741 {
32742
32743   ;
32744   return 0;
32745 }
32746 _ACEOF
32747 if ac_fn_c_try_compile "$LINENO"; then :
32748   wx_cv_cflags_mthread=yes
32749 else
32750   wx_cv_cflags_mthread=no
32751
32752 fi
32753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32754
32755
32756 fi
32757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32758 $as_echo "$wx_cv_cflags_mthread" >&6; }
32759
32760             if test "$wx_cv_cflags_mthread" = "yes"; then
32761                                 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32762                 LDFLAGS="$LDFLAGS -mthreads"
32763             else
32764                                 CFLAGS="$CFLAGS_OLD"
32765             fi
32766         ;;
32767         *-pc-os2*emx )
32768             WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32769             LDFLAGS="$LDFLAGS -Zmt"
32770         ;;
32771       esac
32772     fi
32773 fi
32774
32775 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32776 if test "x$ac_cv_func_localtime_r" = xyes; then :
32777    $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32778
32779 fi
32780
32781 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32782 if test "x$ac_cv_func_gmtime_r" = xyes; then :
32783    $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32784
32785 fi
32786
32787
32788
32789
32790     ac_ext=c
32791 ac_cpp='$CPP $CPPFLAGS'
32792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32795
32796     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32797 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32798
32799     if ${ac_cv_func_which_gethostbyname_r+:} false; then :
32800   $as_echo_n "(cached) " >&6
32801 else
32802
32803
32804 ################################################################
32805
32806 ac_cv_func_which_gethostbyname_r=unknown
32807
32808 #
32809 # ONE ARGUMENT (sanity check)
32810 #
32811
32812 # This should fail, as there is no variant of gethostbyname_r() that takes
32813 # a single argument. If it actually compiles, then we can assume that
32814 # netdb.h is not declaring the function, and the compiler is thereby
32815 # assuming an implicit prototype. In which case, we're out of luck.
32816 #
32817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32818 /* end confdefs.h.  */
32819 #include <netdb.h>
32820 int
32821 main ()
32822 {
32823
32824             char *name = "www.gnu.org";
32825             (void)gethostbyname_r(name) /* ; */
32826
32827
32828   ;
32829   return 0;
32830 }
32831 _ACEOF
32832 if ac_fn_c_try_compile "$LINENO"; then :
32833   ac_cv_func_which_gethostbyname_r=no
32834
32835 fi
32836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32837
32838 #
32839 # SIX ARGUMENTS
32840 # (e.g. Linux)
32841 #
32842
32843 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32844
32845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32846 /* end confdefs.h.  */
32847 #include <netdb.h>
32848 int
32849 main ()
32850 {
32851
32852             char *name = "www.gnu.org";
32853             struct hostent ret, *retp;
32854             char buf[1024];
32855             int buflen = 1024;
32856             int my_h_errno;
32857             (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32858
32859
32860   ;
32861   return 0;
32862 }
32863 _ACEOF
32864 if ac_fn_c_try_compile "$LINENO"; then :
32865   ac_cv_func_which_gethostbyname_r=six
32866
32867 fi
32868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32869
32870 fi
32871
32872 #
32873 # FIVE ARGUMENTS
32874 # (e.g. Solaris)
32875 #
32876
32877 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32878
32879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32880 /* end confdefs.h.  */
32881 #include <netdb.h>
32882 int
32883 main ()
32884 {
32885
32886             char *name = "www.gnu.org";
32887             struct hostent ret;
32888             char buf[1024];
32889             int buflen = 1024;
32890             int my_h_errno;
32891             (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32892
32893
32894   ;
32895   return 0;
32896 }
32897 _ACEOF
32898 if ac_fn_c_try_compile "$LINENO"; then :
32899   ac_cv_func_which_gethostbyname_r=five
32900
32901 fi
32902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32903
32904 fi
32905
32906 #
32907 # THREE ARGUMENTS
32908 # (e.g. AIX, HP-UX, Tru64)
32909 #
32910
32911 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32912
32913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32914 /* end confdefs.h.  */
32915 #include <netdb.h>
32916 int
32917 main ()
32918 {
32919
32920             char *name = "www.gnu.org";
32921             struct hostent ret;
32922             struct hostent_data data;
32923             (void)gethostbyname_r(name, &ret, &data) /* ; */
32924
32925
32926   ;
32927   return 0;
32928 }
32929 _ACEOF
32930 if ac_fn_c_try_compile "$LINENO"; then :
32931   ac_cv_func_which_gethostbyname_r=three
32932
32933 fi
32934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32935
32936 fi
32937
32938 ################################################################
32939
32940
32941 fi
32942
32943 case "$ac_cv_func_which_gethostbyname_r" in
32944     three)
32945     { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32946 $as_echo "three" >&6; }
32947     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32948
32949     ;;
32950
32951     five)
32952     { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32953 $as_echo "five" >&6; }
32954     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32955
32956     ;;
32957
32958     six)
32959     { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32960 $as_echo "six" >&6; }
32961     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32962
32963     ;;
32964
32965     no)
32966     { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32967 $as_echo "cannot find function declaration in netdb.h" >&6; }
32968     ;;
32969
32970     unknown)
32971     { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32972 $as_echo "can't tell" >&6; }
32973     ;;
32974
32975     *)
32976     as_fn_error $? "internal error" "$LINENO" 5
32977     ;;
32978 esac
32979
32980 ac_ext=c
32981 ac_cpp='$CPP $CPPFLAGS'
32982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32985
32986
32987
32988       if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32989               "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32990           ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32991 if test "x$ac_cv_func_gethostbyname" = xyes; then :
32992    $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32993
32994 fi
32995
32996       fi
32997
32998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32999 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
33000 if ${ac_cv_func_which_getservbyname_r+:} false; then :
33001   $as_echo_n "(cached) " >&6
33002 else
33003
33004                 ac_ext=cpp
33005 ac_cpp='$CXXCPP $CPPFLAGS'
33006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33009
33010
33011         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33012 /* end confdefs.h.  */
33013 #include <netdb.h>
33014 int
33015 main ()
33016 {
33017
33018                 char *name;
33019                 char *proto;
33020                 struct servent *se, *res;
33021                 char buffer[2048];
33022                 int buflen = 2048;
33023                 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
33024
33025   ;
33026   return 0;
33027 }
33028 _ACEOF
33029 if ac_fn_cxx_try_compile "$LINENO"; then :
33030   ac_cv_func_which_getservbyname_r=six
33031 else
33032
33033                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33034 /* end confdefs.h.  */
33035 #include <netdb.h>
33036 int
33037 main ()
33038 {
33039
33040                         char *name;
33041                         char *proto;
33042                         struct servent *se;
33043                         char buffer[2048];
33044                         int buflen = 2048;
33045                         (void) getservbyname_r(name, proto, se, buffer, buflen)
33046
33047   ;
33048   return 0;
33049 }
33050 _ACEOF
33051 if ac_fn_cxx_try_compile "$LINENO"; then :
33052   ac_cv_func_which_getservbyname_r=five
33053 else
33054
33055                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33056 /* end confdefs.h.  */
33057 #include <netdb.h>
33058 int
33059 main ()
33060 {
33061
33062                                 char *name;
33063                                 char *proto;
33064                                 struct servent *se;
33065                                 struct servent_data data;
33066                                 (void) getservbyname_r(name, proto, se, &data);
33067
33068   ;
33069   return 0;
33070 }
33071 _ACEOF
33072 if ac_fn_cxx_try_compile "$LINENO"; then :
33073   ac_cv_func_which_getservbyname_r=four
33074 else
33075   ac_cv_func_which_getservbyname_r=no
33076
33077 fi
33078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33079
33080
33081 fi
33082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33083
33084
33085 fi
33086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33087         ac_ext=c
33088 ac_cpp='$CPP $CPPFLAGS'
33089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33092
33093
33094
33095 fi
33096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
33097 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
33098
33099 if test $ac_cv_func_which_getservbyname_r = six; then
33100   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
33101
33102 elif test $ac_cv_func_which_getservbyname_r = five; then
33103   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
33104
33105 elif test $ac_cv_func_which_getservbyname_r = four; then
33106   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
33107
33108 fi
33109
33110
33111       if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
33112               "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
33113           for ac_func in getservbyname
33114 do :
33115   ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
33116 if test "x$ac_cv_func_getservbyname" = xyes; then :
33117   cat >>confdefs.h <<_ACEOF
33118 #define HAVE_GETSERVBYNAME 1
33119 _ACEOF
33120   $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
33121
33122 fi
33123 done
33124
33125       fi
33126
33127 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
33128
33129
33130 if test "$wxUSE_THREADS" = "yes"; then
33131   $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
33132
33133
33134   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33135 else
33136       if test "$wx_cv_func_strtok_r" = "yes"; then
33137     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
33138 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
33139     if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33140         WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
33141         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33142 $as_echo "yes" >&6; }
33143     else
33144         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33145 $as_echo "no" >&6; }
33146     fi
33147   fi
33148 fi
33149
33150 if test "$WXGTK3" = 1 ; then
33151     cat >>confdefs.h <<_ACEOF
33152 #define __WXGTK3__ 1
33153 _ACEOF
33154
33155     WXGTK2=1
33156 fi
33157 if test "$WXGTK2" = 1 ; then
33158   cat >>confdefs.h <<_ACEOF
33159 #define __WXGTK20__ $WXGTK2
33160 _ACEOF
33161
33162 fi
33163
33164 if test "$WXGTK127" = 1 ; then
33165   cat >>confdefs.h <<_ACEOF
33166 #define __WXGTK127__ $WXGTK127
33167 _ACEOF
33168
33169 fi
33170
33171 if test "$WXGPE" = 1 ; then
33172   cat >>confdefs.h <<_ACEOF
33173 #define __WXGPE__ $WXGPE
33174 _ACEOF
33175
33176 fi
33177
33178 DEBUG_CFLAGS=
33179 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
33180                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
33181 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
33182 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
33183     DEBUG_CFLAGS="-g"
33184 fi
33185
33186 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33187     wxUSE_DEBUG_INFO=yes
33188     if test "$GCC" = yes; then
33189         DEBUG_CFLAGS="-ggdb"
33190     fi
33191 fi
33192
33193 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
33194     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
33195
33196     if test "$wxUSE_GTK" = 1 ; then
33197         if test "$WXGTK2" = 1 ; then
33198             CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
33199         else
33200             CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
33201         fi
33202     fi
33203 fi
33204
33205 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33206     $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
33207
33208     $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
33209
33210     $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
33211
33212     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33213 fi
33214
33215 if test "$wxUSE_DMALLOC" = "yes" ; then
33216     DMALLOC_LIBS="-ldmallocthcxx"
33217 fi
33218
33219 PROFILE_FLAGS=
33220 if test "$wxUSE_PROFILE" = "yes" ; then
33221     PROFILE_FLAGS=" -pg"
33222 fi
33223
33224 if test "$GCC" = "yes" ; then
33225     if test "$wxUSE_NO_RTTI" = "yes" ; then
33226                                 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
33227     fi
33228     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33229         WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
33230     fi
33231     if test "$wxUSE_PERMISSIVE" = "yes" ; then
33232         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
33233     fi
33234
33235                                                 case "${host}" in
33236       powerpc*-*-aix* )
33237         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
33238         ;;
33239       *-hppa* )
33240         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
33241         ;;
33242     esac
33243 fi
33244
33245 OPTIMISE_CFLAGS=
33246 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
33247                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
33248 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
33249 else
33250     if test "$wxUSE_OPTIMISE" = "no" ; then
33251         if test "$GCC" = yes ; then
33252                                     OPTIMISE_CFLAGS="-O0"
33253         fi
33254     else
33255         if test "$GCC" = yes ; then
33256             case "${host}" in
33257                 *-pc-os2_emx | *-pc-os2-emx )
33258                                                             OPTIMISE_CFLAGS="-O2"
33259                 ;;
33260                 *)
33261                                                                                 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
33262                 ;;
33263             esac
33264         else
33265             OPTIMISE_CFLAGS="-O"
33266         fi
33267     fi
33268 fi
33269
33270
33271 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
33272     $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
33273
33274
33275     WXWIN_COMPATIBILITY_2_8="yes"
33276 fi
33277
33278 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
33279     $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
33280
33281 fi
33282
33283
33284 if test "$wxUSE_GUI" = "yes"; then
33285     $as_echo "#define wxUSE_GUI 1" >>confdefs.h
33286
33287
33288                                             fi
33289
33290
33291 if test "$wxUSE_UNIX" = "yes"; then
33292   $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
33293
33294 fi
33295
33296
33297 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33298
33299     HAVE_DL_FUNCS=0
33300     HAVE_SHL_FUNCS=0
33301     if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33302         if test "$USE_DOS" = 1; then
33303             HAVE_DL_FUNCS=0
33304         else
33305                                                 for ac_func in dlopen
33306 do :
33307   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
33308 if test "x$ac_cv_func_dlopen" = xyes; then :
33309   cat >>confdefs.h <<_ACEOF
33310 #define HAVE_DLOPEN 1
33311 _ACEOF
33312
33313                 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33314
33315                 HAVE_DL_FUNCS=1
33316
33317 else
33318
33319                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33320 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33321 if ${ac_cv_lib_dl_dlopen+:} false; then :
33322   $as_echo_n "(cached) " >&6
33323 else
33324   ac_check_lib_save_LIBS=$LIBS
33325 LIBS="-ldl  $LIBS"
33326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33327 /* end confdefs.h.  */
33328
33329 /* Override any GCC internal prototype to avoid an error.
33330    Use char because int might match the return type of a GCC
33331    builtin and then its argument prototype would still apply.  */
33332 #ifdef __cplusplus
33333 extern "C"
33334 #endif
33335 char dlopen ();
33336 int
33337 main ()
33338 {
33339 return dlopen ();
33340   ;
33341   return 0;
33342 }
33343 _ACEOF
33344 if ac_fn_c_try_link "$LINENO"; then :
33345   ac_cv_lib_dl_dlopen=yes
33346 else
33347   ac_cv_lib_dl_dlopen=no
33348 fi
33349 rm -f core conftest.err conftest.$ac_objext \
33350     conftest$ac_exeext conftest.$ac_ext
33351 LIBS=$ac_check_lib_save_LIBS
33352 fi
33353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33354 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33355 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
33356
33357                                 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33358
33359                                 HAVE_DL_FUNCS=1
33360                                 DL_LINK=" -ldl$DL_LINK"
33361
33362 else
33363
33364                                 for ac_func in shl_load
33365 do :
33366   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
33367 if test "x$ac_cv_func_shl_load" = xyes; then :
33368   cat >>confdefs.h <<_ACEOF
33369 #define HAVE_SHL_LOAD 1
33370 _ACEOF
33371
33372                                                 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33373
33374                                                 HAVE_SHL_FUNCS=1
33375
33376 else
33377
33378                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33379 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33380 if ${ac_cv_lib_shl_load_dld+:} false; then :
33381   $as_echo_n "(cached) " >&6
33382 else
33383   ac_check_lib_save_LIBS=$LIBS
33384 LIBS="-lshl_load  $LIBS"
33385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33386 /* end confdefs.h.  */
33387
33388 /* Override any GCC internal prototype to avoid an error.
33389    Use char because int might match the return type of a GCC
33390    builtin and then its argument prototype would still apply.  */
33391 #ifdef __cplusplus
33392 extern "C"
33393 #endif
33394 char dld ();
33395 int
33396 main ()
33397 {
33398 return dld ();
33399   ;
33400   return 0;
33401 }
33402 _ACEOF
33403 if ac_fn_c_try_link "$LINENO"; then :
33404   ac_cv_lib_shl_load_dld=yes
33405 else
33406   ac_cv_lib_shl_load_dld=no
33407 fi
33408 rm -f core conftest.err conftest.$ac_objext \
33409     conftest$ac_exeext conftest.$ac_ext
33410 LIBS=$ac_check_lib_save_LIBS
33411 fi
33412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33413 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33414 if test "x$ac_cv_lib_shl_load_dld" = xyes; then :
33415
33416                                                                 HAVE_SHL_FUNCS=1
33417                                                                 DL_LINK=" -ldld$DL_LINK"
33418
33419 fi
33420
33421
33422 fi
33423 done
33424
33425
33426 fi
33427
33428
33429 fi
33430 done
33431
33432
33433                         if test "$HAVE_DL_FUNCS" = 1; then
33434                 for ac_func in dlerror
33435 do :
33436   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
33437 if test "x$ac_cv_func_dlerror" = xyes; then :
33438   cat >>confdefs.h <<_ACEOF
33439 #define HAVE_DLERROR 1
33440 _ACEOF
33441  $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33442
33443 else
33444
33445                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33446 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33447 if ${ac_cv_lib_dl_dlerror+:} false; then :
33448   $as_echo_n "(cached) " >&6
33449 else
33450   ac_check_lib_save_LIBS=$LIBS
33451 LIBS="-ldl  $LIBS"
33452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33453 /* end confdefs.h.  */
33454
33455 /* Override any GCC internal prototype to avoid an error.
33456    Use char because int might match the return type of a GCC
33457    builtin and then its argument prototype would still apply.  */
33458 #ifdef __cplusplus
33459 extern "C"
33460 #endif
33461 char dlerror ();
33462 int
33463 main ()
33464 {
33465 return dlerror ();
33466   ;
33467   return 0;
33468 }
33469 _ACEOF
33470 if ac_fn_c_try_link "$LINENO"; then :
33471   ac_cv_lib_dl_dlerror=yes
33472 else
33473   ac_cv_lib_dl_dlerror=no
33474 fi
33475 rm -f core conftest.err conftest.$ac_objext \
33476     conftest$ac_exeext conftest.$ac_ext
33477 LIBS=$ac_check_lib_save_LIBS
33478 fi
33479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33480 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33481 if test "x$ac_cv_lib_dl_dlerror" = xyes; then :
33482   $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33483
33484 fi
33485
33486
33487
33488 fi
33489 done
33490
33491             fi
33492         fi
33493
33494                 if test "$USE_DARWIN" = 1; then
33495                         HAVE_DL_FUNCS=1
33496         fi
33497
33498         if test "$HAVE_DL_FUNCS" = 0; then
33499             if test "$HAVE_SHL_FUNCS" = 0; then
33500               if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33501                   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33502 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33503                   wxUSE_DYNAMIC_LOADER=no
33504                   wxUSE_DYNLIB_CLASS=no
33505               else
33506                   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33507 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33508               fi
33509             fi
33510         fi
33511     fi
33512 fi
33513
33514 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33515     $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33516
33517 fi
33518 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33519     $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33520
33521 fi
33522
33523
33524
33525 if test "$wxUSE_PLUGINS" = "yes" ; then
33526     if test "$wxUSE_SHARED" = "no" ; then
33527         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33528 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33529         wxUSE_PLUGINS=no
33530     fi
33531     if test "$wxUSE_MONOLITHIC" = "yes" ; then
33532         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33533 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33534         wxUSE_PLUGINS=no
33535     fi
33536     if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33537         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33538 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33539         wxUSE_PLUGINS=no
33540     fi
33541     if test "$wxUSE_PLUGINS" = "yes" ; then
33542         $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33543
33544     fi
33545 fi
33546
33547
33548 if test "$wxUSE_FSWATCHER" = "yes"; then
33549                 if test "$wxUSE_MSW" != "1"; then
33550         if test "$wxUSE_UNIX" = "yes"; then
33551             for ac_header in sys/inotify.h
33552 do :
33553   ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33554 "
33555 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
33556   cat >>confdefs.h <<_ACEOF
33557 #define HAVE_SYS_INOTIFY_H 1
33558 _ACEOF
33559
33560 fi
33561
33562 done
33563
33564             if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33565                 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33566
33567             else
33568                 for ac_header in sys/event.h
33569 do :
33570   ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33571 "
33572 if test "x$ac_cv_header_sys_event_h" = xyes; then :
33573   cat >>confdefs.h <<_ACEOF
33574 #define HAVE_SYS_EVENT_H 1
33575 _ACEOF
33576
33577 fi
33578
33579 done
33580
33581                 if test "$ac_cv_header_sys_event_h" = "yes"; then
33582                     $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33583
33584                 else
33585                     wxUSE_FSWATCHER=no
33586                 fi
33587             fi
33588         else
33589             wxUSE_FSWATCHER=no
33590         fi
33591     else
33592         if test "$wxUSE_THREADS" != "yes"; then
33593             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33594 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33595             wxUSE_FSWATCHER=no
33596         fi
33597     fi
33598
33599     if test "$wxUSE_FSWATCHER" = "yes"; then
33600         $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33601
33602         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33603     else
33604         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33605 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33606     fi
33607 fi
33608
33609
33610 if test "$wxUSE_STL" = "yes"; then
33611   $as_echo "#define wxUSE_STL 1" >>confdefs.h
33612
33613 fi
33614
33615 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33616   $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33617
33618 fi
33619
33620 if test "$wxUSE_ANY" = "yes"; then
33621     $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33622
33623 fi
33624
33625 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33626   $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33627
33628 fi
33629
33630 if test "$wxUSE_TIMER" = "yes"; then
33631   $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33632
33633 fi
33634
33635 if test "$USE_UNIX" = 1 ; then
33636                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33637 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33638 if ${ac_cv_header_sys_soundcard+:} false; then :
33639   $as_echo_n "(cached) " >&6
33640 else
33641
33642         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33643 /* end confdefs.h.  */
33644
33645                 #include <sys/ioctl.h>
33646                 #include <sys/soundcard.h>
33647
33648 int
33649 main ()
33650 {
33651
33652                 ioctl(0, SNDCTL_DSP_SPEED, 0);
33653
33654   ;
33655   return 0;
33656 }
33657 _ACEOF
33658 if ac_fn_c_try_link "$LINENO"; then :
33659   ac_cv_header_sys_soundcard=yes
33660 else
33661
33662                 saveLibs="$LIBS"
33663                 LIBS="$saveLibs -lossaudio"
33664                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33665 /* end confdefs.h.  */
33666
33667                         #include <sys/ioctl.h>
33668                         #include <sys/soundcard.h>
33669
33670 int
33671 main ()
33672 {
33673
33674                         ioctl(0, SNDCTL_DSP_SPEED, 0);
33675
33676   ;
33677   return 0;
33678 }
33679 _ACEOF
33680 if ac_fn_c_try_link "$LINENO"; then :
33681   ac_cv_header_sys_soundcard=yes
33682 else
33683
33684                         LIBS="$saveLibs"
33685                         ac_cv_header_sys_soundcard=no
33686
33687
33688 fi
33689 rm -f core conftest.err conftest.$ac_objext \
33690     conftest$ac_exeext conftest.$ac_ext
33691
33692
33693 fi
33694 rm -f core conftest.err conftest.$ac_objext \
33695     conftest$ac_exeext conftest.$ac_ext
33696
33697 fi
33698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33699 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33700
33701     if test "$ac_cv_header_sys_soundcard" = "yes"; then
33702         $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33703
33704     fi
33705 fi
33706
33707 WITH_PLUGIN_SDL=0
33708 if test "$wxUSE_SOUND" = "yes"; then
33709   if test "$USE_UNIX" = 1 ; then
33710     if test "$wxUSE_LIBSDL" != "no"; then
33711
33712 # Check whether --with-sdl-prefix was given.
33713 if test "${with_sdl_prefix+set}" = set; then :
33714   withval=$with_sdl_prefix; sdl_prefix="$withval"
33715 else
33716   sdl_prefix=""
33717 fi
33718
33719
33720 # Check whether --with-sdl-exec-prefix was given.
33721 if test "${with_sdl_exec_prefix+set}" = set; then :
33722   withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33723 else
33724   sdl_exec_prefix=""
33725 fi
33726
33727 # Check whether --enable-sdltest was given.
33728 if test "${enable_sdltest+set}" = set; then :
33729   enableval=$enable_sdltest;
33730 else
33731   enable_sdltest=yes
33732 fi
33733
33734
33735   if test x$sdl_exec_prefix != x ; then
33736     sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33737     if test x${SDL_CONFIG+set} != xset ; then
33738       SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33739     fi
33740   fi
33741   if test x$sdl_prefix != x ; then
33742     sdl_args="$sdl_args --prefix=$sdl_prefix"
33743     if test x${SDL_CONFIG+set} != xset ; then
33744       SDL_CONFIG=$sdl_prefix/bin/sdl-config
33745     fi
33746   fi
33747
33748   if test "x$prefix" != xNONE; then
33749     PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33750   fi
33751   # Extract the first word of "sdl-config", so it can be a program name with args.
33752 set dummy sdl-config; ac_word=$2
33753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33754 $as_echo_n "checking for $ac_word... " >&6; }
33755 if ${ac_cv_path_SDL_CONFIG+:} false; then :
33756   $as_echo_n "(cached) " >&6
33757 else
33758   case $SDL_CONFIG in
33759   [\\/]* | ?:[\\/]*)
33760   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33761   ;;
33762   *)
33763   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33764 for as_dir in $PATH
33765 do
33766   IFS=$as_save_IFS
33767   test -z "$as_dir" && as_dir=.
33768     for ac_exec_ext in '' $ac_executable_extensions; do
33769   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33770     ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33771     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33772     break 2
33773   fi
33774 done
33775   done
33776 IFS=$as_save_IFS
33777
33778   test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33779   ;;
33780 esac
33781 fi
33782 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33783 if test -n "$SDL_CONFIG"; then
33784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33785 $as_echo "$SDL_CONFIG" >&6; }
33786 else
33787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33788 $as_echo "no" >&6; }
33789 fi
33790
33791
33792   min_sdl_version=1.2.0
33793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33794 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33795   no_sdl=""
33796   if test "$SDL_CONFIG" = "no" ; then
33797     no_sdl=yes
33798   else
33799     SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33800     SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33801
33802     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33803            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33804     sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33805            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33806     sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33807            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33808     if test "x$enable_sdltest" = "xyes" ; then
33809       ac_save_CFLAGS="$CFLAGS"
33810       ac_save_CXXFLAGS="$CXXFLAGS"
33811       ac_save_LIBS="$LIBS"
33812       CFLAGS="$CFLAGS $SDL_CFLAGS"
33813       CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33814       LIBS="$LIBS $SDL_LIBS"
33815       rm -f conf.sdltest
33816       if test "$cross_compiling" = yes; then :
33817   echo $ac_n "cross compiling; assumed OK... $ac_c"
33818 else
33819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33820 /* end confdefs.h.  */
33821
33822 #include <stdio.h>
33823 #include <stdlib.h>
33824 #include <string.h>
33825 #include "SDL.h"
33826
33827 char*
33828 my_strdup (char *str)
33829 {
33830   char *new_str;
33831
33832   if (str)
33833     {
33834       new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33835       strcpy (new_str, str);
33836     }
33837   else
33838     new_str = NULL;
33839
33840   return new_str;
33841 }
33842
33843 int main (int argc, char *argv[])
33844 {
33845   int major, minor, micro;
33846   char *tmp_version;
33847
33848   /* This hangs on some systems (?)
33849   system ("touch conf.sdltest");
33850   */
33851   { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33852
33853   /* HP/UX 9 (%@#!) writes to sscanf strings */
33854   tmp_version = my_strdup("$min_sdl_version");
33855   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33856      printf("%s, bad version string\n", "$min_sdl_version");
33857      exit(1);
33858    }
33859
33860    if (($sdl_major_version > major) ||
33861       (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33862       (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33863     {
33864       return 0;
33865     }
33866   else
33867     {
33868       printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33869       printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33870       printf("*** best to upgrade to the required version.\n");
33871       printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33872       printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33873       printf("*** config.cache before re-running configure\n");
33874       return 1;
33875     }
33876 }
33877
33878
33879 _ACEOF
33880 if ac_fn_c_try_run "$LINENO"; then :
33881
33882 else
33883   no_sdl=yes
33884 fi
33885 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33886   conftest.$ac_objext conftest.beam conftest.$ac_ext
33887 fi
33888
33889        CFLAGS="$ac_save_CFLAGS"
33890        CXXFLAGS="$ac_save_CXXFLAGS"
33891        LIBS="$ac_save_LIBS"
33892      fi
33893   fi
33894   if test "x$no_sdl" = x ; then
33895      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33896 $as_echo "yes" >&6; }
33897
33898                     EXTRALIBS_SDL="$SDL_LIBS"
33899                     CFLAGS="$SDL_CFLAGS $CFLAGS"
33900                     CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33901                     $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33902
33903
33904   else
33905      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33906 $as_echo "no" >&6; }
33907      if test "$SDL_CONFIG" = "no" ; then
33908        echo "*** The sdl-config script installed by SDL could not be found"
33909        echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33910        echo "*** your path, or set the SDL_CONFIG environment variable to the"
33911        echo "*** full path to sdl-config."
33912      else
33913        if test -f conf.sdltest ; then
33914         :
33915        else
33916           echo "*** Could not run SDL test program, checking why..."
33917           CFLAGS="$CFLAGS $SDL_CFLAGS"
33918           CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33919           LIBS="$LIBS $SDL_LIBS"
33920           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33921 /* end confdefs.h.  */
33922
33923 #include <stdio.h>
33924 #include "SDL.h"
33925
33926 int main(int argc, char *argv[])
33927 { return 0; }
33928 #undef  main
33929 #define main K_and_R_C_main
33930
33931 int
33932 main ()
33933 {
33934  return 0;
33935   ;
33936   return 0;
33937 }
33938 _ACEOF
33939 if ac_fn_c_try_link "$LINENO"; then :
33940    echo "*** The test program compiled, but did not run. This usually means"
33941           echo "*** that the run-time linker is not finding SDL or finding the wrong"
33942           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33943           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33944           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
33945           echo "*** is required on your system"
33946           echo "***"
33947           echo "*** If you have an old version installed, it is best to remove it, although"
33948           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33949 else
33950    echo "*** The test program failed to compile or link. See the file config.log for the"
33951           echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33952           echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33953           echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33954 fi
33955 rm -f core conftest.err conftest.$ac_objext \
33956     conftest$ac_exeext conftest.$ac_ext
33957           CFLAGS="$ac_save_CFLAGS"
33958           CXXFLAGS="$ac_save_CXXFLAGS"
33959           LIBS="$ac_save_LIBS"
33960        fi
33961      fi
33962      SDL_CFLAGS=""
33963      SDL_LIBS=""
33964      wxUSE_LIBSDL="no"
33965   fi
33966
33967
33968   rm -f conf.sdltest
33969
33970       if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33971         WITH_PLUGIN_SDL=1
33972       fi
33973     fi
33974   fi
33975 fi
33976
33977 if test "$wxUSE_SOUND" = "yes"; then
33978   $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33979
33980   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33981 fi
33982
33983 if test "$WXGTK2" = 1; then
33984
33985
33986 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33987         if test -n "$ac_tool_prefix"; then
33988   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33989 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33991 $as_echo_n "checking for $ac_word... " >&6; }
33992 if ${ac_cv_path_PKG_CONFIG+:} false; then :
33993   $as_echo_n "(cached) " >&6
33994 else
33995   case $PKG_CONFIG in
33996   [\\/]* | ?:[\\/]*)
33997   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33998   ;;
33999   *)
34000   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34001 for as_dir in $PATH
34002 do
34003   IFS=$as_save_IFS
34004   test -z "$as_dir" && as_dir=.
34005     for ac_exec_ext in '' $ac_executable_extensions; do
34006   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34007     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34008     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34009     break 2
34010   fi
34011 done
34012   done
34013 IFS=$as_save_IFS
34014
34015   ;;
34016 esac
34017 fi
34018 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
34019 if test -n "$PKG_CONFIG"; then
34020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
34021 $as_echo "$PKG_CONFIG" >&6; }
34022 else
34023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34024 $as_echo "no" >&6; }
34025 fi
34026
34027
34028 fi
34029 if test -z "$ac_cv_path_PKG_CONFIG"; then
34030   ac_pt_PKG_CONFIG=$PKG_CONFIG
34031   # Extract the first word of "pkg-config", so it can be a program name with args.
34032 set dummy pkg-config; ac_word=$2
34033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34034 $as_echo_n "checking for $ac_word... " >&6; }
34035 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
34036   $as_echo_n "(cached) " >&6
34037 else
34038   case $ac_pt_PKG_CONFIG in
34039   [\\/]* | ?:[\\/]*)
34040   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34041   ;;
34042   *)
34043   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34044 for as_dir in $PATH
34045 do
34046   IFS=$as_save_IFS
34047   test -z "$as_dir" && as_dir=.
34048     for ac_exec_ext in '' $ac_executable_extensions; do
34049   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34050     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34051     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34052     break 2
34053   fi
34054 done
34055   done
34056 IFS=$as_save_IFS
34057
34058   ;;
34059 esac
34060 fi
34061 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
34062 if test -n "$ac_pt_PKG_CONFIG"; then
34063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
34064 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
34065 else
34066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34067 $as_echo "no" >&6; }
34068 fi
34069
34070   if test "x$ac_pt_PKG_CONFIG" = x; then
34071     PKG_CONFIG=""
34072   else
34073     case $cross_compiling:$ac_tool_warned in
34074 yes:)
34075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
34076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
34077 ac_tool_warned=yes ;;
34078 esac
34079     PKG_CONFIG=$ac_pt_PKG_CONFIG
34080   fi
34081 else
34082   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
34083 fi
34084
34085 fi
34086 if test -n "$PKG_CONFIG"; then
34087         _pkg_min_version=0.9.0
34088         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
34089 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
34090         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34091                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34092 $as_echo "yes" >&6; }
34093         else
34094                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34095 $as_echo "no" >&6; }
34096                 PKG_CONFIG=""
34097         fi
34098
34099 fi
34100
34101     if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34102
34103         if test "$wxUSE_GTKPRINT" = "yes" ; then
34104             if test "$WXGTK3" = 1; then
34105                 gtk_unix_print="gtk+-unix-print-3.0"
34106             else
34107                 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
34108             fi
34109
34110 pkg_failed=no
34111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
34112 $as_echo_n "checking for GTKPRINT... " >&6; }
34113
34114 if test -n "$PKG_CONFIG"; then
34115     if test -n "$GTKPRINT_CFLAGS"; then
34116         pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
34117     else
34118         if test -n "$PKG_CONFIG" && \
34119     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34120   ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34121   ac_status=$?
34122   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34123   test $ac_status = 0; }; then
34124   pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
34125 else
34126   pkg_failed=yes
34127 fi
34128     fi
34129 else
34130         pkg_failed=untried
34131 fi
34132 if test -n "$PKG_CONFIG"; then
34133     if test -n "$GTKPRINT_LIBS"; then
34134         pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
34135     else
34136         if test -n "$PKG_CONFIG" && \
34137     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34138   ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34139   ac_status=$?
34140   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34141   test $ac_status = 0; }; then
34142   pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
34143 else
34144   pkg_failed=yes
34145 fi
34146     fi
34147 else
34148         pkg_failed=untried
34149 fi
34150
34151
34152
34153 if test $pkg_failed = yes; then
34154
34155 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34156         _pkg_short_errors_supported=yes
34157 else
34158         _pkg_short_errors_supported=no
34159 fi
34160         if test $_pkg_short_errors_supported = yes; then
34161                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
34162         else
34163                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
34164         fi
34165         # Put the nasty error message in config.log where it belongs
34166         echo "$GTKPRINT_PKG_ERRORS" >&5
34167
34168
34169                         { $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
34170 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34171                         wxUSE_GTKPRINT="no"
34172
34173
34174 elif test $pkg_failed = untried; then
34175
34176                         { $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
34177 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34178                         wxUSE_GTKPRINT="no"
34179
34180
34181 else
34182         GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
34183         GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
34184         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34185 $as_echo "yes" >&6; }
34186
34187                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
34188                         CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
34189                         CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
34190                         $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
34191
34192
34193 fi
34194         fi
34195
34196         if test "$WXGTK3" = 1; then
34197             wxUSE_LIBGNOMEPRINT=no
34198         fi
34199
34200         if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34201
34202
34203 pkg_failed=no
34204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
34205 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
34206
34207 if test -n "$PKG_CONFIG"; then
34208     if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
34209         pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
34210     else
34211         if test -n "$PKG_CONFIG" && \
34212     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34213   ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34214   ac_status=$?
34215   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34216   test $ac_status = 0; }; then
34217   pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34218 else
34219   pkg_failed=yes
34220 fi
34221     fi
34222 else
34223         pkg_failed=untried
34224 fi
34225 if test -n "$PKG_CONFIG"; then
34226     if test -n "$LIBGNOMEPRINTUI_LIBS"; then
34227         pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
34228     else
34229         if test -n "$PKG_CONFIG" && \
34230     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34231   ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34232   ac_status=$?
34233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34234   test $ac_status = 0; }; then
34235   pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34236 else
34237   pkg_failed=yes
34238 fi
34239     fi
34240 else
34241         pkg_failed=untried
34242 fi
34243
34244
34245
34246 if test $pkg_failed = yes; then
34247
34248 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34249         _pkg_short_errors_supported=yes
34250 else
34251         _pkg_short_errors_supported=no
34252 fi
34253         if test $_pkg_short_errors_supported = yes; then
34254                 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34255         else
34256                 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34257         fi
34258         # Put the nasty error message in config.log where it belongs
34259         echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
34260
34261
34262                         if test "$wxUSE_GTKPRINT" = yes; then
34263                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34264 $as_echo "no" >&6; }
34265                         else
34266                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34267 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34268                         fi
34269                         wxUSE_LIBGNOMEPRINT="no"
34270
34271
34272 elif test $pkg_failed = untried; then
34273
34274                         if test "$wxUSE_GTKPRINT" = yes; then
34275                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34276 $as_echo "no" >&6; }
34277                         else
34278                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34279 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34280                         fi
34281                         wxUSE_LIBGNOMEPRINT="no"
34282
34283
34284 else
34285         LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
34286         LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
34287         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34288 $as_echo "yes" >&6; }
34289
34290                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
34291                         CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
34292                         CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
34293                         $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
34294
34295
34296 fi
34297         fi
34298     fi
34299
34300     if test "$wxUSE_MIMETYPE" = "yes" ; then
34301         if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34302
34303
34304 pkg_failed=no
34305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34306 $as_echo_n "checking for GNOMEVFS... " >&6; }
34307
34308 if test -n "$PKG_CONFIG"; then
34309     if test -n "$GNOMEVFS_CFLAGS"; then
34310         pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
34311     else
34312         if test -n "$PKG_CONFIG" && \
34313     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34314   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34315   ac_status=$?
34316   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34317   test $ac_status = 0; }; then
34318   pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34319 else
34320   pkg_failed=yes
34321 fi
34322     fi
34323 else
34324         pkg_failed=untried
34325 fi
34326 if test -n "$PKG_CONFIG"; then
34327     if test -n "$GNOMEVFS_LIBS"; then
34328         pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
34329     else
34330         if test -n "$PKG_CONFIG" && \
34331     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34332   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34333   ac_status=$?
34334   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34335   test $ac_status = 0; }; then
34336   pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34337 else
34338   pkg_failed=yes
34339 fi
34340     fi
34341 else
34342         pkg_failed=untried
34343 fi
34344
34345
34346
34347 if test $pkg_failed = yes; then
34348
34349 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34350         _pkg_short_errors_supported=yes
34351 else
34352         _pkg_short_errors_supported=no
34353 fi
34354         if test $_pkg_short_errors_supported = yes; then
34355                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34356         else
34357                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34358         fi
34359         # Put the nasty error message in config.log where it belongs
34360         echo "$GNOMEVFS_PKG_ERRORS" >&5
34361
34362
34363                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34364 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34365                         wxUSE_LIBGNOMEVFS="no"
34366
34367
34368 elif test $pkg_failed = untried; then
34369
34370                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34371 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34372                         wxUSE_LIBGNOMEVFS="no"
34373
34374
34375 else
34376         GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
34377         GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
34378         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34379 $as_echo "yes" >&6; }
34380
34381                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34382                         CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
34383                         CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
34384                         $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34385
34386
34387 fi
34388         fi
34389     fi
34390
34391     if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34392         if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34393             HAVE_LIBNOTIFY=0
34394
34395 pkg_failed=no
34396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34397 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34398
34399 if test -n "$PKG_CONFIG"; then
34400     if test -n "$LIBNOTIFY_CFLAGS"; then
34401         pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34402     else
34403         if test -n "$PKG_CONFIG" && \
34404     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34405   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34406   ac_status=$?
34407   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34408   test $ac_status = 0; }; then
34409   pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34410 else
34411   pkg_failed=yes
34412 fi
34413     fi
34414 else
34415         pkg_failed=untried
34416 fi
34417 if test -n "$PKG_CONFIG"; then
34418     if test -n "$LIBNOTIFY_LIBS"; then
34419         pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34420     else
34421         if test -n "$PKG_CONFIG" && \
34422     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34423   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34424   ac_status=$?
34425   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34426   test $ac_status = 0; }; then
34427   pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34428 else
34429   pkg_failed=yes
34430 fi
34431     fi
34432 else
34433         pkg_failed=untried
34434 fi
34435
34436
34437
34438 if test $pkg_failed = yes; then
34439
34440 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34441         _pkg_short_errors_supported=yes
34442 else
34443         _pkg_short_errors_supported=no
34444 fi
34445         if test $_pkg_short_errors_supported = yes; then
34446                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34447         else
34448                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34449         fi
34450         # Put the nasty error message in config.log where it belongs
34451         echo "$LIBNOTIFY_PKG_ERRORS" >&5
34452
34453
34454
34455 pkg_failed=no
34456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34457 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34458
34459 if test -n "$PKG_CONFIG"; then
34460     if test -n "$LIBNOTIFY_CFLAGS"; then
34461         pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34462     else
34463         if test -n "$PKG_CONFIG" && \
34464     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34465   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34466   ac_status=$?
34467   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34468   test $ac_status = 0; }; then
34469   pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34470 else
34471   pkg_failed=yes
34472 fi
34473     fi
34474 else
34475         pkg_failed=untried
34476 fi
34477 if test -n "$PKG_CONFIG"; then
34478     if test -n "$LIBNOTIFY_LIBS"; then
34479         pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34480     else
34481         if test -n "$PKG_CONFIG" && \
34482     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34483   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34484   ac_status=$?
34485   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34486   test $ac_status = 0; }; then
34487   pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34488 else
34489   pkg_failed=yes
34490 fi
34491     fi
34492 else
34493         pkg_failed=untried
34494 fi
34495
34496
34497
34498 if test $pkg_failed = yes; then
34499
34500 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34501         _pkg_short_errors_supported=yes
34502 else
34503         _pkg_short_errors_supported=no
34504 fi
34505         if test $_pkg_short_errors_supported = yes; then
34506                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34507         else
34508                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34509         fi
34510         # Put the nasty error message in config.log where it belongs
34511         echo "$LIBNOTIFY_PKG_ERRORS" >&5
34512
34513         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34514 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34515
34516 elif test $pkg_failed = untried; then
34517         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34518 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34519
34520 else
34521         LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34522         LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34523         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34524 $as_echo "yes" >&6; }
34525         HAVE_LIBNOTIFY=1
34526 fi
34527
34528
34529 elif test $pkg_failed = untried; then
34530
34531
34532 pkg_failed=no
34533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34534 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34535
34536 if test -n "$PKG_CONFIG"; then
34537     if test -n "$LIBNOTIFY_CFLAGS"; then
34538         pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34539     else
34540         if test -n "$PKG_CONFIG" && \
34541     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34542   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34543   ac_status=$?
34544   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34545   test $ac_status = 0; }; then
34546   pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34547 else
34548   pkg_failed=yes
34549 fi
34550     fi
34551 else
34552         pkg_failed=untried
34553 fi
34554 if test -n "$PKG_CONFIG"; then
34555     if test -n "$LIBNOTIFY_LIBS"; then
34556         pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34557     else
34558         if test -n "$PKG_CONFIG" && \
34559     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34560   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34561   ac_status=$?
34562   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34563   test $ac_status = 0; }; then
34564   pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34565 else
34566   pkg_failed=yes
34567 fi
34568     fi
34569 else
34570         pkg_failed=untried
34571 fi
34572
34573
34574
34575 if test $pkg_failed = yes; then
34576
34577 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34578         _pkg_short_errors_supported=yes
34579 else
34580         _pkg_short_errors_supported=no
34581 fi
34582         if test $_pkg_short_errors_supported = yes; then
34583                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34584         else
34585                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34586         fi
34587         # Put the nasty error message in config.log where it belongs
34588         echo "$LIBNOTIFY_PKG_ERRORS" >&5
34589
34590         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34591 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34592
34593 elif test $pkg_failed = untried; then
34594         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34595 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34596
34597 else
34598         LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34599         LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34600         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34601 $as_echo "yes" >&6; }
34602         HAVE_LIBNOTIFY=1
34603 fi
34604
34605
34606 else
34607         LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34608         LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34609         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34610 $as_echo "yes" >&6; }
34611
34612                     HAVE_LIBNOTIFY=1
34613                     $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34614
34615
34616 fi
34617
34618             if test "$HAVE_LIBNOTIFY" = "1" ; then
34619                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34620                 CFLAGS="$LIBNOTIFY_CFLAGS $CFLAGS"
34621                 CXXFLAGS="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34622                 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34623
34624             fi
34625         fi
34626     fi
34627
34628     if test "$wxUSE_LIBHILDON" = "yes" ; then
34629
34630 pkg_failed=no
34631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34632 $as_echo_n "checking for HILDON... " >&6; }
34633
34634 if test -n "$PKG_CONFIG"; then
34635     if test -n "$HILDON_CFLAGS"; then
34636         pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
34637     else
34638         if test -n "$PKG_CONFIG" && \
34639     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34640   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34641   ac_status=$?
34642   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34643   test $ac_status = 0; }; then
34644   pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34645 else
34646   pkg_failed=yes
34647 fi
34648     fi
34649 else
34650         pkg_failed=untried
34651 fi
34652 if test -n "$PKG_CONFIG"; then
34653     if test -n "$HILDON_LIBS"; then
34654         pkg_cv_HILDON_LIBS="$HILDON_LIBS"
34655     else
34656         if test -n "$PKG_CONFIG" && \
34657     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34658   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34659   ac_status=$?
34660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34661   test $ac_status = 0; }; then
34662   pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34663 else
34664   pkg_failed=yes
34665 fi
34666     fi
34667 else
34668         pkg_failed=untried
34669 fi
34670
34671
34672
34673 if test $pkg_failed = yes; then
34674
34675 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34676         _pkg_short_errors_supported=yes
34677 else
34678         _pkg_short_errors_supported=no
34679 fi
34680         if test $_pkg_short_errors_supported = yes; then
34681                 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34682         else
34683                 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34684         fi
34685         # Put the nasty error message in config.log where it belongs
34686         echo "$HILDON_PKG_ERRORS" >&5
34687
34688
34689                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34690 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34691                         wxUSE_LIBHILDON="no"
34692                         ac_hildon_lgpl=0
34693
34694
34695 elif test $pkg_failed = untried; then
34696
34697                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34698 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34699                         wxUSE_LIBHILDON="no"
34700                         ac_hildon_lgpl=0
34701
34702
34703 else
34704         HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
34705         HILDON_LIBS=$pkg_cv_HILDON_LIBS
34706         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34707 $as_echo "yes" >&6; }
34708
34709                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON_LIBS"
34710                 CFLAGS="$CFLAGS $HILDON_CFLAGS"
34711                 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
34712                 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34713
34714                 ac_hildon_lgpl=1
34715
34716 fi
34717
34718         if test "$ac_hildon_lgpl" = 0 ; then
34719
34720 pkg_failed=no
34721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34722 $as_echo_n "checking for HILDON2... " >&6; }
34723
34724 if test -n "$PKG_CONFIG"; then
34725     if test -n "$HILDON2_CFLAGS"; then
34726         pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34727     else
34728         if test -n "$PKG_CONFIG" && \
34729     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34730   ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34731   ac_status=$?
34732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34733   test $ac_status = 0; }; then
34734   pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34735 else
34736   pkg_failed=yes
34737 fi
34738     fi
34739 else
34740         pkg_failed=untried
34741 fi
34742 if test -n "$PKG_CONFIG"; then
34743     if test -n "$HILDON2_LIBS"; then
34744         pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34745     else
34746         if test -n "$PKG_CONFIG" && \
34747     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34748   ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34749   ac_status=$?
34750   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34751   test $ac_status = 0; }; then
34752   pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34753 else
34754   pkg_failed=yes
34755 fi
34756     fi
34757 else
34758         pkg_failed=untried
34759 fi
34760
34761
34762
34763 if test $pkg_failed = yes; then
34764
34765 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34766         _pkg_short_errors_supported=yes
34767 else
34768         _pkg_short_errors_supported=no
34769 fi
34770         if test $_pkg_short_errors_supported = yes; then
34771                 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34772         else
34773                 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34774         fi
34775         # Put the nasty error message in config.log where it belongs
34776         echo "$HILDON2_PKG_ERRORS" >&5
34777
34778
34779                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34780 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34781                             wxUSE_LIBHILDON2="no"
34782
34783
34784 elif test $pkg_failed = untried; then
34785
34786                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34787 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34788                             wxUSE_LIBHILDON2="no"
34789
34790
34791 else
34792         HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34793         HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34794         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34795 $as_echo "yes" >&6; }
34796
34797                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON2_LIBS"
34798                     CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34799                     CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34800                     $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34801
34802
34803 fi
34804         fi
34805     fi
34806 fi
34807
34808 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34809   $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34810
34811 fi
34812
34813 if test "$wxUSE_STOPWATCH" = "yes"; then
34814   $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34815
34816 fi
34817
34818 if test "$wxUSE_DATETIME" = "yes"; then
34819   $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34820
34821 fi
34822
34823 if test "$wxUSE_FILE" = "yes"; then
34824   $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34825
34826 fi
34827
34828 if test "$wxUSE_FFILE" = "yes"; then
34829   $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34830
34831 fi
34832
34833 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34834   if test "$wxUSE_STREAMS" != yes; then
34835     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34836 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34837     wxUSE_ARCHIVE_STREAMS=no
34838   else
34839     $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34840
34841   fi
34842 fi
34843
34844 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34845   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34846     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34847 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34848   elif test "$wxUSE_ZLIB" = "no"; then
34849     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34850 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34851   else
34852     $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34853
34854   fi
34855 fi
34856
34857 if test "$wxUSE_TARSTREAM" = "yes"; then
34858   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34859     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34860 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34861   else
34862     $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34863
34864   fi
34865 fi
34866
34867 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34868   $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34869
34870 fi
34871
34872 if test "$wxUSE_FILESYSTEM" = "yes"; then
34873   if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34874     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34875 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34876     wxUSE_FILESYSTEM=no
34877   else
34878     $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34879
34880   fi
34881 fi
34882
34883 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34884   if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34885     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34886 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34887   else
34888     $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34889
34890   fi
34891 fi
34892
34893 if test "$wxUSE_FS_ZIP" = "yes"; then
34894   if test "$wxUSE_FS_ARCHIVE" != yes; then
34895     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34896 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34897   else
34898     $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34899
34900   fi
34901 fi
34902
34903 if test "$wxUSE_FSVOLUME" = "yes"; then
34904   $as_echo "#define wxUSE_FSVOLUME 1" >>confdefs.h
34905
34906 fi
34907
34908 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34909   if test "$USE_UNIX" != 1; then
34910     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34911 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34912     wxUSE_ON_FATAL_EXCEPTION=no
34913   else
34914     $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34915
34916   fi
34917 fi
34918
34919 if test "$wxUSE_STACKWALKER" = "yes"; then
34920     $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34921
34922 fi
34923
34924 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34925     if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34926         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34927 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34928         wxUSE_DEBUGREPORT=no
34929     else
34930         $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34931
34932         if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34933             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34934         fi
34935     fi
34936 fi
34937
34938 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34939   $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34940
34941 fi
34942
34943 if test "$wxUSE_BUSYINFO" = "yes"; then
34944   $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34945
34946 fi
34947
34948 if test "$wxUSE_HOTKEY" = "yes"; then
34949   if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34950     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34951 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34952     wxUSE_HOTKEY=no
34953   fi
34954 elif test "$wxUSE_HOTKEY" = "auto"; then
34955   if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34956     wxUSE_HOTKEY=yes
34957   fi
34958 fi
34959 if test "$wxUSE_HOTKEY" = "yes"; then
34960   $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34961
34962 fi
34963
34964 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34965   $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34966
34967 fi
34968
34969 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34970   $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34971
34972 fi
34973
34974 if test "$wxUSE_STD_STRING" = "yes"; then
34975   $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34976
34977 fi
34978
34979 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34980   $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34981
34982 fi
34983
34984 if test "$wxUSE_STDPATHS" = "yes"; then
34985   $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34986
34987 fi
34988
34989 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34990     $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34991
34992 fi
34993
34994 if test "$wxUSE_TEXTFILE" = "yes"; then
34995   if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34996     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34997 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34998   else
34999     $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
35000
35001   fi
35002 fi
35003
35004 if test "$wxUSE_CONFIG" = "yes" ; then
35005   if test "$wxUSE_TEXTFILE" != "yes"; then
35006     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
35007 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35008   else
35009     $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
35010
35011     $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
35012
35013     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
35014   fi
35015 fi
35016
35017 if test "$wxUSE_INTL" = "yes" ; then
35018   if test "$wxUSE_FILE" != "yes"; then
35019     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
35020 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35021   else
35022     $as_echo "#define wxUSE_INTL 1" >>confdefs.h
35023
35024     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
35025     GUIDIST="$GUIDIST INTL_DIST"
35026   fi
35027 fi
35028
35029 if test "$wxUSE_XLOCALE" = "yes" ; then
35030     $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
35031
35032     ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
35033                     #include <locale.h>
35034 "
35035 if test "x$ac_cv_type_locale_t" = xyes; then :
35036
35037 cat >>confdefs.h <<_ACEOF
35038 #define HAVE_LOCALE_T 1
35039 _ACEOF
35040
35041
35042 fi
35043
35044 fi
35045
35046 if test "$wxUSE_LOG" = "yes"; then
35047   $as_echo "#define wxUSE_LOG 1" >>confdefs.h
35048
35049
35050     if test "$wxUSE_LOGGUI" = "yes"; then
35051       $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
35052
35053     fi
35054
35055     if test "$wxUSE_LOGWINDOW" = "yes"; then
35056       $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
35057
35058     fi
35059
35060     if test "$wxUSE_LOGDIALOG" = "yes"; then
35061       $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
35062
35063     fi
35064
35065         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
35066 fi
35067
35068 if test "$wxUSE_LONGLONG" = "yes"; then
35069   $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
35070
35071 fi
35072
35073 if test "$wxUSE_GEOMETRY" = "yes"; then
35074   $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
35075
35076 fi
35077
35078 if test "$wxUSE_BASE64" = "yes"; then
35079   $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
35080
35081 fi
35082
35083 if test "$wxUSE_STREAMS" = "yes" ; then
35084   $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
35085
35086 fi
35087
35088 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35089   $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
35090
35091 fi
35092
35093 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
35094   $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
35095
35096 fi
35097
35098
35099 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
35100     $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
35101
35102
35103     if test "$wxUSE_UNIX" = "yes"; then
35104         if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
35105             $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
35106
35107         fi
35108
35109         if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
35110             for ac_header in sys/epoll.h
35111 do :
35112   ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
35113 "
35114 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
35115   cat >>confdefs.h <<_ACEOF
35116 #define HAVE_SYS_EPOLL_H 1
35117 _ACEOF
35118
35119 fi
35120
35121 done
35122
35123             if test "$ac_cv_header_sys_epoll_h" = "yes"; then
35124                 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
35125
35126             else
35127                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
35128 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
35129             fi
35130         fi
35131     fi
35132 fi
35133
35134
35135 for ac_func in gettimeofday ftime
35136 do :
35137   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35138 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35139 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
35140   cat >>confdefs.h <<_ACEOF
35141 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35142 _ACEOF
35143  break
35144 fi
35145 done
35146
35147
35148 if test "$ac_cv_func_gettimeofday" = "yes"; then
35149     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
35150 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
35151 if ${wx_cv_func_gettimeofday_has_2_args+:} false; then :
35152   $as_echo_n "(cached) " >&6
35153 else
35154
35155                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35156 /* end confdefs.h.  */
35157
35158                 #include <sys/time.h>
35159                 #include <unistd.h>
35160
35161 int
35162 main ()
35163 {
35164
35165                 struct timeval tv;
35166                 gettimeofday(&tv, NULL);
35167
35168   ;
35169   return 0;
35170 }
35171 _ACEOF
35172 if ac_fn_c_try_compile "$LINENO"; then :
35173   wx_cv_func_gettimeofday_has_2_args=yes
35174 else
35175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35176 /* end confdefs.h.  */
35177
35178                     #include <sys/time.h>
35179                     #include <unistd.h>
35180
35181 int
35182 main ()
35183 {
35184
35185                     struct timeval tv;
35186                     gettimeofday(&tv);
35187
35188   ;
35189   return 0;
35190 }
35191 _ACEOF
35192 if ac_fn_c_try_compile "$LINENO"; then :
35193   wx_cv_func_gettimeofday_has_2_args=no
35194 else
35195
35196                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
35197 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35198                     wx_cv_func_gettimeofday_has_2_args=unknown
35199
35200
35201 fi
35202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35203
35204 fi
35205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35206
35207 fi
35208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35209 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
35210
35211     if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35212         $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
35213
35214     fi
35215 fi
35216
35217 if test "$wxUSE_DATETIME" = "yes"; then
35218             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
35219 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
35220 if ${wx_cv_var_timezone+:} false; then :
35221   $as_echo_n "(cached) " >&6
35222 else
35223
35224                         ac_ext=cpp
35225 ac_cpp='$CXXCPP $CPPFLAGS'
35226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35229
35230                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35231 /* end confdefs.h.  */
35232
35233                                 #include <time.h>
35234
35235 int
35236 main ()
35237 {
35238
35239                                 int tz;
35240                                 tz = timezone;
35241
35242   ;
35243   return 0;
35244 }
35245 _ACEOF
35246 if ac_fn_cxx_try_compile "$LINENO"; then :
35247
35248                                 wx_cv_var_timezone=timezone
35249
35250 else
35251
35252                                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35253 /* end confdefs.h.  */
35254
35255                                         #include <time.h>
35256
35257 int
35258 main ()
35259 {
35260
35261                                         int tz;
35262                                         tz = _timezone;
35263
35264   ;
35265   return 0;
35266 }
35267 _ACEOF
35268 if ac_fn_cxx_try_compile "$LINENO"; then :
35269
35270                                         wx_cv_var_timezone=_timezone
35271
35272 else
35273
35274                                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35275 /* end confdefs.h.  */
35276
35277                                                 #include <time.h>
35278
35279 int
35280 main ()
35281 {
35282
35283                                                 int tz;
35284                                                 tz = __timezone;
35285
35286   ;
35287   return 0;
35288 }
35289 _ACEOF
35290 if ac_fn_cxx_try_compile "$LINENO"; then :
35291
35292                                                 wx_cv_var_timezone=__timezone
35293
35294 else
35295
35296                                                 if test "$USE_DOS" = 0 ; then
35297                                                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
35298 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
35299                                                 fi
35300
35301
35302 fi
35303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35304
35305
35306 fi
35307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35308
35309
35310 fi
35311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35312                         ac_ext=c
35313 ac_cpp='$CPP $CPPFLAGS'
35314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35317
35318
35319
35320 fi
35321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
35322 $as_echo "$wx_cv_var_timezone" >&6; }
35323
35324         if test "x$wx_cv_var_timezone" != x ; then
35325         cat >>confdefs.h <<_ACEOF
35326 #define WX_TIMEZONE $wx_cv_var_timezone
35327 _ACEOF
35328
35329     fi
35330
35331         for ac_func in localtime
35332 do :
35333   ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
35334 if test "x$ac_cv_func_localtime" = xyes; then :
35335   cat >>confdefs.h <<_ACEOF
35336 #define HAVE_LOCALTIME 1
35337 _ACEOF
35338
35339 fi
35340 done
35341
35342
35343     if test "$ac_cv_func_localtime" = "yes"; then
35344         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35345 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35346 if ${wx_cv_struct_tm_has_gmtoff+:} false; then :
35347   $as_echo_n "(cached) " >&6
35348 else
35349
35350             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35351 /* end confdefs.h.  */
35352
35353                     #include <time.h>
35354
35355 int
35356 main ()
35357 {
35358
35359                     struct tm tm;
35360                     tm.tm_gmtoff++;
35361
35362   ;
35363   return 0;
35364 }
35365 _ACEOF
35366 if ac_fn_c_try_compile "$LINENO"; then :
35367
35368                     wx_cv_struct_tm_has_gmtoff=yes
35369
35370 else
35371   wx_cv_struct_tm_has_gmtoff=no
35372
35373 fi
35374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35375
35376 fi
35377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35378 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35379     fi
35380
35381     if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35382         $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35383
35384     fi
35385
35386     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35387 fi
35388
35389
35390 for ac_func in setpriority
35391 do :
35392   ac_fn_c_check_func "$LINENO" "setpriority" "ac_cv_func_setpriority"
35393 if test "x$ac_cv_func_setpriority" = xyes; then :
35394   cat >>confdefs.h <<_ACEOF
35395 #define HAVE_SETPRIORITY 1
35396 _ACEOF
35397
35398 fi
35399 done
35400
35401
35402
35403 if test "$wxUSE_SOCKETS" = "yes"; then
35404         if test "$TOOLKIT" != "MSW"; then
35405                 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
35406 if test "x$ac_cv_func_socket" = xyes; then :
35407
35408 else
35409
35410                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35411 $as_echo_n "checking for socket in -lsocket... " >&6; }
35412 if ${ac_cv_lib_socket_socket+:} false; then :
35413   $as_echo_n "(cached) " >&6
35414 else
35415   ac_check_lib_save_LIBS=$LIBS
35416 LIBS="-lsocket  $LIBS"
35417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35418 /* end confdefs.h.  */
35419
35420 /* Override any GCC internal prototype to avoid an error.
35421    Use char because int might match the return type of a GCC
35422    builtin and then its argument prototype would still apply.  */
35423 #ifdef __cplusplus
35424 extern "C"
35425 #endif
35426 char socket ();
35427 int
35428 main ()
35429 {
35430 return socket ();
35431   ;
35432   return 0;
35433 }
35434 _ACEOF
35435 if ac_fn_c_try_link "$LINENO"; then :
35436   ac_cv_lib_socket_socket=yes
35437 else
35438   ac_cv_lib_socket_socket=no
35439 fi
35440 rm -f core conftest.err conftest.$ac_objext \
35441     conftest$ac_exeext conftest.$ac_ext
35442 LIBS=$ac_check_lib_save_LIBS
35443 fi
35444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35445 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35446 if test "x$ac_cv_lib_socket_socket" = xyes; then :
35447   if test "$INET_LINK" != " -lsocket"; then
35448                         INET_LINK="$INET_LINK -lsocket"
35449                     fi
35450 else
35451
35452                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35453 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35454                         wxUSE_SOCKETS=no
35455
35456
35457 fi
35458
35459
35460
35461 fi
35462
35463     fi
35464 fi
35465
35466 if test "$wxUSE_SOCKETS" = "yes" ; then
35467                 if test "$TOOLKIT" != "MSW"; then
35468                                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35469 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35470 if ${wx_cv_type_getsockname3+:} false; then :
35471   $as_echo_n "(cached) " >&6
35472 else
35473
35474                 ac_ext=cpp
35475 ac_cpp='$CXXCPP $CPPFLAGS'
35476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35479
35480                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35481 /* end confdefs.h.  */
35482
35483                         #include <sys/types.h>
35484                         #include <sys/socket.h>
35485
35486 int
35487 main ()
35488 {
35489
35490                         socklen_t len;
35491                         getsockname(0, 0, &len);
35492
35493   ;
35494   return 0;
35495 }
35496 _ACEOF
35497 if ac_fn_cxx_try_compile "$LINENO"; then :
35498   wx_cv_type_getsockname3=socklen_t
35499 else
35500
35501                                                                                                                                                                         CFLAGS_OLD="$CFLAGS"
35502                         if test "$GCC" = yes ; then
35503                             CFLAGS="-Werror $CFLAGS"
35504                         fi
35505
35506                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35507 /* end confdefs.h.  */
35508
35509                                 #include <sys/types.h>
35510                                 #include <sys/socket.h>
35511
35512 int
35513 main ()
35514 {
35515
35516                                 size_t len;
35517                                 getsockname(0, 0, &len);
35518
35519   ;
35520   return 0;
35521 }
35522 _ACEOF
35523 if ac_fn_cxx_try_compile "$LINENO"; then :
35524   wx_cv_type_getsockname3=size_t
35525 else
35526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35527 /* end confdefs.h.  */
35528
35529                                     #include <sys/types.h>
35530                                     #include <sys/socket.h>
35531
35532 int
35533 main ()
35534 {
35535
35536                                     int len;
35537                                     getsockname(0, 0, &len);
35538
35539   ;
35540   return 0;
35541 }
35542 _ACEOF
35543 if ac_fn_cxx_try_compile "$LINENO"; then :
35544   wx_cv_type_getsockname3=int
35545 else
35546   wx_cv_type_getsockname3=unknown
35547
35548 fi
35549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35550
35551 fi
35552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35553
35554                         CFLAGS="$CFLAGS_OLD"
35555
35556
35557 fi
35558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35559                 ac_ext=c
35560 ac_cpp='$CPP $CPPFLAGS'
35561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35564
35565
35566 fi
35567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35568 $as_echo "$wx_cv_type_getsockname3" >&6; }
35569
35570         if test "$wx_cv_type_getsockname3" = "unknown"; then
35571             wxUSE_SOCKETS=no
35572             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35573 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35574         else
35575             cat >>confdefs.h <<_ACEOF
35576 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35577 _ACEOF
35578
35579         fi
35580                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35581 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35582 if ${wx_cv_type_getsockopt5+:} false; then :
35583   $as_echo_n "(cached) " >&6
35584 else
35585
35586                                                                                                 ac_ext=cpp
35587 ac_cpp='$CXXCPP $CPPFLAGS'
35588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35591
35592                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35593 /* end confdefs.h.  */
35594
35595                         #include <sys/types.h>
35596                         #include <sys/socket.h>
35597
35598 int
35599 main ()
35600 {
35601
35602                         socklen_t len;
35603                         getsockopt(0, 0, 0, 0, &len);
35604
35605   ;
35606   return 0;
35607 }
35608 _ACEOF
35609 if ac_fn_cxx_try_compile "$LINENO"; then :
35610   wx_cv_type_getsockopt5=socklen_t
35611 else
35612
35613                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35614 /* end confdefs.h.  */
35615
35616                                 #include <sys/types.h>
35617                                 #include <sys/socket.h>
35618
35619 int
35620 main ()
35621 {
35622
35623                                 size_t len;
35624                                 getsockopt(0, 0, 0, 0, &len);
35625
35626   ;
35627   return 0;
35628 }
35629 _ACEOF
35630 if ac_fn_cxx_try_compile "$LINENO"; then :
35631   wx_cv_type_getsockopt5=size_t
35632 else
35633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35634 /* end confdefs.h.  */
35635
35636                                     #include <sys/types.h>
35637                                     #include <sys/socket.h>
35638
35639 int
35640 main ()
35641 {
35642
35643                                     int len;
35644                                     getsockopt(0, 0, 0, 0, &len);
35645
35646   ;
35647   return 0;
35648 }
35649 _ACEOF
35650 if ac_fn_cxx_try_compile "$LINENO"; then :
35651   wx_cv_type_getsockopt5=int
35652 else
35653   wx_cv_type_getsockopt5=unknown
35654
35655 fi
35656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35657
35658 fi
35659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35660
35661
35662 fi
35663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35664                 ac_ext=c
35665 ac_cpp='$CPP $CPPFLAGS'
35666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35669
35670
35671 fi
35672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35673 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35674
35675         if test "$wx_cv_type_getsockopt5" = "unknown"; then
35676             wxUSE_SOCKETS=no
35677             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35678 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35679         else
35680             cat >>confdefs.h <<_ACEOF
35681 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35682 _ACEOF
35683
35684         fi
35685     fi
35686 fi
35687
35688 if test "$wxUSE_SOCKETS" = "yes" ; then
35689     if test "$wxUSE_IPV6" = "yes"; then
35690         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35691 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35692 if ${wx_cv_type_sockaddr_in6+:} false; then :
35693   $as_echo_n "(cached) " >&6
35694 else
35695
35696                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35697 /* end confdefs.h.  */
35698
35699                         #include <sys/types.h>
35700                         #include <sys/socket.h>
35701                         #include <netinet/in.h>
35702
35703 int
35704 main ()
35705 {
35706
35707                         struct sockaddr_in6 sa6;
35708
35709   ;
35710   return 0;
35711 }
35712 _ACEOF
35713 if ac_fn_c_try_compile "$LINENO"; then :
35714   wx_cv_type_sockaddr_in6=yes
35715 else
35716   wx_cv_type_sockaddr_in6=no
35717
35718 fi
35719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35720
35721
35722 fi
35723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35724 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35725
35726         if test "$wx_cv_type_sockaddr_in6"="yes"; then
35727             $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35728
35729         else
35730             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35731 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35732         fi
35733     fi
35734
35735     $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35736
35737     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35738 fi
35739
35740 if test "$wxUSE_PROTOCOL" = "yes"; then
35741     if test "$wxUSE_SOCKETS" != "yes"; then
35742         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35743 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35744         wxUSE_PROTOCOL=no
35745     fi
35746 fi
35747
35748 if test "$wxUSE_PROTOCOL" = "yes"; then
35749     $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35750
35751
35752     if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35753         $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35754
35755     fi
35756     if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35757         $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35758
35759     fi
35760     if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35761         $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35762
35763     fi
35764 else
35765     if test "$wxUSE_FS_INET" = "yes"; then
35766         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35767 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35768         wxUSE_FS_INET="no"
35769     fi
35770 fi
35771
35772 if test "$wxUSE_URL" = "yes"; then
35773     if test "$wxUSE_PROTOCOL" != "yes"; then
35774         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35775 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35776         wxUSE_URL=no
35777     fi
35778     if test "$wxUSE_URL" = "yes"; then
35779         $as_echo "#define wxUSE_URL 1" >>confdefs.h
35780
35781     fi
35782 fi
35783
35784 if test "$wxUSE_VARIANT" = "yes"; then
35785     $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35786
35787 fi
35788
35789 if test "$wxUSE_FS_INET" = "yes"; then
35790   $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35791
35792 fi
35793
35794
35795 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35796     wxUSE_JOYSTICK=no
35797
35798         if test "$TOOLKIT" = "MSW"; then
35799         wxUSE_JOYSTICK=yes
35800
35801         elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35802         if test "$USE_DARWIN" = 1; then
35803                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35804 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35805             ac_ext=cpp
35806 ac_cpp='$CXXCPP $CPPFLAGS'
35807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35810
35811             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35812 /* end confdefs.h.  */
35813  #include <IOKit/hid/IOHIDLib.h>
35814 int
35815 main ()
35816 {
35817  IOHIDQueueInterface *qi = NULL;
35818                               IOHIDCallbackFunction cb = NULL;
35819                               qi->setEventCallout(NULL, cb, NULL, NULL);
35820   ;
35821   return 0;
35822 }
35823 _ACEOF
35824 if ac_fn_cxx_try_compile "$LINENO"; then :
35825    wxUSE_JOYSTICK=yes
35826
35827 fi
35828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35829             ac_ext=c
35830 ac_cpp='$CPP $CPPFLAGS'
35831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35834
35835             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35836 $as_echo "$wxUSE_JOYSTICK" >&6; }
35837         fi
35838
35839         else
35840                                                         for ac_header in linux/joystick.h
35841 do :
35842   ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35843 "
35844 if test "x$ac_cv_header_linux_joystick_h" = xyes; then :
35845   cat >>confdefs.h <<_ACEOF
35846 #define HAVE_LINUX_JOYSTICK_H 1
35847 _ACEOF
35848  wxUSE_JOYSTICK=yes
35849 fi
35850
35851 done
35852
35853     fi
35854
35855     if test "$wxUSE_JOYSTICK" = "yes"; then
35856         $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35857
35858         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35859     else
35860         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35861 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35862     fi
35863 fi
35864
35865
35866
35867 if test "$wxUSE_FONTENUM" = "yes" ; then
35868   $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35869
35870 fi
35871
35872 if test "$wxUSE_FONTMAP" = "yes" ; then
35873   $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35874
35875 fi
35876
35877 if test "$wxUSE_UNICODE" = "yes" ; then
35878   $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35879
35880
35881   if test "$USE_WIN32" != 1; then
35882       wxUSE_UNICODE_MSLU=no
35883   fi
35884
35885   if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35886         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35887 $as_echo_n "checking for main in -lunicows... " >&6; }
35888 if ${ac_cv_lib_unicows_main+:} false; then :
35889   $as_echo_n "(cached) " >&6
35890 else
35891   ac_check_lib_save_LIBS=$LIBS
35892 LIBS="-lunicows  $LIBS"
35893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35894 /* end confdefs.h.  */
35895
35896
35897 int
35898 main ()
35899 {
35900 return main ();
35901   ;
35902   return 0;
35903 }
35904 _ACEOF
35905 if ac_fn_c_try_link "$LINENO"; then :
35906   ac_cv_lib_unicows_main=yes
35907 else
35908   ac_cv_lib_unicows_main=no
35909 fi
35910 rm -f core conftest.err conftest.$ac_objext \
35911     conftest$ac_exeext conftest.$ac_ext
35912 LIBS=$ac_check_lib_save_LIBS
35913 fi
35914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35915 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35916 if test "x$ac_cv_lib_unicows_main" = xyes; then :
35917
35918                 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35919
35920
35921 else
35922
35923                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35924                              Applications will only run on Windows NT/2000/XP!" >&5
35925 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35926                              Applications will only run on Windows NT/2000/XP!" >&2;}
35927                 wxUSE_UNICODE_MSLU=no
35928
35929 fi
35930
35931     fi
35932 fi
35933
35934 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35935     $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35936
35937
35938     if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35939         $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35940
35941     fi
35942 fi
35943
35944
35945 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35946     $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35947
35948     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35949 fi
35950
35951 if test "$wxUSE_MDI" = "yes"; then
35952     $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35953
35954
35955     if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35956         $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35957
35958         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35959     fi
35960 fi
35961
35962 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35963     $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35964
35965     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35966 fi
35967
35968 if test "$wxUSE_HELP" = "yes"; then
35969     $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35970
35971     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35972
35973     if test "$wxUSE_MSW" = 1; then
35974       if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35975         $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35976
35977       fi
35978     fi
35979
35980     if test "$wxUSE_WXHTML_HELP" = "yes"; then
35981       if test "$wxUSE_HTML" = "yes"; then
35982         $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35983
35984       else
35985         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35986 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35987         wxUSE_WXHTML_HELP=no
35988       fi
35989     fi
35990 fi
35991
35992 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35993     $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35994
35995     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35996 fi
35997
35998 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35999   $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
36000
36001 fi
36002
36003 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
36004
36005
36006 if test "$wxUSE_SVG" = "yes"; then
36007     $as_echo "#define wxUSE_SVG 1" >>confdefs.h
36008
36009 fi
36010
36011
36012 if test "$wxUSE_METAFILE" = "yes"; then
36013     if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
36014         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
36015 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
36016         wxUSE_METAFILE=no
36017     fi
36018 elif test "$wxUSE_METAFILE" = "auto"; then
36019     if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
36020         wxUSE_METAFILE=yes
36021     fi
36022 fi
36023
36024 if test "$wxUSE_METAFILE" = "yes"; then
36025     $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
36026
36027     if test "$wxUSE_MSW" = 1; then
36028                 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
36029
36030     fi
36031 fi
36032
36033
36034 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ"       = "yes" \
36035                           -o "$wxUSE_CLIPBOARD"     = "yes" \
36036                           -o "$wxUSE_OLE"     = "yes" \
36037                           -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
36038     ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
36039 "
36040 if test "x$ac_cv_header_ole2_h" = xyes; then :
36041
36042 fi
36043
36044
36045
36046     if test "$ac_cv_header_ole2_h" = "yes" ; then
36047         if test "$GCC" = yes ; then
36048             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
36049 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
36050             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36051 /* end confdefs.h.  */
36052 #include <windows.h>
36053                             #include <ole2.h>
36054 int
36055 main ()
36056 {
36057
36058   ;
36059   return 0;
36060 }
36061 _ACEOF
36062 if ac_fn_c_try_compile "$LINENO"; then :
36063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36064 $as_echo "no" >&6; }
36065 else
36066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36067 $as_echo "yes" >&6; }
36068                             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
36069 fi
36070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36071             LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36072             if test "$wxUSE_OLE" = "yes" ; then
36073                 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
36074
36075                 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
36076
36077                 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
36078
36079                 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
36080             fi
36081         fi
36082
36083                 if test "$wxUSE_DATAOBJ" = "yes" ; then
36084             $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36085
36086         fi
36087     else
36088         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
36089 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36090
36091         wxUSE_CLIPBOARD=no
36092         wxUSE_DRAG_AND_DROP=no
36093         wxUSE_DATAOBJ=no
36094         wxUSE_OLE=no
36095     fi
36096 fi
36097
36098 if test "$wxUSE_IPC" = "yes"; then
36099     if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
36100         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36101 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36102         wxUSE_IPC=no
36103     fi
36104
36105     if test "$wxUSE_IPC" = "yes"; then
36106         $as_echo "#define wxUSE_IPC 1" >>confdefs.h
36107
36108         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
36109     fi
36110 fi
36111
36112 if test "$wxUSE_DATAOBJ" = "yes"; then
36113     $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36114
36115 else
36116     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
36117 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
36118     wxUSE_CLIPBOARD=no
36119     wxUSE_DRAG_AND_DROP=no
36120 fi
36121
36122 if test "$wxUSE_CLIPBOARD" = "yes"; then
36123     if test "$wxUSE_DFB" = 1; then
36124         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
36125 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
36126         wxUSE_CLIPBOARD=no
36127     fi
36128
36129     if test "$wxUSE_CLIPBOARD" = "yes"; then
36130         $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
36131
36132     fi
36133 fi
36134
36135 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36136     if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
36137         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
36138 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
36139         wxUSE_DRAG_AND_DROP=no
36140     fi
36141
36142     if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36143         $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
36144
36145     fi
36146
36147 fi
36148
36149 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36150     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36151 fi
36152
36153 if test "$wxUSE_CLIPBOARD" = "yes"; then
36154     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
36155 fi
36156
36157 if test "$wxUSE_SPLINES" = "yes" ; then
36158   $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
36159
36160 fi
36161
36162 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
36163   $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
36164
36165 fi
36166
36167 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
36168     $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
36169
36170     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
36171 fi
36172
36173 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
36174     $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
36175
36176 fi
36177
36178
36179 USES_CONTROLS=0
36180 if test "$wxUSE_CONTROLS" = "yes"; then
36181   USES_CONTROLS=1
36182 fi
36183
36184 if test "$wxUSE_MARKUP" = "yes"; then
36185   $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
36186
36187 fi
36188
36189 if test "$wxUSE_ACCEL" = "yes"; then
36190   $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
36191
36192   USES_CONTROLS=1
36193 fi
36194
36195 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
36196   $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
36197
36198   USES_CONTROLS=1
36199   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
36200 fi
36201
36202 if test "$wxUSE_BANNERWINDOW" = "yes"; then
36203   $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
36204
36205 fi
36206
36207 if test "$wxUSE_BUTTON" = "yes"; then
36208   $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
36209
36210   USES_CONTROLS=1
36211 fi
36212
36213 if test "$wxUSE_BMPBUTTON" = "yes"; then
36214   $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
36215
36216   USES_CONTROLS=1
36217 fi
36218
36219 if test "$wxUSE_CALCTRL" = "yes"; then
36220   $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
36221
36222   USES_CONTROLS=1
36223   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36224 fi
36225
36226 if test "$wxUSE_CARET" = "yes"; then
36227   $as_echo "#define wxUSE_CARET 1" >>confdefs.h
36228
36229   USES_CONTROLS=1
36230   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36231 fi
36232
36233 if test "$wxUSE_COLLPANE" = "yes"; then
36234     $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
36235
36236     USES_CONTROLS=1
36237     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
36238 fi
36239
36240 if test "$wxUSE_COMBOBOX" = "yes"; then
36241   $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
36242
36243   USES_CONTROLS=1
36244 fi
36245
36246 if test "$wxUSE_COMBOCTRL" = "yes"; then
36247   $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
36248
36249   USES_CONTROLS=1
36250 fi
36251
36252 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
36253   $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
36254
36255   USES_CONTROLS=1
36256 fi
36257
36258 if test "$wxUSE_CHOICE" = "yes"; then
36259   $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
36260
36261   USES_CONTROLS=1
36262 fi
36263
36264 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36265     $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
36266
36267     USES_CONTROLS=1
36268 fi
36269
36270 if test "$wxUSE_CHECKBOX" = "yes"; then
36271   $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
36272
36273   USES_CONTROLS=1
36274 fi
36275
36276 if test "$wxUSE_CHECKLST" = "yes"; then
36277   $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
36278
36279   USES_CONTROLS=1
36280 fi
36281
36282 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
36283   $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
36284
36285   USES_CONTROLS=1
36286 fi
36287
36288 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
36289   $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
36290
36291   USES_CONTROLS=1
36292 fi
36293
36294 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
36295   $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
36296
36297   USES_CONTROLS=1
36298 fi
36299
36300 if test "$wxUSE_FILECTRL" = "yes"; then
36301   $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
36302
36303   USES_CONTROLS=1
36304 fi
36305
36306 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
36307   $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
36308
36309   USES_CONTROLS=1
36310 fi
36311
36312 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
36313   $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
36314
36315   USES_CONTROLS=1
36316 fi
36317
36318 if test "$wxUSE_DISPLAY" = "yes"; then
36319     if test "$wxUSE_DFB" = 1; then
36320         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
36321 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
36322         wxUSE_DISPLAY=no
36323     else
36324         $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
36325
36326         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36327     fi
36328 fi
36329
36330 if test "$wxUSE_DETECT_SM" = "yes"; then
36331     $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
36332
36333 fi
36334
36335 if test "$wxUSE_GAUGE" = "yes"; then
36336   $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
36337
36338   USES_CONTROLS=1
36339 fi
36340
36341 if test "$wxUSE_GRID" = "yes"; then
36342   $as_echo "#define wxUSE_GRID 1" >>confdefs.h
36343
36344   USES_CONTROLS=1
36345   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36346 fi
36347
36348 if test "$wxUSE_HEADERCTRL" = "yes"; then
36349   $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36350
36351   USES_CONTROLS=1
36352 fi
36353
36354 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36355   $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36356
36357   USES_CONTROLS=1
36358 fi
36359
36360 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36361   $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36362
36363   USES_CONTROLS=1
36364 fi
36365
36366 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36367   $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36368
36369   USES_CONTROLS=1
36370   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
36371 fi
36372
36373 if test "$wxUSE_IMAGLIST" = "yes"; then
36374     $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36375
36376 fi
36377
36378 if test "$wxUSE_INFOBAR" = "yes"; then
36379     $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36380
36381 fi
36382
36383 if test "$wxUSE_LISTBOOK" = "yes"; then
36384     $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36385
36386     USES_CONTROLS=1
36387 fi
36388
36389 if test "$wxUSE_LISTBOX" = "yes"; then
36390     $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36391
36392     USES_CONTROLS=1
36393 fi
36394
36395 if test "$wxUSE_LISTCTRL" = "yes"; then
36396     if test "$wxUSE_IMAGLIST" = "yes"; then
36397         $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36398
36399         USES_CONTROLS=1
36400         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36401     else
36402         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36403 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36404     fi
36405 fi
36406
36407 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36408     $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36409
36410     USES_CONTROLS=1
36411 fi
36412
36413 if test "$wxUSE_NOTEBOOK" = "yes"; then
36414     $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36415
36416     USES_CONTROLS=1
36417     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36418 fi
36419
36420 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36421     $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36422
36423 fi
36424
36425 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36426   $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36427
36428   USES_CONTROLS=1
36429   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
36430 fi
36431
36432 if test "$wxUSE_RADIOBOX" = "yes"; then
36433     $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36434
36435     USES_CONTROLS=1
36436 fi
36437
36438 if test "$wxUSE_RADIOBTN" = "yes"; then
36439     $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36440
36441     USES_CONTROLS=1
36442 fi
36443
36444 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36445     $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36446
36447 fi
36448
36449 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36450     $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36451
36452 fi
36453
36454 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36455     $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36456
36457 fi
36458
36459 if test "$wxUSE_SASH" = "yes"; then
36460     $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36461
36462     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36463 fi
36464
36465 if test "$wxUSE_SCROLLBAR" = "yes"; then
36466     $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36467
36468     USES_CONTROLS=1
36469     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
36470 fi
36471
36472 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36473     $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36474
36475     USES_CONTROLS=1
36476 fi
36477
36478 if test "$wxUSE_SLIDER" = "yes"; then
36479     $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36480
36481     USES_CONTROLS=1
36482 fi
36483
36484 if test "$wxUSE_SPINBTN" = "yes"; then
36485     $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36486
36487     USES_CONTROLS=1
36488 fi
36489
36490 if test "$wxUSE_SPINCTRL" = "yes"; then
36491     $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36492
36493     USES_CONTROLS=1
36494 fi
36495
36496 if test "$wxUSE_SPLITTER" = "yes"; then
36497     $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36498
36499     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36500 fi
36501
36502 if test "$wxUSE_STATBMP" = "yes"; then
36503     $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36504
36505     USES_CONTROLS=1
36506 fi
36507
36508 if test "$wxUSE_STATBOX" = "yes"; then
36509     $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36510
36511     USES_CONTROLS=1
36512 fi
36513
36514 if test "$wxUSE_STATTEXT" = "yes"; then
36515     $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36516
36517     USES_CONTROLS=1
36518 fi
36519
36520 if test "$wxUSE_STATLINE" = "yes"; then
36521     $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36522
36523     USES_CONTROLS=1
36524 fi
36525
36526 if test "$wxUSE_STATUSBAR" = "yes"; then
36527         $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36528
36529     $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36530
36531     USES_CONTROLS=1
36532
36533     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36534 fi
36535
36536 if test "$wxUSE_TEXTCTRL" = "yes"; then
36537     $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36538
36539     USES_CONTROLS=1
36540     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36541
36542             $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36543
36544     $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36545
36546 fi
36547
36548 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36549   $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36550
36551   USES_CONTROLS=1
36552 fi
36553
36554 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36555     if test "$wxUSE_OLD_COCOA" = 1 ; then
36556         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36557 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36558         wxUSE_TOGGLEBTN=no
36559     fi
36560
36561     if test "$wxUSE_TOGGLEBTN" = "yes"; then
36562         $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36563
36564         USES_CONTROLS=1
36565     fi
36566 fi
36567
36568 if test "$wxUSE_TOOLBAR" = "yes"; then
36569     $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36570
36571     USES_CONTROLS=1
36572
36573     if test "$wxUSE_UNIVERSAL" = "yes"; then
36574         wxUSE_TOOLBAR_NATIVE="no"
36575     else
36576         wxUSE_TOOLBAR_NATIVE="yes"
36577         $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36578
36579     fi
36580
36581     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36582 fi
36583
36584 if test "$wxUSE_TOOLTIPS" = "yes"; then
36585     if test "$wxUSE_MOTIF" = 1; then
36586         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36587 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36588     else
36589         if test "$wxUSE_UNIVERSAL" = "yes"; then
36590             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36591 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36592         else
36593             $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36594
36595         fi
36596     fi
36597 fi
36598
36599 if test "$wxUSE_TREEBOOK" = "yes"; then
36600     $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36601
36602     USES_CONTROLS=1
36603 fi
36604
36605 if test "$wxUSE_TOOLBOOK" = "yes"; then
36606     $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36607
36608     USES_CONTROLS=1
36609 fi
36610
36611 if test "$wxUSE_TREECTRL" = "yes"; then
36612     if test "$wxUSE_IMAGLIST" = "yes"; then
36613         $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36614
36615         USES_CONTROLS=1
36616         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36617     else
36618         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36619 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36620     fi
36621 fi
36622
36623 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36624     $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36625
36626     USES_CONTROLS=1
36627     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
36628 fi
36629
36630 if test "$wxUSE_POPUPWIN" = "yes"; then
36631     if test "$wxUSE_OLD_COCOA" = 1 ; then
36632         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36633 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36634     else
36635         if test "$wxUSE_PM" = 1; then
36636             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36637 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36638         else
36639             $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36640
36641             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
36642
36643             USES_CONTROLS=1
36644         fi
36645     fi
36646 fi
36647
36648 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36649     if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36650         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36651 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36652     else
36653         $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36654
36655         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
36656     fi
36657 fi
36658
36659 if test "$wxUSE_TIPWINDOW" = "yes"; then
36660     if test "$wxUSE_PM" = 1; then
36661         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36662 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36663     else
36664         $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36665
36666     fi
36667 fi
36668
36669 if test "$USES_CONTROLS" = 1; then
36670     $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36671
36672 fi
36673
36674
36675 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36676     $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36677
36678     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36679 fi
36680
36681 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36682     $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36683
36684 fi
36685
36686 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36687             if test "$wxUSE_GTK" != 1; then
36688                 if test "$wxUSE_LIBPNG" != no -a \
36689                 "$wxUSE_IMAGE" = yes -a \
36690                 "$wxUSE_STREAMS" = yes; then
36691             wxUSE_ARTPROVIDER_TANGO="yes"
36692         fi
36693     fi
36694 fi
36695
36696 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36697     $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36698
36699 fi
36700
36701 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36702     $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36703
36704     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36705 fi
36706
36707 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36708     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36709         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36710 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36711     else
36712         $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36713
36714         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36715     fi
36716 fi
36717
36718 USE_HTML=0
36719 if test "$wxUSE_HTML" = "yes"; then
36720     $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36721
36722     USE_HTML=1
36723     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36724 fi
36725 if test "$wxUSE_WEBKIT" = "yes"; then
36726     if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36727         old_CPPFLAGS="$CPPFLAGS"
36728         CPPFLAGS="-x objective-c++ $CPPFLAGS"
36729         ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36730                            #include <Carbon/Carbon.h>
36731                            #include <WebKit/WebKit.h>
36732
36733 "
36734 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36735
36736                            $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36737
36738                            WEBKIT_LINK="-framework WebKit"
36739
36740 else
36741
36742                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36743 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36744                            wxUSE_WEBKIT=no
36745
36746 fi
36747
36748
36749         CPPFLAGS="$old_CPPFLAGS"
36750     elif test "$wxUSE_OLD_COCOA" = 1; then
36751         $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36752
36753     else
36754         wxUSE_WEBKIT=no
36755     fi
36756     if test "$wxUSE_WEBKIT" = "yes"; then
36757         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36758     fi
36759 fi
36760
36761 USE_XRC=0
36762 if test "$wxUSE_XRC" = "yes"; then
36763     if test "$wxUSE_XML" != "yes"; then
36764         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36765 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36766         wxUSE_XRC=no
36767     else
36768         $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36769
36770         USE_XRC=1
36771         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36772     fi
36773 fi
36774
36775 USE_AUI=0
36776 if test "$wxUSE_AUI" = "yes"; then
36777    $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36778
36779    USE_AUI=1
36780    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36781 fi
36782
36783 USE_PROPGRID=0
36784 if test "$wxUSE_PROPGRID" = "yes"; then
36785    $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36786
36787    USE_PROPGRID=1
36788    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36789 fi
36790
36791 USE_RIBBON=0
36792 if test "$wxUSE_RIBBON" = "yes"; then
36793    $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36794
36795    USE_RIBBON=1
36796    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36797 fi
36798
36799 USE_STC=0
36800 if test "$wxUSE_STC" = "yes"; then
36801    $as_echo "#define wxUSE_STC 1" >>confdefs.h
36802
36803    USE_STC=1
36804    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36805
36806       # Extract the first word of "python", so it can be a program name with args.
36807 set dummy python; ac_word=$2
36808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36809 $as_echo_n "checking for $ac_word... " >&6; }
36810 if ${ac_cv_path_PYTHON+:} false; then :
36811   $as_echo_n "(cached) " >&6
36812 else
36813   case $PYTHON in
36814   [\\/]* | ?:[\\/]*)
36815   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36816   ;;
36817   *)
36818   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36819 for as_dir in $PATH
36820 do
36821   IFS=$as_save_IFS
36822   test -z "$as_dir" && as_dir=.
36823     for ac_exec_ext in '' $ac_executable_extensions; do
36824   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36825     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36826     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36827     break 2
36828   fi
36829 done
36830   done
36831 IFS=$as_save_IFS
36832
36833   ;;
36834 esac
36835 fi
36836 PYTHON=$ac_cv_path_PYTHON
36837 if test -n "$PYTHON"; then
36838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36839 $as_echo "$PYTHON" >&6; }
36840 else
36841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36842 $as_echo "no" >&6; }
36843 fi
36844
36845
36846    if test "x$PYTHON" = "x"; then
36847      COND_PYTHON="#"
36848    fi
36849
36850 fi
36851
36852 if test "$wxUSE_MENUS" = "yes"; then
36853     $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36854
36855     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36856 fi
36857
36858 if test "$wxUSE_MIMETYPE" = "yes"; then
36859     $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36860
36861 fi
36862
36863 if test "$wxUSE_MINIFRAME" = "yes"; then
36864     $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36865
36866 fi
36867
36868 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36869     $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36870
36871 fi
36872
36873 if test "$wxUSE_TASKBARICON" = "yes"; then
36874     $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36875
36876                 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36877
36878     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36879 fi
36880
36881
36882 if test "$wxUSE_VALIDATORS" = "yes"; then
36883     $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36884
36885     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36886 fi
36887
36888 if test "$wxUSE_PALETTE" = "yes" ; then
36889     if test "$wxUSE_DFB" = 1; then
36890         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36891 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36892         wxUSE_PALETTE=no
36893     else
36894         $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36895
36896     fi
36897 fi
36898
36899 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36900     LIBS=" -lunicows $LIBS"
36901 fi
36902
36903 USE_RICHTEXT=0
36904 if test "$wxUSE_RICHTEXT" = "yes"; then
36905     $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36906
36907     USE_RICHTEXT=1
36908     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36909 fi
36910
36911 if test "$wxUSE_WEBVIEW" = "yes"; then
36912     USE_WEBVIEW_WEBKIT=0
36913     if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36914         if test "$wxUSE_GTK" = 1; then
36915             webkitgtk=webkit-1.0
36916             if test "$WXGTK3" = 1; then
36917                 webkitgtk=webkitgtk-3.0
36918             fi
36919
36920 pkg_failed=no
36921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36922 $as_echo_n "checking for WEBKIT... " >&6; }
36923
36924 if test -n "$PKG_CONFIG"; then
36925     if test -n "$WEBKIT_CFLAGS"; then
36926         pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36927     else
36928         if test -n "$PKG_CONFIG" && \
36929     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36930   ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36931   ac_status=$?
36932   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36933   test $ac_status = 0; }; then
36934   pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36935 else
36936   pkg_failed=yes
36937 fi
36938     fi
36939 else
36940         pkg_failed=untried
36941 fi
36942 if test -n "$PKG_CONFIG"; then
36943     if test -n "$WEBKIT_LIBS"; then
36944         pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36945     else
36946         if test -n "$PKG_CONFIG" && \
36947     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36948   ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36949   ac_status=$?
36950   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36951   test $ac_status = 0; }; then
36952   pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36953 else
36954   pkg_failed=yes
36955 fi
36956     fi
36957 else
36958         pkg_failed=untried
36959 fi
36960
36961
36962
36963 if test $pkg_failed = yes; then
36964
36965 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36966         _pkg_short_errors_supported=yes
36967 else
36968         _pkg_short_errors_supported=no
36969 fi
36970         if test $_pkg_short_errors_supported = yes; then
36971                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36972         else
36973                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36974         fi
36975         # Put the nasty error message in config.log where it belongs
36976         echo "$WEBKIT_PKG_ERRORS" >&5
36977
36978
36979                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36980 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36981
36982 elif test $pkg_failed = untried; then
36983
36984                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36985 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36986
36987 else
36988         WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36989         WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36990         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36991 $as_echo "yes" >&6; }
36992
36993                                 USE_WEBVIEW_WEBKIT=1
36994                                 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36995                                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36996
36997 fi
36998         elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36999                                     old_CPPFLAGS="$CPPFLAGS"
37000             CPPFLAGS="-x objective-c++ $CPPFLAGS"
37001             ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
37002                                 #include <Carbon/Carbon.h>
37003                                 #include <WebKit/WebKit.h>
37004
37005 "
37006 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
37007
37008                                 USE_WEBVIEW_WEBKIT=1
37009                                 WEBKIT_LINK="-framework WebKit"
37010
37011 else
37012
37013                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
37014 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
37015
37016 fi
37017
37018
37019             CPPFLAGS="$old_CPPFLAGS"
37020         fi
37021     fi
37022
37023     wxUSE_WEBVIEW="no"
37024     if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
37025         if test "$USE_WEBVIEW_WEBKIT" = 1; then
37026             wxUSE_WEBVIEW="yes"
37027             $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
37028
37029         else
37030             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
37031 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
37032         fi
37033     elif test "$wxUSE_MSW" = 1; then
37034         if test "$wxUSE_WEBVIEW_IE" = "yes"; then
37035                                     wxUSE_WEBVIEW="yes"
37036             $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
37037
37038         fi
37039     fi
37040 fi
37041
37042 if test "$wxUSE_WEBVIEW" = "yes"; then
37043     USE_WEBVIEW=1
37044     $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
37045
37046     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
37047 else
37048     USE_WEBVIEW=0
37049 fi
37050
37051
37052 if test "$wxUSE_IMAGE" = "yes" ; then
37053     $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
37054
37055
37056     if test "$wxUSE_GIF" = "yes" ; then
37057       $as_echo "#define wxUSE_GIF 1" >>confdefs.h
37058
37059     fi
37060
37061     if test "$wxUSE_PCX" = "yes" ; then
37062       $as_echo "#define wxUSE_PCX 1" >>confdefs.h
37063
37064     fi
37065
37066     if test "$wxUSE_TGA" = "yes" ; then
37067       $as_echo "#define wxUSE_TGA 1" >>confdefs.h
37068
37069     fi
37070
37071     if test "$wxUSE_IFF" = "yes" ; then
37072       $as_echo "#define wxUSE_IFF 1" >>confdefs.h
37073
37074     fi
37075
37076     if test "$wxUSE_PNM" = "yes" ; then
37077       $as_echo "#define wxUSE_PNM 1" >>confdefs.h
37078
37079     fi
37080
37081     if test "$wxUSE_XPM" = "yes" ; then
37082       $as_echo "#define wxUSE_XPM 1" >>confdefs.h
37083
37084     fi
37085
37086     if test "$wxUSE_ICO_CUR" = "yes" ; then
37087       $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
37088
37089     fi
37090 fi
37091
37092
37093 if test "$wxUSE_ABOUTDLG" = "yes"; then
37094     $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
37095
37096 fi
37097
37098 if test "$wxUSE_CHOICEDLG" = "yes"; then
37099     $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
37100
37101 fi
37102
37103 if test "$wxUSE_COLOURDLG" = "yes"; then
37104     $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
37105
37106 fi
37107
37108 if test "$wxUSE_FILEDLG" = "yes"; then
37109     $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
37110
37111 fi
37112
37113 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37114     $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
37115
37116 fi
37117
37118 if test "$wxUSE_FONTDLG" = "yes"; then
37119     $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
37120
37121 fi
37122
37123 if test "$wxUSE_DIRDLG" = "yes"; then
37124     if test "$wxUSE_TREECTRL" != "yes"; then
37125         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37126 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37127     else
37128         $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
37129
37130     fi
37131 fi
37132
37133 if test "$wxUSE_MSGDLG" = "yes"; then
37134     $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
37135
37136 fi
37137
37138 if test "$wxUSE_NUMBERDLG" = "yes"; then
37139     $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
37140
37141 fi
37142
37143 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37144     $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
37145
37146 fi
37147
37148 if test "$wxUSE_SPLASH" = "yes"; then
37149     $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
37150
37151     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
37152 fi
37153
37154 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37155     $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
37156
37157 fi
37158
37159 if test "$wxUSE_TEXTDLG" = "yes"; then
37160     $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
37161
37162 fi
37163
37164 if test "$wxUSE_WIZARDDLG" = "yes"; then
37165     $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
37166
37167     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37168 fi
37169
37170
37171 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
37172     if test "$wxUSE_OWNER_DRAWN" = "yes"; then
37173         $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
37174
37175     fi
37176 fi
37177
37178
37179 if test "$wxUSE_MSW" = 1 ; then
37180
37181     if test "$wxUSE_DC_CACHEING" = "yes"; then
37182         $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
37183
37184     fi
37185
37186     if test "$wxUSE_DIB" = "yes"; then
37187         $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
37188
37189     fi
37190
37191     if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
37192         $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
37193
37194     fi
37195
37196     if test "$wxUSE_UXTHEME" = "yes"; then
37197         $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
37198
37199     fi
37200
37201 fi
37202
37203 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
37204     $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
37205
37206 fi
37207
37208 if test "$USE_WIN32" = 1 ; then
37209     if test "$wxUSE_INICONF" = "yes"; then
37210         $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
37211
37212     fi
37213
37214     if test "$wxUSE_REGKEY" = "yes"; then
37215         $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
37216
37217     fi
37218 fi
37219
37220
37221 if test "$wxUSE_MAC" = 1; then
37222     wxUSE_GRAPHICS_CONTEXT="yes"
37223 fi
37224
37225 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
37226     wx_has_graphics=0
37227     if test "$wxUSE_MSW" = 1; then
37228         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
37229 $as_echo_n "checking if GDI+ is available... " >&6; }
37230 if ${wx_cv_lib_gdiplus+:} false; then :
37231   $as_echo_n "(cached) " >&6
37232 else
37233
37234                                                 ac_ext=cpp
37235 ac_cpp='$CXXCPP $CPPFLAGS'
37236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37239
37240                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37241 /* end confdefs.h.  */
37242 #include <windows.h>
37243                      #include <gdiplus.h>
37244 int
37245 main ()
37246 {
37247
37248                         using namespace Gdiplus;
37249
37250   ;
37251   return 0;
37252 }
37253 _ACEOF
37254 if ac_fn_cxx_try_compile "$LINENO"; then :
37255   wx_cv_lib_gdiplus=yes
37256 else
37257   wx_cv_lib_gdiplus=no
37258
37259 fi
37260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37261                 ac_ext=c
37262 ac_cpp='$CPP $CPPFLAGS'
37263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37266
37267
37268
37269 fi
37270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
37271 $as_echo "$wx_cv_lib_gdiplus" >&6; }
37272         if test "$wx_cv_lib_gdiplus" = "yes"; then
37273             wx_has_graphics=1
37274         fi
37275     elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
37276
37277 pkg_failed=no
37278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
37279 $as_echo_n "checking for CAIRO... " >&6; }
37280
37281 if test -n "$PKG_CONFIG"; then
37282     if test -n "$CAIRO_CFLAGS"; then
37283         pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
37284     else
37285         if test -n "$PKG_CONFIG" && \
37286     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37287   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37288   ac_status=$?
37289   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37290   test $ac_status = 0; }; then
37291   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
37292 else
37293   pkg_failed=yes
37294 fi
37295     fi
37296 else
37297         pkg_failed=untried
37298 fi
37299 if test -n "$PKG_CONFIG"; then
37300     if test -n "$CAIRO_LIBS"; then
37301         pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
37302     else
37303         if test -n "$PKG_CONFIG" && \
37304     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37305   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37306   ac_status=$?
37307   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37308   test $ac_status = 0; }; then
37309   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
37310 else
37311   pkg_failed=yes
37312 fi
37313     fi
37314 else
37315         pkg_failed=untried
37316 fi
37317
37318
37319
37320 if test $pkg_failed = yes; then
37321
37322 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37323         _pkg_short_errors_supported=yes
37324 else
37325         _pkg_short_errors_supported=no
37326 fi
37327         if test $_pkg_short_errors_supported = yes; then
37328                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
37329         else
37330                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
37331         fi
37332         # Put the nasty error message in config.log where it belongs
37333         echo "$CAIRO_PKG_ERRORS" >&5
37334
37335         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37336 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37337
37338 elif test $pkg_failed = untried; then
37339         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37340 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37341
37342 else
37343         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
37344         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
37345         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37346 $as_echo "yes" >&6; }
37347         wx_has_graphics=1
37348 fi
37349         if test "$wx_has_graphics" = 1; then
37350                                                 save_LIBS="$LIBS"
37351             LIBS="$LIBS $CAIRO_LIBS"
37352             for ac_func in cairo_push_group
37353 do :
37354   ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37355 if test "x$ac_cv_func_cairo_push_group" = xyes; then :
37356   cat >>confdefs.h <<_ACEOF
37357 #define HAVE_CAIRO_PUSH_GROUP 1
37358 _ACEOF
37359
37360 fi
37361 done
37362
37363             LIBS="$save_LIBS"
37364             if test "$ac_cv_func_cairo_push_group" = "no"; then
37365                 wx_has_graphics=0
37366                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37367 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37368             else
37369                 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37370
37371
37372                                                 if test "$wxUSE_GTK" != 1; then
37373                     CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
37374                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
37375                 fi
37376             fi
37377         fi
37378     else
37379                 wx_has_graphics=1
37380     fi
37381
37382     if test "$wx_has_graphics" = 1; then
37383         $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37384
37385     else
37386         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37387 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37388     fi
37389 fi
37390
37391
37392 USE_MEDIA=0
37393
37394 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37395     USE_MEDIA=1
37396
37397                 if test "$wxUSE_GTK" = 1; then
37398         wxUSE_GSTREAMER="no"
37399
37400                                                                 GST_VERSION_MAJOR=0
37401         GST_VERSION_MINOR=10
37402         GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37403
37404         if test "$wxUSE_GSTREAMER8" = "no"; then
37405
37406 pkg_failed=no
37407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37408 $as_echo_n "checking for GST... " >&6; }
37409
37410 if test -n "$PKG_CONFIG"; then
37411     if test -n "$GST_CFLAGS"; then
37412         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37413     else
37414         if test -n "$PKG_CONFIG" && \
37415     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37416   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37417   ac_status=$?
37418   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37419   test $ac_status = 0; }; then
37420   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37421 else
37422   pkg_failed=yes
37423 fi
37424     fi
37425 else
37426         pkg_failed=untried
37427 fi
37428 if test -n "$PKG_CONFIG"; then
37429     if test -n "$GST_LIBS"; then
37430         pkg_cv_GST_LIBS="$GST_LIBS"
37431     else
37432         if test -n "$PKG_CONFIG" && \
37433     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37434   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37435   ac_status=$?
37436   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37437   test $ac_status = 0; }; then
37438   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37439 else
37440   pkg_failed=yes
37441 fi
37442     fi
37443 else
37444         pkg_failed=untried
37445 fi
37446
37447
37448
37449 if test $pkg_failed = yes; then
37450
37451 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37452         _pkg_short_errors_supported=yes
37453 else
37454         _pkg_short_errors_supported=no
37455 fi
37456         if test $_pkg_short_errors_supported = yes; then
37457                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37458         else
37459                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37460         fi
37461         # Put the nasty error message in config.log where it belongs
37462         echo "$GST_PKG_ERRORS" >&5
37463
37464
37465                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37466 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37467                     GST_VERSION_MINOR=8
37468
37469
37470 elif test $pkg_failed = untried; then
37471
37472                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37473 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37474                     GST_VERSION_MINOR=8
37475
37476
37477 else
37478         GST_CFLAGS=$pkg_cv_GST_CFLAGS
37479         GST_LIBS=$pkg_cv_GST_LIBS
37480         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37481 $as_echo "yes" >&6; }
37482
37483                     wxUSE_GSTREAMER="yes"
37484                     GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37485
37486 fi
37487         else
37488                         GST_VERSION_MINOR=8
37489         fi
37490
37491         if test $GST_VERSION_MINOR = "8"; then
37492             GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37493
37494 pkg_failed=no
37495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37496 $as_echo_n "checking for GST... " >&6; }
37497
37498 if test -n "$PKG_CONFIG"; then
37499     if test -n "$GST_CFLAGS"; then
37500         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37501     else
37502         if test -n "$PKG_CONFIG" && \
37503     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37504   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37505   ac_status=$?
37506   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37507   test $ac_status = 0; }; then
37508   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37509 else
37510   pkg_failed=yes
37511 fi
37512     fi
37513 else
37514         pkg_failed=untried
37515 fi
37516 if test -n "$PKG_CONFIG"; then
37517     if test -n "$GST_LIBS"; then
37518         pkg_cv_GST_LIBS="$GST_LIBS"
37519     else
37520         if test -n "$PKG_CONFIG" && \
37521     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37522   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37523   ac_status=$?
37524   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37525   test $ac_status = 0; }; then
37526   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37527 else
37528   pkg_failed=yes
37529 fi
37530     fi
37531 else
37532         pkg_failed=untried
37533 fi
37534
37535
37536
37537 if test $pkg_failed = yes; then
37538
37539 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37540         _pkg_short_errors_supported=yes
37541 else
37542         _pkg_short_errors_supported=no
37543 fi
37544         if test $_pkg_short_errors_supported = yes; then
37545                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37546         else
37547                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37548         fi
37549         # Put the nasty error message in config.log where it belongs
37550         echo "$GST_PKG_ERRORS" >&5
37551
37552
37553                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37554 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37555
37556 elif test $pkg_failed = untried; then
37557
37558                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37559 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37560
37561 else
37562         GST_CFLAGS=$pkg_cv_GST_CFLAGS
37563         GST_LIBS=$pkg_cv_GST_LIBS
37564         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37565 $as_echo "yes" >&6; }
37566         wxUSE_GSTREAMER="yes"
37567 fi
37568         fi
37569
37570
37571         if test "$wxUSE_GSTREAMER" = "yes"; then
37572             CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
37573             EXTRALIBS_MEDIA="$GST_LIBS"
37574
37575             $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37576
37577         else
37578             USE_MEDIA=0
37579         fi
37580
37581     elif test "$wxUSE_MAC" = 1; then
37582                            GST_LIBS="-framework QTKit"
37583     fi
37584
37585     if test $USE_MEDIA = 1; then
37586         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
37587         $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37588
37589     else
37590         if test "$wxUSE_MEDIACTRL" = "yes"; then
37591             as_fn_error $? "GStreamer not available" "$LINENO" 5
37592         else
37593                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37594 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37595         fi
37596     fi
37597 fi
37598
37599
37600 if test "$cross_compiling" != "no"; then
37601         OSINFO="\"$host\""
37602 else
37603         OSINFO=`uname -s -r -m`
37604     OSINFO="\"$OSINFO\""
37605 fi
37606
37607 cat >>confdefs.h <<_ACEOF
37608 #define WXWIN_OS_DESCRIPTION $OSINFO
37609 _ACEOF
37610
37611
37612
37613 if test "x$prefix" != "xNONE"; then
37614     wxPREFIX=$prefix
37615 else
37616     wxPREFIX=$ac_default_prefix
37617 fi
37618
37619 cat >>confdefs.h <<_ACEOF
37620 #define wxINSTALL_PREFIX "$wxPREFIX"
37621 _ACEOF
37622
37623
37624
37625
37626 STD_BASE_LIBS="base"
37627 STD_GUI_LIBS=""
37628 BUILT_WX_LIBS="base"
37629 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
37630
37631 if test "$wxUSE_SOCKETS" = "yes" ; then
37632     STD_BASE_LIBS="net $STD_BASE_LIBS"
37633     BUILT_WX_LIBS="net $BUILT_WX_LIBS"
37634 fi
37635 if test "$wxUSE_XML" = "yes" ; then
37636     STD_BASE_LIBS="xml $STD_BASE_LIBS"
37637     BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
37638 fi
37639
37640 if test "$wxUSE_GUI" = "yes"; then
37641     STD_GUI_LIBS="adv core"
37642     BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
37643
37644     if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37645         STD_GUI_LIBS="qa $STD_GUI_LIBS"
37646         BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
37647     fi
37648     if test "$wxUSE_HTML" = "yes" ; then
37649         STD_GUI_LIBS="html $STD_GUI_LIBS"
37650         BUILT_WX_LIBS="html $BUILT_WX_LIBS"
37651     fi
37652     if test "$wxUSE_MEDIACTRL" = "yes" ; then
37653         BUILT_WX_LIBS="media $BUILT_WX_LIBS"
37654     fi
37655     if test "$wxUSE_OPENGL" = "yes" ; then
37656         BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
37657     fi
37658     if test "$wxUSE_AUI" = "yes" ; then
37659         BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
37660     fi
37661     if test "$wxUSE_PROPGRID" = "yes" ; then
37662         BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
37663     fi
37664     if test "$wxUSE_RIBBON" = "yes" ; then
37665         BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
37666     fi
37667     if test "$wxUSE_RICHTEXT" = "yes" ; then
37668         BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
37669     fi
37670     if test "$wxUSE_STC" = "yes" ; then
37671         BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
37672     fi
37673     if test "$wxUSE_WEBVIEW" = "yes" ; then
37674         STD_GUI_LIBS="webview $STD_GUI_LIBS"
37675         BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
37676     fi
37677     if test "$wxUSE_XRC" = "yes" ; then
37678         STD_GUI_LIBS="xrc $STD_GUI_LIBS"
37679         BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
37680     fi
37681 fi
37682
37683
37684
37685
37686
37687
37688
37689 EXTRA_FRAMEWORKS=
37690 if test "$wxUSE_MAC" = 1 ; then
37691     if test "$USE_DARWIN" = 1; then
37692         if test "$wxUSE_OSX_IPHONE" = 1; then
37693             EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37694         else
37695             EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37696
37697
37698             if test "$cross_compiling" != "no"; then
37699                                                                                                 wx_cv_target_x86_64=no
37700             else
37701                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37702 $as_echo_n "checking if we target only x86_64... " >&6; }
37703 if ${wx_cv_target_x86_64+:} false; then :
37704   $as_echo_n "(cached) " >&6
37705 else
37706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37707 /* end confdefs.h.  */
37708 int main() { return 0; }
37709 _ACEOF
37710 if ac_fn_c_try_link "$LINENO"; then :
37711   if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
37712                             wx_cv_target_x86_64=no
37713                         else
37714                             wx_cv_target_x86_64=yes
37715                         fi
37716
37717 fi
37718 rm -f core conftest.err conftest.$ac_objext \
37719     conftest$ac_exeext conftest.$ac_ext
37720
37721 fi
37722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37723 $as_echo "$wx_cv_target_x86_64" >&6; }
37724             fi
37725
37726             if test "$wx_cv_target_x86_64" != "yes"; then
37727                 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37728             fi
37729         fi
37730     fi
37731 fi
37732 if test "$wxUSE_OLD_COCOA" = 1 ; then
37733     EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
37734     if test "$wxUSE_MEDIACTRL" = "yes"; then
37735         EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37736     fi
37737 fi
37738 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37739     EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37740 fi
37741
37742 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37743 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37744
37745 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37746
37747 if test "$wxUSE_GUI" = "yes"; then
37748
37749
37750         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37751                      erase event exec font image minimal preferences render \
37752                      shaped svg taborder vscroll widgets wrapsizer"
37753
37754     if test "$wxUSE_MONOLITHIC" != "yes"; then
37755         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37756     fi
37757     if test "$TOOLKIT" = "MSW"; then
37758         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37759         if test "$wxUSE_UNIVERSAL" != "yes"; then
37760             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37761         fi
37762     fi
37763     if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37764         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37765     fi
37766 else
37767     SAMPLES_SUBDIRS="console"
37768     if test "$wxUSE_SOCKETS" = "yes" ; then
37769         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37770     fi
37771     if test "$wxUSE_IPC" = "yes" ; then
37772         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37773     fi
37774 fi
37775
37776
37777 if test "x$INTELCC" = "xyes" ; then
37778                                         CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37779 elif test "$GCC" = yes ; then
37780     CWARNINGS="-Wall -Wundef"
37781 fi
37782
37783 if test "x$INTELCXX" = "xyes" ; then
37784                                                                 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37785 elif test "$GXX" = yes ; then
37786     CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37787     { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37788 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37789 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false; then :
37790   $as_echo_n "(cached) " >&6
37791 else
37792   ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37793
37794  ac_ext=cpp
37795 ac_cpp='$CXXCPP $CPPFLAGS'
37796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37799
37800  ac_save_CXXFLAGS="$CXXFLAGS"
37801 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual"     "-pedantic % -Woverloaded-virtual %% no, obsolete"     #
37802 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37803    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37804 /* end confdefs.h.  */
37805
37806 int
37807 main ()
37808 {
37809 return 0;
37810   ;
37811   return 0;
37812 }
37813 _ACEOF
37814 if ac_fn_cxx_try_compile "$LINENO"; then :
37815   ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37816 fi
37817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37818 done
37819  CXXFLAGS="$ac_save_CXXFLAGS"
37820  ac_ext=c
37821 ac_cpp='$CPP $CPPFLAGS'
37822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37825
37826
37827 fi
37828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37829 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37830 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37831      .ok|.ok,*)  ;;
37832    .|.no|.no,*)  ;;
37833    *)
37834    if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37835    then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37836   (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37837   ac_status=$?
37838   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37839   test $ac_status = 0; }
37840    else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37841   (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37842   ac_status=$?
37843   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37844   test $ac_status = 0; }
37845                       CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37846    fi
37847  ;;
37848 esac
37849
37850
37851                     if test "$wxUSE_MAC" = 1 ; then
37852         CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37853     fi
37854 fi
37855
37856
37857 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37858 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37859
37860
37861 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37862  -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37863  -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37864  $CPPFLAGS `
37865
37866 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37867 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37868 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37869 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37870 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37871
37872 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37873
37874
37875 if test "x$MWCC" = "xyes"; then
37876
37877             CC="$CC -cwd source -I-"
37878     CXX="$CXX -cwd source -I-"
37879 fi
37880
37881
37882 LIBS=`echo $LIBS`
37883 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37884 EXTRALIBS_XML="$EXPAT_LINK"
37885 EXTRALIBS_HTML="$MSPACK_LINK"
37886 EXTRALIBS_MEDIA="$GST_LIBS"
37887 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37888 if test "$wxUSE_GUI" = "yes"; then
37889     EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37890 fi
37891 if test "$wxUSE_OPENGL" = "yes"; then
37892     EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37893 fi
37894
37895 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37896
37897 WXCONFIG_LIBS="$LIBS"
37898
37899 if test "$wxUSE_REGEX" = "builtin" ; then
37900     wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37901 fi
37902 if test "$wxUSE_EXPAT" = "builtin" ; then
37903     wxconfig_3rdparty="expat $wxconfig_3rdparty"
37904 fi
37905 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37906     wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37907 fi
37908 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37909     wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37910 fi
37911 if test "$wxUSE_LIBPNG" = "builtin" ; then
37912     wxconfig_3rdparty="png $wxconfig_3rdparty"
37913 fi
37914 if test "$wxUSE_ZLIB" = "builtin" ; then
37915     wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37916 fi
37917
37918 for i in $wxconfig_3rdparty ; do
37919     WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37920 done
37921
37922
37923 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37924     WXUNIV=1
37925
37926     case "$wxUNIV_THEMES" in
37927         ''|all)
37928             $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37929
37930             ;;
37931
37932         *)
37933             for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37934                 cat >>confdefs.h <<_ACEOF
37935 #define wxUSE_THEME_$t 1
37936 _ACEOF
37937
37938             done
37939     esac
37940 else
37941     WXUNIV=0
37942 fi
37943
37944
37945
37946
37947
37948
37949
37950
37951 if test $wxUSE_MONOLITHIC = "yes" ; then
37952     MONOLITHIC=1
37953 else
37954     MONOLITHIC=0
37955 fi
37956
37957 if test $wxUSE_PLUGINS = "yes" ; then
37958     USE_PLUGINS=1
37959 else
37960     USE_PLUGINS=0
37961 fi
37962
37963 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37964     USE_QA=1
37965 else
37966     USE_QA=0
37967 fi
37968
37969 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37970     OFFICIAL_BUILD=1
37971 else
37972     OFFICIAL_BUILD=0
37973 fi
37974
37975
37976
37977
37978
37979
37980
37981
37982
37983
37984
37985
37986
37987
37988
37989
37990
37991
37992
37993
37994
37995
37996
37997 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37998
37999
38000
38001
38002
38003
38004
38005
38006
38007
38008 case "$TOOLKIT" in
38009     GTK)
38010         TOOLKIT_DESC="GTK+"
38011         if test "$WXGTK2" = 1; then
38012             if test "$WXGTK3" = 1; then
38013                 TOOLKIT_DESC="$TOOLKIT_DESC 3"
38014             else
38015                 TOOLKIT_DESC="$TOOLKIT_DESC 2"
38016             fi
38017             if test "$wxUSE_GTKPRINT" = "yes" ; then
38018                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
38019             fi
38020             if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
38021                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
38022             fi
38023             if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
38024                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
38025             fi
38026             if test "$wxUSE_LIBNOTIFY" = "yes" ; then
38027                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA libnotify"
38028             fi
38029             if test "$wxUSE_LIBHILDON" = "yes"; then
38030                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
38031             fi
38032             if test "$wxUSE_LIBHILDON2" = "yes"; then
38033                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
38034             fi
38035
38036             if test "$TOOLKIT_EXTRA" != ""; then
38037                 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
38038             fi
38039         fi
38040         ;;
38041
38042     ?*)
38043         TOOLKIT_DESC=$TOOLKIT_LOWERCASE
38044         ;;
38045
38046     *)
38047         TOOLKIT_DESC="base only"
38048         ;;
38049 esac
38050
38051 if test "$wxUSE_WINE" = "yes"; then
38052     BAKEFILE_FORCE_PLATFORM=win32
38053 fi
38054
38055 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
38056 then
38057     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
38058 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
38059 if ${wx_cv_gcc_pch_bug+:} false; then :
38060   $as_echo_n "(cached) " >&6
38061 else
38062
38063             echo '#include <stdio.h>
38064                   const wchar_t test_var[] = L"awidetest";' > conftest.h
38065
38066             echo '#include "conftest.h"
38067                   int main()
38068                   {
38069                      printf("%ls", test_var);
38070                      return 0;
38071                   }' > conftest.cpp
38072
38073             wx_cv_gcc_pch_bug="pch not supported"
38074
38075             if $CXX conftest.h >/dev/null 2>&1
38076             then
38077                 wx_cv_gcc_pch_bug=
38078
38079                 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
38080                 then
38081                     if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
38082                         grep awidetest >/dev/null
38083                     then
38084                         wx_cv_gcc_pch_bug=no
38085                     else
38086                         wx_cv_gcc_pch_bug=yes
38087                     fi
38088                 fi
38089             fi
38090
38091             rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
38092
38093 fi
38094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
38095 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
38096
38097     if test "$wx_cv_gcc_pch_bug" = yes; then
38098                         bk_use_pch=no
38099     fi
38100 fi
38101
38102 # Find a good install program.  We prefer a C program (faster),
38103 # so one script is as good as another.  But avoid the broken or
38104 # incompatible versions:
38105 # SysV /etc/install, /usr/sbin/install
38106 # SunOS /usr/etc/install
38107 # IRIX /sbin/install
38108 # AIX /bin/install
38109 # AmigaOS /C/install, which installs bootblocks on floppy discs
38110 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38111 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38112 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38113 # OS/2's system install, which has a completely different semantic
38114 # ./install, which can be erroneously created by make from ./install.sh.
38115 # Reject install programs that cannot install multiple files.
38116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
38117 $as_echo_n "checking for a BSD-compatible install... " >&6; }
38118 if test -z "$INSTALL"; then
38119 if ${ac_cv_path_install+:} false; then :
38120   $as_echo_n "(cached) " >&6
38121 else
38122   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38123 for as_dir in $PATH
38124 do
38125   IFS=$as_save_IFS
38126   test -z "$as_dir" && as_dir=.
38127     # Account for people who put trailing slashes in PATH elements.
38128 case $as_dir/ in #((
38129   ./ | .// | /[cC]/* | \
38130   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
38131   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
38132   /usr/ucb/* ) ;;
38133   *)
38134     # OSF1 and SCO ODT 3.0 have their own names for install.
38135     # Don't use installbsd from OSF since it installs stuff as root
38136     # by default.
38137     for ac_prog in ginstall scoinst install; do
38138       for ac_exec_ext in '' $ac_executable_extensions; do
38139         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38140           if test $ac_prog = install &&
38141             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38142             # AIX install.  It has an incompatible calling convention.
38143             :
38144           elif test $ac_prog = install &&
38145             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38146             # program-specific install script used by HP pwplus--don't use.
38147             :
38148           else
38149             rm -rf conftest.one conftest.two conftest.dir
38150             echo one > conftest.one
38151             echo two > conftest.two
38152             mkdir conftest.dir
38153             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
38154               test -s conftest.one && test -s conftest.two &&
38155               test -s conftest.dir/conftest.one &&
38156               test -s conftest.dir/conftest.two
38157             then
38158               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
38159               break 3
38160             fi
38161           fi
38162         fi
38163       done
38164     done
38165     ;;
38166 esac
38167
38168   done
38169 IFS=$as_save_IFS
38170
38171 rm -rf conftest.one conftest.two conftest.dir
38172
38173 fi
38174   if test "${ac_cv_path_install+set}" = set; then
38175     INSTALL=$ac_cv_path_install
38176   else
38177     # As a last resort, use the slow shell script.  Don't cache a
38178     # value for INSTALL within a source directory, because that will
38179     # break other packages using the cache if that directory is
38180     # removed, or if the value is a relative name.
38181     INSTALL=$ac_install_sh
38182   fi
38183 fi
38184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
38185 $as_echo "$INSTALL" >&6; }
38186
38187 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38188 # It thinks the first close brace ends the variable substitution.
38189 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38190
38191 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38192
38193 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38194
38195
38196
38197
38198
38199
38200
38201     if test "x$BAKEFILE_HOST" = "x"; then
38202                if test "x${host}" = "x" ; then
38203                        as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
38204                fi
38205
38206         BAKEFILE_HOST="${host}"
38207     fi
38208
38209     if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38210
38211     if test -n "$ac_tool_prefix"; then
38212   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38213 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
38214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38215 $as_echo_n "checking for $ac_word... " >&6; }
38216 if ${ac_cv_prog_RANLIB+:} false; then :
38217   $as_echo_n "(cached) " >&6
38218 else
38219   if test -n "$RANLIB"; then
38220   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
38221 else
38222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38223 for as_dir in $PATH
38224 do
38225   IFS=$as_save_IFS
38226   test -z "$as_dir" && as_dir=.
38227     for ac_exec_ext in '' $ac_executable_extensions; do
38228   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38229     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38230     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38231     break 2
38232   fi
38233 done
38234   done
38235 IFS=$as_save_IFS
38236
38237 fi
38238 fi
38239 RANLIB=$ac_cv_prog_RANLIB
38240 if test -n "$RANLIB"; then
38241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
38242 $as_echo "$RANLIB" >&6; }
38243 else
38244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38245 $as_echo "no" >&6; }
38246 fi
38247
38248
38249 fi
38250 if test -z "$ac_cv_prog_RANLIB"; then
38251   ac_ct_RANLIB=$RANLIB
38252   # Extract the first word of "ranlib", so it can be a program name with args.
38253 set dummy ranlib; ac_word=$2
38254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38255 $as_echo_n "checking for $ac_word... " >&6; }
38256 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
38257   $as_echo_n "(cached) " >&6
38258 else
38259   if test -n "$ac_ct_RANLIB"; then
38260   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38261 else
38262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38263 for as_dir in $PATH
38264 do
38265   IFS=$as_save_IFS
38266   test -z "$as_dir" && as_dir=.
38267     for ac_exec_ext in '' $ac_executable_extensions; do
38268   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38269     ac_cv_prog_ac_ct_RANLIB="ranlib"
38270     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38271     break 2
38272   fi
38273 done
38274   done
38275 IFS=$as_save_IFS
38276
38277 fi
38278 fi
38279 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38280 if test -n "$ac_ct_RANLIB"; then
38281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
38282 $as_echo "$ac_ct_RANLIB" >&6; }
38283 else
38284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38285 $as_echo "no" >&6; }
38286 fi
38287
38288   if test "x$ac_ct_RANLIB" = x; then
38289     RANLIB=":"
38290   else
38291     case $cross_compiling:$ac_tool_warned in
38292 yes:)
38293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38294 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38295 ac_tool_warned=yes ;;
38296 esac
38297     RANLIB=$ac_ct_RANLIB
38298   fi
38299 else
38300   RANLIB="$ac_cv_prog_RANLIB"
38301 fi
38302
38303
38304     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
38305 $as_echo_n "checking whether ln -s works... " >&6; }
38306 LN_S=$as_ln_s
38307 if test "$LN_S" = "ln -s"; then
38308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38309 $as_echo "yes" >&6; }
38310 else
38311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
38312 $as_echo "no, using $LN_S" >&6; }
38313 fi
38314
38315
38316     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38317 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
38318 set x ${MAKE-make}
38319 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
38320 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
38321   $as_echo_n "(cached) " >&6
38322 else
38323   cat >conftest.make <<\_ACEOF
38324 SHELL = /bin/sh
38325 all:
38326         @echo '@@@%%%=$(MAKE)=@@@%%%'
38327 _ACEOF
38328 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38329 case `${MAKE-make} -f conftest.make 2>/dev/null` in
38330   *@@@%%%=?*=@@@%%%*)
38331     eval ac_cv_prog_make_${ac_make}_set=yes;;
38332   *)
38333     eval ac_cv_prog_make_${ac_make}_set=no;;
38334 esac
38335 rm -f conftest.make
38336 fi
38337 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
38338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38339 $as_echo "yes" >&6; }
38340   SET_MAKE=
38341 else
38342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38343 $as_echo "no" >&6; }
38344   SET_MAKE="MAKE=${MAKE-make}"
38345 fi
38346
38347
38348
38349     if test "x$SUNCXX" = "xyes"; then
38350                                 AR=$CXX
38351         AROPTIONS="-xar -o"
38352
38353     elif test "x$SGICC" = "xyes"; then
38354                 AR=$CXX
38355         AROPTIONS="-ar -o"
38356
38357     else
38358         if test -n "$ac_tool_prefix"; then
38359   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38360 set dummy ${ac_tool_prefix}ar; ac_word=$2
38361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38362 $as_echo_n "checking for $ac_word... " >&6; }
38363 if ${ac_cv_prog_AR+:} false; then :
38364   $as_echo_n "(cached) " >&6
38365 else
38366   if test -n "$AR"; then
38367   ac_cv_prog_AR="$AR" # Let the user override the test.
38368 else
38369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38370 for as_dir in $PATH
38371 do
38372   IFS=$as_save_IFS
38373   test -z "$as_dir" && as_dir=.
38374     for ac_exec_ext in '' $ac_executable_extensions; do
38375   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38376     ac_cv_prog_AR="${ac_tool_prefix}ar"
38377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38378     break 2
38379   fi
38380 done
38381   done
38382 IFS=$as_save_IFS
38383
38384 fi
38385 fi
38386 AR=$ac_cv_prog_AR
38387 if test -n "$AR"; then
38388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38389 $as_echo "$AR" >&6; }
38390 else
38391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38392 $as_echo "no" >&6; }
38393 fi
38394
38395
38396 fi
38397 if test -z "$ac_cv_prog_AR"; then
38398   ac_ct_AR=$AR
38399   # Extract the first word of "ar", so it can be a program name with args.
38400 set dummy ar; ac_word=$2
38401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38402 $as_echo_n "checking for $ac_word... " >&6; }
38403 if ${ac_cv_prog_ac_ct_AR+:} false; then :
38404   $as_echo_n "(cached) " >&6
38405 else
38406   if test -n "$ac_ct_AR"; then
38407   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38408 else
38409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38410 for as_dir in $PATH
38411 do
38412   IFS=$as_save_IFS
38413   test -z "$as_dir" && as_dir=.
38414     for ac_exec_ext in '' $ac_executable_extensions; do
38415   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38416     ac_cv_prog_ac_ct_AR="ar"
38417     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38418     break 2
38419   fi
38420 done
38421   done
38422 IFS=$as_save_IFS
38423
38424 fi
38425 fi
38426 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38427 if test -n "$ac_ct_AR"; then
38428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38429 $as_echo "$ac_ct_AR" >&6; }
38430 else
38431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38432 $as_echo "no" >&6; }
38433 fi
38434
38435   if test "x$ac_ct_AR" = x; then
38436     AR="ar"
38437   else
38438     case $cross_compiling:$ac_tool_warned in
38439 yes:)
38440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38442 ac_tool_warned=yes ;;
38443 esac
38444     AR=$ac_ct_AR
38445   fi
38446 else
38447   AR="$ac_cv_prog_AR"
38448 fi
38449
38450         AROPTIONS=rcu
38451     fi
38452
38453
38454     if test -n "$ac_tool_prefix"; then
38455   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38456 set dummy ${ac_tool_prefix}strip; ac_word=$2
38457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38458 $as_echo_n "checking for $ac_word... " >&6; }
38459 if ${ac_cv_prog_STRIP+:} false; then :
38460   $as_echo_n "(cached) " >&6
38461 else
38462   if test -n "$STRIP"; then
38463   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38464 else
38465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38466 for as_dir in $PATH
38467 do
38468   IFS=$as_save_IFS
38469   test -z "$as_dir" && as_dir=.
38470     for ac_exec_ext in '' $ac_executable_extensions; do
38471   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38472     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38474     break 2
38475   fi
38476 done
38477   done
38478 IFS=$as_save_IFS
38479
38480 fi
38481 fi
38482 STRIP=$ac_cv_prog_STRIP
38483 if test -n "$STRIP"; then
38484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38485 $as_echo "$STRIP" >&6; }
38486 else
38487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38488 $as_echo "no" >&6; }
38489 fi
38490
38491
38492 fi
38493 if test -z "$ac_cv_prog_STRIP"; then
38494   ac_ct_STRIP=$STRIP
38495   # Extract the first word of "strip", so it can be a program name with args.
38496 set dummy strip; ac_word=$2
38497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38498 $as_echo_n "checking for $ac_word... " >&6; }
38499 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
38500   $as_echo_n "(cached) " >&6
38501 else
38502   if test -n "$ac_ct_STRIP"; then
38503   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38504 else
38505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38506 for as_dir in $PATH
38507 do
38508   IFS=$as_save_IFS
38509   test -z "$as_dir" && as_dir=.
38510     for ac_exec_ext in '' $ac_executable_extensions; do
38511   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38512     ac_cv_prog_ac_ct_STRIP="strip"
38513     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38514     break 2
38515   fi
38516 done
38517   done
38518 IFS=$as_save_IFS
38519
38520 fi
38521 fi
38522 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38523 if test -n "$ac_ct_STRIP"; then
38524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38525 $as_echo "$ac_ct_STRIP" >&6; }
38526 else
38527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38528 $as_echo "no" >&6; }
38529 fi
38530
38531   if test "x$ac_ct_STRIP" = x; then
38532     STRIP=":"
38533   else
38534     case $cross_compiling:$ac_tool_warned in
38535 yes:)
38536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38538 ac_tool_warned=yes ;;
38539 esac
38540     STRIP=$ac_ct_STRIP
38541   fi
38542 else
38543   STRIP="$ac_cv_prog_STRIP"
38544 fi
38545
38546     if test -n "$ac_tool_prefix"; then
38547   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38548 set dummy ${ac_tool_prefix}nm; ac_word=$2
38549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38550 $as_echo_n "checking for $ac_word... " >&6; }
38551 if ${ac_cv_prog_NM+:} false; then :
38552   $as_echo_n "(cached) " >&6
38553 else
38554   if test -n "$NM"; then
38555   ac_cv_prog_NM="$NM" # Let the user override the test.
38556 else
38557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38558 for as_dir in $PATH
38559 do
38560   IFS=$as_save_IFS
38561   test -z "$as_dir" && as_dir=.
38562     for ac_exec_ext in '' $ac_executable_extensions; do
38563   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38564     ac_cv_prog_NM="${ac_tool_prefix}nm"
38565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38566     break 2
38567   fi
38568 done
38569   done
38570 IFS=$as_save_IFS
38571
38572 fi
38573 fi
38574 NM=$ac_cv_prog_NM
38575 if test -n "$NM"; then
38576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38577 $as_echo "$NM" >&6; }
38578 else
38579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38580 $as_echo "no" >&6; }
38581 fi
38582
38583
38584 fi
38585 if test -z "$ac_cv_prog_NM"; then
38586   ac_ct_NM=$NM
38587   # Extract the first word of "nm", so it can be a program name with args.
38588 set dummy nm; ac_word=$2
38589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38590 $as_echo_n "checking for $ac_word... " >&6; }
38591 if ${ac_cv_prog_ac_ct_NM+:} false; then :
38592   $as_echo_n "(cached) " >&6
38593 else
38594   if test -n "$ac_ct_NM"; then
38595   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38596 else
38597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38598 for as_dir in $PATH
38599 do
38600   IFS=$as_save_IFS
38601   test -z "$as_dir" && as_dir=.
38602     for ac_exec_ext in '' $ac_executable_extensions; do
38603   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38604     ac_cv_prog_ac_ct_NM="nm"
38605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38606     break 2
38607   fi
38608 done
38609   done
38610 IFS=$as_save_IFS
38611
38612 fi
38613 fi
38614 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38615 if test -n "$ac_ct_NM"; then
38616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38617 $as_echo "$ac_ct_NM" >&6; }
38618 else
38619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38620 $as_echo "no" >&6; }
38621 fi
38622
38623   if test "x$ac_ct_NM" = x; then
38624     NM=":"
38625   else
38626     case $cross_compiling:$ac_tool_warned in
38627 yes:)
38628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38630 ac_tool_warned=yes ;;
38631 esac
38632     NM=$ac_ct_NM
38633   fi
38634 else
38635   NM="$ac_cv_prog_NM"
38636 fi
38637
38638
38639         INSTALL_DIR="mkdir -p"
38640
38641
38642     LDFLAGS_GUI=
38643     case ${BAKEFILE_HOST} in
38644         *-*-cygwin* | *-*-mingw32* )
38645         LDFLAGS_GUI="-mwindows"
38646     esac
38647
38648
38649     fi
38650
38651         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38652 $as_echo_n "checking if make is GNU make... " >&6; }
38653 if ${bakefile_cv_prog_makeisgnu+:} false; then :
38654   $as_echo_n "(cached) " >&6
38655 else
38656
38657         if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38658                 egrep -s GNU > /dev/null); then
38659             bakefile_cv_prog_makeisgnu="yes"
38660         else
38661             bakefile_cv_prog_makeisgnu="no"
38662         fi
38663
38664 fi
38665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38666 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38667
38668     if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38669         IF_GNU_MAKE=""
38670     else
38671         IF_GNU_MAKE="#"
38672     fi
38673
38674
38675
38676     PLATFORM_UNIX=0
38677     PLATFORM_WIN32=0
38678     PLATFORM_MSDOS=0
38679     PLATFORM_MAC=0
38680     PLATFORM_MACOS=0
38681     PLATFORM_MACOSX=0
38682     PLATFORM_OS2=0
38683     PLATFORM_BEOS=0
38684
38685     if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38686         case "${BAKEFILE_HOST}" in
38687             *-*-mingw32* )
38688                 PLATFORM_WIN32=1
38689             ;;
38690             *-pc-msdosdjgpp )
38691                 PLATFORM_MSDOS=1
38692             ;;
38693             *-pc-os2_emx | *-pc-os2-emx )
38694                 PLATFORM_OS2=1
38695             ;;
38696             *-*-darwin* )
38697                 PLATFORM_MAC=1
38698                 PLATFORM_MACOSX=1
38699             ;;
38700             *-*-beos* )
38701                 PLATFORM_BEOS=1
38702             ;;
38703             powerpc-apple-macos* )
38704                 PLATFORM_MAC=1
38705                 PLATFORM_MACOS=1
38706             ;;
38707             * )
38708                 PLATFORM_UNIX=1
38709             ;;
38710         esac
38711     else
38712         case "$BAKEFILE_FORCE_PLATFORM" in
38713             win32 )
38714                 PLATFORM_WIN32=1
38715             ;;
38716             msdos )
38717                 PLATFORM_MSDOS=1
38718             ;;
38719             os2 )
38720                 PLATFORM_OS2=1
38721             ;;
38722             darwin )
38723                 PLATFORM_MAC=1
38724                 PLATFORM_MACOSX=1
38725             ;;
38726             unix )
38727                 PLATFORM_UNIX=1
38728             ;;
38729             beos )
38730                 PLATFORM_BEOS=1
38731             ;;
38732             * )
38733                 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38734             ;;
38735         esac
38736     fi
38737
38738
38739
38740
38741
38742
38743
38744
38745
38746
38747
38748     # Check whether --enable-omf was given.
38749 if test "${enable_omf+set}" = set; then :
38750   enableval=$enable_omf; bk_os2_use_omf="$enableval"
38751 fi
38752
38753
38754     case "${BAKEFILE_HOST}" in
38755       *-*-darwin* )
38756                         if test "x$GCC" = "xyes"; then
38757             CFLAGS="$CFLAGS -fno-common"
38758             CXXFLAGS="$CXXFLAGS -fno-common"
38759         fi
38760         if test "x$XLCC" = "xyes"; then
38761             CFLAGS="$CFLAGS -qnocommon"
38762             CXXFLAGS="$CXXFLAGS -qnocommon"
38763         fi
38764         ;;
38765
38766       *-pc-os2_emx | *-pc-os2-emx )
38767         if test "x$bk_os2_use_omf" = "xyes" ; then
38768             AR=emxomfar
38769             RANLIB=:
38770             LDFLAGS="-Zomf $LDFLAGS"
38771             CFLAGS="-Zomf $CFLAGS"
38772             CXXFLAGS="-Zomf $CXXFLAGS"
38773             OS2_LIBEXT="lib"
38774         else
38775             OS2_LIBEXT="a"
38776         fi
38777         ;;
38778
38779       i*86-*-beos* )
38780         LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38781         ;;
38782     esac
38783
38784
38785     SO_SUFFIX="so"
38786     SO_SUFFIX_MODULE="so"
38787     EXEEXT=""
38788     LIBPREFIX="lib"
38789     LIBEXT=".a"
38790     DLLPREFIX="lib"
38791     DLLPREFIX_MODULE=""
38792     DLLIMP_SUFFIX=""
38793     dlldir="$libdir"
38794
38795     case "${BAKEFILE_HOST}" in
38796                         ia64-hp-hpux* )
38797         ;;
38798         *-hp-hpux* )
38799             SO_SUFFIX="sl"
38800             SO_SUFFIX_MODULE="sl"
38801         ;;
38802         *-*-aix* )
38803                                                                         SO_SUFFIX="a"
38804             SO_SUFFIX_MODULE="a"
38805         ;;
38806         *-*-cygwin* )
38807             SO_SUFFIX="dll"
38808             SO_SUFFIX_MODULE="dll"
38809             DLLIMP_SUFFIX="dll.a"
38810             EXEEXT=".exe"
38811             DLLPREFIX="cyg"
38812             dlldir="$bindir"
38813         ;;
38814         *-*-mingw32* )
38815             SO_SUFFIX="dll"
38816             SO_SUFFIX_MODULE="dll"
38817             DLLIMP_SUFFIX="dll.a"
38818             EXEEXT=".exe"
38819             DLLPREFIX=""
38820             dlldir="$bindir"
38821         ;;
38822         *-pc-msdosdjgpp )
38823             EXEEXT=".exe"
38824             DLLPREFIX=""
38825             dlldir="$bindir"
38826         ;;
38827         *-pc-os2_emx | *-pc-os2-emx )
38828             SO_SUFFIX="dll"
38829             SO_SUFFIX_MODULE="dll"
38830             DLLIMP_SUFFIX=$OS2_LIBEXT
38831             EXEEXT=".exe"
38832             DLLPREFIX=""
38833             LIBPREFIX=""
38834             LIBEXT=".$OS2_LIBEXT"
38835             dlldir="$bindir"
38836         ;;
38837         *-*-darwin* )
38838             SO_SUFFIX="dylib"
38839             SO_SUFFIX_MODULE="bundle"
38840         ;;
38841     esac
38842
38843     if test "x$DLLIMP_SUFFIX" = "x" ; then
38844         DLLIMP_SUFFIX="$SO_SUFFIX"
38845     fi
38846
38847
38848
38849
38850
38851
38852
38853
38854
38855
38856
38857
38858         PIC_FLAG=""
38859     if test "x$GCC" = "xyes"; then
38860                 PIC_FLAG="-fPIC"
38861     fi
38862
38863         SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38864     SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38865     WINDOWS_IMPLIB=0
38866
38867     case "${BAKEFILE_HOST}" in
38868       *-hp-hpux* )
38869                 if test "x$GCC" != "xyes"; then
38870                         LDFLAGS="$LDFLAGS -L/usr/lib"
38871
38872             SHARED_LD_CC="${CC} -b -o"
38873             SHARED_LD_CXX="${CXX} -b -o"
38874             PIC_FLAG="+Z"
38875         fi
38876       ;;
38877
38878       *-*-linux* )
38879                         if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38880             PIC_FLAG="-KPIC"
38881         elif test "x$SUNCXX" = "xyes"; then
38882             SHARED_LD_CC="${CC} -G -o"
38883             SHARED_LD_CXX="${CXX} -G -o"
38884             PIC_FLAG="-KPIC"
38885         fi
38886       ;;
38887
38888       *-*-solaris2* )
38889         if test "x$SUNCXX" = xyes ; then
38890             SHARED_LD_CC="${CC} -G -o"
38891             SHARED_LD_CXX="${CXX} -G -o"
38892             PIC_FLAG="-KPIC"
38893         fi
38894       ;;
38895
38896       *-*-darwin* )
38897
38898 D='$'
38899 cat <<EOF >shared-ld-sh
38900 #!/bin/sh
38901 #-----------------------------------------------------------------------------
38902 #-- Name:        distrib/mac/shared-ld-sh
38903 #-- Purpose:     Link a mach-o dynamic shared library for Darwin / Mac OS X
38904 #-- Author:      Gilles Depeyrot
38905 #-- Copyright:   (c) 2002 Gilles Depeyrot
38906 #-- Licence:     any use permitted
38907 #-----------------------------------------------------------------------------
38908
38909 verbose=0
38910 args=""
38911 objects=""
38912 linking_flag="-dynamiclib"
38913 ldargs="-r -keep_private_externs -nostdlib"
38914
38915 if test "x${D}CXX" = "x"; then
38916     CXX="c++"
38917 fi
38918
38919 while test ${D}# -gt 0; do
38920     case ${D}1 in
38921
38922        -v)
38923         verbose=1
38924         ;;
38925
38926        -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38927         # collect these options and values
38928         args="${D}{args} ${D}1 ${D}2"
38929         shift
38930         ;;
38931
38932        -arch|-isysroot)
38933         # collect these options and values
38934         ldargs="${D}{ldargs} ${D}1 ${D}2"
38935         shift
38936         ;;
38937
38938        -s|-Wl,*)
38939         # collect these load args
38940         ldargs="${D}{ldargs} ${D}1"
38941         ;;
38942
38943        -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38944         # collect these options
38945         args="${D}{args} ${D}1"
38946         ;;
38947
38948        -dynamiclib|-bundle)
38949         linking_flag="${D}1"
38950         ;;
38951
38952        -*)
38953         echo "shared-ld: unhandled option '${D}1'"
38954         exit 1
38955         ;;
38956
38957         *.o | *.a | *.dylib)
38958         # collect object files
38959         objects="${D}{objects} ${D}1"
38960         ;;
38961
38962         *)
38963         echo "shared-ld: unhandled argument '${D}1'"
38964         exit 1
38965         ;;
38966
38967     esac
38968     shift
38969 done
38970
38971 status=0
38972
38973 #
38974 # Link one module containing all the others
38975 #
38976 if test ${D}{verbose} = 1; then
38977     echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38978 fi
38979 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38980 status=${D}?
38981
38982 #
38983 # Link the shared library from the single module created, but only if the
38984 # previous command didn't fail:
38985 #
38986 if test ${D}{status} = 0; then
38987     if test ${D}{verbose} = 1; then
38988         echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38989     fi
38990     ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38991     status=${D}?
38992 fi
38993
38994 #
38995 # Remove intermediate module
38996 #
38997 rm -f master.${D}${D}.o
38998
38999 exit ${D}status
39000 EOF
39001
39002         chmod +x shared-ld-sh
39003
39004         SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39005         SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
39006
39007
39008                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
39009 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
39010 if ${bakefile_cv_gcc31+:} false; then :
39011   $as_echo_n "(cached) " >&6
39012 else
39013
39014            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39015 /* end confdefs.h.  */
39016
39017 int
39018 main ()
39019 {
39020
39021                    #if (__GNUC__ < 3) || \
39022                        ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39023                        This is old gcc
39024                    #endif
39025
39026   ;
39027   return 0;
39028 }
39029 _ACEOF
39030 if ac_fn_c_try_compile "$LINENO"; then :
39031
39032                    bakefile_cv_gcc31=yes
39033
39034 else
39035
39036                    bakefile_cv_gcc31=no
39037
39038
39039 fi
39040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39041
39042 fi
39043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
39044 $as_echo "$bakefile_cv_gcc31" >&6; }
39045         if test "$bakefile_cv_gcc31" = "no"; then
39046                         SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39047             SHARED_LD_CXX="$SHARED_LD_CC"
39048         else
39049                         SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39050             SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39051         fi
39052
39053         if test "x$GCC" == "xyes"; then
39054             PIC_FLAG="-dynamic -fPIC"
39055         fi
39056         if test "x$XLCC" = "xyes"; then
39057             PIC_FLAG="-dynamic -DPIC"
39058         fi
39059       ;;
39060
39061       *-*-aix* )
39062         if test "x$GCC" = "xyes"; then
39063                                                             PIC_FLAG=""
39064
39065                                                                                     case "${BAKEFILE_HOST}" in
39066                 *-*-aix5* )
39067                     LD_EXPFULL="-Wl,-bexpfull"
39068                     ;;
39069             esac
39070
39071             SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
39072             SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
39073         else
39074                                     # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39075 set dummy makeC++SharedLib; ac_word=$2
39076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39077 $as_echo_n "checking for $ac_word... " >&6; }
39078 if ${ac_cv_prog_AIX_CXX_LD+:} false; then :
39079   $as_echo_n "(cached) " >&6
39080 else
39081   if test -n "$AIX_CXX_LD"; then
39082   ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
39083 else
39084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39085 for as_dir in $PATH
39086 do
39087   IFS=$as_save_IFS
39088   test -z "$as_dir" && as_dir=.
39089     for ac_exec_ext in '' $ac_executable_extensions; do
39090   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39091     ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
39092     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39093     break 2
39094   fi
39095 done
39096   done
39097 IFS=$as_save_IFS
39098
39099   test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
39100 fi
39101 fi
39102 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
39103 if test -n "$AIX_CXX_LD"; then
39104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
39105 $as_echo "$AIX_CXX_LD" >&6; }
39106 else
39107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39108 $as_echo "no" >&6; }
39109 fi
39110
39111
39112             SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
39113             SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
39114         fi
39115       ;;
39116
39117       *-*-beos* )
39118                         SHARED_LD_CC="${LD} -nostart -o"
39119         SHARED_LD_CXX="${LD} -nostart -o"
39120       ;;
39121
39122       *-*-irix* )
39123                 if test "x$GCC" != "xyes"; then
39124             PIC_FLAG="-KPIC"
39125         fi
39126       ;;
39127
39128       *-*-cygwin* | *-*-mingw32* )
39129         PIC_FLAG=""
39130         SHARED_LD_CC="\$(CC) -shared -o"
39131         SHARED_LD_CXX="\$(CXX) -shared -o"
39132         WINDOWS_IMPLIB=1
39133       ;;
39134
39135       *-pc-os2_emx | *-pc-os2-emx )
39136         SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39137         SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39138         PIC_FLAG=""
39139
39140 D='$'
39141 cat <<EOF >dllar.sh
39142 #!/bin/sh
39143 #
39144 # dllar - a tool to build both a .dll and an .a file
39145 # from a set of object (.o) files for EMX/OS2.
39146 #
39147 #  Written by Andrew Zabolotny, bit@freya.etu.ru
39148 #  Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39149 #
39150 #  This script will accept a set of files on the command line.
39151 #  All the public symbols from the .o files will be exported into
39152 #  a .DEF file, then linker will be run (through gcc) against them to
39153 #  build a shared library consisting of all given .o files. All libraries
39154 #  (.a) will be first decompressed into component .o files then act as
39155 #  described above. You can optionally give a description (-d "description")
39156 #  which will be put into .DLL. To see the list of accepted options (as well
39157 #  as command-line format) simply run this program without options. The .DLL
39158 #  is built to be imported by name (there is no guarantee that new versions
39159 #  of the library you build will have same ordinals for same symbols).
39160 #
39161 #  dllar is free software; you can redistribute it and/or modify
39162 #  it under the terms of the GNU General Public License as published by
39163 #  the Free Software Foundation; either version 2, or (at your option)
39164 #  any later version.
39165 #
39166 #  dllar is distributed in the hope that it will be useful,
39167 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
39168 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
39169 #  GNU General Public License for more details.
39170 #
39171 #  You should have received a copy of the GNU General Public License
39172 #  along with dllar; see the file COPYING.  If not, write to the Free
39173 #  Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39174 #  02111-1307, USA.
39175
39176 # To successfuly run this program you will need:
39177 #  - Current drive should have LFN support (HPFS, ext2, network, etc)
39178 #    (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39179 #  - gcc
39180 #    (used to build the .dll)
39181 #  - emxexp
39182 #    (used to create .def file from .o files)
39183 #  - emximp
39184 #    (used to create .a file from .def file)
39185 #  - GNU text utilites (cat, sort, uniq)
39186 #    used to process emxexp output
39187 #  - GNU file utilities (mv, rm)
39188 #  - GNU sed
39189 #  - lxlite (optional, see flag below)
39190 #    (used for general .dll cleanup)
39191 #
39192
39193 flag_USE_LXLITE=1;
39194
39195 #
39196 # helper functions
39197 # basnam, variant of basename, which does _not_ remove the path, _iff_
39198 #                              second argument (suffix to remove) is given
39199 basnam(){
39200     case ${D}# in
39201     1)
39202         echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39203         ;;
39204     2)
39205         echo ${D}1 | sed 's/'${D}2'${D}//'
39206         ;;
39207     *)
39208         echo "error in basnam ${D}*"
39209         exit 8
39210         ;;
39211     esac
39212 }
39213
39214 # Cleanup temporary files and output
39215 CleanUp() {
39216     cd ${D}curDir
39217     for i in ${D}inputFiles ; do
39218         case ${D}i in
39219         *!)
39220             rm -rf \`basnam ${D}i !\`
39221             ;;
39222         *)
39223             ;;
39224         esac
39225     done
39226
39227     # Kill result in case of failure as there is just to many stupid make/nmake
39228     # things out there which doesn't do this.
39229     if [ ${D}# -eq 0 ]; then
39230         rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39231     fi
39232 }
39233
39234 # Print usage and exit script with rc=1.
39235 PrintHelp() {
39236  echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39237  echo '       [-name-mangler-script script.sh]'
39238  echo '       [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39239  echo '       [-ord[inals]] -ex[clude] "symbol(s)"'
39240  echo '       [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39241  echo '       [*.o] [*.a]'
39242  echo '*> "output_file" should have no extension.'
39243  echo '   If it has the .o, .a or .dll extension, it is automatically removed.'
39244  echo '   The import library name is derived from this and is set to "name".a,'
39245  echo '   unless overridden by -import'
39246  echo '*> "importlib_name" should have no extension.'
39247  echo '   If it has the .o, or .a extension, it is automatically removed.'
39248  echo '   This name is used as the import library name and may be longer and'
39249  echo '   more descriptive than the DLL name which has to follow the old '
39250  echo '   8.3 convention of FAT.'
39251  echo '*> "script.sh may be given to override the output_file name by a'
39252  echo '   different name. It is mainly useful if the regular make process'
39253  echo '   of some package does not take into account OS/2 restriction of'
39254  echo '   DLL name lengths. It takes the importlib name as input and is'
39255  echo '   supposed to procude a shorter name as output. The script should'
39256  echo '   expect to get importlib_name without extension and should produce'
39257  echo '   a (max.) 8 letter name without extension.'
39258  echo '*> "cc" is used to use another GCC executable.   (default: gcc.exe)'
39259  echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39260  echo '   These flags will be put at the start of GCC command line.'
39261  echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39262  echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39263  echo '   multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39264  echo '   If the last character of a symbol is "*", all symbols beginning'
39265  echo '   with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39266  echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39267  echo '   TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39268  echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
39269  echo '   C runtime DLLs.'
39270  echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
39271  echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39272  echo '   unchanged to GCC at the end of command line.'
39273  echo '*> If you create a DLL from a library and you do not specify -o,'
39274  echo '   the basename for DLL and import library will be set to library name,'
39275  echo '   the initial library will be renamed to 'name'_s.a (_s for static)'
39276  echo '   i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39277  echo '   library will be renamed into gcc_s.a.'
39278  echo '--------'
39279  echo 'Example:'
39280  echo '   dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39281  echo '    -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39282  CleanUp
39283  exit 1
39284 }
39285
39286 # Execute a command.
39287 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39288 # @Uses    Whatever CleanUp() uses.
39289 doCommand() {
39290     echo "${D}*"
39291     eval ${D}*
39292     rcCmd=${D}?
39293
39294     if [ ${D}rcCmd -ne 0 ]; then
39295         echo "command failed, exit code="${D}rcCmd
39296         CleanUp
39297         exit ${D}rcCmd
39298     fi
39299 }
39300
39301 # main routine
39302 # setup globals
39303 cmdLine=${D}*
39304 outFile=""
39305 outimpFile=""
39306 inputFiles=""
39307 renameScript=""
39308 description=""
39309 CC=gcc.exe
39310 CFLAGS="-s -Zcrtdll"
39311 EXTRA_CFLAGS=""
39312 EXPORT_BY_ORDINALS=0
39313 exclude_symbols=""
39314 library_flags=""
39315 curDir=\`pwd\`
39316 curDirS=curDir
39317 case ${D}curDirS in
39318 */)
39319   ;;
39320 *)
39321   curDirS=${D}{curDirS}"/"
39322   ;;
39323 esac
39324 # Parse commandline
39325 libsToLink=0
39326 omfLinking=0
39327 while [ ${D}1 ]; do
39328     case ${D}1 in
39329     -ord*)
39330         EXPORT_BY_ORDINALS=1;
39331         ;;
39332     -o*)
39333         shift
39334         outFile=${D}1
39335         ;;
39336     -i*)
39337         shift
39338         outimpFile=${D}1
39339         ;;
39340     -name-mangler-script)
39341         shift
39342         renameScript=${D}1
39343         ;;
39344     -d*)
39345         shift
39346         description=${D}1
39347         ;;
39348     -f*)
39349         shift
39350         CFLAGS=${D}1
39351         ;;
39352     -c*)
39353         shift
39354         CC=${D}1
39355         ;;
39356     -h*)
39357         PrintHelp
39358         ;;
39359     -ex*)
39360         shift
39361         exclude_symbols=${D}{exclude_symbols}${D}1" "
39362         ;;
39363     -libf*)
39364         shift
39365         library_flags=${D}{library_flags}${D}1" "
39366         ;;
39367     -nocrt*)
39368         CFLAGS="-s"
39369         ;;
39370     -nolxl*)
39371         flag_USE_LXLITE=0
39372         ;;
39373     -* | /*)
39374         case ${D}1 in
39375         -L* | -l*)
39376             libsToLink=1
39377             ;;
39378         -Zomf)
39379             omfLinking=1
39380             ;;
39381         *)
39382             ;;
39383         esac
39384         EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39385         ;;
39386     *.dll)
39387         EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39388         if [ ${D}omfLinking -eq 1 ]; then
39389             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39390         else
39391             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39392         fi
39393         ;;
39394     *)
39395         found=0;
39396         if [ ${D}libsToLink -ne 0 ]; then
39397             EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39398         else
39399             for file in ${D}1 ; do
39400                 if [ -f ${D}file ]; then
39401                     inputFiles="${D}{inputFiles} ${D}file"
39402                     found=1
39403                 fi
39404             done
39405             if [ ${D}found -eq 0 ]; then
39406                 echo "ERROR: No file(s) found: "${D}1
39407                 exit 8
39408             fi
39409         fi
39410       ;;
39411     esac
39412     shift
39413 done # iterate cmdline words
39414
39415 #
39416 if [ -z "${D}inputFiles" ]; then
39417     echo "dllar: no input files"
39418     PrintHelp
39419 fi
39420
39421 # Now extract all .o files from .a files
39422 newInputFiles=""
39423 for file in ${D}inputFiles ; do
39424     case ${D}file in
39425     *.a | *.lib)
39426         case ${D}file in
39427         *.a)
39428             suffix=".a"
39429             AR="ar"
39430             ;;
39431         *.lib)
39432             suffix=".lib"
39433             AR="emxomfar"
39434             EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39435             ;;
39436         *)
39437             ;;
39438         esac
39439         dirname=\`basnam ${D}file ${D}suffix\`"_%"
39440         mkdir ${D}dirname
39441         if [ ${D}? -ne 0 ]; then
39442             echo "Failed to create subdirectory ./${D}dirname"
39443             CleanUp
39444             exit 8;
39445         fi
39446         # Append '!' to indicate archive
39447         newInputFiles="${D}newInputFiles ${D}{dirname}!"
39448         doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39449         cd ${D}curDir
39450         found=0;
39451         for subfile in ${D}dirname/*.o* ; do
39452             if [ -f ${D}subfile ]; then
39453                 found=1
39454                 if [ -s ${D}subfile ]; then
39455                     # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39456                     newInputFiles="${D}newInputFiles ${D}subfile"
39457                 fi
39458             fi
39459         done
39460         if [ ${D}found -eq 0 ]; then
39461             echo "WARNING: there are no files in archive \\'${D}file\\'"
39462         fi
39463         ;;
39464     *)
39465         newInputFiles="${D}{newInputFiles} ${D}file"
39466         ;;
39467     esac
39468 done
39469 inputFiles="${D}newInputFiles"
39470
39471 # Output filename(s).
39472 do_backup=0;
39473 if [ -z ${D}outFile ]; then
39474     do_backup=1;
39475     set outFile ${D}inputFiles; outFile=${D}2
39476 fi
39477
39478 # If it is an archive, remove the '!' and the '_%' suffixes
39479 case ${D}outFile in
39480 *_%!)
39481     outFile=\`basnam ${D}outFile _%!\`
39482     ;;
39483 *)
39484     ;;
39485 esac
39486 case ${D}outFile in
39487 *.dll)
39488     outFile=\`basnam ${D}outFile .dll\`
39489     ;;
39490 *.DLL)
39491     outFile=\`basnam ${D}outFile .DLL\`
39492     ;;
39493 *.o)
39494     outFile=\`basnam ${D}outFile .o\`
39495     ;;
39496 *.obj)
39497     outFile=\`basnam ${D}outFile .obj\`
39498     ;;
39499 *.a)
39500     outFile=\`basnam ${D}outFile .a\`
39501     ;;
39502 *.lib)
39503     outFile=\`basnam ${D}outFile .lib\`
39504     ;;
39505 *)
39506     ;;
39507 esac
39508 case ${D}outimpFile in
39509 *.a)
39510     outimpFile=\`basnam ${D}outimpFile .a\`
39511     ;;
39512 *.lib)
39513     outimpFile=\`basnam ${D}outimpFile .lib\`
39514     ;;
39515 *)
39516     ;;
39517 esac
39518 if [ -z ${D}outimpFile ]; then
39519     outimpFile=${D}outFile
39520 fi
39521 defFile="${D}{outFile}.def"
39522 arcFile="${D}{outimpFile}.a"
39523 arcFile2="${D}{outimpFile}.lib"
39524
39525 #create ${D}dllFile as something matching 8.3 restrictions,
39526 if [ -z ${D}renameScript ] ; then
39527     dllFile="${D}outFile"
39528 else
39529     dllFile=\`${D}renameScript ${D}outimpFile\`
39530 fi
39531
39532 if [ ${D}do_backup -ne 0 ] ; then
39533     if [ -f ${D}arcFile ] ; then
39534         doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39535     fi
39536     if [ -f ${D}arcFile2 ] ; then
39537         doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39538     fi
39539 fi
39540
39541 # Extract public symbols from all the object files.
39542 tmpdefFile=${D}{defFile}_%
39543 rm -f ${D}tmpdefFile
39544 for file in ${D}inputFiles ; do
39545     case ${D}file in
39546     *!)
39547         ;;
39548     *)
39549         doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39550         ;;
39551     esac
39552 done
39553
39554 # Create the def file.
39555 rm -f ${D}defFile
39556 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39557 dllFile="${D}{dllFile}.dll"
39558 if [ ! -z ${D}description ]; then
39559     echo "DESCRIPTION  \\"${D}{description}\\"" >> ${D}defFile
39560 fi
39561 echo "EXPORTS" >> ${D}defFile
39562
39563 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39564 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39565
39566 # Checks if the export is ok or not.
39567 for word in ${D}exclude_symbols; do
39568     grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39569     mv ${D}{tmpdefFile}% ${D}tmpdefFile
39570 done
39571
39572
39573 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39574     sed "=" < ${D}tmpdefFile | \\
39575     sed '
39576       N
39577       : loop
39578       s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39579       t loop
39580     ' > ${D}{tmpdefFile}%
39581     grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39582 else
39583     rm -f ${D}{tmpdefFile}%
39584 fi
39585 cat ${D}tmpdefFile >> ${D}defFile
39586 rm -f ${D}tmpdefFile
39587
39588 # Do linking, create implib, and apply lxlite.
39589 gccCmdl="";
39590 for file in ${D}inputFiles ; do
39591     case ${D}file in
39592     *!)
39593         ;;
39594     *)
39595         gccCmdl="${D}gccCmdl ${D}file"
39596         ;;
39597     esac
39598 done
39599 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39600 touch "${D}{outFile}.dll"
39601
39602 doCommand "emximp -o ${D}arcFile ${D}defFile"
39603 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39604     add_flags="";
39605     if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39606         add_flags="-ynd"
39607     fi
39608     doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39609 fi
39610 doCommand "emxomf -s -l ${D}arcFile"
39611
39612 # Successful exit.
39613 CleanUp 1
39614 exit 0
39615 EOF
39616
39617         chmod +x dllar.sh
39618       ;;
39619
39620       powerpc-apple-macos* | \
39621       *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
39622       *-*-mirbsd* | \
39623       *-*-sunos4* | \
39624       *-*-osf* | \
39625       *-*-dgux5* | \
39626       *-*-sysv5* | \
39627       *-pc-msdosdjgpp )
39628               ;;
39629
39630       *)
39631         as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
39632     esac
39633
39634     if test "x$PIC_FLAG" != "x" ; then
39635         PIC_FLAG="$PIC_FLAG -DPIC"
39636     fi
39637
39638     if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39639         SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39640     fi
39641     if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39642         SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39643     fi
39644
39645
39646
39647
39648
39649
39650
39651
39652
39653     USE_SOVERSION=0
39654     USE_SOVERLINUX=0
39655     USE_SOVERSOLARIS=0
39656     USE_SOVERCYGWIN=0
39657     USE_SOTWOSYMLINKS=0
39658     USE_MACVERSION=0
39659     SONAME_FLAG=
39660
39661     case "${BAKEFILE_HOST}" in
39662       *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39663       *-*-k*bsd*-gnu | *-*-mirbsd* )
39664         if test "x$SUNCXX" = "xyes"; then
39665             SONAME_FLAG="-h "
39666         else
39667             SONAME_FLAG="-Wl,-soname,"
39668         fi
39669         USE_SOVERSION=1
39670         USE_SOVERLINUX=1
39671         USE_SOTWOSYMLINKS=1
39672       ;;
39673
39674       *-*-solaris2* )
39675         SONAME_FLAG="-h "
39676         USE_SOVERSION=1
39677         USE_SOVERSOLARIS=1
39678       ;;
39679
39680       *-*-darwin* )
39681         USE_MACVERSION=1
39682         USE_SOVERSION=1
39683         USE_SOTWOSYMLINKS=1
39684       ;;
39685
39686       *-*-cygwin* )
39687         USE_SOVERSION=1
39688         USE_SOVERCYGWIN=1
39689       ;;
39690     esac
39691
39692
39693
39694
39695
39696
39697
39698
39699
39700
39701     # Check whether --enable-dependency-tracking was given.
39702 if test "${enable_dependency_tracking+set}" = set; then :
39703   enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
39704 fi
39705
39706
39707     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39708 $as_echo_n "checking for dependency tracking method... " >&6; }
39709
39710     BK_DEPS=""
39711     if test "x$bk_use_trackdeps" = "xno" ; then
39712         DEPS_TRACKING=0
39713         { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39714 $as_echo "disabled" >&6; }
39715     else
39716         DEPS_TRACKING=1
39717
39718         if test "x$GCC" = "xyes"; then
39719             DEPSMODE=gcc
39720             DEPSFLAG="-MMD"
39721             { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39722 $as_echo "gcc" >&6; }
39723         elif test "x$MWCC" = "xyes"; then
39724             DEPSMODE=mwcc
39725             DEPSFLAG="-MM"
39726             { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39727 $as_echo "mwcc" >&6; }
39728         elif test "x$SUNCC" = "xyes"; then
39729             DEPSMODE=unixcc
39730             DEPSFLAG="-xM1"
39731             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39732 $as_echo "Sun cc" >&6; }
39733         elif test "x$SGICC" = "xyes"; then
39734             DEPSMODE=unixcc
39735             DEPSFLAG="-M"
39736             { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39737 $as_echo "SGI cc" >&6; }
39738         elif test "x$HPCC" = "xyes"; then
39739             DEPSMODE=unixcc
39740             DEPSFLAG="+make"
39741             { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39742 $as_echo "HP cc" >&6; }
39743         elif test "x$COMPAQCC" = "xyes"; then
39744             DEPSMODE=gcc
39745             DEPSFLAG="-MD"
39746             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39747 $as_echo "Compaq cc" >&6; }
39748         else
39749             DEPS_TRACKING=0
39750             { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39751 $as_echo "none" >&6; }
39752         fi
39753
39754         if test $DEPS_TRACKING = 1 ; then
39755
39756 D='$'
39757 cat <<EOF >bk-deps
39758 #!/bin/sh
39759
39760 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39761 # script. It is used to track C/C++ files dependencies in portable way.
39762 #
39763 # Permission is given to use this file in any way.
39764
39765 DEPSMODE=${DEPSMODE}
39766 DEPSFLAG="${DEPSFLAG}"
39767 DEPSDIRBASE=.deps
39768
39769 if test ${D}DEPSMODE = gcc ; then
39770     ${D}* ${D}{DEPSFLAG}
39771     status=${D}?
39772
39773     # determine location of created files:
39774     while test ${D}# -gt 0; do
39775         case "${D}1" in
39776             -o )
39777                 shift
39778                 objfile=${D}1
39779             ;;
39780             -* )
39781             ;;
39782             * )
39783                 srcfile=${D}1
39784             ;;
39785         esac
39786         shift
39787     done
39788     objfilebase=\`basename ${D}objfile\`
39789     builddir=\`dirname ${D}objfile\`
39790     depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39791     depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39792     depsdir=${D}builddir/${D}DEPSDIRBASE
39793     mkdir -p ${D}depsdir
39794
39795     # if the compiler failed, we're done:
39796     if test ${D}{status} != 0 ; then
39797         rm -f ${D}depfile
39798         exit ${D}{status}
39799     fi
39800
39801     # move created file to the location we want it in:
39802     if test -f ${D}depfile ; then
39803         sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39804         rm -f ${D}depfile
39805     else
39806         # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39807         depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39808         if test ! -f ${D}depfile ; then
39809             # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39810             depfile="${D}objfile.d"
39811         fi
39812         if test -f ${D}depfile ; then
39813             sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39814             rm -f ${D}depfile
39815         fi
39816     fi
39817     exit 0
39818
39819 elif test ${D}DEPSMODE = mwcc ; then
39820     ${D}* || exit ${D}?
39821     # Run mwcc again with -MM and redirect into the dep file we want
39822     # NOTE: We can't use shift here because we need ${D}* to be valid
39823     prevarg=
39824     for arg in ${D}* ; do
39825         if test "${D}prevarg" = "-o"; then
39826             objfile=${D}arg
39827         else
39828             case "${D}arg" in
39829                 -* )
39830                 ;;
39831                 * )
39832                     srcfile=${D}arg
39833                 ;;
39834             esac
39835         fi
39836         prevarg="${D}arg"
39837     done
39838
39839     objfilebase=\`basename ${D}objfile\`
39840     builddir=\`dirname ${D}objfile\`
39841     depsdir=${D}builddir/${D}DEPSDIRBASE
39842     mkdir -p ${D}depsdir
39843
39844     ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39845     exit 0
39846
39847 elif test ${D}DEPSMODE = unixcc; then
39848     ${D}* || exit ${D}?
39849     # Run compiler again with deps flag and redirect into the dep file.
39850     # It doesn't work if the '-o FILE' option is used, but without it the
39851     # dependency file will contain the wrong name for the object. So it is
39852     # removed from the command line, and the dep file is fixed with sed.
39853     cmd=""
39854     while test ${D}# -gt 0; do
39855         case "${D}1" in
39856             -o )
39857                 shift
39858                 objfile=${D}1
39859             ;;
39860             * )
39861                 eval arg${D}#=\\${D}1
39862                 cmd="${D}cmd \\${D}arg${D}#"
39863             ;;
39864         esac
39865         shift
39866     done
39867
39868     objfilebase=\`basename ${D}objfile\`
39869     builddir=\`dirname ${D}objfile\`
39870     depsdir=${D}builddir/${D}DEPSDIRBASE
39871     mkdir -p ${D}depsdir
39872
39873     eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39874     exit 0
39875
39876 else
39877     ${D}*
39878     exit ${D}?
39879 fi
39880 EOF
39881
39882             chmod +x bk-deps
39883                                     BK_DEPS="`pwd`/bk-deps"
39884         fi
39885     fi
39886
39887
39888
39889
39890
39891     case ${BAKEFILE_HOST} in
39892         *-*-cygwin* | *-*-mingw32* )
39893                         if test -n "$ac_tool_prefix"; then
39894   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39895 set dummy ${ac_tool_prefix}windres; ac_word=$2
39896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39897 $as_echo_n "checking for $ac_word... " >&6; }
39898 if ${ac_cv_prog_WINDRES+:} false; then :
39899   $as_echo_n "(cached) " >&6
39900 else
39901   if test -n "$WINDRES"; then
39902   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39903 else
39904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39905 for as_dir in $PATH
39906 do
39907   IFS=$as_save_IFS
39908   test -z "$as_dir" && as_dir=.
39909     for ac_exec_ext in '' $ac_executable_extensions; do
39910   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39911     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39913     break 2
39914   fi
39915 done
39916   done
39917 IFS=$as_save_IFS
39918
39919 fi
39920 fi
39921 WINDRES=$ac_cv_prog_WINDRES
39922 if test -n "$WINDRES"; then
39923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39924 $as_echo "$WINDRES" >&6; }
39925 else
39926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39927 $as_echo "no" >&6; }
39928 fi
39929
39930
39931 fi
39932 if test -z "$ac_cv_prog_WINDRES"; then
39933   ac_ct_WINDRES=$WINDRES
39934   # Extract the first word of "windres", so it can be a program name with args.
39935 set dummy windres; ac_word=$2
39936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39937 $as_echo_n "checking for $ac_word... " >&6; }
39938 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
39939   $as_echo_n "(cached) " >&6
39940 else
39941   if test -n "$ac_ct_WINDRES"; then
39942   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39943 else
39944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39945 for as_dir in $PATH
39946 do
39947   IFS=$as_save_IFS
39948   test -z "$as_dir" && as_dir=.
39949     for ac_exec_ext in '' $ac_executable_extensions; do
39950   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39951     ac_cv_prog_ac_ct_WINDRES="windres"
39952     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39953     break 2
39954   fi
39955 done
39956   done
39957 IFS=$as_save_IFS
39958
39959 fi
39960 fi
39961 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39962 if test -n "$ac_ct_WINDRES"; then
39963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39964 $as_echo "$ac_ct_WINDRES" >&6; }
39965 else
39966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39967 $as_echo "no" >&6; }
39968 fi
39969
39970   if test "x$ac_ct_WINDRES" = x; then
39971     WINDRES=""
39972   else
39973     case $cross_compiling:$ac_tool_warned in
39974 yes:)
39975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39977 ac_tool_warned=yes ;;
39978 esac
39979     WINDRES=$ac_ct_WINDRES
39980   fi
39981 else
39982   WINDRES="$ac_cv_prog_WINDRES"
39983 fi
39984
39985          ;;
39986
39987       *-*-darwin* | powerpc-apple-macos* )
39988             # Extract the first word of "Rez", so it can be a program name with args.
39989 set dummy Rez; ac_word=$2
39990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39991 $as_echo_n "checking for $ac_word... " >&6; }
39992 if ${ac_cv_prog_REZ+:} false; then :
39993   $as_echo_n "(cached) " >&6
39994 else
39995   if test -n "$REZ"; then
39996   ac_cv_prog_REZ="$REZ" # Let the user override the test.
39997 else
39998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39999 for as_dir in $PATH
40000 do
40001   IFS=$as_save_IFS
40002   test -z "$as_dir" && as_dir=.
40003     for ac_exec_ext in '' $ac_executable_extensions; do
40004   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40005     ac_cv_prog_REZ="Rez"
40006     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40007     break 2
40008   fi
40009 done
40010   done
40011 IFS=$as_save_IFS
40012
40013   test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
40014 fi
40015 fi
40016 REZ=$ac_cv_prog_REZ
40017 if test -n "$REZ"; then
40018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
40019 $as_echo "$REZ" >&6; }
40020 else
40021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40022 $as_echo "no" >&6; }
40023 fi
40024
40025
40026             # Extract the first word of "SetFile", so it can be a program name with args.
40027 set dummy SetFile; ac_word=$2
40028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40029 $as_echo_n "checking for $ac_word... " >&6; }
40030 if ${ac_cv_prog_SETFILE+:} false; then :
40031   $as_echo_n "(cached) " >&6
40032 else
40033   if test -n "$SETFILE"; then
40034   ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
40035 else
40036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40037 for as_dir in $PATH
40038 do
40039   IFS=$as_save_IFS
40040   test -z "$as_dir" && as_dir=.
40041     for ac_exec_ext in '' $ac_executable_extensions; do
40042   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40043     ac_cv_prog_SETFILE="SetFile"
40044     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40045     break 2
40046   fi
40047 done
40048   done
40049 IFS=$as_save_IFS
40050
40051   test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
40052 fi
40053 fi
40054 SETFILE=$ac_cv_prog_SETFILE
40055 if test -n "$SETFILE"; then
40056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
40057 $as_echo "$SETFILE" >&6; }
40058 else
40059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40060 $as_echo "no" >&6; }
40061 fi
40062
40063
40064         ;;
40065     esac
40066
40067
40068
40069
40070
40071
40072
40073
40074
40075     BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
40076
40077
40078 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
40079
40080
40081
40082     # Check whether --enable-precomp-headers was given.
40083 if test "${enable_precomp_headers+set}" = set; then :
40084   enableval=$enable_precomp_headers; bk_use_pch="$enableval"
40085 fi
40086
40087
40088     GCC_PCH=0
40089     ICC_PCH=0
40090     USE_PCH=0
40091     BK_MAKE_PCH=""
40092
40093     case ${BAKEFILE_HOST} in
40094         *-*-cygwin* )
40095                                                 bk_use_pch="no"
40096             ;;
40097     esac
40098
40099     if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40100         if test "x$GCC" = "xyes"; then
40101                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
40102 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
40103             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40104 /* end confdefs.h.  */
40105
40106 int
40107 main ()
40108 {
40109
40110                     #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40111                         There is no PCH support
40112                     #endif
40113                     #if (__GNUC__ < 3)
40114                         There is no PCH support
40115                     #endif
40116                     #if (__GNUC__ == 3) && \
40117                        ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40118                        ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
40119                        ( defined(__INTEL_COMPILER) )
40120                         There is no PCH support
40121                     #endif
40122
40123   ;
40124   return 0;
40125 }
40126 _ACEOF
40127 if ac_fn_c_try_compile "$LINENO"; then :
40128
40129                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40130 $as_echo "yes" >&6; }
40131                     GCC_PCH=1
40132
40133 else
40134
40135                     if test "$INTELCXX8" = "yes"; then
40136                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40137 $as_echo "yes" >&6; }
40138                         ICC_PCH=1
40139                         if test "$INTELCXX10" = "yes"; then
40140                             ICC_PCH_CREATE_SWITCH="-pch-create"
40141                             ICC_PCH_USE_SWITCH="-pch-use"
40142                         else
40143                             ICC_PCH_CREATE_SWITCH="-create-pch"
40144                             ICC_PCH_USE_SWITCH="-use-pch"
40145                         fi
40146                     else
40147                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40148 $as_echo "no" >&6; }
40149                     fi
40150
40151 fi
40152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40153             if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
40154                 USE_PCH=1
40155
40156 D='$'
40157 cat <<EOF >bk-make-pch
40158 #!/bin/sh
40159
40160 # This script is part of Bakefile (http://www.bakefile.org) autoconf
40161 # script. It is used to generated precompiled headers.
40162 #
40163 # Permission is given to use this file in any way.
40164
40165 outfile="${D}{1}"
40166 header="${D}{2}"
40167 shift
40168 shift
40169
40170 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
40171
40172 compiler=""
40173 headerfile=""
40174
40175 while test ${D}{#} -gt 0; do
40176     add_to_cmdline=1
40177     case "${D}{1}" in
40178         -I* )
40179             incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40180             if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40181                 headerfile="${D}{incdir}/${D}{header}"
40182             fi
40183         ;;
40184         -use-pch|-use_pch|-pch-use )
40185             shift
40186             add_to_cmdline=0
40187         ;;
40188     esac
40189     if test ${D}add_to_cmdline = 1 ; then
40190         compiler="${D}{compiler} ${D}{1}"
40191     fi
40192     shift
40193 done
40194
40195 if test "x${D}{headerfile}" = "x" ; then
40196     echo "error: can't find header ${D}{header} in include paths" >&2
40197 else
40198     if test -f ${D}{outfile} ; then
40199         rm -f ${D}{outfile}
40200     else
40201         mkdir -p \`dirname ${D}{outfile}\`
40202     fi
40203     depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40204     mkdir -p ${D}{builddir}/.deps
40205     if test "x${GCC_PCH}" = "x1" ; then
40206         # can do this because gcc is >= 3.4:
40207         ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40208     elif test "x${ICC_PCH}" = "x1" ; then
40209         filename=pch_gen-${D}${D}
40210         file=${D}{filename}.c
40211         dfile=${D}{filename}.d
40212         cat > ${D}file <<EOT
40213 #include "${D}header"
40214 EOT
40215         # using -MF icc complains about differing command lines in creation/use
40216         ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
40217           sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
40218           rm -f ${D}file ${D}dfile ${D}{filename}.o
40219     fi
40220     exit ${D}{?}
40221 fi
40222 EOF
40223
40224                 chmod +x bk-make-pch
40225                                                                 BK_MAKE_PCH="`pwd`/bk-make-pch"
40226             fi
40227         fi
40228     fi
40229
40230
40231
40232
40233
40234
40235
40236     COND_BUILD_debug="#"
40237     if test "x$BUILD" = "xdebug" ; then
40238         COND_BUILD_debug=""
40239     fi
40240
40241     COND_BUILD_debug_DEBUG_INFO_default="#"
40242     if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40243         COND_BUILD_debug_DEBUG_INFO_default=""
40244     fi
40245
40246     COND_BUILD_release="#"
40247     if test "x$BUILD" = "xrelease" ; then
40248         COND_BUILD_release=""
40249     fi
40250
40251     COND_BUILD_release_DEBUG_INFO_default="#"
40252     if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40253         COND_BUILD_release_DEBUG_INFO_default=""
40254     fi
40255
40256     COND_DEBUG_FLAG_0="#"
40257     if test "x$DEBUG_FLAG" = "x0" ; then
40258         COND_DEBUG_FLAG_0=""
40259     fi
40260
40261     COND_DEBUG_INFO_0="#"
40262     if test "x$DEBUG_INFO" = "x0" ; then
40263         COND_DEBUG_INFO_0=""
40264     fi
40265
40266     COND_DEBUG_INFO_1="#"
40267     if test "x$DEBUG_INFO" = "x1" ; then
40268         COND_DEBUG_INFO_1=""
40269     fi
40270
40271     COND_DEPS_TRACKING_0="#"
40272     if test "x$DEPS_TRACKING" = "x0" ; then
40273         COND_DEPS_TRACKING_0=""
40274     fi
40275
40276     COND_DEPS_TRACKING_1="#"
40277     if test "x$DEPS_TRACKING" = "x1" ; then
40278         COND_DEPS_TRACKING_1=""
40279     fi
40280
40281     COND_GCC_PCH_1="#"
40282     if test "x$GCC_PCH" = "x1" ; then
40283         COND_GCC_PCH_1=""
40284     fi
40285
40286     COND_ICC_PCH_1="#"
40287     if test "x$ICC_PCH" = "x1" ; then
40288         COND_ICC_PCH_1=""
40289     fi
40290
40291     COND_MONOLITHIC_0="#"
40292     if test "x$MONOLITHIC" = "x0" ; then
40293         COND_MONOLITHIC_0=""
40294     fi
40295
40296     COND_MONOLITHIC_0_SHARED_0="#"
40297     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40298         COND_MONOLITHIC_0_SHARED_0=""
40299     fi
40300
40301     COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
40302     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40303         COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
40304     fi
40305
40306     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40307     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40308         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40309     fi
40310
40311     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
40312     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40313         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
40314     fi
40315
40316     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
40317     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40318         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
40319     fi
40320
40321     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
40322     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40323         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
40324     fi
40325
40326     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
40327     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40328         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
40329     fi
40330
40331     COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
40332     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40333         COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
40334     fi
40335
40336     COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
40337     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40338         COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
40339     fi
40340
40341     COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
40342     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40343         COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
40344     fi
40345
40346     COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
40347     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40348         COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
40349     fi
40350
40351     COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40352     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40353         COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40354     fi
40355
40356     COND_MONOLITHIC_0_SHARED_1="#"
40357     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40358         COND_MONOLITHIC_0_SHARED_1=""
40359     fi
40360
40361     COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
40362     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40363         COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
40364     fi
40365
40366     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40367     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40368         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40369     fi
40370
40371     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
40372     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40373         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
40374     fi
40375
40376     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
40377     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40378         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
40379     fi
40380
40381     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
40382     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40383         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
40384     fi
40385
40386     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
40387     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40388         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
40389     fi
40390
40391     COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
40392     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40393         COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
40394     fi
40395
40396     COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
40397     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40398         COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
40399     fi
40400
40401     COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
40402     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40403         COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
40404     fi
40405
40406     COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
40407     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40408         COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
40409     fi
40410
40411     COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40412     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40413         COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40414     fi
40415
40416     COND_MONOLITHIC_0_USE_AUI_1="#"
40417     if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40418         COND_MONOLITHIC_0_USE_AUI_1=""
40419     fi
40420
40421     COND_MONOLITHIC_0_USE_GUI_1="#"
40422     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40423         COND_MONOLITHIC_0_USE_GUI_1=""
40424     fi
40425
40426     COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
40427     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40428         COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
40429     fi
40430
40431     COND_MONOLITHIC_0_USE_HTML_1="#"
40432     if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40433         COND_MONOLITHIC_0_USE_HTML_1=""
40434     fi
40435
40436     COND_MONOLITHIC_0_USE_MEDIA_1="#"
40437     if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40438         COND_MONOLITHIC_0_USE_MEDIA_1=""
40439     fi
40440
40441     COND_MONOLITHIC_0_USE_PROPGRID_1="#"
40442     if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40443         COND_MONOLITHIC_0_USE_PROPGRID_1=""
40444     fi
40445
40446     COND_MONOLITHIC_0_USE_QA_1="#"
40447     if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40448         COND_MONOLITHIC_0_USE_QA_1=""
40449     fi
40450
40451     COND_MONOLITHIC_0_USE_RIBBON_1="#"
40452     if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40453         COND_MONOLITHIC_0_USE_RIBBON_1=""
40454     fi
40455
40456     COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
40457     if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40458         COND_MONOLITHIC_0_USE_RICHTEXT_1=""
40459     fi
40460
40461     COND_MONOLITHIC_0_USE_STC_1="#"
40462     if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40463         COND_MONOLITHIC_0_USE_STC_1=""
40464     fi
40465
40466     COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
40467     if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40468         COND_MONOLITHIC_0_USE_WEBVIEW_1=""
40469     fi
40470
40471     COND_MONOLITHIC_0_USE_XRC_1="#"
40472     if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40473         COND_MONOLITHIC_0_USE_XRC_1=""
40474     fi
40475
40476     COND_MONOLITHIC_1="#"
40477     if test "x$MONOLITHIC" = "x1" ; then
40478         COND_MONOLITHIC_1=""
40479     fi
40480
40481     COND_MONOLITHIC_1_SHARED_0="#"
40482     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40483         COND_MONOLITHIC_1_SHARED_0=""
40484     fi
40485
40486     COND_MONOLITHIC_1_SHARED_1="#"
40487     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40488         COND_MONOLITHIC_1_SHARED_1=""
40489     fi
40490
40491     COND_MONOLITHIC_1_USE_STC_1="#"
40492     if test "x$MONOLITHIC" = "x1" -a "x$USE_STC" = "x1" ; then
40493         COND_MONOLITHIC_1_USE_STC_1=""
40494     fi
40495
40496     COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40497     if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40498         COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40499     fi
40500
40501     COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40502     if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40503         COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40504     fi
40505
40506     COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
40507     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40508         COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
40509     fi
40510
40511     COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40512     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40513         COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40514     fi
40515
40516     COND_PLATFORM_MACOSX_1="#"
40517     if test "x$PLATFORM_MACOSX" = "x1" ; then
40518         COND_PLATFORM_MACOSX_1=""
40519     fi
40520
40521     COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
40522     if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40523         COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
40524     fi
40525
40526     COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
40527     if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40528         COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
40529     fi
40530
40531     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40532     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40533         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40534     fi
40535
40536     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40537     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40538         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40539     fi
40540
40541     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40542     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40543         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40544     fi
40545
40546     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40547     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40548         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40549     fi
40550
40551     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40552     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40553         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40554     fi
40555
40556     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
40557     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40558         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
40559     fi
40560
40561     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40562     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40563         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40564     fi
40565
40566     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
40567     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40568         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
40569     fi
40570
40571     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40572     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40573         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40574     fi
40575
40576     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40577     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40578         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40579     fi
40580
40581     COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40582     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40583         COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40584     fi
40585
40586     COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
40587     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40588         COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
40589     fi
40590
40591     COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40592     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40593         COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40594     fi
40595
40596     COND_PLATFORM_MAC_0="#"
40597     if test "x$PLATFORM_MAC" = "x0" ; then
40598         COND_PLATFORM_MAC_0=""
40599     fi
40600
40601     COND_PLATFORM_MAC_1="#"
40602     if test "x$PLATFORM_MAC" = "x1" ; then
40603         COND_PLATFORM_MAC_1=""
40604     fi
40605
40606     COND_PLATFORM_MSDOS_0="#"
40607     if test "x$PLATFORM_MSDOS" = "x0" ; then
40608         COND_PLATFORM_MSDOS_0=""
40609     fi
40610
40611     COND_PLATFORM_MSDOS_1="#"
40612     if test "x$PLATFORM_MSDOS" = "x1" ; then
40613         COND_PLATFORM_MSDOS_1=""
40614     fi
40615
40616     COND_PLATFORM_OS2_1="#"
40617     if test "x$PLATFORM_OS2" = "x1" ; then
40618         COND_PLATFORM_OS2_1=""
40619     fi
40620
40621     COND_PLATFORM_UNIX_0="#"
40622     if test "x$PLATFORM_UNIX" = "x0" ; then
40623         COND_PLATFORM_UNIX_0=""
40624     fi
40625
40626     COND_PLATFORM_UNIX_1="#"
40627     if test "x$PLATFORM_UNIX" = "x1" ; then
40628         COND_PLATFORM_UNIX_1=""
40629     fi
40630
40631     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40632     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40633         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40634     fi
40635
40636     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40637     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40638         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40639     fi
40640
40641     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40642     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40643         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40644     fi
40645
40646     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40647     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40648         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40649     fi
40650
40651     COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40652     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40653         COND_PLATFORM_UNIX_1_USE_GUI_1=""
40654     fi
40655
40656     COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40657     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40658         COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40659     fi
40660
40661     COND_PLATFORM_WIN32_0="#"
40662     if test "x$PLATFORM_WIN32" = "x0" ; then
40663         COND_PLATFORM_WIN32_0=""
40664     fi
40665
40666     COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40667     if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40668         COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40669     fi
40670
40671     COND_PLATFORM_WIN32_1="#"
40672     if test "x$PLATFORM_WIN32" = "x1" ; then
40673         COND_PLATFORM_WIN32_1=""
40674     fi
40675
40676     COND_PLATFORM_WIN32_1_SHARED_0="#"
40677     if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40678         COND_PLATFORM_WIN32_1_SHARED_0=""
40679     fi
40680
40681     COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40682     if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40683         COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40684     fi
40685
40686     COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40687     if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40688         COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40689     fi
40690
40691     COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40692     if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40693         COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40694     fi
40695
40696     COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40697     if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40698         COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40699     fi
40700
40701     COND_SHARED_0="#"
40702     if test "x$SHARED" = "x0" ; then
40703         COND_SHARED_0=""
40704     fi
40705
40706     COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40707     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40708         COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40709     fi
40710
40711     COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40712     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40713         COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40714     fi
40715
40716     COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40717     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40718         COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40719     fi
40720
40721     COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40722     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40723         COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40724     fi
40725
40726     COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40727     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40728         COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40729     fi
40730
40731     COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40732     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40733         COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40734     fi
40735
40736     COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40737     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40738         COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40739     fi
40740
40741     COND_SHARED_0_USE_STC_1="#"
40742     if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40743         COND_SHARED_0_USE_STC_1=""
40744     fi
40745
40746     COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40747     if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40748         COND_SHARED_0_wxUSE_EXPAT_builtin=""
40749     fi
40750
40751     COND_SHARED_0_wxUSE_REGEX_builtin="#"
40752     if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40753         COND_SHARED_0_wxUSE_REGEX_builtin=""
40754     fi
40755
40756     COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40757     if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40758         COND_SHARED_0_wxUSE_ZLIB_builtin=""
40759     fi
40760
40761     COND_SHARED_1="#"
40762     if test "x$SHARED" = "x1" ; then
40763         COND_SHARED_1=""
40764     fi
40765
40766     COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40767     if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40768         COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40769     fi
40770
40771     COND_TOOLKIT_="#"
40772     if test "x$TOOLKIT" = "x" ; then
40773         COND_TOOLKIT_=""
40774     fi
40775
40776     COND_TOOLKIT_COCOA="#"
40777     if test "x$TOOLKIT" = "xCOCOA" ; then
40778         COND_TOOLKIT_COCOA=""
40779     fi
40780
40781     COND_TOOLKIT_COCOA_USE_GUI_1="#"
40782     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40783         COND_TOOLKIT_COCOA_USE_GUI_1=""
40784     fi
40785
40786     COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40787     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40788         COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40789     fi
40790
40791     COND_TOOLKIT_DFB="#"
40792     if test "x$TOOLKIT" = "xDFB" ; then
40793         COND_TOOLKIT_DFB=""
40794     fi
40795
40796     COND_TOOLKIT_DFB_USE_GUI_1="#"
40797     if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40798         COND_TOOLKIT_DFB_USE_GUI_1=""
40799     fi
40800
40801     COND_TOOLKIT_GTK="#"
40802     if test "x$TOOLKIT" = "xGTK" ; then
40803         COND_TOOLKIT_GTK=""
40804     fi
40805
40806     COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40807     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40808         COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40809     fi
40810
40811     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40812     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40813         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40814     fi
40815
40816     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40817     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40818         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40819     fi
40820
40821     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40822     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40823         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40824     fi
40825
40826     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1="#"
40827     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40828         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1=""
40829     fi
40830
40831     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40832     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40833         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40834     fi
40835
40836     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1="#"
40837     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x1" ; then
40838         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1=""
40839     fi
40840
40841     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40842     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40843         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40844     fi
40845
40846     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40847     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40848         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40849     fi
40850
40851     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40852     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40853         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40854     fi
40855
40856     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40857     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40858         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40859     fi
40860
40861     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40862     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40863         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40864     fi
40865
40866     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40867     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40868         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40869     fi
40870
40871     COND_TOOLKIT_GTK_USE_GUI_1="#"
40872     if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40873         COND_TOOLKIT_GTK_USE_GUI_1=""
40874     fi
40875
40876     COND_TOOLKIT_MAC="#"
40877     if test "x$TOOLKIT" = "xMAC" ; then
40878         COND_TOOLKIT_MAC=""
40879     fi
40880
40881     COND_TOOLKIT_MOTIF="#"
40882     if test "x$TOOLKIT" = "xMOTIF" ; then
40883         COND_TOOLKIT_MOTIF=""
40884     fi
40885
40886     COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40887     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40888         COND_TOOLKIT_MOTIF_USE_GUI_1=""
40889     fi
40890
40891     COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40892     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40893         COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40894     fi
40895
40896     COND_TOOLKIT_MSW="#"
40897     if test "x$TOOLKIT" = "xMSW" ; then
40898         COND_TOOLKIT_MSW=""
40899     fi
40900
40901     COND_TOOLKIT_MSW_USE_GUI_1="#"
40902     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40903         COND_TOOLKIT_MSW_USE_GUI_1=""
40904     fi
40905
40906     COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40907     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40908         COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40909     fi
40910
40911     COND_TOOLKIT_MSW_WXUNIV_0="#"
40912     if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40913         COND_TOOLKIT_MSW_WXUNIV_0=""
40914     fi
40915
40916     COND_TOOLKIT_OSX_CARBON="#"
40917     if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40918         COND_TOOLKIT_OSX_CARBON=""
40919     fi
40920
40921     COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40922     if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40923         COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40924     fi
40925
40926     COND_TOOLKIT_OSX_COCOA="#"
40927     if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40928         COND_TOOLKIT_OSX_COCOA=""
40929     fi
40930
40931     COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40932     if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40933         COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40934     fi
40935
40936     COND_TOOLKIT_OSX_IPHONE="#"
40937     if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40938         COND_TOOLKIT_OSX_IPHONE=""
40939     fi
40940
40941     COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40942     if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40943         COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40944     fi
40945
40946     COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40947     if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40948         COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40949     fi
40950
40951     COND_TOOLKIT_PM="#"
40952     if test "x$TOOLKIT" = "xPM" ; then
40953         COND_TOOLKIT_PM=""
40954     fi
40955
40956     COND_TOOLKIT_PM_USE_GUI_1="#"
40957     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40958         COND_TOOLKIT_PM_USE_GUI_1=""
40959     fi
40960
40961     COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40962     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40963         COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40964     fi
40965
40966     COND_TOOLKIT_WINCE="#"
40967     if test "x$TOOLKIT" = "xWINCE" ; then
40968         COND_TOOLKIT_WINCE=""
40969     fi
40970
40971     COND_TOOLKIT_WINCE_USE_GUI_1="#"
40972     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40973         COND_TOOLKIT_WINCE_USE_GUI_1=""
40974     fi
40975
40976     COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40977     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40978         COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40979     fi
40980
40981     COND_TOOLKIT_WINCE_WXUNIV_0="#"
40982     if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40983         COND_TOOLKIT_WINCE_WXUNIV_0=""
40984     fi
40985
40986     COND_TOOLKIT_X11="#"
40987     if test "x$TOOLKIT" = "xX11" ; then
40988         COND_TOOLKIT_X11=""
40989     fi
40990
40991     COND_TOOLKIT_X11_USE_GUI_1="#"
40992     if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40993         COND_TOOLKIT_X11_USE_GUI_1=""
40994     fi
40995
40996     COND_UNICODE_1="#"
40997     if test "x$UNICODE" = "x1" ; then
40998         COND_UNICODE_1=""
40999     fi
41000
41001     COND_USE_CAIRO_1="#"
41002     if test "x$USE_CAIRO" = "x1" ; then
41003         COND_USE_CAIRO_1=""
41004     fi
41005
41006     COND_USE_EXCEPTIONS_0="#"
41007     if test "x$USE_EXCEPTIONS" = "x0" ; then
41008         COND_USE_EXCEPTIONS_0=""
41009     fi
41010
41011     COND_USE_EXCEPTIONS_1="#"
41012     if test "x$USE_EXCEPTIONS" = "x1" ; then
41013         COND_USE_EXCEPTIONS_1=""
41014     fi
41015
41016     COND_USE_GUI_0="#"
41017     if test "x$USE_GUI" = "x0" ; then
41018         COND_USE_GUI_0=""
41019     fi
41020
41021     COND_USE_GUI_1="#"
41022     if test "x$USE_GUI" = "x1" ; then
41023         COND_USE_GUI_1=""
41024     fi
41025
41026     COND_USE_GUI_1_USE_OPENGL_1="#"
41027     if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41028         COND_USE_GUI_1_USE_OPENGL_1=""
41029     fi
41030
41031     COND_USE_GUI_1_WXUNIV_0="#"
41032     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41033         COND_USE_GUI_1_WXUNIV_0=""
41034     fi
41035
41036     COND_USE_GUI_1_WXUNIV_1="#"
41037     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41038         COND_USE_GUI_1_WXUNIV_1=""
41039     fi
41040
41041     COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
41042     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41043         COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
41044     fi
41045
41046     COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
41047     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41048         COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
41049     fi
41050
41051     COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
41052     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41053         COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
41054     fi
41055
41056     COND_USE_OPENGL_1="#"
41057     if test "x$USE_OPENGL" = "x1" ; then
41058         COND_USE_OPENGL_1=""
41059     fi
41060
41061     COND_USE_PCH_1="#"
41062     if test "x$USE_PCH" = "x1" ; then
41063         COND_USE_PCH_1=""
41064     fi
41065
41066     COND_USE_PLUGINS_0="#"
41067     if test "x$USE_PLUGINS" = "x0" ; then
41068         COND_USE_PLUGINS_0=""
41069     fi
41070
41071     COND_USE_RTTI_0="#"
41072     if test "x$USE_RTTI" = "x0" ; then
41073         COND_USE_RTTI_0=""
41074     fi
41075
41076     COND_USE_RTTI_1="#"
41077     if test "x$USE_RTTI" = "x1" ; then
41078         COND_USE_RTTI_1=""
41079     fi
41080
41081     COND_USE_SOTWOSYMLINKS_1="#"
41082     if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
41083         COND_USE_SOTWOSYMLINKS_1=""
41084     fi
41085
41086     COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
41087     if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41088         COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
41089     fi
41090
41091     COND_USE_SOVERLINUX_1="#"
41092     if test "x$USE_SOVERLINUX" = "x1" ; then
41093         COND_USE_SOVERLINUX_1=""
41094     fi
41095
41096     COND_USE_SOVERSION_0="#"
41097     if test "x$USE_SOVERSION" = "x0" ; then
41098         COND_USE_SOVERSION_0=""
41099     fi
41100
41101     COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
41102     if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
41103         COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
41104     fi
41105
41106     COND_USE_SOVERSOLARIS_1="#"
41107     if test "x$USE_SOVERSOLARIS" = "x1" ; then
41108         COND_USE_SOVERSOLARIS_1=""
41109     fi
41110
41111     COND_USE_STC_1="#"
41112     if test "x$USE_STC" = "x1" ; then
41113         COND_USE_STC_1=""
41114     fi
41115
41116     COND_USE_THREADS_0="#"
41117     if test "x$USE_THREADS" = "x0" ; then
41118         COND_USE_THREADS_0=""
41119     fi
41120
41121     COND_USE_THREADS_1="#"
41122     if test "x$USE_THREADS" = "x1" ; then
41123         COND_USE_THREADS_1=""
41124     fi
41125
41126     COND_USE_XRC_1="#"
41127     if test "x$USE_XRC" = "x1" ; then
41128         COND_USE_XRC_1=""
41129     fi
41130
41131     COND_WINDOWS_IMPLIB_1="#"
41132     if test "x$WINDOWS_IMPLIB" = "x1" ; then
41133         COND_WINDOWS_IMPLIB_1=""
41134     fi
41135
41136     COND_WITH_PLUGIN_SDL_1="#"
41137     if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41138         COND_WITH_PLUGIN_SDL_1=""
41139     fi
41140
41141     COND_WXUNIV_0="#"
41142     if test "x$WXUNIV" = "x0" ; then
41143         COND_WXUNIV_0=""
41144     fi
41145
41146     COND_WXUNIV_1="#"
41147     if test "x$WXUNIV" = "x1" ; then
41148         COND_WXUNIV_1=""
41149     fi
41150
41151     COND_wxUSE_EXPAT_builtin="#"
41152     if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41153         COND_wxUSE_EXPAT_builtin=""
41154     fi
41155
41156     COND_wxUSE_LIBJPEG_builtin="#"
41157     if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41158         COND_wxUSE_LIBJPEG_builtin=""
41159     fi
41160
41161     COND_wxUSE_LIBPNG_builtin="#"
41162     if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41163         COND_wxUSE_LIBPNG_builtin=""
41164     fi
41165
41166     COND_wxUSE_LIBTIFF_builtin="#"
41167     if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41168         COND_wxUSE_LIBTIFF_builtin=""
41169     fi
41170
41171     COND_wxUSE_REGEX_builtin="#"
41172     if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41173         COND_wxUSE_REGEX_builtin=""
41174     fi
41175
41176     COND_wxUSE_ZLIB_builtin="#"
41177     if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41178         COND_wxUSE_ZLIB_builtin=""
41179     fi
41180
41181
41182
41183     if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
41184         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
41185     fi
41186
41187     if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41188         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
41189     fi
41190
41191
41192 case ${INSTALL} in
41193   /* ) # Absolute
41194      ;;
41195   ?:* ) # Drive letter, considered as absolute.
41196      ;;
41197   *)
41198      INSTALL=`pwd`/${INSTALL} ;;
41199 esac
41200
41201 if test "$wxUSE_GUI" = "yes"; then
41202
41203 if test "$wxUSE_MSW" = 1 ; then
41204     if test "x$WINDRES" = "x"; then
41205         as_fn_error $? "Required windres program not found" "$LINENO" 5
41206     fi
41207
41208     RESCOMP="$WINDRES"
41209 fi
41210
41211 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
41212             WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
41213     WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
41214
41215         LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
41216
41217     # Extract the first word of "DeRez", so it can be a program name with args.
41218 set dummy DeRez; ac_word=$2
41219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41220 $as_echo_n "checking for $ac_word... " >&6; }
41221 if ${ac_cv_prog_DEREZ+:} false; then :
41222   $as_echo_n "(cached) " >&6
41223 else
41224   if test -n "$DEREZ"; then
41225   ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
41226 else
41227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41228 for as_dir in $PATH
41229 do
41230   IFS=$as_save_IFS
41231   test -z "$as_dir" && as_dir=.
41232     for ac_exec_ext in '' $ac_executable_extensions; do
41233   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41234     ac_cv_prog_DEREZ="DeRez"
41235     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41236     break 2
41237   fi
41238 done
41239   done
41240 IFS=$as_save_IFS
41241
41242   test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
41243 fi
41244 fi
41245 DEREZ=$ac_cv_prog_DEREZ
41246 if test -n "$DEREZ"; then
41247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
41248 $as_echo "$DEREZ" >&6; }
41249 else
41250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41251 $as_echo "no" >&6; }
41252 fi
41253
41254
41255
41256     MACSETFILE="\$(SETFILE)"
41257
41258             if test "$wxUSE_OSX_CARBON" = 1; then
41259         POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
41260         RESCOMP="$REZ"
41261         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
41262     else
41263         POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
41264         RESCOMP="cat /dev/null \| $REZ"
41265         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41266     fi
41267
41268 else
41269         MACSETFILE="@true"
41270
41271     if test "$wxUSE_PM" = 1; then
41272         RESCOMP="emxbind"
41273         WXCONFIG_RESFLAGS="-ep"
41274
41275                 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
41276     else
41277         POSTLINK_COMMAND="@true"
41278     fi
41279 fi
41280
41281 fi
41282
41283
41284 if test $GCC_PCH = 1
41285 then
41286     if test "$wx_cv_gcc_pch_bug" = yes; then
41287         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41288 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41289         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41290 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41291         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41292 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41293     fi
41294
41295     # Our WX_PRECOMP flag does not make sense for any language except C++ because
41296     # the headers that benefit from precompilation are mostly C++ headers.
41297     CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41298     # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41299     #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41300 fi
41301
41302
41303 if test "$wxUSE_MAC" = 1 ; then
41304     if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41305         if test "x$disable_macosx_deps" = "xyes"; then
41306             sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
41307                 mv temp bk-deps
41308             chmod +x bk-deps
41309         fi
41310     fi
41311 fi
41312
41313 if test "$wxUSE_SHARED" = "yes"; then
41314                 case "${host}" in
41315       *-pc-os2_emx | *-pc-os2-emx )
41316         SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41317         SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41318         cp -p ${srcdir}/src/os2/dllnames.sh .
41319         cp -p ${srcdir}/src/os2/dllar.sh .
41320       ;;
41321     esac
41322 fi
41323 if test "$wxUSE_OMF" = "yes"; then
41324     case "${host}" in
41325       *-pc-os2_emx | *-pc-os2-emx )
41326         LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
41327         LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41328         WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41329       ;;
41330     esac
41331 fi
41332
41333 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41334
41335
41336 case "${host}" in
41337     *-*-solaris2* )
41338                         if test "$GCC" = yes; then
41339             CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
41340             LIBS=`echo $LIBS | sed 's/-mt//g'`
41341             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41342         fi
41343         ;;
41344
41345     *-*-linux* )
41346                         if test "x$SUNCXX" = xyes; then
41347             CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
41348             LIBS=`echo $LIBS | sed 's/-pthread//g'`
41349             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41350         fi
41351         ;;
41352 esac
41353
41354 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
41355 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41356 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
41357 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41358
41359 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41360
41361
41362
41363
41364
41365
41366
41367
41368
41369
41370
41371
41372
41373
41374
41375
41376
41377
41378
41379
41380
41381
41382
41383
41384
41385
41386
41387
41388
41389
41390
41391
41392
41393
41394
41395
41396
41397
41398
41399
41400
41401
41402
41403
41404
41405
41406
41407
41408
41409
41410
41411
41412
41413
41414
41415
41416
41417
41418
41419
41420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41421 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41422 set x ${MAKE-make}
41423 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41424 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
41425   $as_echo_n "(cached) " >&6
41426 else
41427   cat >conftest.make <<\_ACEOF
41428 SHELL = /bin/sh
41429 all:
41430         @echo '@@@%%%=$(MAKE)=@@@%%%'
41431 _ACEOF
41432 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41433 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41434   *@@@%%%=?*=@@@%%%*)
41435     eval ac_cv_prog_make_${ac_make}_set=yes;;
41436   *)
41437     eval ac_cv_prog_make_${ac_make}_set=no;;
41438 esac
41439 rm -f conftest.make
41440 fi
41441 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
41442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41443 $as_echo "yes" >&6; }
41444   SET_MAKE=
41445 else
41446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41447 $as_echo "no" >&6; }
41448   SET_MAKE="MAKE=${MAKE-make}"
41449 fi
41450
41451
41452
41453 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41454
41455
41456 if test "$USE_WIN32" = 1; then
41457     ac_config_commands="$ac_config_commands rcdefs.h"
41458
41459 fi
41460
41461 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41462
41463
41464 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41465
41466
41467 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
41468
41469
41470 if test "$wx_cv_version_script" = "yes"; then
41471     ac_config_files="$ac_config_files version-script"
41472
41473 fi
41474 ac_config_files="$ac_config_files Makefile"
41475
41476
41477 ac_config_commands="$ac_config_commands wx-config"
41478
41479
41480
41481 if test "$wxWITH_SUBDIRS" != "no"; then
41482 if test "$wxUSE_GUI" = "yes"; then
41483     SUBDIRS="samples demos utils"
41484 else
41485             SUBDIRS="samples utils"
41486 fi
41487
41488
41489
41490 # Check whether --with-cppunit-prefix was given.
41491 if test "${with_cppunit_prefix+set}" = set; then :
41492   withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
41493 else
41494   cppunit_config_prefix=""
41495 fi
41496
41497
41498 # Check whether --with-cppunit-exec-prefix was given.
41499 if test "${with_cppunit_exec_prefix+set}" = set; then :
41500   withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
41501 else
41502   cppunit_config_exec_prefix=""
41503 fi
41504
41505
41506   if test x$cppunit_config_exec_prefix != x ; then
41507      cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41508      if test x${CPPUNIT_CONFIG+set} != xset ; then
41509         CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41510      fi
41511   fi
41512   if test x$cppunit_config_prefix != x ; then
41513      cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41514      if test x${CPPUNIT_CONFIG+set} != xset ; then
41515         CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41516      fi
41517   fi
41518
41519   # Extract the first word of "cppunit-config", so it can be a program name with args.
41520 set dummy cppunit-config; ac_word=$2
41521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41522 $as_echo_n "checking for $ac_word... " >&6; }
41523 if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
41524   $as_echo_n "(cached) " >&6
41525 else
41526   case $CPPUNIT_CONFIG in
41527   [\\/]* | ?:[\\/]*)
41528   ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41529   ;;
41530   *)
41531   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41532 for as_dir in $PATH
41533 do
41534   IFS=$as_save_IFS
41535   test -z "$as_dir" && as_dir=.
41536     for ac_exec_ext in '' $ac_executable_extensions; do
41537   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41538     ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41539     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41540     break 2
41541   fi
41542 done
41543   done
41544 IFS=$as_save_IFS
41545
41546   test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41547   ;;
41548 esac
41549 fi
41550 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41551 if test -n "$CPPUNIT_CONFIG"; then
41552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41553 $as_echo "$CPPUNIT_CONFIG" >&6; }
41554 else
41555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41556 $as_echo "no" >&6; }
41557 fi
41558
41559
41560   cppunit_version_min=1.8.0
41561
41562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41563 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41564   no_cppunit=""
41565   if test "$CPPUNIT_CONFIG" = "no" ; then
41566     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41567 $as_echo "no" >&6; }
41568     no_cppunit=yes
41569   else
41570     CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41571     CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41572     cppunit_version=`$CPPUNIT_CONFIG --version`
41573
41574     cppunit_major_version=`echo $cppunit_version | \
41575            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41576     cppunit_minor_version=`echo $cppunit_version | \
41577            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41578     cppunit_micro_version=`echo $cppunit_version | \
41579            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41580
41581     cppunit_major_min=`echo $cppunit_version_min | \
41582            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41583     cppunit_minor_min=`echo $cppunit_version_min | \
41584            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41585     cppunit_micro_min=`echo $cppunit_version_min | \
41586            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41587
41588     cppunit_version_proper=`expr \
41589         $cppunit_major_version \> $cppunit_major_min \| \
41590         $cppunit_major_version \= $cppunit_major_min \& \
41591         $cppunit_minor_version \> $cppunit_minor_min \| \
41592         $cppunit_major_version \= $cppunit_major_min \& \
41593         $cppunit_minor_version \= $cppunit_minor_min \& \
41594         $cppunit_micro_version \>= $cppunit_micro_min `
41595
41596     if test "$cppunit_version_proper" = "1" ; then
41597       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41598 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41599     else
41600       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41601 $as_echo "no" >&6; }
41602       no_cppunit=yes
41603     fi
41604   fi
41605
41606   if test "x$no_cppunit" = x ; then
41607      SUBDIRS="$SUBDIRS tests"
41608   else
41609      CPPUNIT_CFLAGS=""
41610      CPPUNIT_LIBS=""
41611      :
41612   fi
41613
41614
41615
41616
41617
41618 for subdir in $SUBDIRS; do
41619     if test -d ${srcdir}/${subdir} ; then
41620         if test "$wxUSE_GUI" = "yes"; then
41621             if test ${subdir} = "samples"; then
41622                                                 makefiles="samples/Makefile.in $makefiles"
41623                 for sample in $SAMPLES_SUBDIRS; do
41624                     if test -d $srcdir/samples/$sample; then
41625                         makefiles="samples/$sample/Makefile.in $makefiles"
41626                     fi
41627                 done
41628             else
41629                                                                 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
41630                 eval "disabled=\$$disabled_var"
41631                 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
41632                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41633             fi
41634         else
41635                                     if test ${subdir} = "samples"; then
41636                                                 makefiles="samples/Makefile.in $makefiles"
41637                 for sample in `echo $SAMPLES_SUBDIRS`; do
41638                     if test -d $srcdir/samples/$sample; then
41639                         makefiles="samples/$sample/Makefile.in $makefiles"
41640                     fi
41641                 done
41642             elif test ${subdir} = "utils"; then
41643                 makefiles=""
41644                 for util in ifacecheck ; do
41645                     if test -d $srcdir/utils/$util ; then
41646                         makefiles="utils/$util/src/Makefile.in \
41647                                    $makefiles"
41648                     fi
41649                 done
41650             else
41651                                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41652             fi
41653         fi
41654
41655         for mkin in $makefiles ; do
41656             mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41657             ac_config_files="$ac_config_files $mk"
41658
41659         done
41660     fi
41661 done
41662 fi
41663 cat >confcache <<\_ACEOF
41664 # This file is a shell script that caches the results of configure
41665 # tests run on this system so they can be shared between configure
41666 # scripts and configure runs, see configure's option --config-cache.
41667 # It is not useful on other systems.  If it contains results you don't
41668 # want to keep, you may remove or edit it.
41669 #
41670 # config.status only pays attention to the cache file if you give it
41671 # the --recheck option to rerun configure.
41672 #
41673 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41674 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41675 # following values.
41676
41677 _ACEOF
41678
41679 # The following way of writing the cache mishandles newlines in values,
41680 # but we know of no workaround that is simple, portable, and efficient.
41681 # So, we kill variables containing newlines.
41682 # Ultrix sh set writes to stderr and can't be redirected directly,
41683 # and sets the high bit in the cache file unless we assign to the vars.
41684 (
41685   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41686     eval ac_val=\$$ac_var
41687     case $ac_val in #(
41688     *${as_nl}*)
41689       case $ac_var in #(
41690       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41691 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41692       esac
41693       case $ac_var in #(
41694       _ | IFS | as_nl) ;; #(
41695       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41696       *) { eval $ac_var=; unset $ac_var;} ;;
41697       esac ;;
41698     esac
41699   done
41700
41701   (set) 2>&1 |
41702     case $as_nl`(ac_space=' '; set) 2>&1` in #(
41703     *${as_nl}ac_space=\ *)
41704       # `set' does not quote correctly, so add quotes: double-quote
41705       # substitution turns \\\\ into \\, and sed turns \\ into \.
41706       sed -n \
41707         "s/'/'\\\\''/g;
41708           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41709       ;; #(
41710     *)
41711       # `set' quotes correctly as required by POSIX, so do not add quotes.
41712       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41713       ;;
41714     esac |
41715     sort
41716 ) |
41717   sed '
41718      /^ac_cv_env_/b end
41719      t clear
41720      :clear
41721      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41722      t end
41723      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41724      :end' >>confcache
41725 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41726   if test -w "$cache_file"; then
41727     if test "x$cache_file" != "x/dev/null"; then
41728       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41729 $as_echo "$as_me: updating cache $cache_file" >&6;}
41730       if test ! -f "$cache_file" || test -h "$cache_file"; then
41731         cat confcache >"$cache_file"
41732       else
41733         case $cache_file in #(
41734         */* | ?:*)
41735           mv -f confcache "$cache_file"$$ &&
41736           mv -f "$cache_file"$$ "$cache_file" ;; #(
41737         *)
41738           mv -f confcache "$cache_file" ;;
41739         esac
41740       fi
41741     fi
41742   else
41743     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41744 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41745   fi
41746 fi
41747 rm -f confcache
41748
41749 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41750 # Let make expand exec_prefix.
41751 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41752
41753 DEFS=-DHAVE_CONFIG_H
41754
41755 ac_libobjs=
41756 ac_ltlibobjs=
41757 U=
41758 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41759   # 1. Remove the extension, and $U if already installed.
41760   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41761   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41762   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
41763   #    will be set to the directory where LIBOBJS objects are built.
41764   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41765   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41766 done
41767 LIBOBJS=$ac_libobjs
41768
41769 LTLIBOBJS=$ac_ltlibobjs
41770
41771
41772
41773 : "${CONFIG_STATUS=./config.status}"
41774 ac_write_fail=0
41775 ac_clean_files_save=$ac_clean_files
41776 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41777 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41778 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41779 as_write_fail=0
41780 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41781 #! $SHELL
41782 # Generated by $as_me.
41783 # Run this file to recreate the current configuration.
41784 # Compiler output produced by configure, useful for debugging
41785 # configure, is in config.log if it exists.
41786
41787 debug=false
41788 ac_cs_recheck=false
41789 ac_cs_silent=false
41790
41791 SHELL=\${CONFIG_SHELL-$SHELL}
41792 export SHELL
41793 _ASEOF
41794 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41795 ## -------------------- ##
41796 ## M4sh Initialization. ##
41797 ## -------------------- ##
41798
41799 # Be more Bourne compatible
41800 DUALCASE=1; export DUALCASE # for MKS sh
41801 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41802   emulate sh
41803   NULLCMD=:
41804   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41805   # is contrary to our usage.  Disable this feature.
41806   alias -g '${1+"$@"}'='"$@"'
41807   setopt NO_GLOB_SUBST
41808 else
41809   case `(set -o) 2>/dev/null` in #(
41810   *posix*) :
41811     set -o posix ;; #(
41812   *) :
41813      ;;
41814 esac
41815 fi
41816
41817
41818 as_nl='
41819 '
41820 export as_nl
41821 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41822 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41823 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41824 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41825 # Prefer a ksh shell builtin over an external printf program on Solaris,
41826 # but without wasting forks for bash or zsh.
41827 if test -z "$BASH_VERSION$ZSH_VERSION" \
41828     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41829   as_echo='print -r --'
41830   as_echo_n='print -rn --'
41831 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41832   as_echo='printf %s\n'
41833   as_echo_n='printf %s'
41834 else
41835   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41836     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41837     as_echo_n='/usr/ucb/echo -n'
41838   else
41839     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41840     as_echo_n_body='eval
41841       arg=$1;
41842       case $arg in #(
41843       *"$as_nl"*)
41844         expr "X$arg" : "X\\(.*\\)$as_nl";
41845         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41846       esac;
41847       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41848     '
41849     export as_echo_n_body
41850     as_echo_n='sh -c $as_echo_n_body as_echo'
41851   fi
41852   export as_echo_body
41853   as_echo='sh -c $as_echo_body as_echo'
41854 fi
41855
41856 # The user is always right.
41857 if test "${PATH_SEPARATOR+set}" != set; then
41858   PATH_SEPARATOR=:
41859   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41860     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41861       PATH_SEPARATOR=';'
41862   }
41863 fi
41864
41865
41866 # IFS
41867 # We need space, tab and new line, in precisely that order.  Quoting is
41868 # there to prevent editors from complaining about space-tab.
41869 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41870 # splitting by setting IFS to empty value.)
41871 IFS=" ""        $as_nl"
41872
41873 # Find who we are.  Look in the path if we contain no directory separator.
41874 as_myself=
41875 case $0 in #((
41876   *[\\/]* ) as_myself=$0 ;;
41877   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41878 for as_dir in $PATH
41879 do
41880   IFS=$as_save_IFS
41881   test -z "$as_dir" && as_dir=.
41882     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41883   done
41884 IFS=$as_save_IFS
41885
41886      ;;
41887 esac
41888 # We did not find ourselves, most probably we were run as `sh COMMAND'
41889 # in which case we are not to be found in the path.
41890 if test "x$as_myself" = x; then
41891   as_myself=$0
41892 fi
41893 if test ! -f "$as_myself"; then
41894   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41895   exit 1
41896 fi
41897
41898 # Unset variables that we do not need and which cause bugs (e.g. in
41899 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
41900 # suppresses any "Segmentation fault" message there.  '((' could
41901 # trigger a bug in pdksh 5.2.14.
41902 for as_var in BASH_ENV ENV MAIL MAILPATH
41903 do eval test x\${$as_var+set} = xset \
41904   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41905 done
41906 PS1='$ '
41907 PS2='> '
41908 PS4='+ '
41909
41910 # NLS nuisances.
41911 LC_ALL=C
41912 export LC_ALL
41913 LANGUAGE=C
41914 export LANGUAGE
41915
41916 # CDPATH.
41917 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41918
41919
41920 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41921 # ----------------------------------------
41922 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41923 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41924 # script with STATUS, using 1 if that was 0.
41925 as_fn_error ()
41926 {
41927   as_status=$1; test $as_status -eq 0 && as_status=1
41928   if test "$4"; then
41929     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41930     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41931   fi
41932   $as_echo "$as_me: error: $2" >&2
41933   as_fn_exit $as_status
41934 } # as_fn_error
41935
41936
41937 # as_fn_set_status STATUS
41938 # -----------------------
41939 # Set $? to STATUS, without forking.
41940 as_fn_set_status ()
41941 {
41942   return $1
41943 } # as_fn_set_status
41944
41945 # as_fn_exit STATUS
41946 # -----------------
41947 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41948 as_fn_exit ()
41949 {
41950   set +e
41951   as_fn_set_status $1
41952   exit $1
41953 } # as_fn_exit
41954
41955 # as_fn_unset VAR
41956 # ---------------
41957 # Portably unset VAR.
41958 as_fn_unset ()
41959 {
41960   { eval $1=; unset $1;}
41961 }
41962 as_unset=as_fn_unset
41963 # as_fn_append VAR VALUE
41964 # ----------------------
41965 # Append the text in VALUE to the end of the definition contained in VAR. Take
41966 # advantage of any shell optimizations that allow amortized linear growth over
41967 # repeated appends, instead of the typical quadratic growth present in naive
41968 # implementations.
41969 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41970   eval 'as_fn_append ()
41971   {
41972     eval $1+=\$2
41973   }'
41974 else
41975   as_fn_append ()
41976   {
41977     eval $1=\$$1\$2
41978   }
41979 fi # as_fn_append
41980
41981 # as_fn_arith ARG...
41982 # ------------------
41983 # Perform arithmetic evaluation on the ARGs, and store the result in the
41984 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41985 # must be portable across $(()) and expr.
41986 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41987   eval 'as_fn_arith ()
41988   {
41989     as_val=$(( $* ))
41990   }'
41991 else
41992   as_fn_arith ()
41993   {
41994     as_val=`expr "$@" || test $? -eq 1`
41995   }
41996 fi # as_fn_arith
41997
41998
41999 if expr a : '\(a\)' >/dev/null 2>&1 &&
42000    test "X`expr 00001 : '.*\(...\)'`" = X001; then
42001   as_expr=expr
42002 else
42003   as_expr=false
42004 fi
42005
42006 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
42007   as_basename=basename
42008 else
42009   as_basename=false
42010 fi
42011
42012 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
42013   as_dirname=dirname
42014 else
42015   as_dirname=false
42016 fi
42017
42018 as_me=`$as_basename -- "$0" ||
42019 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42020          X"$0" : 'X\(//\)$' \| \
42021          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
42022 $as_echo X/"$0" |
42023     sed '/^.*\/\([^/][^/]*\)\/*$/{
42024             s//\1/
42025             q
42026           }
42027           /^X\/\(\/\/\)$/{
42028             s//\1/
42029             q
42030           }
42031           /^X\/\(\/\).*/{
42032             s//\1/
42033             q
42034           }
42035           s/.*/./; q'`
42036
42037 # Avoid depending upon Character Ranges.
42038 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
42039 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42040 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42041 as_cr_digits='0123456789'
42042 as_cr_alnum=$as_cr_Letters$as_cr_digits
42043
42044 ECHO_C= ECHO_N= ECHO_T=
42045 case `echo -n x` in #(((((
42046 -n*)
42047   case `echo 'xy\c'` in
42048   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
42049   xy)  ECHO_C='\c';;
42050   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
42051        ECHO_T=' ';;
42052   esac;;
42053 *)
42054   ECHO_N='-n';;
42055 esac
42056
42057 rm -f conf$$ conf$$.exe conf$$.file
42058 if test -d conf$$.dir; then
42059   rm -f conf$$.dir/conf$$.file
42060 else
42061   rm -f conf$$.dir
42062   mkdir conf$$.dir 2>/dev/null
42063 fi
42064 if (echo >conf$$.file) 2>/dev/null; then
42065   if ln -s conf$$.file conf$$ 2>/dev/null; then
42066     as_ln_s='ln -s'
42067     # ... but there are two gotchas:
42068     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
42069     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
42070     # In both cases, we have to default to `cp -pR'.
42071     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
42072       as_ln_s='cp -pR'
42073   elif ln conf$$.file conf$$ 2>/dev/null; then
42074     as_ln_s=ln
42075   else
42076     as_ln_s='cp -pR'
42077   fi
42078 else
42079   as_ln_s='cp -pR'
42080 fi
42081 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
42082 rmdir conf$$.dir 2>/dev/null
42083
42084
42085 # as_fn_mkdir_p
42086 # -------------
42087 # Create "$as_dir" as a directory, including parents if necessary.
42088 as_fn_mkdir_p ()
42089 {
42090
42091   case $as_dir in #(
42092   -*) as_dir=./$as_dir;;
42093   esac
42094   test -d "$as_dir" || eval $as_mkdir_p || {
42095     as_dirs=
42096     while :; do
42097       case $as_dir in #(
42098       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
42099       *) as_qdir=$as_dir;;
42100       esac
42101       as_dirs="'$as_qdir' $as_dirs"
42102       as_dir=`$as_dirname -- "$as_dir" ||
42103 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42104          X"$as_dir" : 'X\(//\)[^/]' \| \
42105          X"$as_dir" : 'X\(//\)$' \| \
42106          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
42107 $as_echo X"$as_dir" |
42108     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42109             s//\1/
42110             q
42111           }
42112           /^X\(\/\/\)[^/].*/{
42113             s//\1/
42114             q
42115           }
42116           /^X\(\/\/\)$/{
42117             s//\1/
42118             q
42119           }
42120           /^X\(\/\).*/{
42121             s//\1/
42122             q
42123           }
42124           s/.*/./; q'`
42125       test -d "$as_dir" && break
42126     done
42127     test -z "$as_dirs" || eval "mkdir $as_dirs"
42128   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
42129
42130
42131 } # as_fn_mkdir_p
42132 if mkdir -p . 2>/dev/null; then
42133   as_mkdir_p='mkdir -p "$as_dir"'
42134 else
42135   test -d ./-p && rmdir ./-p
42136   as_mkdir_p=false
42137 fi
42138
42139
42140 # as_fn_executable_p FILE
42141 # -----------------------
42142 # Test if FILE is an executable regular file.
42143 as_fn_executable_p ()
42144 {
42145   test -f "$1" && test -x "$1"
42146 } # as_fn_executable_p
42147 as_test_x='test -x'
42148 as_executable_p=as_fn_executable_p
42149
42150 # Sed expression to map a string onto a valid CPP name.
42151 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42152
42153 # Sed expression to map a string onto a valid variable name.
42154 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42155
42156
42157 exec 6>&1
42158 ## ----------------------------------- ##
42159 ## Main body of $CONFIG_STATUS script. ##
42160 ## ----------------------------------- ##
42161 _ASEOF
42162 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
42163
42164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42165 # Save the log message, to keep $0 and so on meaningful, and to
42166 # report actual input values of CONFIG_FILES etc. instead of their
42167 # values after options handling.
42168 ac_log="
42169 This file was extended by wxWidgets $as_me 2.9.5, which was
42170 generated by GNU Autoconf 2.69.  Invocation command line was
42171
42172   CONFIG_FILES    = $CONFIG_FILES
42173   CONFIG_HEADERS  = $CONFIG_HEADERS
42174   CONFIG_LINKS    = $CONFIG_LINKS
42175   CONFIG_COMMANDS = $CONFIG_COMMANDS
42176   $ $0 $@
42177
42178 on `(hostname || uname -n) 2>/dev/null | sed 1q`
42179 "
42180
42181 _ACEOF
42182
42183 case $ac_config_files in *"
42184 "*) set x $ac_config_files; shift; ac_config_files=$*;;
42185 esac
42186
42187 case $ac_config_headers in *"
42188 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
42189 esac
42190
42191
42192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42193 # Files that config.status was made for.
42194 config_files="$ac_config_files"
42195 config_headers="$ac_config_headers"
42196 config_commands="$ac_config_commands"
42197
42198 _ACEOF
42199
42200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42201 ac_cs_usage="\
42202 \`$as_me' instantiates files and other configuration actions
42203 from templates according to the current configuration.  Unless the files
42204 and actions are specified as TAGs, all are instantiated by default.
42205
42206 Usage: $0 [OPTION]... [TAG]...
42207
42208   -h, --help       print this help, then exit
42209   -V, --version    print version number and configuration settings, then exit
42210       --config     print configuration, then exit
42211   -q, --quiet, --silent
42212                    do not print progress messages
42213   -d, --debug      don't remove temporary files
42214       --recheck    update $as_me by reconfiguring in the same conditions
42215       --file=FILE[:TEMPLATE]
42216                    instantiate the configuration file FILE
42217       --header=FILE[:TEMPLATE]
42218                    instantiate the configuration header FILE
42219
42220 Configuration files:
42221 $config_files
42222
42223 Configuration headers:
42224 $config_headers
42225
42226 Configuration commands:
42227 $config_commands
42228
42229 Report bugs to <wx-dev@lists.wxwidgets.org>."
42230
42231 _ACEOF
42232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42233 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42234 ac_cs_version="\\
42235 wxWidgets config.status 2.9.5
42236 configured by $0, generated by GNU Autoconf 2.69,
42237   with options \\"\$ac_cs_config\\"
42238
42239 Copyright (C) 2012 Free Software Foundation, Inc.
42240 This config.status script is free software; the Free Software Foundation
42241 gives unlimited permission to copy, distribute and modify it."
42242
42243 ac_pwd='$ac_pwd'
42244 srcdir='$srcdir'
42245 INSTALL='$INSTALL'
42246 test -n "\$AWK" || AWK=awk
42247 _ACEOF
42248
42249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42250 # The default lists apply if the user does not specify any file.
42251 ac_need_defaults=:
42252 while test $# != 0
42253 do
42254   case $1 in
42255   --*=?*)
42256     ac_option=`expr "X$1" : 'X\([^=]*\)='`
42257     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
42258     ac_shift=:
42259     ;;
42260   --*=)
42261     ac_option=`expr "X$1" : 'X\([^=]*\)='`
42262     ac_optarg=
42263     ac_shift=:
42264     ;;
42265   *)
42266     ac_option=$1
42267     ac_optarg=$2
42268     ac_shift=shift
42269     ;;
42270   esac
42271
42272   case $ac_option in
42273   # Handling of the options.
42274   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42275     ac_cs_recheck=: ;;
42276   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42277     $as_echo "$ac_cs_version"; exit ;;
42278   --config | --confi | --conf | --con | --co | --c )
42279     $as_echo "$ac_cs_config"; exit ;;
42280   --debug | --debu | --deb | --de | --d | -d )
42281     debug=: ;;
42282   --file | --fil | --fi | --f )
42283     $ac_shift
42284     case $ac_optarg in
42285     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42286     '') as_fn_error $? "missing file argument" ;;
42287     esac
42288     as_fn_append CONFIG_FILES " '$ac_optarg'"
42289     ac_need_defaults=false;;
42290   --header | --heade | --head | --hea )
42291     $ac_shift
42292     case $ac_optarg in
42293     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42294     esac
42295     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
42296     ac_need_defaults=false;;
42297   --he | --h)
42298     # Conflict between --help and --header
42299     as_fn_error $? "ambiguous option: \`$1'
42300 Try \`$0 --help' for more information.";;
42301   --help | --hel | -h )
42302     $as_echo "$ac_cs_usage"; exit ;;
42303   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42304   | -silent | --silent | --silen | --sile | --sil | --si | --s)
42305     ac_cs_silent=: ;;
42306
42307   # This is an error.
42308   -*) as_fn_error $? "unrecognized option: \`$1'
42309 Try \`$0 --help' for more information." ;;
42310
42311   *) as_fn_append ac_config_targets " $1"
42312      ac_need_defaults=false ;;
42313
42314   esac
42315   shift
42316 done
42317
42318 ac_configure_extra_args=
42319
42320 if $ac_cs_silent; then
42321   exec 6>/dev/null
42322   ac_configure_extra_args="$ac_configure_extra_args --silent"
42323 fi
42324
42325 _ACEOF
42326 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42327 if \$ac_cs_recheck; then
42328   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42329   shift
42330   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42331   CONFIG_SHELL='$SHELL'
42332   export CONFIG_SHELL
42333   exec "\$@"
42334 fi
42335
42336 _ACEOF
42337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42338 exec 5>>config.log
42339 {
42340   echo
42341   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42342 ## Running $as_me. ##
42343 _ASBOX
42344   $as_echo "$ac_log"
42345 } >&5
42346
42347 _ACEOF
42348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42349 #
42350 # INIT-COMMANDS
42351 #
42352
42353             CPP="$CPP"
42354             infile="$srcdir/include/wx/msw/genrcdefs.h"
42355             outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42356
42357
42358  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42359  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42360  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42361                      LN_S="${LN_S}"
42362
42363
42364 _ACEOF
42365
42366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42367
42368 # Handling of arguments.
42369 for ac_config_target in $ac_config_targets
42370 do
42371   case $ac_config_target in
42372     "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42373     "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
42374     "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42375     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42376     "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42377     "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
42378     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42379     "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42380     "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
42381
42382   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42383   esac
42384 done
42385
42386
42387 # If the user did not use the arguments to specify the items to instantiate,
42388 # then the envvar interface is used.  Set only those that are not.
42389 # We use the long form for the default assignment because of an extremely
42390 # bizarre bug on SunOS 4.1.3.
42391 if $ac_need_defaults; then
42392   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42393   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42394   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42395 fi
42396
42397 # Have a temporary directory for convenience.  Make it in the build tree
42398 # simply because there is no reason against having it here, and in addition,
42399 # creating and moving files from /tmp can sometimes cause problems.
42400 # Hook for its removal unless debugging.
42401 # Note that there is a small window in which the directory will not be cleaned:
42402 # after its creation but before its name has been assigned to `$tmp'.
42403 $debug ||
42404 {
42405   tmp= ac_tmp=
42406   trap 'exit_status=$?
42407   : "${ac_tmp:=$tmp}"
42408   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42409 ' 0
42410   trap 'as_fn_exit 1' 1 2 13 15
42411 }
42412 # Create a (secure) tmp directory for tmp files.
42413
42414 {
42415   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42416   test -d "$tmp"
42417 }  ||
42418 {
42419   tmp=./conf$$-$RANDOM
42420   (umask 077 && mkdir "$tmp")
42421 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
42422 ac_tmp=$tmp
42423
42424 # Set up the scripts for CONFIG_FILES section.
42425 # No need to generate them if there are no CONFIG_FILES.
42426 # This happens for instance with `./config.status config.h'.
42427 if test -n "$CONFIG_FILES"; then
42428
42429
42430 ac_cr=`echo X | tr X '\015'`
42431 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42432 # But we know of no other shell where ac_cr would be empty at this
42433 # point, so we can use a bashism as a fallback.
42434 if test "x$ac_cr" = x; then
42435   eval ac_cr=\$\'\\r\'
42436 fi
42437 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42438 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42439   ac_cs_awk_cr='\\r'
42440 else
42441   ac_cs_awk_cr=$ac_cr
42442 fi
42443
42444 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42445 _ACEOF
42446
42447
42448 {
42449   echo "cat >conf$$subs.awk <<_ACEOF" &&
42450   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42451   echo "_ACEOF"
42452 } >conf$$subs.sh ||
42453   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42454 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42455 ac_delim='%!_!# '
42456 for ac_last_try in false false false false false :; do
42457   . ./conf$$subs.sh ||
42458     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42459
42460   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
42461   if test $ac_delim_n = $ac_delim_num; then
42462     break
42463   elif $ac_last_try; then
42464     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42465   else
42466     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42467   fi
42468 done
42469 rm -f conf$$subs.sh
42470
42471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42472 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
42473 _ACEOF
42474 sed -n '
42475 h
42476 s/^/S["/; s/!.*/"]=/
42477 p
42478 g
42479 s/^[^!]*!//
42480 :repl
42481 t repl
42482 s/'"$ac_delim"'$//
42483 t delim
42484 :nl
42485 h
42486 s/\(.\{148\}\)..*/\1/
42487 t more1
42488 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
42489 p
42490 n
42491 b repl
42492 :more1
42493 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42494 p
42495 g
42496 s/.\{148\}//
42497 t nl
42498 :delim
42499 h
42500 s/\(.\{148\}\)..*/\1/
42501 t more2
42502 s/["\\]/\\&/g; s/^/"/; s/$/"/
42503 p
42504 b
42505 :more2
42506 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42507 p
42508 g
42509 s/.\{148\}//
42510 t delim
42511 ' <conf$$subs.awk | sed '
42512 /^[^""]/{
42513   N
42514   s/\n//
42515 }
42516 ' >>$CONFIG_STATUS || ac_write_fail=1
42517 rm -f conf$$subs.awk
42518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42519 _ACAWK
42520 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
42521   for (key in S) S_is_set[key] = 1
42522   FS = "\a"
42523
42524 }
42525 {
42526   line = $ 0
42527   nfields = split(line, field, "@")
42528   substed = 0
42529   len = length(field[1])
42530   for (i = 2; i < nfields; i++) {
42531     key = field[i]
42532     keylen = length(key)
42533     if (S_is_set[key]) {
42534       value = S[key]
42535       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42536       len += length(value) + length(field[++i])
42537       substed = 1
42538     } else
42539       len += 1 + keylen
42540   }
42541
42542   print line
42543 }
42544
42545 _ACAWK
42546 _ACEOF
42547 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42548 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42549   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
42550 else
42551   cat
42552 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
42553   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
42554 _ACEOF
42555
42556 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42557 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
42558 # trailing colons and then remove the whole line if VPATH becomes empty
42559 # (actually we leave an empty line to preserve line numbers).
42560 if test "x$srcdir" = x.; then
42561   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
42562 h
42563 s///
42564 s/^/:/
42565 s/[      ]*$/:/
42566 s/:\$(srcdir):/:/g
42567 s/:\${srcdir}:/:/g
42568 s/:@srcdir@:/:/g
42569 s/^:*//
42570 s/:*$//
42571 x
42572 s/\(=[   ]*\).*/\1/
42573 G
42574 s/\n//
42575 s/^[^=]*=[       ]*$//
42576 }'
42577 fi
42578
42579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42580 fi # test -n "$CONFIG_FILES"
42581
42582 # Set up the scripts for CONFIG_HEADERS section.
42583 # No need to generate them if there are no CONFIG_HEADERS.
42584 # This happens for instance with `./config.status Makefile'.
42585 if test -n "$CONFIG_HEADERS"; then
42586 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
42587 BEGIN {
42588 _ACEOF
42589
42590 # Transform confdefs.h into an awk script `defines.awk', embedded as
42591 # here-document in config.status, that substitutes the proper values into
42592 # config.h.in to produce config.h.
42593
42594 # Create a delimiter string that does not exist in confdefs.h, to ease
42595 # handling of long lines.
42596 ac_delim='%!_!# '
42597 for ac_last_try in false false :; do
42598   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
42599   if test -z "$ac_tt"; then
42600     break
42601   elif $ac_last_try; then
42602     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
42603   else
42604     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42605   fi
42606 done
42607
42608 # For the awk script, D is an array of macro values keyed by name,
42609 # likewise P contains macro parameters if any.  Preserve backslash
42610 # newline sequences.
42611
42612 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42613 sed -n '
42614 s/.\{148\}/&'"$ac_delim"'/g
42615 t rset
42616 :rset
42617 s/^[     ]*#[    ]*define[       ][      ]*/ /
42618 t def
42619 d
42620 :def
42621 s/\\$//
42622 t bsnl
42623 s/["\\]/\\&/g
42624 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
42625 D["\1"]=" \3"/p
42626 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
42627 d
42628 :bsnl
42629 s/["\\]/\\&/g
42630 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
42631 D["\1"]=" \3\\\\\\n"\\/p
42632 t cont
42633 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
42634 t cont
42635 d
42636 :cont
42637 n
42638 s/.\{148\}/&'"$ac_delim"'/g
42639 t clear
42640 :clear
42641 s/\\$//
42642 t bsnlc
42643 s/["\\]/\\&/g; s/^/"/; s/$/"/p
42644 d
42645 :bsnlc
42646 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
42647 b cont
42648 ' <confdefs.h | sed '
42649 s/'"$ac_delim"'/"\\\
42650 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42651
42652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42653   for (key in D) D_is_set[key] = 1
42654   FS = "\a"
42655 }
42656 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42657   line = \$ 0
42658   split(line, arg, " ")
42659   if (arg[1] == "#") {
42660     defundef = arg[2]
42661     mac1 = arg[3]
42662   } else {
42663     defundef = substr(arg[1], 2)
42664     mac1 = arg[2]
42665   }
42666   split(mac1, mac2, "(") #)
42667   macro = mac2[1]
42668   prefix = substr(line, 1, index(line, defundef) - 1)
42669   if (D_is_set[macro]) {
42670     # Preserve the white space surrounding the "#".
42671     print prefix "define", macro P[macro] D[macro]
42672     next
42673   } else {
42674     # Replace #undef with comments.  This is necessary, for example,
42675     # in the case of _POSIX_SOURCE, which is predefined and required
42676     # on some systems where configure will not decide to define it.
42677     if (defundef == "undef") {
42678       print "/*", prefix defundef, macro, "*/"
42679       next
42680     }
42681   }
42682 }
42683 { print }
42684 _ACAWK
42685 _ACEOF
42686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42687   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42688 fi # test -n "$CONFIG_HEADERS"
42689
42690
42691 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
42692 shift
42693 for ac_tag
42694 do
42695   case $ac_tag in
42696   :[FHLC]) ac_mode=$ac_tag; continue;;
42697   esac
42698   case $ac_mode$ac_tag in
42699   :[FHL]*:*);;
42700   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
42701   :[FH]-) ac_tag=-:-;;
42702   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42703   esac
42704   ac_save_IFS=$IFS
42705   IFS=:
42706   set x $ac_tag
42707   IFS=$ac_save_IFS
42708   shift
42709   ac_file=$1
42710   shift
42711
42712   case $ac_mode in
42713   :L) ac_source=$1;;
42714   :[FH])
42715     ac_file_inputs=
42716     for ac_f
42717     do
42718       case $ac_f in
42719       -) ac_f="$ac_tmp/stdin";;
42720       *) # Look for the file first in the build tree, then in the source tree
42721          # (if the path is not absolute).  The absolute path cannot be DOS-style,
42722          # because $ac_f cannot contain `:'.
42723          test -f "$ac_f" ||
42724            case $ac_f in
42725            [\\/$]*) false;;
42726            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42727            esac ||
42728            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42729       esac
42730       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42731       as_fn_append ac_file_inputs " '$ac_f'"
42732     done
42733
42734     # Let's still pretend it is `configure' which instantiates (i.e., don't
42735     # use $as_me), people would be surprised to read:
42736     #    /* config.h.  Generated by config.status.  */
42737     configure_input='Generated from '`
42738           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42739         `' by configure.'
42740     if test x"$ac_file" != x-; then
42741       configure_input="$ac_file.  $configure_input"
42742       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42743 $as_echo "$as_me: creating $ac_file" >&6;}
42744     fi
42745     # Neutralize special characters interpreted by sed in replacement strings.
42746     case $configure_input in #(
42747     *\&* | *\|* | *\\* )
42748        ac_sed_conf_input=`$as_echo "$configure_input" |
42749        sed 's/[\\\\&|]/\\\\&/g'`;; #(
42750     *) ac_sed_conf_input=$configure_input;;
42751     esac
42752
42753     case $ac_tag in
42754     *:-:* | *:-) cat >"$ac_tmp/stdin" \
42755       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42756     esac
42757     ;;
42758   esac
42759
42760   ac_dir=`$as_dirname -- "$ac_file" ||
42761 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42762          X"$ac_file" : 'X\(//\)[^/]' \| \
42763          X"$ac_file" : 'X\(//\)$' \| \
42764          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42765 $as_echo X"$ac_file" |
42766     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42767             s//\1/
42768             q
42769           }
42770           /^X\(\/\/\)[^/].*/{
42771             s//\1/
42772             q
42773           }
42774           /^X\(\/\/\)$/{
42775             s//\1/
42776             q
42777           }
42778           /^X\(\/\).*/{
42779             s//\1/
42780             q
42781           }
42782           s/.*/./; q'`
42783   as_dir="$ac_dir"; as_fn_mkdir_p
42784   ac_builddir=.
42785
42786 case "$ac_dir" in
42787 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42788 *)
42789   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42790   # A ".." for each directory in $ac_dir_suffix.
42791   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42792   case $ac_top_builddir_sub in
42793   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42794   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42795   esac ;;
42796 esac
42797 ac_abs_top_builddir=$ac_pwd
42798 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42799 # for backward compatibility:
42800 ac_top_builddir=$ac_top_build_prefix
42801
42802 case $srcdir in
42803   .)  # We are building in place.
42804     ac_srcdir=.
42805     ac_top_srcdir=$ac_top_builddir_sub
42806     ac_abs_top_srcdir=$ac_pwd ;;
42807   [\\/]* | ?:[\\/]* )  # Absolute name.
42808     ac_srcdir=$srcdir$ac_dir_suffix;
42809     ac_top_srcdir=$srcdir
42810     ac_abs_top_srcdir=$srcdir ;;
42811   *) # Relative name.
42812     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42813     ac_top_srcdir=$ac_top_build_prefix$srcdir
42814     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42815 esac
42816 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42817
42818
42819   case $ac_mode in
42820   :F)
42821   #
42822   # CONFIG_FILE
42823   #
42824
42825   case $INSTALL in
42826   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42827   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42828   esac
42829 _ACEOF
42830
42831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42832 # If the template does not know about datarootdir, expand it.
42833 # FIXME: This hack should be removed a few years after 2.60.
42834 ac_datarootdir_hack=; ac_datarootdir_seen=
42835 ac_sed_dataroot='
42836 /datarootdir/ {
42837   p
42838   q
42839 }
42840 /@datadir@/p
42841 /@docdir@/p
42842 /@infodir@/p
42843 /@localedir@/p
42844 /@mandir@/p'
42845 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42846 *datarootdir*) ac_datarootdir_seen=yes;;
42847 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42848   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42849 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42850 _ACEOF
42851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42852   ac_datarootdir_hack='
42853   s&@datadir@&$datadir&g
42854   s&@docdir@&$docdir&g
42855   s&@infodir@&$infodir&g
42856   s&@localedir@&$localedir&g
42857   s&@mandir@&$mandir&g
42858   s&\\\${datarootdir}&$datarootdir&g' ;;
42859 esac
42860 _ACEOF
42861
42862 # Neutralize VPATH when `$srcdir' = `.'.
42863 # Shell code in configure.ac might set extrasub.
42864 # FIXME: do we really want to maintain this feature?
42865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42866 ac_sed_extra="$ac_vpsub
42867 $extrasub
42868 _ACEOF
42869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42870 :t
42871 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42872 s|@configure_input@|$ac_sed_conf_input|;t t
42873 s&@top_builddir@&$ac_top_builddir_sub&;t t
42874 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42875 s&@srcdir@&$ac_srcdir&;t t
42876 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42877 s&@top_srcdir@&$ac_top_srcdir&;t t
42878 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42879 s&@builddir@&$ac_builddir&;t t
42880 s&@abs_builddir@&$ac_abs_builddir&;t t
42881 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42882 s&@INSTALL@&$ac_INSTALL&;t t
42883 $ac_datarootdir_hack
42884 "
42885 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
42886   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42887
42888 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42889   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
42890   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
42891       "$ac_tmp/out"`; test -z "$ac_out"; } &&
42892   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42893 which seems to be undefined.  Please make sure it is defined" >&5
42894 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42895 which seems to be undefined.  Please make sure it is defined" >&2;}
42896
42897   rm -f "$ac_tmp/stdin"
42898   case $ac_file in
42899   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42900   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42901   esac \
42902   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42903  ;;
42904   :H)
42905   #
42906   # CONFIG_HEADER
42907   #
42908   if test x"$ac_file" != x-; then
42909     {
42910       $as_echo "/* $configure_input  */" \
42911       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42912     } >"$ac_tmp/config.h" \
42913       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42914     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42915       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42916 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42917     else
42918       rm -f "$ac_file"
42919       mv "$ac_tmp/config.h" "$ac_file" \
42920         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42921     fi
42922   else
42923     $as_echo "/* $configure_input  */" \
42924       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42925       || as_fn_error $? "could not create -" "$LINENO" 5
42926   fi
42927  ;;
42928
42929   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42930 $as_echo "$as_me: executing $ac_file commands" >&6;}
42931  ;;
42932   esac
42933
42934
42935   case $ac_file$ac_mode in
42936     "rcdefs.h":C)
42937             mkdir -p $outdir &&
42938             $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42939          ;;
42940     "lib/wx/config/${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME}  ;;
42941     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}  ;;
42942     "utils/ifacecheck/rungccxml.sh":F)  chmod +x utils/ifacecheck/rungccxml.sh  ;;
42943     "wx-config":C)  rm -f wx-config
42944                      ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42945                     ;;
42946
42947   esac
42948 done # for ac_tag
42949
42950
42951 as_fn_exit 0
42952 _ACEOF
42953 ac_clean_files=$ac_clean_files_save
42954
42955 test $ac_write_fail = 0 ||
42956   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42957
42958
42959 # configure is writing to config.log, and then calls config.status.
42960 # config.status does its own redirection, appending to config.log.
42961 # Unfortunately, on DOS this fails, as config.log is still kept open
42962 # by configure, so config.status won't be able to write to it; its
42963 # output is simply discarded.  So we exec the FD to /dev/null,
42964 # effectively closing config.log, so it can be properly (re)opened and
42965 # appended to by config.status.  When coming back to configure, we
42966 # need to make the FD available again.
42967 if test "$no_create" != yes; then
42968   ac_cs_success=:
42969   ac_config_status_args=
42970   test "$silent" = yes &&
42971     ac_config_status_args="$ac_config_status_args --quiet"
42972   exec 5>/dev/null
42973   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42974   exec 5>>config.log
42975   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42976   # would make configure fail if this is the last instruction.
42977   $ac_cs_success || as_fn_exit 1
42978 fi
42979
42980 #
42981 # CONFIG_SUBDIRS section.
42982 #
42983 if test "$no_recursion" != yes; then
42984
42985   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42986   # so they do not pile up.
42987   ac_sub_configure_args=
42988   ac_prev=
42989   eval "set x $ac_configure_args"
42990   shift
42991   for ac_arg
42992   do
42993     if test -n "$ac_prev"; then
42994       ac_prev=
42995       continue
42996     fi
42997     case $ac_arg in
42998     -cache-file | --cache-file | --cache-fil | --cache-fi \
42999     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43000       ac_prev=cache_file ;;
43001     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43002     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43003     | --c=*)
43004       ;;
43005     --config-cache | -C)
43006       ;;
43007     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43008       ac_prev=srcdir ;;
43009     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43010       ;;
43011     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43012       ac_prev=prefix ;;
43013     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43014       ;;
43015     --disable-option-checking)
43016       ;;
43017     *)
43018       case $ac_arg in
43019       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
43020       esac
43021       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
43022     esac
43023   done
43024
43025   # Always prepend --prefix to ensure using the same prefix
43026   # in subdir configurations.
43027   ac_arg="--prefix=$prefix"
43028   case $ac_arg in
43029   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
43030   esac
43031   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
43032
43033   # Pass --silent
43034   if test "$silent" = yes; then
43035     ac_sub_configure_args="--silent $ac_sub_configure_args"
43036   fi
43037
43038   # Always prepend --disable-option-checking to silence warnings, since
43039   # different subdirs can have different --enable and --with options.
43040   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
43041
43042   ac_popdir=`pwd`
43043   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
43044
43045     # Do not complain, so a configure script can configure whichever
43046     # parts of a large source tree are present.
43047     test -d "$srcdir/$ac_dir" || continue
43048
43049     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
43050     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
43051     $as_echo "$ac_msg" >&6
43052     as_dir="$ac_dir"; as_fn_mkdir_p
43053     ac_builddir=.
43054
43055 case "$ac_dir" in
43056 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
43057 *)
43058   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
43059   # A ".." for each directory in $ac_dir_suffix.
43060   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
43061   case $ac_top_builddir_sub in
43062   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
43063   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
43064   esac ;;
43065 esac
43066 ac_abs_top_builddir=$ac_pwd
43067 ac_abs_builddir=$ac_pwd$ac_dir_suffix
43068 # for backward compatibility:
43069 ac_top_builddir=$ac_top_build_prefix
43070
43071 case $srcdir in
43072   .)  # We are building in place.
43073     ac_srcdir=.
43074     ac_top_srcdir=$ac_top_builddir_sub
43075     ac_abs_top_srcdir=$ac_pwd ;;
43076   [\\/]* | ?:[\\/]* )  # Absolute name.
43077     ac_srcdir=$srcdir$ac_dir_suffix;
43078     ac_top_srcdir=$srcdir
43079     ac_abs_top_srcdir=$srcdir ;;
43080   *) # Relative name.
43081     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
43082     ac_top_srcdir=$ac_top_build_prefix$srcdir
43083     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
43084 esac
43085 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
43086
43087
43088     cd "$ac_dir"
43089
43090     # Check for guested configure; otherwise get Cygnus style configure.
43091     if test -f "$ac_srcdir/configure.gnu"; then
43092       ac_sub_configure=$ac_srcdir/configure.gnu
43093     elif test -f "$ac_srcdir/configure"; then
43094       ac_sub_configure=$ac_srcdir/configure
43095     elif test -f "$ac_srcdir/configure.in"; then
43096       # This should be Cygnus configure.
43097       ac_sub_configure=$ac_aux_dir/configure
43098     else
43099       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
43100 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43101       ac_sub_configure=
43102     fi
43103
43104     # The recursion is here.
43105     if test -n "$ac_sub_configure"; then
43106       # Make the cache file name correct relative to the subdirectory.
43107       case $cache_file in
43108       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
43109       *) # Relative name.
43110         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
43111       esac
43112
43113       { $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
43114 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43115       # The eval makes quoting arguments work.
43116       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
43117            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
43118         as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
43119     fi
43120
43121     cd "$ac_popdir"
43122   done
43123 fi
43124 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
43125   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
43126 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
43127 fi
43128
43129
43130 echo
43131 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43132 echo ""
43133 echo "  Which GUI toolkit should wxWidgets use?                 ${TOOLKIT_DESC}"
43134 echo "  Should wxWidgets be compiled into single library?       ${wxUSE_MONOLITHIC:-yes}"
43135 echo "  Should wxWidgets be linked as a shared library?         ${wxUSE_SHARED:-no}"
43136 echo $ECHO_N "  Should wxWidgets support Unicode?                       ${wxUSE_UNICODE:-no}$ECHO_C"
43137 if test "$wxUSE_UNICODE" = "yes"; then
43138     if test "$wxUSE_UNICODE_UTF8" = "yes"; then
43139         echo " (using UTF-8)"
43140     else
43141         echo " (using wchar_t)"
43142     fi
43143 else
43144     echo
43145 fi
43146
43147 echo "  What level of wxWidgets compatibility should be enabled?"
43148 echo "                                       wxWidgets 2.6      ${WXWIN_COMPATIBILITY_2_6:-no}"
43149 echo "                                       wxWidgets 2.8      ${WXWIN_COMPATIBILITY_2_8:-yes}"
43150
43151 echo "  Which libraries should wxWidgets use?"
43152 echo "                                       STL                ${wxUSE_STL}"
43153 echo "                                       jpeg               ${wxUSE_LIBJPEG-none}"
43154 echo "                                       png                ${wxUSE_LIBPNG-none}"
43155 echo "                                       regex              ${wxUSE_REGEX}"
43156 echo "                                       tiff               ${wxUSE_LIBTIFF-none}"
43157 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43158 echo "                                       xpm                ${wxUSE_LIBXPM-none}"
43159 fi
43160 echo "                                       zlib               ${wxUSE_ZLIB}"
43161 echo "                                       expat              ${wxUSE_EXPAT}"
43162 echo "                                       libmspack          ${wxUSE_LIBMSPACK}"
43163 echo "                                       sdl                ${wxUSE_LIBSDL}"
43164
43165 echo ""
43166