Move HAVE_WCSXXX from wx/osx/config_xcode.h to wx/osx/chkconf.h.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for wxWidgets 2.9.5.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 #
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21   emulate sh
22   NULLCMD=:
23   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24   # is contrary to our usage.  Disable this feature.
25   alias -g '${1+"$@"}'='"$@"'
26   setopt NO_GLOB_SUBST
27 else
28   case `(set -o) 2>/dev/null` in #(
29   *posix*) :
30     set -o posix ;; #(
31   *) :
32      ;;
33 esac
34 fi
35
36
37 as_nl='
38 '
39 export as_nl
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='print -r --'
49   as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51   as_echo='printf %s\n'
52   as_echo_n='printf %s'
53 else
54   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56     as_echo_n='/usr/ucb/echo -n'
57   else
58     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59     as_echo_n_body='eval
60       arg=$1;
61       case $arg in #(
62       *"$as_nl"*)
63         expr "X$arg" : "X\\(.*\\)$as_nl";
64         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65       esac;
66       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67     '
68     export as_echo_n_body
69     as_echo_n='sh -c $as_echo_n_body as_echo'
70   fi
71   export as_echo_body
72   as_echo='sh -c $as_echo_body as_echo'
73 fi
74
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
77   PATH_SEPARATOR=:
78   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80       PATH_SEPARATOR=';'
81   }
82 fi
83
84
85 # IFS
86 # We need space, tab and new line, in precisely that order.  Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
90 IFS=" ""        $as_nl"
91
92 # Find who we are.  Look in the path if we contain no directory separator.
93 as_myself=
94 case $0 in #((
95   *[\\/]* ) as_myself=$0 ;;
96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99   IFS=$as_save_IFS
100   test -z "$as_dir" && as_dir=.
101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102   done
103 IFS=$as_save_IFS
104
105      ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110   as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114   exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there.  '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 # Use a proper internal environment variable to ensure we don't fall
139   # into an infinite loop, continuously re-executing ourselves.
140   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141     _as_can_reexec=no; export _as_can_reexec;
142     # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
146 BASH_ENV=/dev/null
147 ENV=/dev/null
148 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 case $- in # ((((
150   *v*x* | *x*v* ) as_opts=-vx ;;
151   *v* ) as_opts=-v ;;
152   *x* ) as_opts=-x ;;
153   * ) as_opts= ;;
154 esac
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 as_fn_exit 255
160   fi
161   # We don't want this to propagate to other subprocesses.
162           { _as_can_reexec=; unset _as_can_reexec;}
163 if test "x$CONFIG_SHELL" = x; then
164   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165   emulate sh
166   NULLCMD=:
167   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168   # is contrary to our usage.  Disable this feature.
169   alias -g '\${1+\"\$@\"}'='\"\$@\"'
170   setopt NO_GLOB_SUBST
171 else
172   case \`(set -o) 2>/dev/null\` in #(
173   *posix*) :
174     set -o posix ;; #(
175   *) :
176      ;;
177 esac
178 fi
179 "
180   as_required="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
185
186 exitcode=0
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192
193 else
194   exitcode=1; echo positional parameters were not saved.
195 fi
196 test x\$exitcode = x0 || exit 1
197 test -x / || exit 1"
198   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test \$(( 1 + 1 )) = 2 || exit 1"
203   if (eval "$as_required") 2>/dev/null; then :
204   as_have_required=yes
205 else
206   as_have_required=no
207 fi
208   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209
210 else
211   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 as_found=false
213 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 do
215   IFS=$as_save_IFS
216   test -z "$as_dir" && as_dir=.
217   as_found=:
218   case $as_dir in #(
219          /*)
220            for as_base in sh bash ksh sh5; do
221              # Try only shells that exist, to save several forks.
222              as_shell=$as_dir/$as_base
223              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
224                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
225   CONFIG_SHELL=$as_shell as_have_required=yes
226                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
227   break 2
228 fi
229 fi
230            done;;
231        esac
232   as_found=false
233 done
234 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
235               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
236   CONFIG_SHELL=$SHELL as_have_required=yes
237 fi; }
238 IFS=$as_save_IFS
239
240
241       if test "x$CONFIG_SHELL" != x; then :
242   export CONFIG_SHELL
243              # We cannot yet assume a decent shell, so we have to provide a
244 # neutralization value for shells without unset; and this also
245 # works around shells that cannot unset nonexistent variables.
246 # Preserve -v and -x to the replacement shell.
247 BASH_ENV=/dev/null
248 ENV=/dev/null
249 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 case $- in # ((((
251   *v*x* | *x*v* ) as_opts=-vx ;;
252   *v* ) as_opts=-v ;;
253   *x* ) as_opts=-x ;;
254   * ) as_opts= ;;
255 esac
256 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
257 # Admittedly, this is quite paranoid, since all the known shells bail
258 # out after a failed `exec'.
259 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 exit 255
261 fi
262
263     if test x$as_have_required = xno; then :
264   $as_echo "$0: This script requires a shell more modern than all"
265   $as_echo "$0: the shells that I found on your system."
266   if test x${ZSH_VERSION+set} = xset ; then
267     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269   else
270     $as_echo "$0: Please tell bug-autoconf@gnu.org and
271 $0: wx-dev@lists.wxwidgets.org about your system, including
272 $0: any error possibly output before this message. Then
273 $0: install a modern shell, or manually run the script
274 $0: under such a shell if you do have one."
275   fi
276   exit 1
277 fi
278 fi
279 fi
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
285
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
293 {
294   { eval $1=; unset $1;}
295 }
296 as_unset=as_fn_unset
297
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
301 as_fn_set_status ()
302 {
303   return $1
304 } # as_fn_set_status
305
306 # as_fn_exit STATUS
307 # -----------------
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
309 as_fn_exit ()
310 {
311   set +e
312   as_fn_set_status $1
313   exit $1
314 } # as_fn_exit
315
316 # as_fn_mkdir_p
317 # -------------
318 # Create "$as_dir" as a directory, including parents if necessary.
319 as_fn_mkdir_p ()
320 {
321
322   case $as_dir in #(
323   -*) as_dir=./$as_dir;;
324   esac
325   test -d "$as_dir" || eval $as_mkdir_p || {
326     as_dirs=
327     while :; do
328       case $as_dir in #(
329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330       *) as_qdir=$as_dir;;
331       esac
332       as_dirs="'$as_qdir' $as_dirs"
333       as_dir=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335          X"$as_dir" : 'X\(//\)[^/]' \| \
336          X"$as_dir" : 'X\(//\)$' \| \
337          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
340             s//\1/
341             q
342           }
343           /^X\(\/\/\)[^/].*/{
344             s//\1/
345             q
346           }
347           /^X\(\/\/\)$/{
348             s//\1/
349             q
350           }
351           /^X\(\/\).*/{
352             s//\1/
353             q
354           }
355           s/.*/./; q'`
356       test -d "$as_dir" && break
357     done
358     test -z "$as_dirs" || eval "mkdir $as_dirs"
359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360
361
362 } # as_fn_mkdir_p
363
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p ()
368 {
369   test -f "$1" && test -x "$1"
370 } # as_fn_executable_p
371 # as_fn_append VAR VALUE
372 # ----------------------
373 # Append the text in VALUE to the end of the definition contained in VAR. Take
374 # advantage of any shell optimizations that allow amortized linear growth over
375 # repeated appends, instead of the typical quadratic growth present in naive
376 # implementations.
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
378   eval 'as_fn_append ()
379   {
380     eval $1+=\$2
381   }'
382 else
383   as_fn_append ()
384   {
385     eval $1=\$$1\$2
386   }
387 fi # as_fn_append
388
389 # as_fn_arith ARG...
390 # ------------------
391 # Perform arithmetic evaluation on the ARGs, and store the result in the
392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
393 # must be portable across $(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
395   eval 'as_fn_arith ()
396   {
397     as_val=$(( $* ))
398   }'
399 else
400   as_fn_arith ()
401   {
402     as_val=`expr "$@" || test $? -eq 1`
403   }
404 fi # as_fn_arith
405
406
407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
408 # ----------------------------------------
409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 # script with STATUS, using 1 if that was 0.
412 as_fn_error ()
413 {
414   as_status=$1; test $as_status -eq 0 && as_status=1
415   if test "$4"; then
416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418   fi
419   $as_echo "$as_me: error: $2" >&2
420   as_fn_exit $as_status
421 } # as_fn_error
422
423 if expr a : '\(a\)' >/dev/null 2>&1 &&
424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
425   as_expr=expr
426 else
427   as_expr=false
428 fi
429
430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431   as_basename=basename
432 else
433   as_basename=false
434 fi
435
436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
437   as_dirname=dirname
438 else
439   as_dirname=false
440 fi
441
442 as_me=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444          X"$0" : 'X\(//\)$' \| \
445          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 $as_echo X/"$0" |
447     sed '/^.*\/\([^/][^/]*\)\/*$/{
448             s//\1/
449             q
450           }
451           /^X\/\(\/\/\)$/{
452             s//\1/
453             q
454           }
455           /^X\/\(\/\).*/{
456             s//\1/
457             q
458           }
459           s/.*/./; q'`
460
461 # Avoid depending upon Character Ranges.
462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits='0123456789'
466 as_cr_alnum=$as_cr_Letters$as_cr_digits
467
468
469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
474   sed -n '
475     p
476     /[$]LINENO/=
477   ' <$as_myself |
478     sed '
479       s/[$]LINENO.*/&-/
480       t lineno
481       b
482       :lineno
483       N
484       :loop
485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
486       t loop
487       s/-\n.*//
488     ' >$as_me.lineno &&
489   chmod +x "$as_me.lineno" ||
490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491
492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493   # already done that, so ensure we don't try to do so again and fall
494   # in an infinite loop.  This has already happened in practice.
495   _as_can_reexec=no; export _as_can_reexec
496   # Don't try to exec as it changes $[0], causing all sort of problems
497   # (the dirname of $[0] is not the place where we might find the
498   # original and so on.  Autoconf is especially sensitive to this).
499   . "./$as_me.lineno"
500   # Exit status is that of the last command.
501   exit
502 }
503
504 ECHO_C= ECHO_N= ECHO_T=
505 case `echo -n x` in #(((((
506 -n*)
507   case `echo 'xy\c'` in
508   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
509   xy)  ECHO_C='\c';;
510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
511        ECHO_T=' ';;
512   esac;;
513 *)
514   ECHO_N='-n';;
515 esac
516
517 rm -f conf$$ conf$$.exe conf$$.file
518 if test -d conf$$.dir; then
519   rm -f conf$$.dir/conf$$.file
520 else
521   rm -f conf$$.dir
522   mkdir conf$$.dir 2>/dev/null
523 fi
524 if (echo >conf$$.file) 2>/dev/null; then
525   if ln -s conf$$.file conf$$ 2>/dev/null; then
526     as_ln_s='ln -s'
527     # ... but there are two gotchas:
528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530     # In both cases, we have to default to `cp -pR'.
531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532       as_ln_s='cp -pR'
533   elif ln conf$$.file conf$$ 2>/dev/null; then
534     as_ln_s=ln
535   else
536     as_ln_s='cp -pR'
537   fi
538 else
539   as_ln_s='cp -pR'
540 fi
541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
542 rmdir conf$$.dir 2>/dev/null
543
544 if mkdir -p . 2>/dev/null; then
545   as_mkdir_p='mkdir -p "$as_dir"'
546 else
547   test -d ./-p && rmdir ./-p
548   as_mkdir_p=false
549 fi
550
551 as_test_x='test -x'
552 as_executable_p=as_fn_executable_p
553
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559
560
561 test -n "$DJDIR" || exec 7<&0 </dev/null
562 exec 6>&1
563
564 # Name of the host.
565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
566 # so uname gets run too.
567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568
569 #
570 # Initializations.
571 #
572 ac_default_prefix=/usr/local
573 ac_clean_files=
574 ac_config_libobj_dir=.
575 LIBOBJS=
576 cross_compiling=no
577 subdirs=
578 MFLAGS=
579 MAKEFLAGS=
580
581 # Identity of this package.
582 PACKAGE_NAME='wxWidgets'
583 PACKAGE_TARNAME='wxwidgets'
584 PACKAGE_VERSION='2.9.5'
585 PACKAGE_STRING='wxWidgets 2.9.5'
586 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
587 PACKAGE_URL=''
588
589 ac_unique_file="wx-config.in"
590 # Factoring default headers for most tests.
591 ac_includes_default="\
592 #include <stdio.h>
593 #ifdef HAVE_SYS_TYPES_H
594 # include <sys/types.h>
595 #endif
596 #ifdef HAVE_SYS_STAT_H
597 # include <sys/stat.h>
598 #endif
599 #ifdef STDC_HEADERS
600 # include <stdlib.h>
601 # include <stddef.h>
602 #else
603 # ifdef HAVE_STDLIB_H
604 #  include <stdlib.h>
605 # endif
606 #endif
607 #ifdef HAVE_STRING_H
608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #  include <memory.h>
610 # endif
611 # include <string.h>
612 #endif
613 #ifdef HAVE_STRINGS_H
614 # include <strings.h>
615 #endif
616 #ifdef HAVE_INTTYPES_H
617 # include <inttypes.h>
618 #endif
619 #ifdef HAVE_STDINT_H
620 # include <stdint.h>
621 #endif
622 #ifdef HAVE_UNISTD_H
623 # include <unistd.h>
624 #endif"
625
626 enable_option_checking=no
627 ac_subst_vars='LTLIBOBJS
628 LIBOBJS
629 CPPUNIT_CONFIG
630 DLLTOOL
631 GCC
632 MACSETFILE
633 POSTLINK_COMMAND
634 LIBWXMACRES
635 WX_RESOURCES_MACOSX_DATA
636 WX_RESOURCES_MACOSX_ASCII
637 RESCOMP
638 WX_VERSION_TAG
639 DMALLOC_LIBS
640 OPENGL_LIBS
641 LDFLAGS_GL
642 SAMPLES_SUBDIRS
643 DISTDIR
644 GUIDIST
645 WXCONFIG_RESFLAGS
646 WXCONFIG_LDFLAGS_GUI
647 WXCONFIG_LDFLAGS
648 WXCONFIG_RPATH
649 WXCONFIG_LIBS
650 WXCONFIG_CXXFLAGS
651 WXCONFIG_CFLAGS
652 WXCONFIG_CPPFLAGS
653 WX_CHARTYPE
654 WX_SUBVERSION
655 WX_VERSION
656 WX_RELEASE
657 WIDGET_SET
658 cross_compiling
659 TOOLCHAIN_FULLNAME
660 TOOLCHAIN_NAME
661 TOOLKIT_DIR
662 TOOLKIT
663 USE_GUI
664 WX_LIBRARY_BASENAME_GUI
665 WX_LIBRARY_BASENAME_NOGUI
666 SHARED
667 DEREZ
668 COND_wxUSE_ZLIB_builtin
669 COND_wxUSE_REGEX_builtin
670 COND_wxUSE_LIBTIFF_builtin
671 COND_wxUSE_LIBPNG_builtin
672 COND_wxUSE_LIBJPEG_builtin
673 COND_wxUSE_EXPAT_builtin
674 COND_WXUNIV_1
675 COND_WXUNIV_0
676 COND_WITH_PLUGIN_SDL_1
677 COND_WINDOWS_IMPLIB_1
678 COND_USE_XRC_1
679 COND_USE_THREADS_1
680 COND_USE_THREADS_0
681 COND_USE_STC_1
682 COND_USE_SOVERSOLARIS_1
683 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
684 COND_USE_SOVERSION_0
685 COND_USE_SOVERLINUX_1
686 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
687 COND_USE_SOTWOSYMLINKS_1
688 COND_USE_RTTI_1
689 COND_USE_RTTI_0
690 COND_USE_PLUGINS_0
691 COND_USE_PCH_1
692 COND_USE_OPENGL_1
693 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
694 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
695 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
696 COND_USE_GUI_1_WXUNIV_1
697 COND_USE_GUI_1_WXUNIV_0
698 COND_USE_GUI_1_USE_OPENGL_1
699 COND_USE_GUI_1
700 COND_USE_GUI_0
701 COND_USE_EXCEPTIONS_1
702 COND_USE_EXCEPTIONS_0
703 COND_USE_CAIRO_1
704 COND_UNICODE_1
705 COND_TOOLKIT_X11_WXUNIV_1
706 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
707 COND_TOOLKIT_X11_USE_GUI_1
708 COND_TOOLKIT_X11
709 COND_TOOLKIT_WINCE_WXUNIV_0
710 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
711 COND_TOOLKIT_WINCE_USE_GUI_1
712 COND_TOOLKIT_WINCE
713 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
714 COND_TOOLKIT_PM_USE_GUI_1
715 COND_TOOLKIT_PM
716 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
717 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
718 COND_TOOLKIT_OSX_IPHONE
719 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
720 COND_TOOLKIT_OSX_COCOA
721 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
722 COND_TOOLKIT_OSX_CARBON
723 COND_TOOLKIT_MSW_WXUNIV_0
724 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
725 COND_TOOLKIT_MSW_USE_GUI_1
726 COND_TOOLKIT_MSW
727 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
728 COND_TOOLKIT_MOTIF_USE_GUI_1
729 COND_TOOLKIT_MOTIF
730 COND_TOOLKIT_MAC
731 COND_TOOLKIT_GTK_USE_GUI_1
732 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
733 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
734 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
735 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
736 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
737 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
738 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
739 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
740 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
741 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
742 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
744 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
745 COND_TOOLKIT_GTK
746 COND_TOOLKIT_DFB_USE_GUI_1
747 COND_TOOLKIT_DFB
748 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
749 COND_TOOLKIT_COCOA_USE_GUI_1
750 COND_TOOLKIT_COCOA
751 COND_TOOLKIT_
752 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
753 COND_SHARED_1
754 COND_SHARED_0_wxUSE_ZLIB_builtin
755 COND_SHARED_0_wxUSE_REGEX_builtin
756 COND_SHARED_0_wxUSE_EXPAT_builtin
757 COND_SHARED_0_USE_STC_1
758 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
759 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
760 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
761 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
762 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
763 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
764 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
765 COND_SHARED_0
766 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
767 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
768 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
769 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
770 COND_PLATFORM_WIN32_1_SHARED_0
771 COND_PLATFORM_WIN32_1
772 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
773 COND_PLATFORM_WIN32_0
774 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
775 COND_PLATFORM_UNIX_1_USE_GUI_1
776 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
777 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
778 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
779 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
780 COND_PLATFORM_UNIX_1
781 COND_PLATFORM_UNIX_0
782 COND_PLATFORM_OS2_1
783 COND_PLATFORM_MSDOS_1
784 COND_PLATFORM_MSDOS_0
785 COND_PLATFORM_MAC_1
786 COND_PLATFORM_MAC_0
787 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
788 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
789 COND_PLATFORM_MACOSX_1_USE_GUI_1
790 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
791 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
792 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
793 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
794 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
795 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
796 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
797 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
798 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
799 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
800 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
801 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
802 COND_PLATFORM_MACOSX_1
803 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
804 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
805 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
806 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
807 COND_MONOLITHIC_1_USE_STC_1
808 COND_MONOLITHIC_1_SHARED_1
809 COND_MONOLITHIC_1_SHARED_0
810 COND_MONOLITHIC_1
811 COND_MONOLITHIC_0_USE_XRC_1
812 COND_MONOLITHIC_0_USE_WEBVIEW_1
813 COND_MONOLITHIC_0_USE_STC_1
814 COND_MONOLITHIC_0_USE_RICHTEXT_1
815 COND_MONOLITHIC_0_USE_RIBBON_1
816 COND_MONOLITHIC_0_USE_QA_1
817 COND_MONOLITHIC_0_USE_PROPGRID_1
818 COND_MONOLITHIC_0_USE_MEDIA_1
819 COND_MONOLITHIC_0_USE_HTML_1
820 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
821 COND_MONOLITHIC_0_USE_GUI_1
822 COND_MONOLITHIC_0_USE_AUI_1
823 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
824 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
825 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
826 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
827 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
833 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
834 COND_MONOLITHIC_0_SHARED_1
835 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
838 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
839 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0
848 COND_ICC_PCH_1
849 COND_GCC_PCH_1
850 COND_DEPS_TRACKING_1
851 COND_DEPS_TRACKING_0
852 COND_DEBUG_INFO_1
853 COND_DEBUG_INFO_0
854 COND_DEBUG_FLAG_0
855 COND_BUILD_release_DEBUG_INFO_default
856 COND_BUILD_release
857 COND_BUILD_debug_DEBUG_INFO_default
858 COND_BUILD_debug
859 BK_MAKE_PCH
860 ICC_PCH_USE_SWITCH
861 ICC_PCH_CREATE_SWITCH
862 ICC_PCH
863 GCC_PCH
864 OBJCXXFLAGS
865 SETFILE
866 REZ
867 WINDRES
868 BK_DEPS
869 DEPS_TRACKING
870 SONAME_FLAG
871 USE_SOTWOSYMLINKS
872 USE_MACVERSION
873 USE_SOVERCYGWIN
874 USE_SOVERSOLARIS
875 USE_SOVERLINUX
876 USE_SOVERSION
877 WINDOWS_IMPLIB
878 PIC_FLAG
879 SHARED_LD_MODULE_CXX
880 SHARED_LD_MODULE_CC
881 SHARED_LD_CXX
882 SHARED_LD_CC
883 AIX_CXX_LD
884 dlldir
885 DLLPREFIX_MODULE
886 DLLPREFIX
887 LIBEXT
888 LIBPREFIX
889 DLLIMP_SUFFIX
890 SO_SUFFIX_MODULE
891 SO_SUFFIX
892 PLATFORM_BEOS
893 PLATFORM_OS2
894 PLATFORM_MACOSX
895 PLATFORM_MACOS
896 PLATFORM_MAC
897 PLATFORM_MSDOS
898 PLATFORM_WIN32
899 PLATFORM_UNIX
900 IF_GNU_MAKE
901 LDFLAGS_GUI
902 INSTALL_DIR
903 NM
904 STRIP
905 AROPTIONS
906 MAKE_SET
907 SET_MAKE
908 LN_S
909 INSTALL_DATA
910 INSTALL_SCRIPT
911 INSTALL_PROGRAM
912 RANLIB
913 CPPUNIT_LIBS
914 CPPUNIT_CFLAGS
915 HOST_SUFFIX
916 HEADER_PAD_OPTION
917 SAMPLES_RPATH_FLAG
918 DYLIB_RPATH_POSTLINK
919 DYLIB_RPATH_INSTALL
920 TOOLKIT_VERSION
921 TOOLKIT_LOWERCASE
922 DEBUG_FLAG
923 DEBUG_INFO
924 UNICODE
925 WITH_PLUGIN_SDL
926 EXTRALIBS_STC
927 EXTRALIBS_SDL
928 EXTRALIBS_OPENGL
929 EXTRALIBS_GUI
930 EXTRALIBS_MEDIA
931 EXTRALIBS_HTML
932 EXTRALIBS_XML
933 EXTRALIBS
934 CXXWARNINGS
935 USE_PLUGINS
936 MONOLITHIC
937 WXUNIV
938 WX_LIB_FLAVOUR
939 WX_FLAVOUR
940 OFFICIAL_BUILD
941 VENDOR
942 wxUSE_LIBTIFF
943 wxUSE_LIBPNG
944 wxUSE_LIBJPEG
945 wxUSE_EXPAT
946 wxUSE_REGEX
947 wxUSE_ZLIB
948 STD_GUI_LIBS
949 STD_BASE_LIBS
950 BUILT_WX_LIBS
951 ALL_WX_LIBS
952 GST_LIBS
953 GST_CFLAGS
954 CAIRO_LIBS
955 CAIRO_CFLAGS
956 WEBKIT_LIBS
957 WEBKIT_CFLAGS
958 COND_PYTHON
959 PYTHON
960 HILDON2_LIBS
961 HILDON2_CFLAGS
962 HILDON_LIBS
963 HILDON_CFLAGS
964 LIBNOTIFY_LIBS
965 LIBNOTIFY_CFLAGS
966 GNOMEVFS_LIBS
967 GNOMEVFS_CFLAGS
968 LIBGNOMEPRINTUI_LIBS
969 LIBGNOMEPRINTUI_CFLAGS
970 GTKPRINT_LIBS
971 GTKPRINT_CFLAGS
972 SDL_LIBS
973 SDL_CFLAGS
974 SDL_CONFIG
975 GXX_VERSION
976 LIBICONV
977 CXXFLAGS_VISIBILITY
978 CFLAGS_VISIBILITY
979 MesaGL_LIBS
980 MesaGL_CFLAGS
981 GLU_LIBS
982 GLU_CFLAGS
983 GL_LIBS
984 GL_CFLAGS
985 SM_LIBS
986 SM_CFLAGS
987 Xxf86vm_LIBS
988 Xxf86vm_CFLAGS
989 Xinerama_LIBS
990 Xinerama_CFLAGS
991 PANGOXFT_LIBS
992 PANGOXFT_CFLAGS
993 PANGOFT2_LIBS
994 PANGOFT2_CFLAGS
995 PANGOX_LIBS
996 PANGOX_CFLAGS
997 X_EXTRA_LIBS
998 X_LIBS
999 X_PRE_LIBS
1000 X_CFLAGS
1001 XMKMF
1002 DIRECTFB_LIBS
1003 DIRECTFB_CFLAGS
1004 GTK_CONFIG
1005 GTK_LIBS
1006 GTK_CFLAGS
1007 PKG_CONFIG
1008 subdirs
1009 CXXCPP
1010 AR
1011 ac_ct_CXX
1012 CXXFLAGS
1013 CXX
1014 EGREP
1015 GREP
1016 CPP
1017 OBJEXT
1018 EXEEXT
1019 ac_ct_CC
1020 CPPFLAGS
1021 LDFLAGS
1022 CFLAGS
1023 CC
1024 wx_top_builddir
1025 host_os
1026 host_vendor
1027 host_cpu
1028 host
1029 build_os
1030 build_vendor
1031 build_cpu
1032 build
1033 target_alias
1034 host_alias
1035 build_alias
1036 LIBS
1037 ECHO_T
1038 ECHO_N
1039 ECHO_C
1040 DEFS
1041 mandir
1042 localedir
1043 libdir
1044 psdir
1045 pdfdir
1046 dvidir
1047 htmldir
1048 infodir
1049 docdir
1050 oldincludedir
1051 includedir
1052 localstatedir
1053 sharedstatedir
1054 sysconfdir
1055 datadir
1056 datarootdir
1057 libexecdir
1058 sbindir
1059 bindir
1060 program_transform_name
1061 prefix
1062 exec_prefix
1063 PACKAGE_URL
1064 PACKAGE_BUGREPORT
1065 PACKAGE_STRING
1066 PACKAGE_VERSION
1067 PACKAGE_TARNAME
1068 PACKAGE_NAME
1069 PATH_SEPARATOR
1070 SHELL'
1071 ac_subst_files=''
1072 ac_user_opts='
1073 enable_option_checking
1074 enable_gui
1075 enable_monolithic
1076 enable_plugins
1077 with_subdirs
1078 with_flavour
1079 enable_official_build
1080 enable_vendor
1081 enable_all_features
1082 enable_universal
1083 with_themes
1084 with_gtk
1085 with_motif
1086 with_osx_carbon
1087 with_osx_cocoa
1088 with_osx_iphone
1089 with_osx
1090 with_carbon
1091 with_cocoa
1092 with_iphone
1093 with_mac
1094 with_old_cocoa
1095 with_wine
1096 with_msw
1097 with_pm
1098 with_directfb
1099 with_microwin
1100 with_x11
1101 enable_nanox
1102 enable_gpe
1103 with_libpng
1104 with_libjpeg
1105 with_libtiff
1106 with_libjbig
1107 with_liblzma
1108 with_libxpm
1109 with_libiconv
1110 with_libmspack
1111 with_gtkprint
1112 with_gnomeprint
1113 with_gnomevfs
1114 with_libnotify
1115 with_hildon
1116 with_opengl
1117 with_dmalloc
1118 with_sdl
1119 with_regex
1120 with_zlib
1121 with_expat
1122 with_macosx_sdk
1123 with_macosx_version_min
1124 enable_debug
1125 enable_debug_flag
1126 enable_debug_info
1127 enable_debug_gdb
1128 enable_debug_cntxt
1129 enable_mem_tracing
1130 enable_shared
1131 enable_stl
1132 enable_std_containers
1133 enable_std_iostreams
1134 enable_std_string
1135 enable_std_string_conv_in_wxstring
1136 enable_unicode
1137 enable_mslu
1138 enable_utf8
1139 enable_utf8only
1140 enable_extended_rtti
1141 enable_omf
1142 enable_optimise
1143 enable_profile
1144 enable_no_rtti
1145 enable_no_exceptions
1146 enable_permissive
1147 enable_no_deps
1148 enable_vararg_macros
1149 enable_universal_binary
1150 enable_macosx_arch
1151 enable_compat26
1152 enable_compat28
1153 enable_rpath
1154 enable_objc_uniquifying
1155 enable_visibility
1156 enable_tls
1157 enable_intl
1158 enable_xlocale
1159 enable_config
1160 enable_protocols
1161 enable_ftp
1162 enable_http
1163 enable_fileproto
1164 enable_sockets
1165 enable_ipv6
1166 enable_ole
1167 enable_dataobj
1168 enable_ipc
1169 enable_baseevtloop
1170 enable_epollloop
1171 enable_selectloop
1172 enable_any
1173 enable_apple_ieee
1174 enable_arcstream
1175 enable_base64
1176 enable_backtrace
1177 enable_catch_segvs
1178 enable_cmdline
1179 enable_datetime
1180 enable_debugreport
1181 enable_dialupman
1182 enable_dynlib
1183 enable_dynamicloader
1184 enable_exceptions
1185 enable_ffile
1186 enable_file
1187 enable_filehistory
1188 enable_filesystem
1189 enable_fontenum
1190 enable_fontmap
1191 enable_fs_archive
1192 enable_fs_inet
1193 enable_fs_zip
1194 enable_fsvolume
1195 enable_fswatcher
1196 enable_geometry
1197 enable_log
1198 enable_longlong
1199 enable_mimetype
1200 enable_printfposparam
1201 enable_snglinst
1202 enable_sound
1203 enable_stdpaths
1204 enable_stopwatch
1205 enable_streams
1206 enable_sysoptions
1207 enable_tarstream
1208 enable_textbuf
1209 enable_textfile
1210 enable_timer
1211 enable_variant
1212 enable_zipstream
1213 enable_url
1214 enable_protocol
1215 enable_protocol_http
1216 enable_protocol_ftp
1217 enable_protocol_file
1218 enable_threads
1219 enable_iniconf
1220 enable_regkey
1221 enable_docview
1222 enable_help
1223 enable_mshtmlhelp
1224 enable_html
1225 enable_htmlhelp
1226 enable_xrc
1227 enable_aui
1228 enable_propgrid
1229 enable_ribbon
1230 enable_stc
1231 enable_constraints
1232 enable_loggui
1233 enable_logwin
1234 enable_logdialog
1235 enable_mdi
1236 enable_mdidoc
1237 enable_mediactrl
1238 enable_gstreamer8
1239 enable_richtext
1240 enable_postscript
1241 enable_printarch
1242 enable_svg
1243 enable_webkit
1244 enable_webview
1245 enable_graphics_ctx
1246 enable_clipboard
1247 enable_dnd
1248 enable_controls
1249 enable_markup
1250 enable_accel
1251 enable_animatectrl
1252 enable_bannerwindow
1253 enable_artstd
1254 enable_arttango
1255 enable_bmpbutton
1256 enable_bmpcombobox
1257 enable_button
1258 enable_calendar
1259 enable_caret
1260 enable_checkbox
1261 enable_checklst
1262 enable_choice
1263 enable_choicebook
1264 enable_collpane
1265 enable_colourpicker
1266 enable_combobox
1267 enable_comboctrl
1268 enable_commandlinkbutton
1269 enable_dataviewctrl
1270 enable_datepick
1271 enable_detect_sm
1272 enable_dirpicker
1273 enable_display
1274 enable_editablebox
1275 enable_filectrl
1276 enable_filepicker
1277 enable_fontpicker
1278 enable_gauge
1279 enable_grid
1280 enable_headerctrl
1281 enable_hyperlink
1282 enable_imaglist
1283 enable_infobar
1284 enable_listbook
1285 enable_listbox
1286 enable_listctrl
1287 enable_notebook
1288 enable_notifmsg
1289 enable_odcombobox
1290 enable_popupwin
1291 enable_prefseditor
1292 enable_radiobox
1293 enable_radiobtn
1294 enable_richmsgdlg
1295 enable_richtooltip
1296 enable_rearrangectrl
1297 enable_sash
1298 enable_scrollbar
1299 enable_searchctrl
1300 enable_slider
1301 enable_spinbtn
1302 enable_spinctrl
1303 enable_splitter
1304 enable_statbmp
1305 enable_statbox
1306 enable_statline
1307 enable_stattext
1308 enable_statusbar
1309 enable_taskbaricon
1310 enable_tbarnative
1311 enable_textctrl
1312 enable_tipwindow
1313 enable_togglebtn
1314 enable_toolbar
1315 enable_toolbook
1316 enable_treebook
1317 enable_treectrl
1318 enable_treelist
1319 enable_commondlg
1320 enable_aboutdlg
1321 enable_choicedlg
1322 enable_coldlg
1323 enable_filedlg
1324 enable_finddlg
1325 enable_fontdlg
1326 enable_dirdlg
1327 enable_msgdlg
1328 enable_numberdlg
1329 enable_splash
1330 enable_textdlg
1331 enable_tipdlg
1332 enable_progressdlg
1333 enable_wizarddlg
1334 enable_menus
1335 enable_miniframe
1336 enable_tooltips
1337 enable_splines
1338 enable_mousewheel
1339 enable_validators
1340 enable_busyinfo
1341 enable_hotkey
1342 enable_joystick
1343 enable_metafile
1344 enable_dragimage
1345 enable_accessibility
1346 enable_uiactionsim
1347 enable_dctransform
1348 enable_webviewwebkit
1349 enable_palette
1350 enable_image
1351 enable_gif
1352 enable_pcx
1353 enable_tga
1354 enable_iff
1355 enable_pnm
1356 enable_xpm
1357 enable_ico_cur
1358 enable_dccache
1359 enable_ps_in_msw
1360 enable_ownerdrawn
1361 enable_uxtheme
1362 enable_wxdib
1363 enable_webviewie
1364 enable_autoidman
1365 enable_largefile
1366 enable_gtktest
1367 with_gtk_prefix
1368 with_gtk_exec_prefix
1369 with_x
1370 with_libiconv_prefix
1371 with_sdl_prefix
1372 with_sdl_exec_prefix
1373 enable_sdltest
1374 enable_dependency_tracking
1375 enable_precomp_headers
1376 with_cppunit_prefix
1377 with_cppunit_exec_prefix
1378 '
1379       ac_precious_vars='build_alias
1380 host_alias
1381 target_alias
1382 CC
1383 CFLAGS
1384 LDFLAGS
1385 LIBS
1386 CPPFLAGS
1387 CPP
1388 CXX
1389 CXXFLAGS
1390 CCC
1391 CXXCPP
1392 PKG_CONFIG
1393 DIRECTFB_CFLAGS
1394 DIRECTFB_LIBS
1395 XMKMF
1396 PANGOX_CFLAGS
1397 PANGOX_LIBS
1398 PANGOFT2_CFLAGS
1399 PANGOFT2_LIBS
1400 PANGOXFT_CFLAGS
1401 PANGOXFT_LIBS
1402 Xinerama_CFLAGS
1403 Xinerama_LIBS
1404 Xxf86vm_CFLAGS
1405 Xxf86vm_LIBS
1406 SM_CFLAGS
1407 SM_LIBS
1408 GL_CFLAGS
1409 GL_LIBS
1410 GLU_CFLAGS
1411 GLU_LIBS
1412 MesaGL_CFLAGS
1413 MesaGL_LIBS
1414 GTKPRINT_CFLAGS
1415 GTKPRINT_LIBS
1416 LIBGNOMEPRINTUI_CFLAGS
1417 LIBGNOMEPRINTUI_LIBS
1418 GNOMEVFS_CFLAGS
1419 GNOMEVFS_LIBS
1420 LIBNOTIFY_CFLAGS
1421 LIBNOTIFY_LIBS
1422 HILDON_CFLAGS
1423 HILDON_LIBS
1424 HILDON2_CFLAGS
1425 HILDON2_LIBS
1426 WEBKIT_CFLAGS
1427 WEBKIT_LIBS
1428 CAIRO_CFLAGS
1429 CAIRO_LIBS
1430 GST_CFLAGS
1431 GST_LIBS'
1432 ac_subdirs_all='src/tiff
1433 src/expat'
1434
1435 # Initialize some variables set by options.
1436 ac_init_help=
1437 ac_init_version=false
1438 ac_unrecognized_opts=
1439 ac_unrecognized_sep=
1440 # The variables have the same names as the options, with
1441 # dashes changed to underlines.
1442 cache_file=/dev/null
1443 exec_prefix=NONE
1444 no_create=
1445 no_recursion=
1446 prefix=NONE
1447 program_prefix=NONE
1448 program_suffix=NONE
1449 program_transform_name=s,x,x,
1450 silent=
1451 site=
1452 srcdir=
1453 verbose=
1454 x_includes=NONE
1455 x_libraries=NONE
1456
1457 # Installation directory options.
1458 # These are left unexpanded so users can "make install exec_prefix=/foo"
1459 # and all the variables that are supposed to be based on exec_prefix
1460 # by default will actually change.
1461 # Use braces instead of parens because sh, perl, etc. also accept them.
1462 # (The list follows the same order as the GNU Coding Standards.)
1463 bindir='${exec_prefix}/bin'
1464 sbindir='${exec_prefix}/sbin'
1465 libexecdir='${exec_prefix}/libexec'
1466 datarootdir='${prefix}/share'
1467 datadir='${datarootdir}'
1468 sysconfdir='${prefix}/etc'
1469 sharedstatedir='${prefix}/com'
1470 localstatedir='${prefix}/var'
1471 includedir='${prefix}/include'
1472 oldincludedir='/usr/include'
1473 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1474 infodir='${datarootdir}/info'
1475 htmldir='${docdir}'
1476 dvidir='${docdir}'
1477 pdfdir='${docdir}'
1478 psdir='${docdir}'
1479 libdir='${exec_prefix}/lib'
1480 localedir='${datarootdir}/locale'
1481 mandir='${datarootdir}/man'
1482
1483 ac_prev=
1484 ac_dashdash=
1485 for ac_option
1486 do
1487   # If the previous option needs an argument, assign it.
1488   if test -n "$ac_prev"; then
1489     eval $ac_prev=\$ac_option
1490     ac_prev=
1491     continue
1492   fi
1493
1494   case $ac_option in
1495   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1496   *=)   ac_optarg= ;;
1497   *)    ac_optarg=yes ;;
1498   esac
1499
1500   # Accept the important Cygnus configure options, so we can diagnose typos.
1501
1502   case $ac_dashdash$ac_option in
1503   --)
1504     ac_dashdash=yes ;;
1505
1506   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1507     ac_prev=bindir ;;
1508   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1509     bindir=$ac_optarg ;;
1510
1511   -build | --build | --buil | --bui | --bu)
1512     ac_prev=build_alias ;;
1513   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1514     build_alias=$ac_optarg ;;
1515
1516   -cache-file | --cache-file | --cache-fil | --cache-fi \
1517   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1518     ac_prev=cache_file ;;
1519   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1520   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1521     cache_file=$ac_optarg ;;
1522
1523   --config-cache | -C)
1524     cache_file=config.cache ;;
1525
1526   -datadir | --datadir | --datadi | --datad)
1527     ac_prev=datadir ;;
1528   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1529     datadir=$ac_optarg ;;
1530
1531   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1532   | --dataroo | --dataro | --datar)
1533     ac_prev=datarootdir ;;
1534   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1535   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1536     datarootdir=$ac_optarg ;;
1537
1538   -disable-* | --disable-*)
1539     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1540     # Reject names that are not valid shell variable names.
1541     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1542       as_fn_error $? "invalid feature name: $ac_useropt"
1543     ac_useropt_orig=$ac_useropt
1544     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1545     case $ac_user_opts in
1546       *"
1547 "enable_$ac_useropt"
1548 "*) ;;
1549       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1550          ac_unrecognized_sep=', ';;
1551     esac
1552     eval enable_$ac_useropt=no ;;
1553
1554   -docdir | --docdir | --docdi | --doc | --do)
1555     ac_prev=docdir ;;
1556   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1557     docdir=$ac_optarg ;;
1558
1559   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1560     ac_prev=dvidir ;;
1561   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1562     dvidir=$ac_optarg ;;
1563
1564   -enable-* | --enable-*)
1565     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1566     # Reject names that are not valid shell variable names.
1567     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1568       as_fn_error $? "invalid feature name: $ac_useropt"
1569     ac_useropt_orig=$ac_useropt
1570     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1571     case $ac_user_opts in
1572       *"
1573 "enable_$ac_useropt"
1574 "*) ;;
1575       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1576          ac_unrecognized_sep=', ';;
1577     esac
1578     eval enable_$ac_useropt=\$ac_optarg ;;
1579
1580   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1581   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1582   | --exec | --exe | --ex)
1583     ac_prev=exec_prefix ;;
1584   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1585   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1586   | --exec=* | --exe=* | --ex=*)
1587     exec_prefix=$ac_optarg ;;
1588
1589   -gas | --gas | --ga | --g)
1590     # Obsolete; use --with-gas.
1591     with_gas=yes ;;
1592
1593   -help | --help | --hel | --he | -h)
1594     ac_init_help=long ;;
1595   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1596     ac_init_help=recursive ;;
1597   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1598     ac_init_help=short ;;
1599
1600   -host | --host | --hos | --ho)
1601     ac_prev=host_alias ;;
1602   -host=* | --host=* | --hos=* | --ho=*)
1603     host_alias=$ac_optarg ;;
1604
1605   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1606     ac_prev=htmldir ;;
1607   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1608   | --ht=*)
1609     htmldir=$ac_optarg ;;
1610
1611   -includedir | --includedir | --includedi | --included | --include \
1612   | --includ | --inclu | --incl | --inc)
1613     ac_prev=includedir ;;
1614   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1615   | --includ=* | --inclu=* | --incl=* | --inc=*)
1616     includedir=$ac_optarg ;;
1617
1618   -infodir | --infodir | --infodi | --infod | --info | --inf)
1619     ac_prev=infodir ;;
1620   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1621     infodir=$ac_optarg ;;
1622
1623   -libdir | --libdir | --libdi | --libd)
1624     ac_prev=libdir ;;
1625   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1626     libdir=$ac_optarg ;;
1627
1628   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1629   | --libexe | --libex | --libe)
1630     ac_prev=libexecdir ;;
1631   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1632   | --libexe=* | --libex=* | --libe=*)
1633     libexecdir=$ac_optarg ;;
1634
1635   -localedir | --localedir | --localedi | --localed | --locale)
1636     ac_prev=localedir ;;
1637   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1638     localedir=$ac_optarg ;;
1639
1640   -localstatedir | --localstatedir | --localstatedi | --localstated \
1641   | --localstate | --localstat | --localsta | --localst | --locals)
1642     ac_prev=localstatedir ;;
1643   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1644   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1645     localstatedir=$ac_optarg ;;
1646
1647   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1648     ac_prev=mandir ;;
1649   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1650     mandir=$ac_optarg ;;
1651
1652   -nfp | --nfp | --nf)
1653     # Obsolete; use --without-fp.
1654     with_fp=no ;;
1655
1656   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1657   | --no-cr | --no-c | -n)
1658     no_create=yes ;;
1659
1660   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1661   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1662     no_recursion=yes ;;
1663
1664   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1665   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1666   | --oldin | --oldi | --old | --ol | --o)
1667     ac_prev=oldincludedir ;;
1668   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1669   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1670   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1671     oldincludedir=$ac_optarg ;;
1672
1673   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1674     ac_prev=prefix ;;
1675   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1676     prefix=$ac_optarg ;;
1677
1678   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1679   | --program-pre | --program-pr | --program-p)
1680     ac_prev=program_prefix ;;
1681   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1682   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1683     program_prefix=$ac_optarg ;;
1684
1685   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1686   | --program-suf | --program-su | --program-s)
1687     ac_prev=program_suffix ;;
1688   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1689   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1690     program_suffix=$ac_optarg ;;
1691
1692   -program-transform-name | --program-transform-name \
1693   | --program-transform-nam | --program-transform-na \
1694   | --program-transform-n | --program-transform- \
1695   | --program-transform | --program-transfor \
1696   | --program-transfo | --program-transf \
1697   | --program-trans | --program-tran \
1698   | --progr-tra | --program-tr | --program-t)
1699     ac_prev=program_transform_name ;;
1700   -program-transform-name=* | --program-transform-name=* \
1701   | --program-transform-nam=* | --program-transform-na=* \
1702   | --program-transform-n=* | --program-transform-=* \
1703   | --program-transform=* | --program-transfor=* \
1704   | --program-transfo=* | --program-transf=* \
1705   | --program-trans=* | --program-tran=* \
1706   | --progr-tra=* | --program-tr=* | --program-t=*)
1707     program_transform_name=$ac_optarg ;;
1708
1709   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1710     ac_prev=pdfdir ;;
1711   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1712     pdfdir=$ac_optarg ;;
1713
1714   -psdir | --psdir | --psdi | --psd | --ps)
1715     ac_prev=psdir ;;
1716   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1717     psdir=$ac_optarg ;;
1718
1719   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1720   | -silent | --silent | --silen | --sile | --sil)
1721     silent=yes ;;
1722
1723   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1724     ac_prev=sbindir ;;
1725   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1726   | --sbi=* | --sb=*)
1727     sbindir=$ac_optarg ;;
1728
1729   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1730   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1731   | --sharedst | --shareds | --shared | --share | --shar \
1732   | --sha | --sh)
1733     ac_prev=sharedstatedir ;;
1734   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1735   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1736   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1737   | --sha=* | --sh=*)
1738     sharedstatedir=$ac_optarg ;;
1739
1740   -site | --site | --sit)
1741     ac_prev=site ;;
1742   -site=* | --site=* | --sit=*)
1743     site=$ac_optarg ;;
1744
1745   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1746     ac_prev=srcdir ;;
1747   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1748     srcdir=$ac_optarg ;;
1749
1750   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1751   | --syscon | --sysco | --sysc | --sys | --sy)
1752     ac_prev=sysconfdir ;;
1753   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1754   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1755     sysconfdir=$ac_optarg ;;
1756
1757   -target | --target | --targe | --targ | --tar | --ta | --t)
1758     ac_prev=target_alias ;;
1759   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1760     target_alias=$ac_optarg ;;
1761
1762   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1763     verbose=yes ;;
1764
1765   -version | --version | --versio | --versi | --vers | -V)
1766     ac_init_version=: ;;
1767
1768   -with-* | --with-*)
1769     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1770     # Reject names that are not valid shell variable names.
1771     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1772       as_fn_error $? "invalid package name: $ac_useropt"
1773     ac_useropt_orig=$ac_useropt
1774     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1775     case $ac_user_opts in
1776       *"
1777 "with_$ac_useropt"
1778 "*) ;;
1779       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1780          ac_unrecognized_sep=', ';;
1781     esac
1782     eval with_$ac_useropt=\$ac_optarg ;;
1783
1784   -without-* | --without-*)
1785     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1786     # Reject names that are not valid shell variable names.
1787     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1788       as_fn_error $? "invalid package name: $ac_useropt"
1789     ac_useropt_orig=$ac_useropt
1790     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1791     case $ac_user_opts in
1792       *"
1793 "with_$ac_useropt"
1794 "*) ;;
1795       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1796          ac_unrecognized_sep=', ';;
1797     esac
1798     eval with_$ac_useropt=no ;;
1799
1800   --x)
1801     # Obsolete; use --with-x.
1802     with_x=yes ;;
1803
1804   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1805   | --x-incl | --x-inc | --x-in | --x-i)
1806     ac_prev=x_includes ;;
1807   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1808   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1809     x_includes=$ac_optarg ;;
1810
1811   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1812   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1813     ac_prev=x_libraries ;;
1814   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1815   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1816     x_libraries=$ac_optarg ;;
1817
1818   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1819 Try \`$0 --help' for more information"
1820     ;;
1821
1822   *=*)
1823     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1824     # Reject names that are not valid shell variable names.
1825     case $ac_envvar in #(
1826       '' | [0-9]* | *[!_$as_cr_alnum]* )
1827       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1828     esac
1829     eval $ac_envvar=\$ac_optarg
1830     export $ac_envvar ;;
1831
1832   *)
1833     # FIXME: should be removed in autoconf 3.0.
1834     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1835     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1836       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1837     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1838     ;;
1839
1840   esac
1841 done
1842
1843 if test -n "$ac_prev"; then
1844   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1845   as_fn_error $? "missing argument to $ac_option"
1846 fi
1847
1848 if test -n "$ac_unrecognized_opts"; then
1849   case $enable_option_checking in
1850     no) ;;
1851     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1852     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1853   esac
1854 fi
1855
1856 # Check all directory arguments for consistency.
1857 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1858                 datadir sysconfdir sharedstatedir localstatedir includedir \
1859                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1860                 libdir localedir mandir
1861 do
1862   eval ac_val=\$$ac_var
1863   # Remove trailing slashes.
1864   case $ac_val in
1865     */ )
1866       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1867       eval $ac_var=\$ac_val;;
1868   esac
1869   # Be sure to have absolute directory names.
1870   case $ac_val in
1871     [\\/$]* | ?:[\\/]* )  continue;;
1872     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1873   esac
1874   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1875 done
1876
1877 # There might be people who depend on the old broken behavior: `$host'
1878 # used to hold the argument of --host etc.
1879 # FIXME: To remove some day.
1880 build=$build_alias
1881 host=$host_alias
1882 target=$target_alias
1883
1884 # FIXME: To remove some day.
1885 if test "x$host_alias" != x; then
1886   if test "x$build_alias" = x; then
1887     cross_compiling=maybe
1888   elif test "x$build_alias" != "x$host_alias"; then
1889     cross_compiling=yes
1890   fi
1891 fi
1892
1893 ac_tool_prefix=
1894 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1895
1896 test "$silent" = yes && exec 6>/dev/null
1897
1898
1899 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1900 ac_ls_di=`ls -di .` &&
1901 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1902   as_fn_error $? "working directory cannot be determined"
1903 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1904   as_fn_error $? "pwd does not report name of working directory"
1905
1906
1907 # Find the source files, if location was not specified.
1908 if test -z "$srcdir"; then
1909   ac_srcdir_defaulted=yes
1910   # Try the directory containing this script, then the parent directory.
1911   ac_confdir=`$as_dirname -- "$as_myself" ||
1912 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1913          X"$as_myself" : 'X\(//\)[^/]' \| \
1914          X"$as_myself" : 'X\(//\)$' \| \
1915          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1916 $as_echo X"$as_myself" |
1917     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1918             s//\1/
1919             q
1920           }
1921           /^X\(\/\/\)[^/].*/{
1922             s//\1/
1923             q
1924           }
1925           /^X\(\/\/\)$/{
1926             s//\1/
1927             q
1928           }
1929           /^X\(\/\).*/{
1930             s//\1/
1931             q
1932           }
1933           s/.*/./; q'`
1934   srcdir=$ac_confdir
1935   if test ! -r "$srcdir/$ac_unique_file"; then
1936     srcdir=..
1937   fi
1938 else
1939   ac_srcdir_defaulted=no
1940 fi
1941 if test ! -r "$srcdir/$ac_unique_file"; then
1942   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1943   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1944 fi
1945 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1946 ac_abs_confdir=`(
1947         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1948         pwd)`
1949 # When building in place, set srcdir=.
1950 if test "$ac_abs_confdir" = "$ac_pwd"; then
1951   srcdir=.
1952 fi
1953 # Remove unnecessary trailing slashes from srcdir.
1954 # Double slashes in file names in object file debugging info
1955 # mess up M-x gdb in Emacs.
1956 case $srcdir in
1957 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1958 esac
1959 for ac_var in $ac_precious_vars; do
1960   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1961   eval ac_env_${ac_var}_value=\$${ac_var}
1962   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1963   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1964 done
1965
1966 #
1967 # Report the --help message.
1968 #
1969 if test "$ac_init_help" = "long"; then
1970   # Omit some internal or obsolete options to make the list less imposing.
1971   # This message is too long to be a string in the A/UX 3.1 sh.
1972   cat <<_ACEOF
1973 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1974
1975 Usage: $0 [OPTION]... [VAR=VALUE]...
1976
1977 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1978 VAR=VALUE.  See below for descriptions of some of the useful variables.
1979
1980 Defaults for the options are specified in brackets.
1981
1982 Configuration:
1983   -h, --help              display this help and exit
1984       --help=short        display options specific to this package
1985       --help=recursive    display the short help of all the included packages
1986   -V, --version           display version information and exit
1987   -q, --quiet, --silent   do not print \`checking ...' messages
1988       --cache-file=FILE   cache test results in FILE [disabled]
1989   -C, --config-cache      alias for \`--cache-file=config.cache'
1990   -n, --no-create         do not create output files
1991       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1992
1993 Installation directories:
1994   --prefix=PREFIX         install architecture-independent files in PREFIX
1995                           [$ac_default_prefix]
1996   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1997                           [PREFIX]
1998
1999 By default, \`make install' will install all the files in
2000 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
2001 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2002 for instance \`--prefix=\$HOME'.
2003
2004 For better control, use the options below.
2005
2006 Fine tuning of the installation directories:
2007   --bindir=DIR            user executables [EPREFIX/bin]
2008   --sbindir=DIR           system admin executables [EPREFIX/sbin]
2009   --libexecdir=DIR        program executables [EPREFIX/libexec]
2010   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
2011   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
2012   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
2013   --libdir=DIR            object code libraries [EPREFIX/lib]
2014   --includedir=DIR        C header files [PREFIX/include]
2015   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
2016   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
2017   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
2018   --infodir=DIR           info documentation [DATAROOTDIR/info]
2019   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
2020   --mandir=DIR            man documentation [DATAROOTDIR/man]
2021   --docdir=DIR            documentation root [DATAROOTDIR/doc/wxwidgets]
2022   --htmldir=DIR           html documentation [DOCDIR]
2023   --dvidir=DIR            dvi documentation [DOCDIR]
2024   --pdfdir=DIR            pdf documentation [DOCDIR]
2025   --psdir=DIR             ps documentation [DOCDIR]
2026 _ACEOF
2027
2028   cat <<\_ACEOF
2029
2030 X features:
2031   --x-includes=DIR    X include files are in DIR
2032   --x-libraries=DIR   X library files are in DIR
2033
2034 System types:
2035   --build=BUILD     configure for building on BUILD [guessed]
2036   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
2037 _ACEOF
2038 fi
2039
2040 if test -n "$ac_init_help"; then
2041   case $ac_init_help in
2042      short | recursive ) echo "Configuration of wxWidgets 2.9.5:";;
2043    esac
2044   cat <<\_ACEOF
2045
2046 Optional Features:
2047   --disable-option-checking  ignore unrecognized --enable/--with options
2048   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
2049   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
2050   --disable-gui           don't build GUI parts of the library
2051   --enable-monolithic     build wxWidgets as single library
2052   --enable-plugins        build parts of wxWidgets as loadable components
2053   --enable-official_build official build of wxWidgets (win32 DLL only)
2054   --enable-vendor=VENDOR  vendor name (win32 DLL only)
2055   --disable-all-features  disable all optional features to build minimal library
2056   --enable-universal      use wxWidgets GUI controls instead of native ones
2057   --enable-nanox          use NanoX
2058   --enable-gpe            use GNOME PDA Environment features if possible
2059   --enable-debug          build library for debugging
2060   --disable-debug_flag    disable all debugging support
2061   --enable-debug_info     generate debug information
2062   --enable-debug_gdb      create code with extra GDB debugging information
2063   --enable-debug_cntxt    obsolete, don't use: use wxDebugContext
2064   --enable-mem_tracing    obsolete, don't use: create code with memory tracing
2065   --disable-shared        create static library instead of shared
2066   --enable-stl            use standard C++ classes for everything
2067   --enable-std_containers use standard C++ container classes
2068   --enable-std_iostreams  use standard C++ stream classes
2069   --enable-std_string     use standard C++ string classes
2070  --enable-std_string_conv_in_wxstring     provide implicit conversion to std::string in wxString
2071   --disable-unicode       compile without Unicode support
2072   --enable-mslu           use MS Layer for Unicode on Windows 9x (Win32 only)
2073   --enable-utf8           use UTF-8 representation for strings (Unix only)
2074   --enable-utf8only       only support UTF-8 locales in UTF-8 build (Unix only)
2075   --enable-extended_rtti  use extended RTTI (XTI)
2076   --enable-omf            use OMF object format
2077   --disable-optimise      compile without optimisations
2078   --enable-profile        create code with profiling information
2079   --enable-no_rtti        create code without RTTI information
2080   --enable-no_exceptions  create code without C++ exceptions handling
2081   --enable-permissive     compile code disregarding strict ANSI
2082   --enable-no_deps        create code without dependency information
2083   --disable-vararg_macros don't use vararg macros, even if they are supported
2084   --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2085   --enable-macosx_arch=ARCH  build for just the specified architecture
2086   --enable-compat26       enable wxWidgets 2.6 compatibility
2087   --disable-compat28      disable wxWidgets 2.8 compatibility
2088   --disable-rpath         disable use of rpath for uninstalled builds
2089   --enable-objc_uniquifying enable Objective-C class name uniquifying
2090   --disable-visibility    disable use of ELF symbols visibility even if supported
2091   --disable-tls           disable use of compiler TLS support
2092   --enable-intl           use internationalization system
2093   --enable-xlocale        use x-locale support (requires wxLocale)
2094   --enable-config         use wxConfig (and derived) classes
2095   --enable-protocols      use wxProtocol and derived classes
2096   --enable-ftp            use wxFTP (requires wxProtocol
2097   --enable-http           use wxHTTP (requires wxProtocol
2098   --enable-fileproto      use wxFileProto class (requires wxProtocol
2099   --enable-sockets        use socket/network classes
2100   --enable-ipv6           enable IPv6 support in wxSocket
2101   --enable-ole            use OLE classes (Win32 only)
2102   --enable-dataobj        use data object classes
2103   --enable-ipc            use interprocess communication (wxSocket etc.)
2104   --enable-baseevtloop    use event loop in console programs too
2105   --enable-epollloop      use wxEpollDispatcher class (Linux only)
2106   --enable-selectloop     use wxSelectDispatcher class
2107   --enable-any            use wxAny class
2108   --enable-apple_ieee     use the Apple IEEE codec
2109   --enable-arcstream      use wxArchive streams
2110   --enable-base64         use base64 encoding/decoding functions
2111   --enable-backtrace      use wxStackWalker class for getting backtraces
2112   --enable-catch_segvs    catch signals in wxApp::OnFatalException (Unix only)
2113   --enable-cmdline        use wxCmdLineParser class
2114   --enable-datetime       use wxDateTime class
2115   --enable-debugreport    use wxDebugReport class
2116   --enable-dialupman      use dialup network classes
2117   --enable-dynlib         use wxLibrary class for DLL loading
2118   --enable-dynamicloader  use (new) wxDynamicLibrary class
2119   --enable-exceptions     build exception-safe library
2120   --enable-ffile          use wxFFile class
2121   --enable-file           use wxFile class
2122   --enable-filehistory    use wxFileHistory class
2123   --enable-filesystem     use virtual file systems classes
2124   --enable-fontenum       use wxFontEnumerator class
2125   --enable-fontmap        use font encodings conversion classes
2126   --enable-fs_archive     use virtual archive filesystems
2127   --enable-fs_inet        use virtual HTTP/FTP filesystems
2128   --enable-fs_zip         now replaced by fs_archive
2129   --enable-fsvolume       use wxFSVolume class
2130   --enable-fswatcher      use wxFileSystemWatcher class
2131   --enable-geometry       use geometry class
2132   --enable-log            use logging system
2133   --enable-longlong       use wxLongLong class
2134   --enable-mimetype       use wxMimeTypesManager
2135   --enable-printfposparam use wxVsnprintf() which supports positional parameters
2136   --enable-snglinst       use wxSingleInstanceChecker class
2137   --enable-sound          use wxSound class
2138   --enable-stdpaths       use wxStandardPaths class
2139   --enable-stopwatch      use wxStopWatch class
2140   --enable-streams        use wxStream etc classes
2141   --enable-sysoptions     use wxSystemOptions
2142   --enable-tarstream      use wxTar streams
2143   --enable-textbuf        use wxTextBuffer class
2144   --enable-textfile       use wxTextFile class
2145   --enable-timer          use wxTimer class
2146   --enable-variant        use wxVariant class
2147   --enable-zipstream      use wxZip streams
2148   --enable-url            use wxURL class
2149   --enable-protocol       use wxProtocol class
2150   --enable-protocol-http  HTTP support in wxProtocol
2151   --enable-protocol-ftp   FTP support in wxProtocol
2152   --enable-protocol-file  FILE support in wxProtocol
2153   --enable-threads        use threads
2154   --enable-iniconf        use wxIniConfig (Win32 only)
2155   --enable-regkey         use wxRegKey class (Win32 only)
2156   --enable-docview        use document view architecture
2157   --enable-help           use help subsystem
2158   --enable-mshtmlhelp     use MS HTML Help (win32)
2159   --enable-html           use wxHTML sub-library
2160   --enable-htmlhelp       use wxHTML-based help
2161   --enable-xrc            use XRC resources sub-library
2162   --enable-aui            use AUI docking library
2163   --enable-propgrid       use wxPropertyGrid library
2164   --enable-ribbon         use wxRibbon library
2165   --enable-stc            use wxStyledTextCtrl library
2166   --enable-constraints    use layout-constraints system
2167   --enable-loggui         use standard GUI logger
2168   --enable-logwin         use wxLogWindow
2169   --enable-logdialog      use wxLogDialog
2170   --enable-mdi            use multiple document interface architecture
2171   --enable-mdidoc         use docview architecture with MDI
2172   --enable-mediactrl      use wxMediaCtrl class
2173   --enable-gstreamer8     force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2174   --enable-richtext       use wxRichTextCtrl
2175   --enable-postscript     use wxPostscriptDC device context (default for gtk+)
2176   --enable-printarch      use printing architecture
2177   --enable-svg            use wxSVGFileDC device context
2178   --enable-webkit         use wxWebKitCtrl (Mac-only, use wxWebView instead)
2179   --enable-webview        use wxWebView library
2180   --enable-graphics_ctx   use graphics context 2D drawing API
2181   --enable-clipboard      use wxClipboard class
2182   --enable-dnd            use Drag'n'Drop classes
2183   --disable-controls      disable compilation of all standard controls
2184   --enable-markup         support wxControl::SetLabelMarkup
2185   --enable-accel          use accelerators
2186   --enable-animatectrl    use wxAnimationCtrl class
2187   --enable-bannerwindow   use wxBannerWindow class
2188   --enable-artstd         use standard XPM icons in wxArtProvider
2189   --enable-arttango       use Tango icons in wxArtProvider
2190   --enable-bmpbutton      use wxBitmapButton class
2191   --enable-bmpcombobox    use wxBitmapComboBox class
2192   --enable-button         use wxButton class
2193   --enable-calendar       use wxCalendarCtrl class
2194   --enable-caret          use wxCaret class
2195   --enable-checkbox       use wxCheckBox class
2196   --enable-checklst       use wxCheckListBox (listbox with checkboxes) class
2197   --enable-choice         use wxChoice class
2198   --enable-choicebook     use wxChoicebook class
2199   --enable-collpane       use wxCollapsiblePane class
2200   --enable-colourpicker   use wxColourPickerCtrl class
2201   --enable-combobox       use wxComboBox class
2202   --enable-comboctrl      use wxComboCtrl class
2203   --enable-commandlinkbutton      use wxCommmandLinkButton class
2204   --enable-dataviewctrl   use wxDataViewCtrl class
2205   --enable-datepick       use wxDatePickerCtrl class
2206   --enable-detect_sm      use code to detect X11 session manager
2207   --enable-dirpicker      use wxDirPickerCtrl class
2208   --enable-display        use wxDisplay class
2209   --enable-editablebox    use wxEditableListBox class
2210   --enable-filectrl       use wxFileCtrl class
2211   --enable-filepicker     use wxFilePickerCtrl class
2212   --enable-fontpicker     use wxFontPickerCtrl class
2213   --enable-gauge          use wxGauge class
2214   --enable-grid           use wxGrid class
2215   --enable-headerctrl     use wxHeaderCtrl class
2216   --enable-hyperlink      use wxHyperlinkCtrl class
2217   --enable-imaglist       use wxImageList class
2218   --enable-infobar        use wxInfoBar class
2219   --enable-listbook       use wxListbook class
2220   --enable-listbox        use wxListBox class
2221   --enable-listctrl       use wxListCtrl class
2222   --enable-notebook       use wxNotebook class
2223   --enable-notifmsg       use wxNotificationMessage class
2224   --enable-odcombobox     use wxOwnerDrawnComboBox class
2225   --enable-popupwin       use wxPopUpWindow class
2226   --enable-prefseditor    use wxPreferencesEditor 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_COCOA=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}-prefseditor" >&5
13051 $as_echo_n "checking for --${enablestring:-enable}-prefseditor... " >&6; }
13052           # Check whether --enable-prefseditor was given.
13053 if test "${enable_prefseditor+set}" = set; then :
13054   enableval=$enable_prefseditor;
13055                           if test "$enableval" = yes; then
13056                             wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=yes'
13057                           else
13058                             wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=no'
13059                           fi
13060
13061 else
13062
13063                           wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=${'DEFAULT_wxUSE_PREFERENCES_EDITOR":-$defaultval}"
13064
13065 fi
13066
13067
13068           eval "$wx_cv_use_prefseditor"
13069
13070           if test x"$enablestring" = xdisable; then
13071             if test $wxUSE_PREFERENCES_EDITOR = no; then
13072               result=yes
13073             else
13074               result=no
13075             fi
13076           else
13077             result=$wxUSE_PREFERENCES_EDITOR
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}-radiobox" >&5
13095 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
13096           # Check whether --enable-radiobox was given.
13097 if test "${enable_radiobox+set}" = set; then :
13098   enableval=$enable_radiobox;
13099                           if test "$enableval" = yes; then
13100                             wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
13101                           else
13102                             wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
13103                           fi
13104
13105 else
13106
13107                           wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
13108
13109 fi
13110
13111
13112           eval "$wx_cv_use_radiobox"
13113
13114           if test x"$enablestring" = xdisable; then
13115             if test $wxUSE_RADIOBOX = no; then
13116               result=yes
13117             else
13118               result=no
13119             fi
13120           else
13121             result=$wxUSE_RADIOBOX
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}-radiobtn" >&5
13139 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
13140           # Check whether --enable-radiobtn was given.
13141 if test "${enable_radiobtn+set}" = set; then :
13142   enableval=$enable_radiobtn;
13143                           if test "$enableval" = yes; then
13144                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
13145                           else
13146                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
13147                           fi
13148
13149 else
13150
13151                           wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
13152
13153 fi
13154
13155
13156           eval "$wx_cv_use_radiobtn"
13157
13158           if test x"$enablestring" = xdisable; then
13159             if test $wxUSE_RADIOBTN = no; then
13160               result=yes
13161             else
13162               result=no
13163             fi
13164           else
13165             result=$wxUSE_RADIOBTN
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}-richmsgdlg" >&5
13183 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
13184           # Check whether --enable-richmsgdlg was given.
13185 if test "${enable_richmsgdlg+set}" = set; then :
13186   enableval=$enable_richmsgdlg;
13187                           if test "$enableval" = yes; then
13188                             wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
13189                           else
13190                             wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
13191                           fi
13192
13193 else
13194
13195                           wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13196
13197 fi
13198
13199
13200           eval "$wx_cv_use_richmsgdlg"
13201
13202           if test x"$enablestring" = xdisable; then
13203             if test $wxUSE_RICHMSGDLG = no; then
13204               result=yes
13205             else
13206               result=no
13207             fi
13208           else
13209             result=$wxUSE_RICHMSGDLG
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}-richtooltip" >&5
13227 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13228           # Check whether --enable-richtooltip was given.
13229 if test "${enable_richtooltip+set}" = set; then :
13230   enableval=$enable_richtooltip;
13231                           if test "$enableval" = yes; then
13232                             wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13233                           else
13234                             wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13235                           fi
13236
13237 else
13238
13239                           wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13240
13241 fi
13242
13243
13244           eval "$wx_cv_use_richtooltip"
13245
13246           if test x"$enablestring" = xdisable; then
13247             if test $wxUSE_RICHTOOLTIP = no; then
13248               result=yes
13249             else
13250               result=no
13251             fi
13252           else
13253             result=$wxUSE_RICHTOOLTIP
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}-rearrangectrl" >&5
13271 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13272           # Check whether --enable-rearrangectrl was given.
13273 if test "${enable_rearrangectrl+set}" = set; then :
13274   enableval=$enable_rearrangectrl;
13275                           if test "$enableval" = yes; then
13276                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13277                           else
13278                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13279                           fi
13280
13281 else
13282
13283                           wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13284
13285 fi
13286
13287
13288           eval "$wx_cv_use_rearrangectrl"
13289
13290           if test x"$enablestring" = xdisable; then
13291             if test $wxUSE_REARRANGECTRL = no; then
13292               result=yes
13293             else
13294               result=no
13295             fi
13296           else
13297             result=$wxUSE_REARRANGECTRL
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}-sash" >&5
13315 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13316           # Check whether --enable-sash was given.
13317 if test "${enable_sash+set}" = set; then :
13318   enableval=$enable_sash;
13319                           if test "$enableval" = yes; then
13320                             wx_cv_use_sash='wxUSE_SASH=yes'
13321                           else
13322                             wx_cv_use_sash='wxUSE_SASH=no'
13323                           fi
13324
13325 else
13326
13327                           wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13328
13329 fi
13330
13331
13332           eval "$wx_cv_use_sash"
13333
13334           if test x"$enablestring" = xdisable; then
13335             if test $wxUSE_SASH = no; then
13336               result=yes
13337             else
13338               result=no
13339             fi
13340           else
13341             result=$wxUSE_SASH
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}-scrollbar" >&5
13359 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13360           # Check whether --enable-scrollbar was given.
13361 if test "${enable_scrollbar+set}" = set; then :
13362   enableval=$enable_scrollbar;
13363                           if test "$enableval" = yes; then
13364                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13365                           else
13366                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13367                           fi
13368
13369 else
13370
13371                           wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13372
13373 fi
13374
13375
13376           eval "$wx_cv_use_scrollbar"
13377
13378           if test x"$enablestring" = xdisable; then
13379             if test $wxUSE_SCROLLBAR = no; then
13380               result=yes
13381             else
13382               result=no
13383             fi
13384           else
13385             result=$wxUSE_SCROLLBAR
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}-searchctrl" >&5
13403 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13404           # Check whether --enable-searchctrl was given.
13405 if test "${enable_searchctrl+set}" = set; then :
13406   enableval=$enable_searchctrl;
13407                           if test "$enableval" = yes; then
13408                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13409                           else
13410                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13411                           fi
13412
13413 else
13414
13415                           wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13416
13417 fi
13418
13419
13420           eval "$wx_cv_use_searchctrl"
13421
13422           if test x"$enablestring" = xdisable; then
13423             if test $wxUSE_SEARCHCTRL = no; then
13424               result=yes
13425             else
13426               result=no
13427             fi
13428           else
13429             result=$wxUSE_SEARCHCTRL
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}-slider" >&5
13447 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13448           # Check whether --enable-slider was given.
13449 if test "${enable_slider+set}" = set; then :
13450   enableval=$enable_slider;
13451                           if test "$enableval" = yes; then
13452                             wx_cv_use_slider='wxUSE_SLIDER=yes'
13453                           else
13454                             wx_cv_use_slider='wxUSE_SLIDER=no'
13455                           fi
13456
13457 else
13458
13459                           wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13460
13461 fi
13462
13463
13464           eval "$wx_cv_use_slider"
13465
13466           if test x"$enablestring" = xdisable; then
13467             if test $wxUSE_SLIDER = no; then
13468               result=yes
13469             else
13470               result=no
13471             fi
13472           else
13473             result=$wxUSE_SLIDER
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}-spinbtn" >&5
13491 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13492           # Check whether --enable-spinbtn was given.
13493 if test "${enable_spinbtn+set}" = set; then :
13494   enableval=$enable_spinbtn;
13495                           if test "$enableval" = yes; then
13496                             wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13497                           else
13498                             wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13499                           fi
13500
13501 else
13502
13503                           wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13504
13505 fi
13506
13507
13508           eval "$wx_cv_use_spinbtn"
13509
13510           if test x"$enablestring" = xdisable; then
13511             if test $wxUSE_SPINBTN = no; then
13512               result=yes
13513             else
13514               result=no
13515             fi
13516           else
13517             result=$wxUSE_SPINBTN
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}-spinctrl" >&5
13535 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13536           # Check whether --enable-spinctrl was given.
13537 if test "${enable_spinctrl+set}" = set; then :
13538   enableval=$enable_spinctrl;
13539                           if test "$enableval" = yes; then
13540                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13541                           else
13542                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13543                           fi
13544
13545 else
13546
13547                           wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13548
13549 fi
13550
13551
13552           eval "$wx_cv_use_spinctrl"
13553
13554           if test x"$enablestring" = xdisable; then
13555             if test $wxUSE_SPINCTRL = no; then
13556               result=yes
13557             else
13558               result=no
13559             fi
13560           else
13561             result=$wxUSE_SPINCTRL
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}-splitter" >&5
13579 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13580           # Check whether --enable-splitter was given.
13581 if test "${enable_splitter+set}" = set; then :
13582   enableval=$enable_splitter;
13583                           if test "$enableval" = yes; then
13584                             wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13585                           else
13586                             wx_cv_use_splitter='wxUSE_SPLITTER=no'
13587                           fi
13588
13589 else
13590
13591                           wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13592
13593 fi
13594
13595
13596           eval "$wx_cv_use_splitter"
13597
13598           if test x"$enablestring" = xdisable; then
13599             if test $wxUSE_SPLITTER = no; then
13600               result=yes
13601             else
13602               result=no
13603             fi
13604           else
13605             result=$wxUSE_SPLITTER
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}-statbmp" >&5
13623 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13624           # Check whether --enable-statbmp was given.
13625 if test "${enable_statbmp+set}" = set; then :
13626   enableval=$enable_statbmp;
13627                           if test "$enableval" = yes; then
13628                             wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13629                           else
13630                             wx_cv_use_statbmp='wxUSE_STATBMP=no'
13631                           fi
13632
13633 else
13634
13635                           wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13636
13637 fi
13638
13639
13640           eval "$wx_cv_use_statbmp"
13641
13642           if test x"$enablestring" = xdisable; then
13643             if test $wxUSE_STATBMP = no; then
13644               result=yes
13645             else
13646               result=no
13647             fi
13648           else
13649             result=$wxUSE_STATBMP
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}-statbox" >&5
13667 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13668           # Check whether --enable-statbox was given.
13669 if test "${enable_statbox+set}" = set; then :
13670   enableval=$enable_statbox;
13671                           if test "$enableval" = yes; then
13672                             wx_cv_use_statbox='wxUSE_STATBOX=yes'
13673                           else
13674                             wx_cv_use_statbox='wxUSE_STATBOX=no'
13675                           fi
13676
13677 else
13678
13679                           wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13680
13681 fi
13682
13683
13684           eval "$wx_cv_use_statbox"
13685
13686           if test x"$enablestring" = xdisable; then
13687             if test $wxUSE_STATBOX = no; then
13688               result=yes
13689             else
13690               result=no
13691             fi
13692           else
13693             result=$wxUSE_STATBOX
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}-statline" >&5
13711 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13712           # Check whether --enable-statline was given.
13713 if test "${enable_statline+set}" = set; then :
13714   enableval=$enable_statline;
13715                           if test "$enableval" = yes; then
13716                             wx_cv_use_statline='wxUSE_STATLINE=yes'
13717                           else
13718                             wx_cv_use_statline='wxUSE_STATLINE=no'
13719                           fi
13720
13721 else
13722
13723                           wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13724
13725 fi
13726
13727
13728           eval "$wx_cv_use_statline"
13729
13730           if test x"$enablestring" = xdisable; then
13731             if test $wxUSE_STATLINE = no; then
13732               result=yes
13733             else
13734               result=no
13735             fi
13736           else
13737             result=$wxUSE_STATLINE
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}-stattext" >&5
13755 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13756           # Check whether --enable-stattext was given.
13757 if test "${enable_stattext+set}" = set; then :
13758   enableval=$enable_stattext;
13759                           if test "$enableval" = yes; then
13760                             wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13761                           else
13762                             wx_cv_use_stattext='wxUSE_STATTEXT=no'
13763                           fi
13764
13765 else
13766
13767                           wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13768
13769 fi
13770
13771
13772           eval "$wx_cv_use_stattext"
13773
13774           if test x"$enablestring" = xdisable; then
13775             if test $wxUSE_STATTEXT = no; then
13776               result=yes
13777             else
13778               result=no
13779             fi
13780           else
13781             result=$wxUSE_STATTEXT
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}-statusbar" >&5
13799 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13800           # Check whether --enable-statusbar was given.
13801 if test "${enable_statusbar+set}" = set; then :
13802   enableval=$enable_statusbar;
13803                           if test "$enableval" = yes; then
13804                             wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13805                           else
13806                             wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13807                           fi
13808
13809 else
13810
13811                           wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13812
13813 fi
13814
13815
13816           eval "$wx_cv_use_statusbar"
13817
13818           if test x"$enablestring" = xdisable; then
13819             if test $wxUSE_STATUSBAR = no; then
13820               result=yes
13821             else
13822               result=no
13823             fi
13824           else
13825             result=$wxUSE_STATUSBAR
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}-taskbaricon" >&5
13843 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13844           # Check whether --enable-taskbaricon was given.
13845 if test "${enable_taskbaricon+set}" = set; then :
13846   enableval=$enable_taskbaricon;
13847                           if test "$enableval" = yes; then
13848                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13849                           else
13850                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13851                           fi
13852
13853 else
13854
13855                           wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13856
13857 fi
13858
13859
13860           eval "$wx_cv_use_taskbaricon"
13861
13862           if test x"$enablestring" = xdisable; then
13863             if test $wxUSE_TASKBARICON = no; then
13864               result=yes
13865             else
13866               result=no
13867             fi
13868           else
13869             result=$wxUSE_TASKBARICON
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}-tbarnative" >&5
13887 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13888           # Check whether --enable-tbarnative was given.
13889 if test "${enable_tbarnative+set}" = set; then :
13890   enableval=$enable_tbarnative;
13891                           if test "$enableval" = yes; then
13892                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13893                           else
13894                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13895                           fi
13896
13897 else
13898
13899                           wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13900
13901 fi
13902
13903
13904           eval "$wx_cv_use_tbarnative"
13905
13906           if test x"$enablestring" = xdisable; then
13907             if test $wxUSE_TOOLBAR_NATIVE = no; then
13908               result=yes
13909             else
13910               result=no
13911             fi
13912           else
13913             result=$wxUSE_TOOLBAR_NATIVE
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}-textctrl" >&5
13931 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13932           # Check whether --enable-textctrl was given.
13933 if test "${enable_textctrl+set}" = set; then :
13934   enableval=$enable_textctrl;
13935                           if test "$enableval" = yes; then
13936                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13937                           else
13938                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13939                           fi
13940
13941 else
13942
13943                           wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13944
13945 fi
13946
13947
13948           eval "$wx_cv_use_textctrl"
13949
13950           if test x"$enablestring" = xdisable; then
13951             if test $wxUSE_TEXTCTRL = no; then
13952               result=yes
13953             else
13954               result=no
13955             fi
13956           else
13957             result=$wxUSE_TEXTCTRL
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}-datepick" >&5
13975 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13976           # Check whether --enable-datepick was given.
13977 if test "${enable_datepick+set}" = set; then :
13978   enableval=$enable_datepick;
13979                           if test "$enableval" = yes; then
13980                             wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13981                           else
13982                             wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13983                           fi
13984
13985 else
13986
13987                           wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13988
13989 fi
13990
13991
13992           eval "$wx_cv_use_datepick"
13993
13994           if test x"$enablestring" = xdisable; then
13995             if test $wxUSE_TIMEPICKCTRL = no; then
13996               result=yes
13997             else
13998               result=no
13999             fi
14000           else
14001             result=$wxUSE_TIMEPICKCTRL
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}-tipwindow" >&5
14019 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
14020           # Check whether --enable-tipwindow was given.
14021 if test "${enable_tipwindow+set}" = set; then :
14022   enableval=$enable_tipwindow;
14023                           if test "$enableval" = yes; then
14024                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14025                           else
14026                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14027                           fi
14028
14029 else
14030
14031                           wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14032
14033 fi
14034
14035
14036           eval "$wx_cv_use_tipwindow"
14037
14038           if test x"$enablestring" = xdisable; then
14039             if test $wxUSE_TIPWINDOW = no; then
14040               result=yes
14041             else
14042               result=no
14043             fi
14044           else
14045             result=$wxUSE_TIPWINDOW
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}-togglebtn" >&5
14063 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
14064           # Check whether --enable-togglebtn was given.
14065 if test "${enable_togglebtn+set}" = set; then :
14066   enableval=$enable_togglebtn;
14067                           if test "$enableval" = yes; then
14068                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
14069                           else
14070                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
14071                           fi
14072
14073 else
14074
14075                           wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
14076
14077 fi
14078
14079
14080           eval "$wx_cv_use_togglebtn"
14081
14082           if test x"$enablestring" = xdisable; then
14083             if test $wxUSE_TOGGLEBTN = no; then
14084               result=yes
14085             else
14086               result=no
14087             fi
14088           else
14089             result=$wxUSE_TOGGLEBTN
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}-toolbar" >&5
14107 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
14108           # Check whether --enable-toolbar was given.
14109 if test "${enable_toolbar+set}" = set; then :
14110   enableval=$enable_toolbar;
14111                           if test "$enableval" = yes; then
14112                             wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
14113                           else
14114                             wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
14115                           fi
14116
14117 else
14118
14119                           wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
14120
14121 fi
14122
14123
14124           eval "$wx_cv_use_toolbar"
14125
14126           if test x"$enablestring" = xdisable; then
14127             if test $wxUSE_TOOLBAR = no; then
14128               result=yes
14129             else
14130               result=no
14131             fi
14132           else
14133             result=$wxUSE_TOOLBAR
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}-toolbook" >&5
14151 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
14152           # Check whether --enable-toolbook was given.
14153 if test "${enable_toolbook+set}" = set; then :
14154   enableval=$enable_toolbook;
14155                           if test "$enableval" = yes; then
14156                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
14157                           else
14158                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
14159                           fi
14160
14161 else
14162
14163                           wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14164
14165 fi
14166
14167
14168           eval "$wx_cv_use_toolbook"
14169
14170           if test x"$enablestring" = xdisable; then
14171             if test $wxUSE_TOOLBOOK = no; then
14172               result=yes
14173             else
14174               result=no
14175             fi
14176           else
14177             result=$wxUSE_TOOLBOOK
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}-treebook" >&5
14195 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14196           # Check whether --enable-treebook was given.
14197 if test "${enable_treebook+set}" = set; then :
14198   enableval=$enable_treebook;
14199                           if test "$enableval" = yes; then
14200                             wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
14201                           else
14202                             wx_cv_use_treebook='wxUSE_TREEBOOK=no'
14203                           fi
14204
14205 else
14206
14207                           wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14208
14209 fi
14210
14211
14212           eval "$wx_cv_use_treebook"
14213
14214           if test x"$enablestring" = xdisable; then
14215             if test $wxUSE_TREEBOOK = no; then
14216               result=yes
14217             else
14218               result=no
14219             fi
14220           else
14221             result=$wxUSE_TREEBOOK
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}-treectrl" >&5
14239 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14240           # Check whether --enable-treectrl was given.
14241 if test "${enable_treectrl+set}" = set; then :
14242   enableval=$enable_treectrl;
14243                           if test "$enableval" = yes; then
14244                             wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14245                           else
14246                             wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14247                           fi
14248
14249 else
14250
14251                           wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14252
14253 fi
14254
14255
14256           eval "$wx_cv_use_treectrl"
14257
14258           if test x"$enablestring" = xdisable; then
14259             if test $wxUSE_TREECTRL = no; then
14260               result=yes
14261             else
14262               result=no
14263             fi
14264           else
14265             result=$wxUSE_TREECTRL
14266           fi
14267
14268           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14269 $as_echo "$result" >&6; }
14270
14271
14272           enablestring=
14273           defaultval=$wxUSE_ALL_FEATURES
14274           if test -z "$defaultval"; then
14275               if test x"$enablestring" = xdisable; then
14276                   defaultval=yes
14277               else
14278                   defaultval=no
14279               fi
14280           fi
14281
14282           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14283 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14284           # Check whether --enable-treelist was given.
14285 if test "${enable_treelist+set}" = set; then :
14286   enableval=$enable_treelist;
14287                           if test "$enableval" = yes; then
14288                             wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14289                           else
14290                             wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14291                           fi
14292
14293 else
14294
14295                           wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14296
14297 fi
14298
14299
14300           eval "$wx_cv_use_treelist"
14301
14302           if test x"$enablestring" = xdisable; then
14303             if test $wxUSE_TREELISTCTRL = no; then
14304               result=yes
14305             else
14306               result=no
14307             fi
14308           else
14309             result=$wxUSE_TREELISTCTRL
14310           fi
14311
14312           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14313 $as_echo "$result" >&6; }
14314
14315
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}-commondlg" >&5
14329 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14330           # Check whether --enable-commondlg was given.
14331 if test "${enable_commondlg+set}" = set; then :
14332   enableval=$enable_commondlg;
14333                           if test "$enableval" = yes; then
14334                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14335                           else
14336                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14337                           fi
14338
14339 else
14340
14341                           wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14342
14343 fi
14344
14345
14346           eval "$wx_cv_use_commondlg"
14347
14348           if test x"$enablestring" = xdisable; then
14349             if test $wxUSE_COMMONDLGS = no; then
14350               result=yes
14351             else
14352               result=no
14353             fi
14354           else
14355             result=$wxUSE_COMMONDLGS
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}-aboutdlg" >&5
14373 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14374           # Check whether --enable-aboutdlg was given.
14375 if test "${enable_aboutdlg+set}" = set; then :
14376   enableval=$enable_aboutdlg;
14377                           if test "$enableval" = yes; then
14378                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14379                           else
14380                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14381                           fi
14382
14383 else
14384
14385                           wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14386
14387 fi
14388
14389
14390           eval "$wx_cv_use_aboutdlg"
14391
14392           if test x"$enablestring" = xdisable; then
14393             if test $wxUSE_ABOUTDLG = no; then
14394               result=yes
14395             else
14396               result=no
14397             fi
14398           else
14399             result=$wxUSE_ABOUTDLG
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}-choicedlg" >&5
14417 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14418           # Check whether --enable-choicedlg was given.
14419 if test "${enable_choicedlg+set}" = set; then :
14420   enableval=$enable_choicedlg;
14421                           if test "$enableval" = yes; then
14422                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14423                           else
14424                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14425                           fi
14426
14427 else
14428
14429                           wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14430
14431 fi
14432
14433
14434           eval "$wx_cv_use_choicedlg"
14435
14436           if test x"$enablestring" = xdisable; then
14437             if test $wxUSE_CHOICEDLG = no; then
14438               result=yes
14439             else
14440               result=no
14441             fi
14442           else
14443             result=$wxUSE_CHOICEDLG
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}-coldlg" >&5
14461 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14462           # Check whether --enable-coldlg was given.
14463 if test "${enable_coldlg+set}" = set; then :
14464   enableval=$enable_coldlg;
14465                           if test "$enableval" = yes; then
14466                             wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14467                           else
14468                             wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14469                           fi
14470
14471 else
14472
14473                           wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14474
14475 fi
14476
14477
14478           eval "$wx_cv_use_coldlg"
14479
14480           if test x"$enablestring" = xdisable; then
14481             if test $wxUSE_COLOURDLG = no; then
14482               result=yes
14483             else
14484               result=no
14485             fi
14486           else
14487             result=$wxUSE_COLOURDLG
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}-filedlg" >&5
14505 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14506           # Check whether --enable-filedlg was given.
14507 if test "${enable_filedlg+set}" = set; then :
14508   enableval=$enable_filedlg;
14509                           if test "$enableval" = yes; then
14510                             wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14511                           else
14512                             wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14513                           fi
14514
14515 else
14516
14517                           wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14518
14519 fi
14520
14521
14522           eval "$wx_cv_use_filedlg"
14523
14524           if test x"$enablestring" = xdisable; then
14525             if test $wxUSE_FILEDLG = no; then
14526               result=yes
14527             else
14528               result=no
14529             fi
14530           else
14531             result=$wxUSE_FILEDLG
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}-finddlg" >&5
14549 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14550           # Check whether --enable-finddlg was given.
14551 if test "${enable_finddlg+set}" = set; then :
14552   enableval=$enable_finddlg;
14553                           if test "$enableval" = yes; then
14554                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14555                           else
14556                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14557                           fi
14558
14559 else
14560
14561                           wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14562
14563 fi
14564
14565
14566           eval "$wx_cv_use_finddlg"
14567
14568           if test x"$enablestring" = xdisable; then
14569             if test $wxUSE_FINDREPLDLG = no; then
14570               result=yes
14571             else
14572               result=no
14573             fi
14574           else
14575             result=$wxUSE_FINDREPLDLG
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}-fontdlg" >&5
14593 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14594           # Check whether --enable-fontdlg was given.
14595 if test "${enable_fontdlg+set}" = set; then :
14596   enableval=$enable_fontdlg;
14597                           if test "$enableval" = yes; then
14598                             wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14599                           else
14600                             wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14601                           fi
14602
14603 else
14604
14605                           wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14606
14607 fi
14608
14609
14610           eval "$wx_cv_use_fontdlg"
14611
14612           if test x"$enablestring" = xdisable; then
14613             if test $wxUSE_FONTDLG = no; then
14614               result=yes
14615             else
14616               result=no
14617             fi
14618           else
14619             result=$wxUSE_FONTDLG
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}-dirdlg" >&5
14637 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14638           # Check whether --enable-dirdlg was given.
14639 if test "${enable_dirdlg+set}" = set; then :
14640   enableval=$enable_dirdlg;
14641                           if test "$enableval" = yes; then
14642                             wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14643                           else
14644                             wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14645                           fi
14646
14647 else
14648
14649                           wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14650
14651 fi
14652
14653
14654           eval "$wx_cv_use_dirdlg"
14655
14656           if test x"$enablestring" = xdisable; then
14657             if test $wxUSE_DIRDLG = no; then
14658               result=yes
14659             else
14660               result=no
14661             fi
14662           else
14663             result=$wxUSE_DIRDLG
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}-msgdlg" >&5
14681 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14682           # Check whether --enable-msgdlg was given.
14683 if test "${enable_msgdlg+set}" = set; then :
14684   enableval=$enable_msgdlg;
14685                           if test "$enableval" = yes; then
14686                             wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14687                           else
14688                             wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14689                           fi
14690
14691 else
14692
14693                           wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14694
14695 fi
14696
14697
14698           eval "$wx_cv_use_msgdlg"
14699
14700           if test x"$enablestring" = xdisable; then
14701             if test $wxUSE_MSGDLG = no; then
14702               result=yes
14703             else
14704               result=no
14705             fi
14706           else
14707             result=$wxUSE_MSGDLG
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}-numberdlg" >&5
14725 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14726           # Check whether --enable-numberdlg was given.
14727 if test "${enable_numberdlg+set}" = set; then :
14728   enableval=$enable_numberdlg;
14729                           if test "$enableval" = yes; then
14730                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14731                           else
14732                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14733                           fi
14734
14735 else
14736
14737                           wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14738
14739 fi
14740
14741
14742           eval "$wx_cv_use_numberdlg"
14743
14744           if test x"$enablestring" = xdisable; then
14745             if test $wxUSE_NUMBERDLG = no; then
14746               result=yes
14747             else
14748               result=no
14749             fi
14750           else
14751             result=$wxUSE_NUMBERDLG
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}-splash" >&5
14769 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14770           # Check whether --enable-splash was given.
14771 if test "${enable_splash+set}" = set; then :
14772   enableval=$enable_splash;
14773                           if test "$enableval" = yes; then
14774                             wx_cv_use_splash='wxUSE_SPLASH=yes'
14775                           else
14776                             wx_cv_use_splash='wxUSE_SPLASH=no'
14777                           fi
14778
14779 else
14780
14781                           wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14782
14783 fi
14784
14785
14786           eval "$wx_cv_use_splash"
14787
14788           if test x"$enablestring" = xdisable; then
14789             if test $wxUSE_SPLASH = no; then
14790               result=yes
14791             else
14792               result=no
14793             fi
14794           else
14795             result=$wxUSE_SPLASH
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}-textdlg" >&5
14813 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14814           # Check whether --enable-textdlg was given.
14815 if test "${enable_textdlg+set}" = set; then :
14816   enableval=$enable_textdlg;
14817                           if test "$enableval" = yes; then
14818                             wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14819                           else
14820                             wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14821                           fi
14822
14823 else
14824
14825                           wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14826
14827 fi
14828
14829
14830           eval "$wx_cv_use_textdlg"
14831
14832           if test x"$enablestring" = xdisable; then
14833             if test $wxUSE_TEXTDLG = no; then
14834               result=yes
14835             else
14836               result=no
14837             fi
14838           else
14839             result=$wxUSE_TEXTDLG
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}-tipdlg" >&5
14857 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14858           # Check whether --enable-tipdlg was given.
14859 if test "${enable_tipdlg+set}" = set; then :
14860   enableval=$enable_tipdlg;
14861                           if test "$enableval" = yes; then
14862                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14863                           else
14864                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14865                           fi
14866
14867 else
14868
14869                           wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14870
14871 fi
14872
14873
14874           eval "$wx_cv_use_tipdlg"
14875
14876           if test x"$enablestring" = xdisable; then
14877             if test $wxUSE_STARTUP_TIPS = no; then
14878               result=yes
14879             else
14880               result=no
14881             fi
14882           else
14883             result=$wxUSE_STARTUP_TIPS
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}-progressdlg" >&5
14901 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14902           # Check whether --enable-progressdlg was given.
14903 if test "${enable_progressdlg+set}" = set; then :
14904   enableval=$enable_progressdlg;
14905                           if test "$enableval" = yes; then
14906                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14907                           else
14908                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14909                           fi
14910
14911 else
14912
14913                           wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14914
14915 fi
14916
14917
14918           eval "$wx_cv_use_progressdlg"
14919
14920           if test x"$enablestring" = xdisable; then
14921             if test $wxUSE_PROGRESSDLG = no; then
14922               result=yes
14923             else
14924               result=no
14925             fi
14926           else
14927             result=$wxUSE_PROGRESSDLG
14928           fi
14929
14930           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14931 $as_echo "$result" >&6; }
14932
14933
14934           enablestring=
14935           defaultval=$wxUSE_ALL_FEATURES
14936           if test -z "$defaultval"; then
14937               if test x"$enablestring" = xdisable; then
14938                   defaultval=yes
14939               else
14940                   defaultval=no
14941               fi
14942           fi
14943
14944           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14945 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14946           # Check whether --enable-wizarddlg was given.
14947 if test "${enable_wizarddlg+set}" = set; then :
14948   enableval=$enable_wizarddlg;
14949                           if test "$enableval" = yes; then
14950                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14951                           else
14952                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14953                           fi
14954
14955 else
14956
14957                           wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14958
14959 fi
14960
14961
14962           eval "$wx_cv_use_wizarddlg"
14963
14964           if test x"$enablestring" = xdisable; then
14965             if test $wxUSE_WIZARDDLG = no; then
14966               result=yes
14967             else
14968               result=no
14969             fi
14970           else
14971             result=$wxUSE_WIZARDDLG
14972           fi
14973
14974           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14975 $as_echo "$result" >&6; }
14976
14977
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}-menus" >&5
14991 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14992           # Check whether --enable-menus was given.
14993 if test "${enable_menus+set}" = set; then :
14994   enableval=$enable_menus;
14995                           if test "$enableval" = yes; then
14996                             wx_cv_use_menus='wxUSE_MENUS=yes'
14997                           else
14998                             wx_cv_use_menus='wxUSE_MENUS=no'
14999                           fi
15000
15001 else
15002
15003                           wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15004
15005 fi
15006
15007
15008           eval "$wx_cv_use_menus"
15009
15010           if test x"$enablestring" = xdisable; then
15011             if test $wxUSE_MENUS = no; then
15012               result=yes
15013             else
15014               result=no
15015             fi
15016           else
15017             result=$wxUSE_MENUS
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}-miniframe" >&5
15035 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
15036           # Check whether --enable-miniframe was given.
15037 if test "${enable_miniframe+set}" = set; then :
15038   enableval=$enable_miniframe;
15039                           if test "$enableval" = yes; then
15040                             wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15041                           else
15042                             wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15043                           fi
15044
15045 else
15046
15047                           wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15048
15049 fi
15050
15051
15052           eval "$wx_cv_use_miniframe"
15053
15054           if test x"$enablestring" = xdisable; then
15055             if test $wxUSE_MINIFRAME = no; then
15056               result=yes
15057             else
15058               result=no
15059             fi
15060           else
15061             result=$wxUSE_MINIFRAME
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}-tooltips" >&5
15079 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
15080           # Check whether --enable-tooltips was given.
15081 if test "${enable_tooltips+set}" = set; then :
15082   enableval=$enable_tooltips;
15083                           if test "$enableval" = yes; then
15084                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15085                           else
15086                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15087                           fi
15088
15089 else
15090
15091                           wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15092
15093 fi
15094
15095
15096           eval "$wx_cv_use_tooltips"
15097
15098           if test x"$enablestring" = xdisable; then
15099             if test $wxUSE_TOOLTIPS = no; then
15100               result=yes
15101             else
15102               result=no
15103             fi
15104           else
15105             result=$wxUSE_TOOLTIPS
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}-splines" >&5
15123 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
15124           # Check whether --enable-splines was given.
15125 if test "${enable_splines+set}" = set; then :
15126   enableval=$enable_splines;
15127                           if test "$enableval" = yes; then
15128                             wx_cv_use_splines='wxUSE_SPLINES=yes'
15129                           else
15130                             wx_cv_use_splines='wxUSE_SPLINES=no'
15131                           fi
15132
15133 else
15134
15135                           wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15136
15137 fi
15138
15139
15140           eval "$wx_cv_use_splines"
15141
15142           if test x"$enablestring" = xdisable; then
15143             if test $wxUSE_SPLINES = no; then
15144               result=yes
15145             else
15146               result=no
15147             fi
15148           else
15149             result=$wxUSE_SPLINES
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}-mousewheel" >&5
15167 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
15168           # Check whether --enable-mousewheel was given.
15169 if test "${enable_mousewheel+set}" = set; then :
15170   enableval=$enable_mousewheel;
15171                           if test "$enableval" = yes; then
15172                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15173                           else
15174                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15175                           fi
15176
15177 else
15178
15179                           wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15180
15181 fi
15182
15183
15184           eval "$wx_cv_use_mousewheel"
15185
15186           if test x"$enablestring" = xdisable; then
15187             if test $wxUSE_MOUSEWHEEL = no; then
15188               result=yes
15189             else
15190               result=no
15191             fi
15192           else
15193             result=$wxUSE_MOUSEWHEEL
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}-validators" >&5
15211 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
15212           # Check whether --enable-validators was given.
15213 if test "${enable_validators+set}" = set; then :
15214   enableval=$enable_validators;
15215                           if test "$enableval" = yes; then
15216                             wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15217                           else
15218                             wx_cv_use_validators='wxUSE_VALIDATORS=no'
15219                           fi
15220
15221 else
15222
15223                           wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15224
15225 fi
15226
15227
15228           eval "$wx_cv_use_validators"
15229
15230           if test x"$enablestring" = xdisable; then
15231             if test $wxUSE_VALIDATORS = no; then
15232               result=yes
15233             else
15234               result=no
15235             fi
15236           else
15237             result=$wxUSE_VALIDATORS
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}-busyinfo" >&5
15255 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15256           # Check whether --enable-busyinfo was given.
15257 if test "${enable_busyinfo+set}" = set; then :
15258   enableval=$enable_busyinfo;
15259                           if test "$enableval" = yes; then
15260                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15261                           else
15262                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15263                           fi
15264
15265 else
15266
15267                           wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15268
15269 fi
15270
15271
15272           eval "$wx_cv_use_busyinfo"
15273
15274           if test x"$enablestring" = xdisable; then
15275             if test $wxUSE_BUSYINFO = no; then
15276               result=yes
15277             else
15278               result=no
15279             fi
15280           else
15281             result=$wxUSE_BUSYINFO
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}-hotkey" >&5
15299 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15300           # Check whether --enable-hotkey was given.
15301 if test "${enable_hotkey+set}" = set; then :
15302   enableval=$enable_hotkey;
15303                           if test "$enableval" = yes; then
15304                             wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15305                           else
15306                             wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15307                           fi
15308
15309 else
15310
15311                           wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15312
15313 fi
15314
15315
15316           eval "$wx_cv_use_hotkey"
15317
15318           if test x"$enablestring" = xdisable; then
15319             if test $wxUSE_HOTKEY = no; then
15320               result=yes
15321             else
15322               result=no
15323             fi
15324           else
15325             result=$wxUSE_HOTKEY
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}-joystick" >&5
15343 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15344           # Check whether --enable-joystick was given.
15345 if test "${enable_joystick+set}" = set; then :
15346   enableval=$enable_joystick;
15347                           if test "$enableval" = yes; then
15348                             wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15349                           else
15350                             wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15351                           fi
15352
15353 else
15354
15355                           wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15356
15357 fi
15358
15359
15360           eval "$wx_cv_use_joystick"
15361
15362           if test x"$enablestring" = xdisable; then
15363             if test $wxUSE_JOYSTICK = no; then
15364               result=yes
15365             else
15366               result=no
15367             fi
15368           else
15369             result=$wxUSE_JOYSTICK
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}-metafile" >&5
15387 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15388           # Check whether --enable-metafile was given.
15389 if test "${enable_metafile+set}" = set; then :
15390   enableval=$enable_metafile;
15391                           if test "$enableval" = yes; then
15392                             wx_cv_use_metafile='wxUSE_METAFILE=yes'
15393                           else
15394                             wx_cv_use_metafile='wxUSE_METAFILE=no'
15395                           fi
15396
15397 else
15398
15399                           wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15400
15401 fi
15402
15403
15404           eval "$wx_cv_use_metafile"
15405
15406           if test x"$enablestring" = xdisable; then
15407             if test $wxUSE_METAFILE = no; then
15408               result=yes
15409             else
15410               result=no
15411             fi
15412           else
15413             result=$wxUSE_METAFILE
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}-dragimage" >&5
15431 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15432           # Check whether --enable-dragimage was given.
15433 if test "${enable_dragimage+set}" = set; then :
15434   enableval=$enable_dragimage;
15435                           if test "$enableval" = yes; then
15436                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15437                           else
15438                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15439                           fi
15440
15441 else
15442
15443                           wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15444
15445 fi
15446
15447
15448           eval "$wx_cv_use_dragimage"
15449
15450           if test x"$enablestring" = xdisable; then
15451             if test $wxUSE_DRAGIMAGE = no; then
15452               result=yes
15453             else
15454               result=no
15455             fi
15456           else
15457             result=$wxUSE_DRAGIMAGE
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}-accessibility" >&5
15475 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15476           # Check whether --enable-accessibility was given.
15477 if test "${enable_accessibility+set}" = set; then :
15478   enableval=$enable_accessibility;
15479                           if test "$enableval" = yes; then
15480                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15481                           else
15482                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15483                           fi
15484
15485 else
15486
15487                           wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15488
15489 fi
15490
15491
15492           eval "$wx_cv_use_accessibility"
15493
15494           if test x"$enablestring" = xdisable; then
15495             if test $wxUSE_ACCESSIBILITY = no; then
15496               result=yes
15497             else
15498               result=no
15499             fi
15500           else
15501             result=$wxUSE_ACCESSIBILITY
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}-uiactionsim" >&5
15519 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15520           # Check whether --enable-uiactionsim was given.
15521 if test "${enable_uiactionsim+set}" = set; then :
15522   enableval=$enable_uiactionsim;
15523                           if test "$enableval" = yes; then
15524                             wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15525                           else
15526                             wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15527                           fi
15528
15529 else
15530
15531                           wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15532
15533 fi
15534
15535
15536           eval "$wx_cv_use_uiactionsim"
15537
15538           if test x"$enablestring" = xdisable; then
15539             if test $wxUSE_UIACTIONSIMULATOR = no; then
15540               result=yes
15541             else
15542               result=no
15543             fi
15544           else
15545             result=$wxUSE_UIACTIONSIMULATOR
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}-dctransform" >&5
15563 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15564           # Check whether --enable-dctransform was given.
15565 if test "${enable_dctransform+set}" = set; then :
15566   enableval=$enable_dctransform;
15567                           if test "$enableval" = yes; then
15568                             wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15569                           else
15570                             wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15571                           fi
15572
15573 else
15574
15575                           wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15576
15577 fi
15578
15579
15580           eval "$wx_cv_use_dctransform"
15581
15582           if test x"$enablestring" = xdisable; then
15583             if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15584               result=yes
15585             else
15586               result=no
15587             fi
15588           else
15589             result=$wxUSE_DC_TRANSFORM_MATRIX
15590           fi
15591
15592           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15593 $as_echo "$result" >&6; }
15594
15595
15596           enablestring=
15597           defaultval=$wxUSE_ALL_FEATURES
15598           if test -z "$defaultval"; then
15599               if test x"$enablestring" = xdisable; then
15600                   defaultval=yes
15601               else
15602                   defaultval=no
15603               fi
15604           fi
15605
15606           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15607 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15608           # Check whether --enable-webviewwebkit was given.
15609 if test "${enable_webviewwebkit+set}" = set; then :
15610   enableval=$enable_webviewwebkit;
15611                           if test "$enableval" = yes; then
15612                             wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15613                           else
15614                             wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15615                           fi
15616
15617 else
15618
15619                           wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15620
15621 fi
15622
15623
15624           eval "$wx_cv_use_webviewwebkit"
15625
15626           if test x"$enablestring" = xdisable; then
15627             if test $wxUSE_WEBVIEW_WEBKIT = no; then
15628               result=yes
15629             else
15630               result=no
15631             fi
15632           else
15633             result=$wxUSE_WEBVIEW_WEBKIT
15634           fi
15635
15636           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15637 $as_echo "$result" >&6; }
15638
15639
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}-palette" >&5
15653 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15654           # Check whether --enable-palette was given.
15655 if test "${enable_palette+set}" = set; then :
15656   enableval=$enable_palette;
15657                           if test "$enableval" = yes; then
15658                             wx_cv_use_palette='wxUSE_PALETTE=yes'
15659                           else
15660                             wx_cv_use_palette='wxUSE_PALETTE=no'
15661                           fi
15662
15663 else
15664
15665                           wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15666
15667 fi
15668
15669
15670           eval "$wx_cv_use_palette"
15671
15672           if test x"$enablestring" = xdisable; then
15673             if test $wxUSE_PALETTE = no; then
15674               result=yes
15675             else
15676               result=no
15677             fi
15678           else
15679             result=$wxUSE_PALETTE
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}-image" >&5
15697 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15698           # Check whether --enable-image was given.
15699 if test "${enable_image+set}" = set; then :
15700   enableval=$enable_image;
15701                           if test "$enableval" = yes; then
15702                             wx_cv_use_image='wxUSE_IMAGE=yes'
15703                           else
15704                             wx_cv_use_image='wxUSE_IMAGE=no'
15705                           fi
15706
15707 else
15708
15709                           wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15710
15711 fi
15712
15713
15714           eval "$wx_cv_use_image"
15715
15716           if test x"$enablestring" = xdisable; then
15717             if test $wxUSE_IMAGE = no; then
15718               result=yes
15719             else
15720               result=no
15721             fi
15722           else
15723             result=$wxUSE_IMAGE
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}-gif" >&5
15741 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15742           # Check whether --enable-gif was given.
15743 if test "${enable_gif+set}" = set; then :
15744   enableval=$enable_gif;
15745                           if test "$enableval" = yes; then
15746                             wx_cv_use_gif='wxUSE_GIF=yes'
15747                           else
15748                             wx_cv_use_gif='wxUSE_GIF=no'
15749                           fi
15750
15751 else
15752
15753                           wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15754
15755 fi
15756
15757
15758           eval "$wx_cv_use_gif"
15759
15760           if test x"$enablestring" = xdisable; then
15761             if test $wxUSE_GIF = no; then
15762               result=yes
15763             else
15764               result=no
15765             fi
15766           else
15767             result=$wxUSE_GIF
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}-pcx" >&5
15785 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15786           # Check whether --enable-pcx was given.
15787 if test "${enable_pcx+set}" = set; then :
15788   enableval=$enable_pcx;
15789                           if test "$enableval" = yes; then
15790                             wx_cv_use_pcx='wxUSE_PCX=yes'
15791                           else
15792                             wx_cv_use_pcx='wxUSE_PCX=no'
15793                           fi
15794
15795 else
15796
15797                           wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15798
15799 fi
15800
15801
15802           eval "$wx_cv_use_pcx"
15803
15804           if test x"$enablestring" = xdisable; then
15805             if test $wxUSE_PCX = no; then
15806               result=yes
15807             else
15808               result=no
15809             fi
15810           else
15811             result=$wxUSE_PCX
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}-tga" >&5
15829 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15830           # Check whether --enable-tga was given.
15831 if test "${enable_tga+set}" = set; then :
15832   enableval=$enable_tga;
15833                           if test "$enableval" = yes; then
15834                             wx_cv_use_tga='wxUSE_TGA=yes'
15835                           else
15836                             wx_cv_use_tga='wxUSE_TGA=no'
15837                           fi
15838
15839 else
15840
15841                           wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15842
15843 fi
15844
15845
15846           eval "$wx_cv_use_tga"
15847
15848           if test x"$enablestring" = xdisable; then
15849             if test $wxUSE_TGA = no; then
15850               result=yes
15851             else
15852               result=no
15853             fi
15854           else
15855             result=$wxUSE_TGA
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}-iff" >&5
15873 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15874           # Check whether --enable-iff was given.
15875 if test "${enable_iff+set}" = set; then :
15876   enableval=$enable_iff;
15877                           if test "$enableval" = yes; then
15878                             wx_cv_use_iff='wxUSE_IFF=yes'
15879                           else
15880                             wx_cv_use_iff='wxUSE_IFF=no'
15881                           fi
15882
15883 else
15884
15885                           wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15886
15887 fi
15888
15889
15890           eval "$wx_cv_use_iff"
15891
15892           if test x"$enablestring" = xdisable; then
15893             if test $wxUSE_IFF = no; then
15894               result=yes
15895             else
15896               result=no
15897             fi
15898           else
15899             result=$wxUSE_IFF
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}-pnm" >&5
15917 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15918           # Check whether --enable-pnm was given.
15919 if test "${enable_pnm+set}" = set; then :
15920   enableval=$enable_pnm;
15921                           if test "$enableval" = yes; then
15922                             wx_cv_use_pnm='wxUSE_PNM=yes'
15923                           else
15924                             wx_cv_use_pnm='wxUSE_PNM=no'
15925                           fi
15926
15927 else
15928
15929                           wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15930
15931 fi
15932
15933
15934           eval "$wx_cv_use_pnm"
15935
15936           if test x"$enablestring" = xdisable; then
15937             if test $wxUSE_PNM = no; then
15938               result=yes
15939             else
15940               result=no
15941             fi
15942           else
15943             result=$wxUSE_PNM
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}-xpm" >&5
15961 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15962           # Check whether --enable-xpm was given.
15963 if test "${enable_xpm+set}" = set; then :
15964   enableval=$enable_xpm;
15965                           if test "$enableval" = yes; then
15966                             wx_cv_use_xpm='wxUSE_XPM=yes'
15967                           else
15968                             wx_cv_use_xpm='wxUSE_XPM=no'
15969                           fi
15970
15971 else
15972
15973                           wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15974
15975 fi
15976
15977
15978           eval "$wx_cv_use_xpm"
15979
15980           if test x"$enablestring" = xdisable; then
15981             if test $wxUSE_XPM = no; then
15982               result=yes
15983             else
15984               result=no
15985             fi
15986           else
15987             result=$wxUSE_XPM
15988           fi
15989
15990           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15991 $as_echo "$result" >&6; }
15992
15993
15994           enablestring=
15995           defaultval=$wxUSE_ALL_FEATURES
15996           if test -z "$defaultval"; then
15997               if test x"$enablestring" = xdisable; then
15998                   defaultval=yes
15999               else
16000                   defaultval=no
16001               fi
16002           fi
16003
16004           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
16005 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
16006           # Check whether --enable-ico_cur was given.
16007 if test "${enable_ico_cur+set}" = set; then :
16008   enableval=$enable_ico_cur;
16009                           if test "$enableval" = yes; then
16010                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16011                           else
16012                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16013                           fi
16014
16015 else
16016
16017                           wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16018
16019 fi
16020
16021
16022           eval "$wx_cv_use_ico_cur"
16023
16024           if test x"$enablestring" = xdisable; then
16025             if test $wxUSE_ICO_CUR = no; then
16026               result=yes
16027             else
16028               result=no
16029             fi
16030           else
16031             result=$wxUSE_ICO_CUR
16032           fi
16033
16034           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16035 $as_echo "$result" >&6; }
16036
16037
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}-dccache" >&5
16051 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
16052           # Check whether --enable-dccache was given.
16053 if test "${enable_dccache+set}" = set; then :
16054   enableval=$enable_dccache;
16055                           if test "$enableval" = yes; then
16056                             wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16057                           else
16058                             wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16059                           fi
16060
16061 else
16062
16063                           wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16064
16065 fi
16066
16067
16068           eval "$wx_cv_use_dccache"
16069
16070           if test x"$enablestring" = xdisable; then
16071             if test $wxUSE_DC_CACHEING = no; then
16072               result=yes
16073             else
16074               result=no
16075             fi
16076           else
16077             result=$wxUSE_DC_CACHEING
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}-ps-in-msw" >&5
16095 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
16096           # Check whether --enable-ps-in-msw was given.
16097 if test "${enable_ps_in_msw+set}" = set; then :
16098   enableval=$enable_ps_in_msw;
16099                           if test "$enableval" = yes; then
16100                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16101                           else
16102                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16103                           fi
16104
16105 else
16106
16107                           wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16108
16109 fi
16110
16111
16112           eval "$wx_cv_use_ps_in_msw"
16113
16114           if test x"$enablestring" = xdisable; then
16115             if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
16116               result=yes
16117             else
16118               result=no
16119             fi
16120           else
16121             result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
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}-ownerdrawn" >&5
16139 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
16140           # Check whether --enable-ownerdrawn was given.
16141 if test "${enable_ownerdrawn+set}" = set; then :
16142   enableval=$enable_ownerdrawn;
16143                           if test "$enableval" = yes; then
16144                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16145                           else
16146                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16147                           fi
16148
16149 else
16150
16151                           wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16152
16153 fi
16154
16155
16156           eval "$wx_cv_use_ownerdrawn"
16157
16158           if test x"$enablestring" = xdisable; then
16159             if test $wxUSE_OWNER_DRAWN = no; then
16160               result=yes
16161             else
16162               result=no
16163             fi
16164           else
16165             result=$wxUSE_OWNER_DRAWN
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}-uxtheme" >&5
16183 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16184           # Check whether --enable-uxtheme was given.
16185 if test "${enable_uxtheme+set}" = set; then :
16186   enableval=$enable_uxtheme;
16187                           if test "$enableval" = yes; then
16188                             wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16189                           else
16190                             wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16191                           fi
16192
16193 else
16194
16195                           wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16196
16197 fi
16198
16199
16200           eval "$wx_cv_use_uxtheme"
16201
16202           if test x"$enablestring" = xdisable; then
16203             if test $wxUSE_UXTHEME = no; then
16204               result=yes
16205             else
16206               result=no
16207             fi
16208           else
16209             result=$wxUSE_UXTHEME
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}-wxdib" >&5
16227 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16228           # Check whether --enable-wxdib was given.
16229 if test "${enable_wxdib+set}" = set; then :
16230   enableval=$enable_wxdib;
16231                           if test "$enableval" = yes; then
16232                             wx_cv_use_wxdib='wxUSE_DIB=yes'
16233                           else
16234                             wx_cv_use_wxdib='wxUSE_DIB=no'
16235                           fi
16236
16237 else
16238
16239                           wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16240
16241 fi
16242
16243
16244           eval "$wx_cv_use_wxdib"
16245
16246           if test x"$enablestring" = xdisable; then
16247             if test $wxUSE_DIB = no; then
16248               result=yes
16249             else
16250               result=no
16251             fi
16252           else
16253             result=$wxUSE_DIB
16254           fi
16255
16256           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16257 $as_echo "$result" >&6; }
16258
16259
16260           enablestring=
16261           defaultval=$wxUSE_ALL_FEATURES
16262           if test -z "$defaultval"; then
16263               if test x"$enablestring" = xdisable; then
16264                   defaultval=yes
16265               else
16266                   defaultval=no
16267               fi
16268           fi
16269
16270           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16271 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16272           # Check whether --enable-webviewie was given.
16273 if test "${enable_webviewie+set}" = set; then :
16274   enableval=$enable_webviewie;
16275                           if test "$enableval" = yes; then
16276                             wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16277                           else
16278                             wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16279                           fi
16280
16281 else
16282
16283                           wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16284
16285 fi
16286
16287
16288           eval "$wx_cv_use_webviewie"
16289
16290           if test x"$enablestring" = xdisable; then
16291             if test $wxUSE_WEBVIEW_IE = no; then
16292               result=yes
16293             else
16294               result=no
16295             fi
16296           else
16297             result=$wxUSE_WEBVIEW_IE
16298           fi
16299
16300           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16301 $as_echo "$result" >&6; }
16302
16303
16304 if test "$wxUSE_MSW" != 1; then
16305     DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16306 fi
16307
16308
16309           enablestring=
16310           defaultval=$wxUSE_ALL_FEATURES
16311           if test -z "$defaultval"; then
16312               if test x"$enablestring" = xdisable; then
16313                   defaultval=yes
16314               else
16315                   defaultval=no
16316               fi
16317           fi
16318
16319           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16320 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16321           # Check whether --enable-autoidman was given.
16322 if test "${enable_autoidman+set}" = set; then :
16323   enableval=$enable_autoidman;
16324                           if test "$enableval" = yes; then
16325                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16326                           else
16327                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16328                           fi
16329
16330 else
16331
16332                           wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16333
16334 fi
16335
16336
16337           eval "$wx_cv_use_autoidman"
16338
16339           if test x"$enablestring" = xdisable; then
16340             if test $wxUSE_AUTOID_MANAGEMENT = no; then
16341               result=yes
16342             else
16343               result=no
16344             fi
16345           else
16346             result=$wxUSE_AUTOID_MANAGEMENT
16347           fi
16348
16349           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16350 $as_echo "$result" >&6; }
16351
16352
16353 fi
16354
16355
16356 cat >confcache <<\_ACEOF
16357 # This file is a shell script that caches the results of configure
16358 # tests run on this system so they can be shared between configure
16359 # scripts and configure runs, see configure's option --config-cache.
16360 # It is not useful on other systems.  If it contains results you don't
16361 # want to keep, you may remove or edit it.
16362 #
16363 # config.status only pays attention to the cache file if you give it
16364 # the --recheck option to rerun configure.
16365 #
16366 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16367 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16368 # following values.
16369
16370 _ACEOF
16371
16372 # The following way of writing the cache mishandles newlines in values,
16373 # but we know of no workaround that is simple, portable, and efficient.
16374 # So, we kill variables containing newlines.
16375 # Ultrix sh set writes to stderr and can't be redirected directly,
16376 # and sets the high bit in the cache file unless we assign to the vars.
16377 (
16378   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16379     eval ac_val=\$$ac_var
16380     case $ac_val in #(
16381     *${as_nl}*)
16382       case $ac_var in #(
16383       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16384 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16385       esac
16386       case $ac_var in #(
16387       _ | IFS | as_nl) ;; #(
16388       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16389       *) { eval $ac_var=; unset $ac_var;} ;;
16390       esac ;;
16391     esac
16392   done
16393
16394   (set) 2>&1 |
16395     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16396     *${as_nl}ac_space=\ *)
16397       # `set' does not quote correctly, so add quotes: double-quote
16398       # substitution turns \\\\ into \\, and sed turns \\ into \.
16399       sed -n \
16400         "s/'/'\\\\''/g;
16401           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16402       ;; #(
16403     *)
16404       # `set' quotes correctly as required by POSIX, so do not add quotes.
16405       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16406       ;;
16407     esac |
16408     sort
16409 ) |
16410   sed '
16411      /^ac_cv_env_/b end
16412      t clear
16413      :clear
16414      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16415      t end
16416      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16417      :end' >>confcache
16418 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16419   if test -w "$cache_file"; then
16420     if test "x$cache_file" != "x/dev/null"; then
16421       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16422 $as_echo "$as_me: updating cache $cache_file" >&6;}
16423       if test ! -f "$cache_file" || test -h "$cache_file"; then
16424         cat confcache >"$cache_file"
16425       else
16426         case $cache_file in #(
16427         */* | ?:*)
16428           mv -f confcache "$cache_file"$$ &&
16429           mv -f "$cache_file"$$ "$cache_file" ;; #(
16430         *)
16431           mv -f confcache "$cache_file" ;;
16432         esac
16433       fi
16434     fi
16435   else
16436     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16437 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16438   fi
16439 fi
16440 rm -f confcache
16441
16442 CFLAGS=${CFLAGS:=}
16443 ac_ext=c
16444 ac_cpp='$CPP $CPPFLAGS'
16445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16448 if test -n "$ac_tool_prefix"; then
16449   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16450 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16452 $as_echo_n "checking for $ac_word... " >&6; }
16453 if ${ac_cv_prog_CC+:} false; then :
16454   $as_echo_n "(cached) " >&6
16455 else
16456   if test -n "$CC"; then
16457   ac_cv_prog_CC="$CC" # Let the user override the test.
16458 else
16459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16460 for as_dir in $PATH
16461 do
16462   IFS=$as_save_IFS
16463   test -z "$as_dir" && as_dir=.
16464     for ac_exec_ext in '' $ac_executable_extensions; do
16465   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16466     ac_cv_prog_CC="${ac_tool_prefix}gcc"
16467     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16468     break 2
16469   fi
16470 done
16471   done
16472 IFS=$as_save_IFS
16473
16474 fi
16475 fi
16476 CC=$ac_cv_prog_CC
16477 if test -n "$CC"; then
16478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16479 $as_echo "$CC" >&6; }
16480 else
16481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16482 $as_echo "no" >&6; }
16483 fi
16484
16485
16486 fi
16487 if test -z "$ac_cv_prog_CC"; then
16488   ac_ct_CC=$CC
16489   # Extract the first word of "gcc", so it can be a program name with args.
16490 set dummy gcc; ac_word=$2
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16492 $as_echo_n "checking for $ac_word... " >&6; }
16493 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16494   $as_echo_n "(cached) " >&6
16495 else
16496   if test -n "$ac_ct_CC"; then
16497   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16498 else
16499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16500 for as_dir in $PATH
16501 do
16502   IFS=$as_save_IFS
16503   test -z "$as_dir" && as_dir=.
16504     for ac_exec_ext in '' $ac_executable_extensions; do
16505   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16506     ac_cv_prog_ac_ct_CC="gcc"
16507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16508     break 2
16509   fi
16510 done
16511   done
16512 IFS=$as_save_IFS
16513
16514 fi
16515 fi
16516 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16517 if test -n "$ac_ct_CC"; then
16518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16519 $as_echo "$ac_ct_CC" >&6; }
16520 else
16521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16522 $as_echo "no" >&6; }
16523 fi
16524
16525   if test "x$ac_ct_CC" = x; then
16526     CC=""
16527   else
16528     case $cross_compiling:$ac_tool_warned in
16529 yes:)
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16532 ac_tool_warned=yes ;;
16533 esac
16534     CC=$ac_ct_CC
16535   fi
16536 else
16537   CC="$ac_cv_prog_CC"
16538 fi
16539
16540 if test -z "$CC"; then
16541           if test -n "$ac_tool_prefix"; then
16542     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16543 set dummy ${ac_tool_prefix}cc; ac_word=$2
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16545 $as_echo_n "checking for $ac_word... " >&6; }
16546 if ${ac_cv_prog_CC+:} false; then :
16547   $as_echo_n "(cached) " >&6
16548 else
16549   if test -n "$CC"; then
16550   ac_cv_prog_CC="$CC" # Let the user override the test.
16551 else
16552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16553 for as_dir in $PATH
16554 do
16555   IFS=$as_save_IFS
16556   test -z "$as_dir" && as_dir=.
16557     for ac_exec_ext in '' $ac_executable_extensions; do
16558   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16559     ac_cv_prog_CC="${ac_tool_prefix}cc"
16560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16561     break 2
16562   fi
16563 done
16564   done
16565 IFS=$as_save_IFS
16566
16567 fi
16568 fi
16569 CC=$ac_cv_prog_CC
16570 if test -n "$CC"; then
16571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16572 $as_echo "$CC" >&6; }
16573 else
16574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16575 $as_echo "no" >&6; }
16576 fi
16577
16578
16579   fi
16580 fi
16581 if test -z "$CC"; then
16582   # Extract the first word of "cc", so it can be a program name with args.
16583 set dummy cc; ac_word=$2
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16585 $as_echo_n "checking for $ac_word... " >&6; }
16586 if ${ac_cv_prog_CC+:} false; then :
16587   $as_echo_n "(cached) " >&6
16588 else
16589   if test -n "$CC"; then
16590   ac_cv_prog_CC="$CC" # Let the user override the test.
16591 else
16592   ac_prog_rejected=no
16593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16594 for as_dir in $PATH
16595 do
16596   IFS=$as_save_IFS
16597   test -z "$as_dir" && as_dir=.
16598     for ac_exec_ext in '' $ac_executable_extensions; do
16599   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16600     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16601        ac_prog_rejected=yes
16602        continue
16603      fi
16604     ac_cv_prog_CC="cc"
16605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16606     break 2
16607   fi
16608 done
16609   done
16610 IFS=$as_save_IFS
16611
16612 if test $ac_prog_rejected = yes; then
16613   # We found a bogon in the path, so make sure we never use it.
16614   set dummy $ac_cv_prog_CC
16615   shift
16616   if test $# != 0; then
16617     # We chose a different compiler from the bogus one.
16618     # However, it has the same basename, so the bogon will be chosen
16619     # first if we set CC to just the basename; use the full file name.
16620     shift
16621     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16622   fi
16623 fi
16624 fi
16625 fi
16626 CC=$ac_cv_prog_CC
16627 if test -n "$CC"; then
16628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16629 $as_echo "$CC" >&6; }
16630 else
16631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16632 $as_echo "no" >&6; }
16633 fi
16634
16635
16636 fi
16637 if test -z "$CC"; then
16638   if test -n "$ac_tool_prefix"; then
16639   for ac_prog in cl.exe
16640   do
16641     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16642 set dummy $ac_tool_prefix$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_CC+:} false; then :
16646   $as_echo_n "(cached) " >&6
16647 else
16648   if test -n "$CC"; then
16649   ac_cv_prog_CC="$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_CC="$ac_tool_prefix$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 CC=$ac_cv_prog_CC
16669 if test -n "$CC"; then
16670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16671 $as_echo "$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 "$CC" && break
16679   done
16680 fi
16681 if test -z "$CC"; then
16682   ac_ct_CC=$CC
16683   for ac_prog in cl.exe
16684 do
16685   # Extract the first word of "$ac_prog", so it can be a program name with args.
16686 set dummy $ac_prog; ac_word=$2
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16688 $as_echo_n "checking for $ac_word... " >&6; }
16689 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16690   $as_echo_n "(cached) " >&6
16691 else
16692   if test -n "$ac_ct_CC"; then
16693   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16694 else
16695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16696 for as_dir in $PATH
16697 do
16698   IFS=$as_save_IFS
16699   test -z "$as_dir" && as_dir=.
16700     for ac_exec_ext in '' $ac_executable_extensions; do
16701   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16702     ac_cv_prog_ac_ct_CC="$ac_prog"
16703     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16704     break 2
16705   fi
16706 done
16707   done
16708 IFS=$as_save_IFS
16709
16710 fi
16711 fi
16712 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16713 if test -n "$ac_ct_CC"; then
16714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16715 $as_echo "$ac_ct_CC" >&6; }
16716 else
16717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16718 $as_echo "no" >&6; }
16719 fi
16720
16721
16722   test -n "$ac_ct_CC" && break
16723 done
16724
16725   if test "x$ac_ct_CC" = x; then
16726     CC=""
16727   else
16728     case $cross_compiling:$ac_tool_warned in
16729 yes:)
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16732 ac_tool_warned=yes ;;
16733 esac
16734     CC=$ac_ct_CC
16735   fi
16736 fi
16737
16738 fi
16739
16740
16741 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16743 as_fn_error $? "no acceptable C compiler found in \$PATH
16744 See \`config.log' for more details" "$LINENO" 5; }
16745
16746 # Provide some information about the compiler.
16747 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16748 set X $ac_compile
16749 ac_compiler=$2
16750 for ac_option in --version -v -V -qversion; do
16751   { { ac_try="$ac_compiler $ac_option >&5"
16752 case "(($ac_try" in
16753   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16754   *) ac_try_echo=$ac_try;;
16755 esac
16756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16757 $as_echo "$ac_try_echo"; } >&5
16758   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16759   ac_status=$?
16760   if test -s conftest.err; then
16761     sed '10a\
16762 ... rest of stderr output deleted ...
16763          10q' conftest.err >conftest.er1
16764     cat conftest.er1 >&5
16765   fi
16766   rm -f conftest.er1 conftest.err
16767   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16768   test $ac_status = 0; }
16769 done
16770
16771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16772 /* end confdefs.h.  */
16773
16774 int
16775 main ()
16776 {
16777
16778   ;
16779   return 0;
16780 }
16781 _ACEOF
16782 ac_clean_files_save=$ac_clean_files
16783 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16784 # Try to create an executable without -o first, disregard a.out.
16785 # It will help us diagnose broken compilers, and finding out an intuition
16786 # of exeext.
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16788 $as_echo_n "checking whether the C compiler works... " >&6; }
16789 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16790
16791 # The possible output files:
16792 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16793
16794 ac_rmfiles=
16795 for ac_file in $ac_files
16796 do
16797   case $ac_file in
16798     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16799     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16800   esac
16801 done
16802 rm -f $ac_rmfiles
16803
16804 if { { ac_try="$ac_link_default"
16805 case "(($ac_try" in
16806   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16807   *) ac_try_echo=$ac_try;;
16808 esac
16809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16810 $as_echo "$ac_try_echo"; } >&5
16811   (eval "$ac_link_default") 2>&5
16812   ac_status=$?
16813   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16814   test $ac_status = 0; }; then :
16815   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16816 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16817 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
16818 # so that the user can short-circuit this test for compilers unknown to
16819 # Autoconf.
16820 for ac_file in $ac_files ''
16821 do
16822   test -f "$ac_file" || continue
16823   case $ac_file in
16824     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16825         ;;
16826     [ab].out )
16827         # We found the default executable, but exeext='' is most
16828         # certainly right.
16829         break;;
16830     *.* )
16831         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16832         then :; else
16833            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16834         fi
16835         # We set ac_cv_exeext here because the later test for it is not
16836         # safe: cross compilers may not add the suffix if given an `-o'
16837         # argument, so we may need to know it at that point already.
16838         # Even if this section looks crufty: it has the advantage of
16839         # actually working.
16840         break;;
16841     * )
16842         break;;
16843   esac
16844 done
16845 test "$ac_cv_exeext" = no && ac_cv_exeext=
16846
16847 else
16848   ac_file=''
16849 fi
16850 if test -z "$ac_file"; then :
16851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16852 $as_echo "no" >&6; }
16853 $as_echo "$as_me: failed program was:" >&5
16854 sed 's/^/| /' conftest.$ac_ext >&5
16855
16856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16858 as_fn_error 77 "C compiler cannot create executables
16859 See \`config.log' for more details" "$LINENO" 5; }
16860 else
16861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16862 $as_echo "yes" >&6; }
16863 fi
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16865 $as_echo_n "checking for C compiler default output file name... " >&6; }
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16867 $as_echo "$ac_file" >&6; }
16868 ac_exeext=$ac_cv_exeext
16869
16870 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16871 ac_clean_files=$ac_clean_files_save
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16873 $as_echo_n "checking for suffix of executables... " >&6; }
16874 if { { ac_try="$ac_link"
16875 case "(($ac_try" in
16876   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16877   *) ac_try_echo=$ac_try;;
16878 esac
16879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16880 $as_echo "$ac_try_echo"; } >&5
16881   (eval "$ac_link") 2>&5
16882   ac_status=$?
16883   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16884   test $ac_status = 0; }; then :
16885   # If both `conftest.exe' and `conftest' are `present' (well, observable)
16886 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
16887 # work properly (i.e., refer to `conftest.exe'), while it won't with
16888 # `rm'.
16889 for ac_file in conftest.exe conftest conftest.*; do
16890   test -f "$ac_file" || continue
16891   case $ac_file in
16892     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16893     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16894           break;;
16895     * ) break;;
16896   esac
16897 done
16898 else
16899   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16901 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16902 See \`config.log' for more details" "$LINENO" 5; }
16903 fi
16904 rm -f conftest conftest$ac_cv_exeext
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16906 $as_echo "$ac_cv_exeext" >&6; }
16907
16908 rm -f conftest.$ac_ext
16909 EXEEXT=$ac_cv_exeext
16910 ac_exeext=$EXEEXT
16911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16912 /* end confdefs.h.  */
16913 #include <stdio.h>
16914 int
16915 main ()
16916 {
16917 FILE *f = fopen ("conftest.out", "w");
16918  return ferror (f) || fclose (f) != 0;
16919
16920   ;
16921   return 0;
16922 }
16923 _ACEOF
16924 ac_clean_files="$ac_clean_files conftest.out"
16925 # Check that the compiler produces executables we can run.  If not, either
16926 # the compiler is broken, or we cross compile.
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16928 $as_echo_n "checking whether we are cross compiling... " >&6; }
16929 if test "$cross_compiling" != yes; then
16930   { { ac_try="$ac_link"
16931 case "(($ac_try" in
16932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16933   *) ac_try_echo=$ac_try;;
16934 esac
16935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16936 $as_echo "$ac_try_echo"; } >&5
16937   (eval "$ac_link") 2>&5
16938   ac_status=$?
16939   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16940   test $ac_status = 0; }
16941   if { ac_try='./conftest$ac_cv_exeext'
16942   { { case "(($ac_try" in
16943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16944   *) ac_try_echo=$ac_try;;
16945 esac
16946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16947 $as_echo "$ac_try_echo"; } >&5
16948   (eval "$ac_try") 2>&5
16949   ac_status=$?
16950   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16951   test $ac_status = 0; }; }; then
16952     cross_compiling=no
16953   else
16954     if test "$cross_compiling" = maybe; then
16955         cross_compiling=yes
16956     else
16957         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16959 as_fn_error $? "cannot run C compiled programs.
16960 If you meant to cross compile, use \`--host'.
16961 See \`config.log' for more details" "$LINENO" 5; }
16962     fi
16963   fi
16964 fi
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16966 $as_echo "$cross_compiling" >&6; }
16967
16968 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16969 ac_clean_files=$ac_clean_files_save
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16971 $as_echo_n "checking for suffix of object files... " >&6; }
16972 if ${ac_cv_objext+:} false; then :
16973   $as_echo_n "(cached) " >&6
16974 else
16975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16976 /* end confdefs.h.  */
16977
16978 int
16979 main ()
16980 {
16981
16982   ;
16983   return 0;
16984 }
16985 _ACEOF
16986 rm -f conftest.o conftest.obj
16987 if { { ac_try="$ac_compile"
16988 case "(($ac_try" in
16989   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16990   *) ac_try_echo=$ac_try;;
16991 esac
16992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16993 $as_echo "$ac_try_echo"; } >&5
16994   (eval "$ac_compile") 2>&5
16995   ac_status=$?
16996   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16997   test $ac_status = 0; }; then :
16998   for ac_file in conftest.o conftest.obj conftest.*; do
16999   test -f "$ac_file" || continue;
17000   case $ac_file in
17001     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
17002     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17003        break;;
17004   esac
17005 done
17006 else
17007   $as_echo "$as_me: failed program was:" >&5
17008 sed 's/^/| /' conftest.$ac_ext >&5
17009
17010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17012 as_fn_error $? "cannot compute suffix of object files: cannot compile
17013 See \`config.log' for more details" "$LINENO" 5; }
17014 fi
17015 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17016 fi
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
17018 $as_echo "$ac_cv_objext" >&6; }
17019 OBJEXT=$ac_cv_objext
17020 ac_objext=$OBJEXT
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
17022 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
17023 if ${ac_cv_c_compiler_gnu+:} false; then :
17024   $as_echo_n "(cached) " >&6
17025 else
17026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17027 /* end confdefs.h.  */
17028
17029 int
17030 main ()
17031 {
17032 #ifndef __GNUC__
17033        choke me
17034 #endif
17035
17036   ;
17037   return 0;
17038 }
17039 _ACEOF
17040 if ac_fn_c_try_compile "$LINENO"; then :
17041   ac_compiler_gnu=yes
17042 else
17043   ac_compiler_gnu=no
17044 fi
17045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17046 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17047
17048 fi
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17050 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
17051 if test $ac_compiler_gnu = yes; then
17052   GCC=yes
17053 else
17054   GCC=
17055 fi
17056 ac_test_CFLAGS=${CFLAGS+set}
17057 ac_save_CFLAGS=$CFLAGS
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17059 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17060 if ${ac_cv_prog_cc_g+:} false; then :
17061   $as_echo_n "(cached) " >&6
17062 else
17063   ac_save_c_werror_flag=$ac_c_werror_flag
17064    ac_c_werror_flag=yes
17065    ac_cv_prog_cc_g=no
17066    CFLAGS="-g"
17067    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17068 /* end confdefs.h.  */
17069
17070 int
17071 main ()
17072 {
17073
17074   ;
17075   return 0;
17076 }
17077 _ACEOF
17078 if ac_fn_c_try_compile "$LINENO"; then :
17079   ac_cv_prog_cc_g=yes
17080 else
17081   CFLAGS=""
17082       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17083 /* end confdefs.h.  */
17084
17085 int
17086 main ()
17087 {
17088
17089   ;
17090   return 0;
17091 }
17092 _ACEOF
17093 if ac_fn_c_try_compile "$LINENO"; then :
17094
17095 else
17096   ac_c_werror_flag=$ac_save_c_werror_flag
17097          CFLAGS="-g"
17098          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h.  */
17100
17101 int
17102 main ()
17103 {
17104
17105   ;
17106   return 0;
17107 }
17108 _ACEOF
17109 if ac_fn_c_try_compile "$LINENO"; then :
17110   ac_cv_prog_cc_g=yes
17111 fi
17112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17113 fi
17114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17115 fi
17116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17117    ac_c_werror_flag=$ac_save_c_werror_flag
17118 fi
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17120 $as_echo "$ac_cv_prog_cc_g" >&6; }
17121 if test "$ac_test_CFLAGS" = set; then
17122   CFLAGS=$ac_save_CFLAGS
17123 elif test $ac_cv_prog_cc_g = yes; then
17124   if test "$GCC" = yes; then
17125     CFLAGS="-g -O2"
17126   else
17127     CFLAGS="-g"
17128   fi
17129 else
17130   if test "$GCC" = yes; then
17131     CFLAGS="-O2"
17132   else
17133     CFLAGS=
17134   fi
17135 fi
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17137 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17138 if ${ac_cv_prog_cc_c89+:} false; then :
17139   $as_echo_n "(cached) " >&6
17140 else
17141   ac_cv_prog_cc_c89=no
17142 ac_save_CC=$CC
17143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h.  */
17145 #include <stdarg.h>
17146 #include <stdio.h>
17147 struct stat;
17148 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
17149 struct buf { int x; };
17150 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17151 static char *e (p, i)
17152      char **p;
17153      int i;
17154 {
17155   return p[i];
17156 }
17157 static char *f (char * (*g) (char **, int), char **p, ...)
17158 {
17159   char *s;
17160   va_list v;
17161   va_start (v,p);
17162   s = g (p, va_arg (v,int));
17163   va_end (v);
17164   return s;
17165 }
17166
17167 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
17168    function prototypes and stuff, but not '\xHH' hex character constants.
17169    These don't provoke an error unfortunately, instead are silently treated
17170    as 'x'.  The following induces an error, until -std is added to get
17171    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
17172    array size at least.  It's necessary to write '\x00'==0 to get something
17173    that's true only with -std.  */
17174 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17175
17176 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17177    inside strings and character constants.  */
17178 #define FOO(x) 'x'
17179 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17180
17181 int test (int i, double x);
17182 struct s1 {int (*f) (int a);};
17183 struct s2 {int (*f) (double a);};
17184 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17185 int argc;
17186 char **argv;
17187 int
17188 main ()
17189 {
17190 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
17191   ;
17192   return 0;
17193 }
17194 _ACEOF
17195 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17196         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17197 do
17198   CC="$ac_save_CC $ac_arg"
17199   if ac_fn_c_try_compile "$LINENO"; then :
17200   ac_cv_prog_cc_c89=$ac_arg
17201 fi
17202 rm -f core conftest.err conftest.$ac_objext
17203   test "x$ac_cv_prog_cc_c89" != "xno" && break
17204 done
17205 rm -f conftest.$ac_ext
17206 CC=$ac_save_CC
17207
17208 fi
17209 # AC_CACHE_VAL
17210 case "x$ac_cv_prog_cc_c89" in
17211   x)
17212     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17213 $as_echo "none needed" >&6; } ;;
17214   xno)
17215     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17216 $as_echo "unsupported" >&6; } ;;
17217   *)
17218     CC="$CC $ac_cv_prog_cc_c89"
17219     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17220 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17221 esac
17222 if test "x$ac_cv_prog_cc_c89" != xno; then :
17223
17224 fi
17225
17226 ac_ext=c
17227 ac_cpp='$CPP $CPPFLAGS'
17228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17231
17232
17233
17234
17235
17236
17237
17238
17239     ac_ext=c
17240 ac_cpp='$CPP $CPPFLAGS'
17241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17244
17245     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17246 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17247 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17248   $as_echo_n "(cached) " >&6
17249 else
17250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17251 /* end confdefs.h.  */
17252
17253 int
17254 main ()
17255 {
17256
17257              #ifndef __INTEL_COMPILER
17258                 choke me
17259              #endif
17260
17261   ;
17262   return 0;
17263 }
17264 _ACEOF
17265 if ac_fn_c_try_compile "$LINENO"; then :
17266   bakefile_cv_c_compiler___INTEL_COMPILER=yes
17267 else
17268   bakefile_cv_c_compiler___INTEL_COMPILER=no
17269
17270 fi
17271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17272
17273
17274 fi
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17276 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17277     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17278         :; INTELCC=yes
17279     else
17280         :;
17281     fi
17282     ac_ext=c
17283 ac_cpp='$CPP $CPPFLAGS'
17284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17287
17288
17289
17290
17291         if test "$INTELCC" = "yes"; then
17292
17293
17294     ac_ext=c
17295 ac_cpp='$CPP $CPPFLAGS'
17296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17299
17300     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17301 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17302 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17303   $as_echo_n "(cached) " >&6
17304 else
17305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h.  */
17307
17308 int
17309 main ()
17310 {
17311
17312              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17313                 choke me
17314              #endif
17315
17316   ;
17317   return 0;
17318 }
17319 _ACEOF
17320 if ac_fn_c_try_compile "$LINENO"; then :
17321   bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17322 else
17323   bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17324
17325 fi
17326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17327
17328
17329 fi
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17331 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17332     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17333         :; INTELCC8=yes
17334     else
17335         :;
17336     fi
17337     ac_ext=c
17338 ac_cpp='$CPP $CPPFLAGS'
17339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17342
17343
17344
17345
17346
17347     ac_ext=c
17348 ac_cpp='$CPP $CPPFLAGS'
17349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17352
17353     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17354 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17355 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17356   $as_echo_n "(cached) " >&6
17357 else
17358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17359 /* end confdefs.h.  */
17360
17361 int
17362 main ()
17363 {
17364
17365              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17366                 choke me
17367              #endif
17368
17369   ;
17370   return 0;
17371 }
17372 _ACEOF
17373 if ac_fn_c_try_compile "$LINENO"; then :
17374   bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17375 else
17376   bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17377
17378 fi
17379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17380
17381
17382 fi
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17384 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17385     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17386         :; INTELCC10=yes
17387     else
17388         :;
17389     fi
17390     ac_ext=c
17391 ac_cpp='$CPP $CPPFLAGS'
17392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17395
17396
17397
17398     fi
17399
17400         if test "x$GCC" != "xyes"; then
17401         if test "xCC" = "xC"; then
17402             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17403 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17404 if ${bakefile_cv_c_exto+:} false; then :
17405   $as_echo_n "(cached) " >&6
17406 else
17407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h.  */
17409
17410 int
17411 main ()
17412 {
17413
17414   ;
17415   return 0;
17416 }
17417 _ACEOF
17418 rm -f conftest.$ac_objext conftest.$ac_ext.o
17419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17420   (eval $ac_compile) 2>&5
17421   ac_status=$?
17422   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17423   test $ac_status = 0; }; then :
17424   for ac_file in `(ls conftest.* 2>/dev/null)`; do
17425     case $ac_file in
17426         conftest.$ac_ext.o)
17427             bakefile_cv_c_exto="-ext o"
17428             ;;
17429         *)
17430             ;;
17431     esac
17432 done
17433 else
17434   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17436 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17437 See \`config.log' for more details" "$LINENO" 5; }
17438
17439 fi
17440 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17441
17442 fi
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17444 $as_echo "$bakefile_cv_c_exto" >&6; }
17445 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17446     if test "c" = "c"; then
17447         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17448     fi
17449     if test "c" = "cxx"; then
17450         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17451     fi
17452 fi
17453
17454             if test "x$bakefile_cv_c_exto" '!=' "x"; then
17455                 unset ac_cv_prog_cc_g
17456                 ac_test_CFLAGS=${CFLAGS+set}
17457 ac_save_CFLAGS=$CFLAGS
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17459 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17460 if ${ac_cv_prog_cc_g+:} false; then :
17461   $as_echo_n "(cached) " >&6
17462 else
17463   ac_save_c_werror_flag=$ac_c_werror_flag
17464    ac_c_werror_flag=yes
17465    ac_cv_prog_cc_g=no
17466    CFLAGS="-g"
17467    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17468 /* end confdefs.h.  */
17469
17470 int
17471 main ()
17472 {
17473
17474   ;
17475   return 0;
17476 }
17477 _ACEOF
17478 if ac_fn_c_try_compile "$LINENO"; then :
17479   ac_cv_prog_cc_g=yes
17480 else
17481   CFLAGS=""
17482       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17483 /* end confdefs.h.  */
17484
17485 int
17486 main ()
17487 {
17488
17489   ;
17490   return 0;
17491 }
17492 _ACEOF
17493 if ac_fn_c_try_compile "$LINENO"; then :
17494
17495 else
17496   ac_c_werror_flag=$ac_save_c_werror_flag
17497          CFLAGS="-g"
17498          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h.  */
17500
17501 int
17502 main ()
17503 {
17504
17505   ;
17506   return 0;
17507 }
17508 _ACEOF
17509 if ac_fn_c_try_compile "$LINENO"; then :
17510   ac_cv_prog_cc_g=yes
17511 fi
17512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17513 fi
17514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17515 fi
17516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17517    ac_c_werror_flag=$ac_save_c_werror_flag
17518 fi
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17520 $as_echo "$ac_cv_prog_cc_g" >&6; }
17521 if test "$ac_test_CFLAGS" = set; then
17522   CFLAGS=$ac_save_CFLAGS
17523 elif test $ac_cv_prog_cc_g = yes; then
17524   if test "$GCC" = yes; then
17525     CFLAGS="-g -O2"
17526   else
17527     CFLAGS="-g"
17528   fi
17529 else
17530   if test "$GCC" = yes; then
17531     CFLAGS="-O2"
17532   else
17533     CFLAGS=
17534   fi
17535 fi
17536             fi
17537         fi
17538
17539                         case `uname -s` in
17540             AIX*)
17541
17542
17543     ac_ext=c
17544 ac_cpp='$CPP $CPPFLAGS'
17545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17548
17549     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17550 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17551 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17552   $as_echo_n "(cached) " >&6
17553 else
17554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h.  */
17556
17557 int
17558 main ()
17559 {
17560
17561              #ifndef __xlC__
17562                 choke me
17563              #endif
17564
17565   ;
17566   return 0;
17567 }
17568 _ACEOF
17569 if ac_fn_c_try_compile "$LINENO"; then :
17570   bakefile_cv_c_compiler___xlC__=yes
17571 else
17572   bakefile_cv_c_compiler___xlC__=no
17573
17574 fi
17575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17576
17577
17578 fi
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17580 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17581     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17582         :; XLCC=yes
17583     else
17584         :;
17585     fi
17586     ac_ext=c
17587 ac_cpp='$CPP $CPPFLAGS'
17588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17591
17592
17593
17594                 ;;
17595
17596             Darwin)
17597
17598
17599     ac_ext=c
17600 ac_cpp='$CPP $CPPFLAGS'
17601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17604
17605     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17606 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17607 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17608   $as_echo_n "(cached) " >&6
17609 else
17610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17611 /* end confdefs.h.  */
17612
17613 int
17614 main ()
17615 {
17616
17617              #ifndef __MWERKS__
17618                 choke me
17619              #endif
17620
17621   ;
17622   return 0;
17623 }
17624 _ACEOF
17625 if ac_fn_c_try_compile "$LINENO"; then :
17626   bakefile_cv_c_compiler___MWERKS__=yes
17627 else
17628   bakefile_cv_c_compiler___MWERKS__=no
17629
17630 fi
17631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17632
17633
17634 fi
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17636 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17637     if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17638         :; MWCC=yes
17639     else
17640         :;
17641     fi
17642     ac_ext=c
17643 ac_cpp='$CPP $CPPFLAGS'
17644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17647
17648
17649
17650                 if test "$MWCC" != "yes"; then
17651
17652
17653     ac_ext=c
17654 ac_cpp='$CPP $CPPFLAGS'
17655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17658
17659     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17660 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17661 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17662   $as_echo_n "(cached) " >&6
17663 else
17664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17665 /* end confdefs.h.  */
17666
17667 int
17668 main ()
17669 {
17670
17671              #ifndef __xlC__
17672                 choke me
17673              #endif
17674
17675   ;
17676   return 0;
17677 }
17678 _ACEOF
17679 if ac_fn_c_try_compile "$LINENO"; then :
17680   bakefile_cv_c_compiler___xlC__=yes
17681 else
17682   bakefile_cv_c_compiler___xlC__=no
17683
17684 fi
17685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17686
17687
17688 fi
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17690 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17691     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17692         :; XLCC=yes
17693     else
17694         :;
17695     fi
17696     ac_ext=c
17697 ac_cpp='$CPP $CPPFLAGS'
17698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17701
17702
17703
17704                 fi
17705                 ;;
17706
17707             IRIX*)
17708
17709
17710     ac_ext=c
17711 ac_cpp='$CPP $CPPFLAGS'
17712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17715
17716     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17717 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17718 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17719   $as_echo_n "(cached) " >&6
17720 else
17721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17722 /* end confdefs.h.  */
17723
17724 int
17725 main ()
17726 {
17727
17728              #ifndef _SGI_COMPILER_VERSION
17729                 choke me
17730              #endif
17731
17732   ;
17733   return 0;
17734 }
17735 _ACEOF
17736 if ac_fn_c_try_compile "$LINENO"; then :
17737   bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17738 else
17739   bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17740
17741 fi
17742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17743
17744
17745 fi
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17747 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17748     if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17749         :; SGICC=yes
17750     else
17751         :;
17752     fi
17753     ac_ext=c
17754 ac_cpp='$CPP $CPPFLAGS'
17755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17758
17759
17760
17761                 ;;
17762
17763             Linux*)
17764                                                 if test "$INTELCC" != "yes"; then
17765
17766
17767     ac_ext=c
17768 ac_cpp='$CPP $CPPFLAGS'
17769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17772
17773     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17774 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17775 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17776   $as_echo_n "(cached) " >&6
17777 else
17778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17779 /* end confdefs.h.  */
17780
17781 int
17782 main ()
17783 {
17784
17785              #ifndef __SUNPRO_C
17786                 choke me
17787              #endif
17788
17789   ;
17790   return 0;
17791 }
17792 _ACEOF
17793 if ac_fn_c_try_compile "$LINENO"; then :
17794   bakefile_cv_c_compiler___SUNPRO_C=yes
17795 else
17796   bakefile_cv_c_compiler___SUNPRO_C=no
17797
17798 fi
17799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17800
17801
17802 fi
17803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17804 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17805     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17806         :; SUNCC=yes
17807     else
17808         :;
17809     fi
17810     ac_ext=c
17811 ac_cpp='$CPP $CPPFLAGS'
17812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17815
17816
17817
17818                 fi
17819                 ;;
17820
17821             HP-UX*)
17822
17823
17824     ac_ext=c
17825 ac_cpp='$CPP $CPPFLAGS'
17826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17829
17830     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17831 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17832 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17833   $as_echo_n "(cached) " >&6
17834 else
17835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17836 /* end confdefs.h.  */
17837
17838 int
17839 main ()
17840 {
17841
17842              #ifndef __HP_cc
17843                 choke me
17844              #endif
17845
17846   ;
17847   return 0;
17848 }
17849 _ACEOF
17850 if ac_fn_c_try_compile "$LINENO"; then :
17851   bakefile_cv_c_compiler___HP_cc=yes
17852 else
17853   bakefile_cv_c_compiler___HP_cc=no
17854
17855 fi
17856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17857
17858
17859 fi
17860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17861 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17862     if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17863         :; HPCC=yes
17864     else
17865         :;
17866     fi
17867     ac_ext=c
17868 ac_cpp='$CPP $CPPFLAGS'
17869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17872
17873
17874
17875                 ;;
17876
17877             OSF1)
17878
17879
17880     ac_ext=c
17881 ac_cpp='$CPP $CPPFLAGS'
17882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17885
17886     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17887 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17888 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17889   $as_echo_n "(cached) " >&6
17890 else
17891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h.  */
17893
17894 int
17895 main ()
17896 {
17897
17898              #ifndef __DECC
17899                 choke me
17900              #endif
17901
17902   ;
17903   return 0;
17904 }
17905 _ACEOF
17906 if ac_fn_c_try_compile "$LINENO"; then :
17907   bakefile_cv_c_compiler___DECC=yes
17908 else
17909   bakefile_cv_c_compiler___DECC=no
17910
17911 fi
17912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17913
17914
17915 fi
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17917 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17918     if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17919         :; COMPAQCC=yes
17920     else
17921         :;
17922     fi
17923     ac_ext=c
17924 ac_cpp='$CPP $CPPFLAGS'
17925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17928
17929
17930
17931                 ;;
17932
17933             SunOS)
17934
17935
17936     ac_ext=c
17937 ac_cpp='$CPP $CPPFLAGS'
17938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17941
17942     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17943 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17944 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17945   $as_echo_n "(cached) " >&6
17946 else
17947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17948 /* end confdefs.h.  */
17949
17950 int
17951 main ()
17952 {
17953
17954              #ifndef __SUNPRO_C
17955                 choke me
17956              #endif
17957
17958   ;
17959   return 0;
17960 }
17961 _ACEOF
17962 if ac_fn_c_try_compile "$LINENO"; then :
17963   bakefile_cv_c_compiler___SUNPRO_C=yes
17964 else
17965   bakefile_cv_c_compiler___SUNPRO_C=no
17966
17967 fi
17968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17969
17970
17971 fi
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17973 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17974     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17975         :; SUNCC=yes
17976     else
17977         :;
17978     fi
17979     ac_ext=c
17980 ac_cpp='$CPP $CPPFLAGS'
17981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17984
17985
17986
17987                 ;;
17988         esac
17989     fi
17990
17991
17992
17993 ac_ext=c
17994 ac_cpp='$CPP $CPPFLAGS'
17995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17999 $as_echo_n "checking how to run the C preprocessor... " >&6; }
18000 # On Suns, sometimes $CPP names a directory.
18001 if test -n "$CPP" && test -d "$CPP"; then
18002   CPP=
18003 fi
18004 if test -z "$CPP"; then
18005   if ${ac_cv_prog_CPP+:} false; then :
18006   $as_echo_n "(cached) " >&6
18007 else
18008       # Double quotes because CPP needs to be expanded
18009     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18010     do
18011       ac_preproc_ok=false
18012 for ac_c_preproc_warn_flag in '' yes
18013 do
18014   # Use a header file that comes with gcc, so configuring glibc
18015   # with a fresh cross-compiler works.
18016   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18017   # <limits.h> exists even on freestanding compilers.
18018   # On the NeXT, cc -E runs the code through the compiler's parser,
18019   # not just through cpp. "Syntax error" is here to catch this case.
18020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18021 /* end confdefs.h.  */
18022 #ifdef __STDC__
18023 # include <limits.h>
18024 #else
18025 # include <assert.h>
18026 #endif
18027                      Syntax error
18028 _ACEOF
18029 if ac_fn_c_try_cpp "$LINENO"; then :
18030
18031 else
18032   # Broken: fails on valid input.
18033 continue
18034 fi
18035 rm -f conftest.err conftest.i conftest.$ac_ext
18036
18037   # OK, works on sane cases.  Now check whether nonexistent headers
18038   # can be detected and how.
18039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18040 /* end confdefs.h.  */
18041 #include <ac_nonexistent.h>
18042 _ACEOF
18043 if ac_fn_c_try_cpp "$LINENO"; then :
18044   # Broken: success on invalid input.
18045 continue
18046 else
18047   # Passes both tests.
18048 ac_preproc_ok=:
18049 break
18050 fi
18051 rm -f conftest.err conftest.i conftest.$ac_ext
18052
18053 done
18054 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18055 rm -f conftest.i conftest.err conftest.$ac_ext
18056 if $ac_preproc_ok; then :
18057   break
18058 fi
18059
18060     done
18061     ac_cv_prog_CPP=$CPP
18062
18063 fi
18064   CPP=$ac_cv_prog_CPP
18065 else
18066   ac_cv_prog_CPP=$CPP
18067 fi
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
18069 $as_echo "$CPP" >&6; }
18070 ac_preproc_ok=false
18071 for ac_c_preproc_warn_flag in '' yes
18072 do
18073   # Use a header file that comes with gcc, so configuring glibc
18074   # with a fresh cross-compiler works.
18075   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18076   # <limits.h> exists even on freestanding compilers.
18077   # On the NeXT, cc -E runs the code through the compiler's parser,
18078   # not just through cpp. "Syntax error" is here to catch this case.
18079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18080 /* end confdefs.h.  */
18081 #ifdef __STDC__
18082 # include <limits.h>
18083 #else
18084 # include <assert.h>
18085 #endif
18086                      Syntax error
18087 _ACEOF
18088 if ac_fn_c_try_cpp "$LINENO"; then :
18089
18090 else
18091   # Broken: fails on valid input.
18092 continue
18093 fi
18094 rm -f conftest.err conftest.i conftest.$ac_ext
18095
18096   # OK, works on sane cases.  Now check whether nonexistent headers
18097   # can be detected and how.
18098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18099 /* end confdefs.h.  */
18100 #include <ac_nonexistent.h>
18101 _ACEOF
18102 if ac_fn_c_try_cpp "$LINENO"; then :
18103   # Broken: success on invalid input.
18104 continue
18105 else
18106   # Passes both tests.
18107 ac_preproc_ok=:
18108 break
18109 fi
18110 rm -f conftest.err conftest.i conftest.$ac_ext
18111
18112 done
18113 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18114 rm -f conftest.i conftest.err conftest.$ac_ext
18115 if $ac_preproc_ok; then :
18116
18117 else
18118   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18120 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
18121 See \`config.log' for more details" "$LINENO" 5; }
18122 fi
18123
18124 ac_ext=c
18125 ac_cpp='$CPP $CPPFLAGS'
18126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18129
18130
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
18132 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
18133 if ${ac_cv_path_GREP+:} false; then :
18134   $as_echo_n "(cached) " >&6
18135 else
18136   if test -z "$GREP"; then
18137   ac_path_GREP_found=false
18138   # Loop through the user's path and test for each of PROGNAME-LIST
18139   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18140 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18141 do
18142   IFS=$as_save_IFS
18143   test -z "$as_dir" && as_dir=.
18144     for ac_prog in grep ggrep; do
18145     for ac_exec_ext in '' $ac_executable_extensions; do
18146       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18147       as_fn_executable_p "$ac_path_GREP" || continue
18148 # Check for GNU ac_path_GREP and select it if it is found.
18149   # Check for GNU $ac_path_GREP
18150 case `"$ac_path_GREP" --version 2>&1` in
18151 *GNU*)
18152   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18153 *)
18154   ac_count=0
18155   $as_echo_n 0123456789 >"conftest.in"
18156   while :
18157   do
18158     cat "conftest.in" "conftest.in" >"conftest.tmp"
18159     mv "conftest.tmp" "conftest.in"
18160     cp "conftest.in" "conftest.nl"
18161     $as_echo 'GREP' >> "conftest.nl"
18162     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18163     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18164     as_fn_arith $ac_count + 1 && ac_count=$as_val
18165     if test $ac_count -gt ${ac_path_GREP_max-0}; then
18166       # Best one so far, save it but keep looking for a better one
18167       ac_cv_path_GREP="$ac_path_GREP"
18168       ac_path_GREP_max=$ac_count
18169     fi
18170     # 10*(2^10) chars as input seems more than enough
18171     test $ac_count -gt 10 && break
18172   done
18173   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18174 esac
18175
18176       $ac_path_GREP_found && break 3
18177     done
18178   done
18179   done
18180 IFS=$as_save_IFS
18181   if test -z "$ac_cv_path_GREP"; then
18182     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18183   fi
18184 else
18185   ac_cv_path_GREP=$GREP
18186 fi
18187
18188 fi
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18190 $as_echo "$ac_cv_path_GREP" >&6; }
18191  GREP="$ac_cv_path_GREP"
18192
18193
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18195 $as_echo_n "checking for egrep... " >&6; }
18196 if ${ac_cv_path_EGREP+:} false; then :
18197   $as_echo_n "(cached) " >&6
18198 else
18199   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18200    then ac_cv_path_EGREP="$GREP -E"
18201    else
18202      if test -z "$EGREP"; then
18203   ac_path_EGREP_found=false
18204   # Loop through the user's path and test for each of PROGNAME-LIST
18205   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18206 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18207 do
18208   IFS=$as_save_IFS
18209   test -z "$as_dir" && as_dir=.
18210     for ac_prog in egrep; do
18211     for ac_exec_ext in '' $ac_executable_extensions; do
18212       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18213       as_fn_executable_p "$ac_path_EGREP" || continue
18214 # Check for GNU ac_path_EGREP and select it if it is found.
18215   # Check for GNU $ac_path_EGREP
18216 case `"$ac_path_EGREP" --version 2>&1` in
18217 *GNU*)
18218   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18219 *)
18220   ac_count=0
18221   $as_echo_n 0123456789 >"conftest.in"
18222   while :
18223   do
18224     cat "conftest.in" "conftest.in" >"conftest.tmp"
18225     mv "conftest.tmp" "conftest.in"
18226     cp "conftest.in" "conftest.nl"
18227     $as_echo 'EGREP' >> "conftest.nl"
18228     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18229     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18230     as_fn_arith $ac_count + 1 && ac_count=$as_val
18231     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18232       # Best one so far, save it but keep looking for a better one
18233       ac_cv_path_EGREP="$ac_path_EGREP"
18234       ac_path_EGREP_max=$ac_count
18235     fi
18236     # 10*(2^10) chars as input seems more than enough
18237     test $ac_count -gt 10 && break
18238   done
18239   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18240 esac
18241
18242       $ac_path_EGREP_found && break 3
18243     done
18244   done
18245   done
18246 IFS=$as_save_IFS
18247   if test -z "$ac_cv_path_EGREP"; then
18248     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18249   fi
18250 else
18251   ac_cv_path_EGREP=$EGREP
18252 fi
18253
18254    fi
18255 fi
18256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18257 $as_echo "$ac_cv_path_EGREP" >&6; }
18258  EGREP="$ac_cv_path_EGREP"
18259
18260
18261 if test $ac_cv_c_compiler_gnu = yes; then
18262     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18263 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18264 if ${ac_cv_prog_gcc_traditional+:} false; then :
18265   $as_echo_n "(cached) " >&6
18266 else
18267     ac_pattern="Autoconf.*'x'"
18268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h.  */
18270 #include <sgtty.h>
18271 Autoconf TIOCGETP
18272 _ACEOF
18273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18274   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18275   ac_cv_prog_gcc_traditional=yes
18276 else
18277   ac_cv_prog_gcc_traditional=no
18278 fi
18279 rm -f conftest*
18280
18281
18282   if test $ac_cv_prog_gcc_traditional = no; then
18283     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18284 /* end confdefs.h.  */
18285 #include <termio.h>
18286 Autoconf TCGETA
18287 _ACEOF
18288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18289   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18290   ac_cv_prog_gcc_traditional=yes
18291 fi
18292 rm -f conftest*
18293
18294   fi
18295 fi
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18297 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18298   if test $ac_cv_prog_gcc_traditional = yes; then
18299     CC="$CC -traditional"
18300   fi
18301 fi
18302
18303
18304 CXXFLAGS=${CXXFLAGS:=}
18305 ac_ext=cpp
18306 ac_cpp='$CXXCPP $CPPFLAGS'
18307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18310 if test -z "$CXX"; then
18311   if test -n "$CCC"; then
18312     CXX=$CCC
18313   else
18314     if test -n "$ac_tool_prefix"; then
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_tool_prefix$ac_prog", so it can be a program name with args.
18318 set dummy $ac_tool_prefix$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_CXX+:} false; then :
18322   $as_echo_n "(cached) " >&6
18323 else
18324   if test -n "$CXX"; then
18325   ac_cv_prog_CXX="$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_CXX="$ac_tool_prefix$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 CXX=$ac_cv_prog_CXX
18345 if test -n "$CXX"; then
18346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18347 $as_echo "$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 "$CXX" && break
18355   done
18356 fi
18357 if test -z "$CXX"; then
18358   ac_ct_CXX=$CXX
18359   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18360 do
18361   # Extract the first word of "$ac_prog", so it can be a program name with args.
18362 set dummy $ac_prog; ac_word=$2
18363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18364 $as_echo_n "checking for $ac_word... " >&6; }
18365 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18366   $as_echo_n "(cached) " >&6
18367 else
18368   if test -n "$ac_ct_CXX"; then
18369   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18370 else
18371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18372 for as_dir in $PATH
18373 do
18374   IFS=$as_save_IFS
18375   test -z "$as_dir" && as_dir=.
18376     for ac_exec_ext in '' $ac_executable_extensions; do
18377   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18378     ac_cv_prog_ac_ct_CXX="$ac_prog"
18379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18380     break 2
18381   fi
18382 done
18383   done
18384 IFS=$as_save_IFS
18385
18386 fi
18387 fi
18388 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18389 if test -n "$ac_ct_CXX"; then
18390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18391 $as_echo "$ac_ct_CXX" >&6; }
18392 else
18393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18394 $as_echo "no" >&6; }
18395 fi
18396
18397
18398   test -n "$ac_ct_CXX" && break
18399 done
18400
18401   if test "x$ac_ct_CXX" = x; then
18402     CXX="g++"
18403   else
18404     case $cross_compiling:$ac_tool_warned in
18405 yes:)
18406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18408 ac_tool_warned=yes ;;
18409 esac
18410     CXX=$ac_ct_CXX
18411   fi
18412 fi
18413
18414   fi
18415 fi
18416 # Provide some information about the compiler.
18417 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18418 set X $ac_compile
18419 ac_compiler=$2
18420 for ac_option in --version -v -V -qversion; do
18421   { { ac_try="$ac_compiler $ac_option >&5"
18422 case "(($ac_try" in
18423   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18424   *) ac_try_echo=$ac_try;;
18425 esac
18426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18427 $as_echo "$ac_try_echo"; } >&5
18428   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18429   ac_status=$?
18430   if test -s conftest.err; then
18431     sed '10a\
18432 ... rest of stderr output deleted ...
18433          10q' conftest.err >conftest.er1
18434     cat conftest.er1 >&5
18435   fi
18436   rm -f conftest.er1 conftest.err
18437   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18438   test $ac_status = 0; }
18439 done
18440
18441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18442 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18443 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18444   $as_echo_n "(cached) " >&6
18445 else
18446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18447 /* end confdefs.h.  */
18448
18449 int
18450 main ()
18451 {
18452 #ifndef __GNUC__
18453        choke me
18454 #endif
18455
18456   ;
18457   return 0;
18458 }
18459 _ACEOF
18460 if ac_fn_cxx_try_compile "$LINENO"; then :
18461   ac_compiler_gnu=yes
18462 else
18463   ac_compiler_gnu=no
18464 fi
18465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18466 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18467
18468 fi
18469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18470 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18471 if test $ac_compiler_gnu = yes; then
18472   GXX=yes
18473 else
18474   GXX=
18475 fi
18476 ac_test_CXXFLAGS=${CXXFLAGS+set}
18477 ac_save_CXXFLAGS=$CXXFLAGS
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18479 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18480 if ${ac_cv_prog_cxx_g+:} false; then :
18481   $as_echo_n "(cached) " >&6
18482 else
18483   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18484    ac_cxx_werror_flag=yes
18485    ac_cv_prog_cxx_g=no
18486    CXXFLAGS="-g"
18487    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18488 /* end confdefs.h.  */
18489
18490 int
18491 main ()
18492 {
18493
18494   ;
18495   return 0;
18496 }
18497 _ACEOF
18498 if ac_fn_cxx_try_compile "$LINENO"; then :
18499   ac_cv_prog_cxx_g=yes
18500 else
18501   CXXFLAGS=""
18502       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18503 /* end confdefs.h.  */
18504
18505 int
18506 main ()
18507 {
18508
18509   ;
18510   return 0;
18511 }
18512 _ACEOF
18513 if ac_fn_cxx_try_compile "$LINENO"; then :
18514
18515 else
18516   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18517          CXXFLAGS="-g"
18518          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18519 /* end confdefs.h.  */
18520
18521 int
18522 main ()
18523 {
18524
18525   ;
18526   return 0;
18527 }
18528 _ACEOF
18529 if ac_fn_cxx_try_compile "$LINENO"; then :
18530   ac_cv_prog_cxx_g=yes
18531 fi
18532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18533 fi
18534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18535 fi
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18537    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18538 fi
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18540 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18541 if test "$ac_test_CXXFLAGS" = set; then
18542   CXXFLAGS=$ac_save_CXXFLAGS
18543 elif test $ac_cv_prog_cxx_g = yes; then
18544   if test "$GXX" = yes; then
18545     CXXFLAGS="-g -O2"
18546   else
18547     CXXFLAGS="-g"
18548   fi
18549 else
18550   if test "$GXX" = yes; then
18551     CXXFLAGS="-O2"
18552   else
18553     CXXFLAGS=
18554   fi
18555 fi
18556 ac_ext=c
18557 ac_cpp='$CPP $CPPFLAGS'
18558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18561
18562
18563
18564
18565
18566
18567
18568
18569     ac_ext=cpp
18570 ac_cpp='$CXXCPP $CPPFLAGS'
18571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18574
18575     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18576 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18577 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18578   $as_echo_n "(cached) " >&6
18579 else
18580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18581 /* end confdefs.h.  */
18582
18583 int
18584 main ()
18585 {
18586
18587              #ifndef __INTEL_COMPILER
18588                 choke me
18589              #endif
18590
18591   ;
18592   return 0;
18593 }
18594 _ACEOF
18595 if ac_fn_cxx_try_compile "$LINENO"; then :
18596   bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18597 else
18598   bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18599
18600 fi
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18602
18603
18604 fi
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18606 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18607     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18608         :; INTELCXX=yes
18609     else
18610         :;
18611     fi
18612     ac_ext=c
18613 ac_cpp='$CPP $CPPFLAGS'
18614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18617
18618
18619
18620
18621         if test "$INTELCXX" = "yes"; then
18622
18623
18624     ac_ext=cpp
18625 ac_cpp='$CXXCPP $CPPFLAGS'
18626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18629
18630     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18631 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18632 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18633   $as_echo_n "(cached) " >&6
18634 else
18635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18636 /* end confdefs.h.  */
18637
18638 int
18639 main ()
18640 {
18641
18642              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18643                 choke me
18644              #endif
18645
18646   ;
18647   return 0;
18648 }
18649 _ACEOF
18650 if ac_fn_cxx_try_compile "$LINENO"; then :
18651   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18652 else
18653   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18654
18655 fi
18656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18657
18658
18659 fi
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18661 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18662     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18663         :; INTELCXX8=yes
18664     else
18665         :;
18666     fi
18667     ac_ext=c
18668 ac_cpp='$CPP $CPPFLAGS'
18669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18672
18673
18674
18675
18676
18677     ac_ext=cpp
18678 ac_cpp='$CXXCPP $CPPFLAGS'
18679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18682
18683     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18684 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18685 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18686   $as_echo_n "(cached) " >&6
18687 else
18688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18689 /* end confdefs.h.  */
18690
18691 int
18692 main ()
18693 {
18694
18695              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18696                 choke me
18697              #endif
18698
18699   ;
18700   return 0;
18701 }
18702 _ACEOF
18703 if ac_fn_cxx_try_compile "$LINENO"; then :
18704   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18705 else
18706   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18707
18708 fi
18709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18710
18711
18712 fi
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18714 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18715     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18716         :; INTELCXX10=yes
18717     else
18718         :;
18719     fi
18720     ac_ext=c
18721 ac_cpp='$CPP $CPPFLAGS'
18722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18725
18726
18727
18728     fi
18729
18730         if test "x$GCXX" != "xyes"; then
18731         if test "xCXX" = "xC"; then
18732             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18733 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18734 if ${bakefile_cv_c_exto+:} false; then :
18735   $as_echo_n "(cached) " >&6
18736 else
18737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18738 /* end confdefs.h.  */
18739
18740 int
18741 main ()
18742 {
18743
18744   ;
18745   return 0;
18746 }
18747 _ACEOF
18748 rm -f conftest.$ac_objext conftest.$ac_ext.o
18749 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18750   (eval $ac_compile) 2>&5
18751   ac_status=$?
18752   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18753   test $ac_status = 0; }; then :
18754   for ac_file in `(ls conftest.* 2>/dev/null)`; do
18755     case $ac_file in
18756         conftest.$ac_ext.o)
18757             bakefile_cv_c_exto="-ext o"
18758             ;;
18759         *)
18760             ;;
18761     esac
18762 done
18763 else
18764   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18766 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18767 See \`config.log' for more details" "$LINENO" 5; }
18768
18769 fi
18770 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18771
18772 fi
18773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18774 $as_echo "$bakefile_cv_c_exto" >&6; }
18775 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18776     if test "c" = "c"; then
18777         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18778     fi
18779     if test "c" = "cxx"; then
18780         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18781     fi
18782 fi
18783
18784             if test "x$bakefile_cv_c_exto" '!=' "x"; then
18785                 unset ac_cv_prog_cc_g
18786                 ac_test_CFLAGS=${CFLAGS+set}
18787 ac_save_CFLAGS=$CFLAGS
18788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18789 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18790 if ${ac_cv_prog_cc_g+:} false; then :
18791   $as_echo_n "(cached) " >&6
18792 else
18793   ac_save_c_werror_flag=$ac_c_werror_flag
18794    ac_c_werror_flag=yes
18795    ac_cv_prog_cc_g=no
18796    CFLAGS="-g"
18797    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18798 /* end confdefs.h.  */
18799
18800 int
18801 main ()
18802 {
18803
18804   ;
18805   return 0;
18806 }
18807 _ACEOF
18808 if ac_fn_c_try_compile "$LINENO"; then :
18809   ac_cv_prog_cc_g=yes
18810 else
18811   CFLAGS=""
18812       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18813 /* end confdefs.h.  */
18814
18815 int
18816 main ()
18817 {
18818
18819   ;
18820   return 0;
18821 }
18822 _ACEOF
18823 if ac_fn_c_try_compile "$LINENO"; then :
18824
18825 else
18826   ac_c_werror_flag=$ac_save_c_werror_flag
18827          CFLAGS="-g"
18828          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18829 /* end confdefs.h.  */
18830
18831 int
18832 main ()
18833 {
18834
18835   ;
18836   return 0;
18837 }
18838 _ACEOF
18839 if ac_fn_c_try_compile "$LINENO"; then :
18840   ac_cv_prog_cc_g=yes
18841 fi
18842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18843 fi
18844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18845 fi
18846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18847    ac_c_werror_flag=$ac_save_c_werror_flag
18848 fi
18849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18850 $as_echo "$ac_cv_prog_cc_g" >&6; }
18851 if test "$ac_test_CFLAGS" = set; then
18852   CFLAGS=$ac_save_CFLAGS
18853 elif test $ac_cv_prog_cc_g = yes; then
18854   if test "$GCC" = yes; then
18855     CFLAGS="-g -O2"
18856   else
18857     CFLAGS="-g"
18858   fi
18859 else
18860   if test "$GCC" = yes; then
18861     CFLAGS="-O2"
18862   else
18863     CFLAGS=
18864   fi
18865 fi
18866             fi
18867         fi
18868
18869                         case `uname -s` in
18870             AIX*)
18871
18872
18873     ac_ext=cpp
18874 ac_cpp='$CXXCPP $CPPFLAGS'
18875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18878
18879     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18880 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18881 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18882   $as_echo_n "(cached) " >&6
18883 else
18884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18885 /* end confdefs.h.  */
18886
18887 int
18888 main ()
18889 {
18890
18891              #ifndef __xlC__
18892                 choke me
18893              #endif
18894
18895   ;
18896   return 0;
18897 }
18898 _ACEOF
18899 if ac_fn_cxx_try_compile "$LINENO"; then :
18900   bakefile_cv_cxx_compiler___xlC__=yes
18901 else
18902   bakefile_cv_cxx_compiler___xlC__=no
18903
18904 fi
18905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18906
18907
18908 fi
18909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18910 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18911     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18912         :; XLCXX=yes
18913     else
18914         :;
18915     fi
18916     ac_ext=c
18917 ac_cpp='$CPP $CPPFLAGS'
18918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18921
18922
18923
18924                 ;;
18925
18926             Darwin)
18927
18928
18929     ac_ext=cpp
18930 ac_cpp='$CXXCPP $CPPFLAGS'
18931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18934
18935     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18936 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18937 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18938   $as_echo_n "(cached) " >&6
18939 else
18940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18941 /* end confdefs.h.  */
18942
18943 int
18944 main ()
18945 {
18946
18947              #ifndef __MWERKS__
18948                 choke me
18949              #endif
18950
18951   ;
18952   return 0;
18953 }
18954 _ACEOF
18955 if ac_fn_cxx_try_compile "$LINENO"; then :
18956   bakefile_cv_cxx_compiler___MWERKS__=yes
18957 else
18958   bakefile_cv_cxx_compiler___MWERKS__=no
18959
18960 fi
18961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18962
18963
18964 fi
18965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18966 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18967     if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18968         :; MWCXX=yes
18969     else
18970         :;
18971     fi
18972     ac_ext=c
18973 ac_cpp='$CPP $CPPFLAGS'
18974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18977
18978
18979
18980                 if test "$MWCXX" != "yes"; then
18981
18982
18983     ac_ext=cpp
18984 ac_cpp='$CXXCPP $CPPFLAGS'
18985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18988
18989     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18990 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18991 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18992   $as_echo_n "(cached) " >&6
18993 else
18994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18995 /* end confdefs.h.  */
18996
18997 int
18998 main ()
18999 {
19000
19001              #ifndef __xlC__
19002                 choke me
19003              #endif
19004
19005   ;
19006   return 0;
19007 }
19008 _ACEOF
19009 if ac_fn_cxx_try_compile "$LINENO"; then :
19010   bakefile_cv_cxx_compiler___xlC__=yes
19011 else
19012   bakefile_cv_cxx_compiler___xlC__=no
19013
19014 fi
19015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19016
19017
19018 fi
19019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19020 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
19021     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19022         :; XLCXX=yes
19023     else
19024         :;
19025     fi
19026     ac_ext=c
19027 ac_cpp='$CPP $CPPFLAGS'
19028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19031
19032
19033
19034                 fi
19035                 ;;
19036
19037             IRIX*)
19038
19039
19040     ac_ext=cpp
19041 ac_cpp='$CXXCPP $CPPFLAGS'
19042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19045
19046     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
19047 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
19048 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
19049   $as_echo_n "(cached) " >&6
19050 else
19051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19052 /* end confdefs.h.  */
19053
19054 int
19055 main ()
19056 {
19057
19058              #ifndef _SGI_COMPILER_VERSION
19059                 choke me
19060              #endif
19061
19062   ;
19063   return 0;
19064 }
19065 _ACEOF
19066 if ac_fn_cxx_try_compile "$LINENO"; then :
19067   bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19068 else
19069   bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19070
19071 fi
19072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19073
19074
19075 fi
19076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19077 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19078     if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19079         :; SGICXX=yes
19080     else
19081         :;
19082     fi
19083     ac_ext=c
19084 ac_cpp='$CPP $CPPFLAGS'
19085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19088
19089
19090
19091                 ;;
19092
19093             Linux*)
19094                                                 if test "$INTELCXX" != "yes"; then
19095
19096
19097     ac_ext=cpp
19098 ac_cpp='$CXXCPP $CPPFLAGS'
19099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19102
19103     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19104 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19105 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19106   $as_echo_n "(cached) " >&6
19107 else
19108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19109 /* end confdefs.h.  */
19110
19111 int
19112 main ()
19113 {
19114
19115              #ifndef __SUNPRO_CC
19116                 choke me
19117              #endif
19118
19119   ;
19120   return 0;
19121 }
19122 _ACEOF
19123 if ac_fn_cxx_try_compile "$LINENO"; then :
19124   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19125 else
19126   bakefile_cv_cxx_compiler___SUNPRO_CC=no
19127
19128 fi
19129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19130
19131
19132 fi
19133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19134 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19135     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19136         :; SUNCXX=yes
19137     else
19138         :;
19139     fi
19140     ac_ext=c
19141 ac_cpp='$CPP $CPPFLAGS'
19142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19145
19146
19147
19148                 fi
19149                 ;;
19150
19151             HP-UX*)
19152
19153
19154     ac_ext=cpp
19155 ac_cpp='$CXXCPP $CPPFLAGS'
19156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19159
19160     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
19161 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
19162 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
19163   $as_echo_n "(cached) " >&6
19164 else
19165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19166 /* end confdefs.h.  */
19167
19168 int
19169 main ()
19170 {
19171
19172              #ifndef __HP_aCC
19173                 choke me
19174              #endif
19175
19176   ;
19177   return 0;
19178 }
19179 _ACEOF
19180 if ac_fn_cxx_try_compile "$LINENO"; then :
19181   bakefile_cv_cxx_compiler___HP_aCC=yes
19182 else
19183   bakefile_cv_cxx_compiler___HP_aCC=no
19184
19185 fi
19186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19187
19188
19189 fi
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19191 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19192     if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19193         :; HPCXX=yes
19194     else
19195         :;
19196     fi
19197     ac_ext=c
19198 ac_cpp='$CPP $CPPFLAGS'
19199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19202
19203
19204
19205                 ;;
19206
19207             OSF1)
19208
19209
19210     ac_ext=cpp
19211 ac_cpp='$CXXCPP $CPPFLAGS'
19212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19215
19216     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19217 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19218 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19219   $as_echo_n "(cached) " >&6
19220 else
19221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19222 /* end confdefs.h.  */
19223
19224 int
19225 main ()
19226 {
19227
19228              #ifndef __DECCXX
19229                 choke me
19230              #endif
19231
19232   ;
19233   return 0;
19234 }
19235 _ACEOF
19236 if ac_fn_cxx_try_compile "$LINENO"; then :
19237   bakefile_cv_cxx_compiler___DECCXX=yes
19238 else
19239   bakefile_cv_cxx_compiler___DECCXX=no
19240
19241 fi
19242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19243
19244
19245 fi
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19247 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19248     if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19249         :; COMPAQCXX=yes
19250     else
19251         :;
19252     fi
19253     ac_ext=c
19254 ac_cpp='$CPP $CPPFLAGS'
19255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19258
19259
19260
19261                 ;;
19262
19263             SunOS)
19264
19265
19266     ac_ext=cpp
19267 ac_cpp='$CXXCPP $CPPFLAGS'
19268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19271
19272     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19273 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19274 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19275   $as_echo_n "(cached) " >&6
19276 else
19277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19278 /* end confdefs.h.  */
19279
19280 int
19281 main ()
19282 {
19283
19284              #ifndef __SUNPRO_CC
19285                 choke me
19286              #endif
19287
19288   ;
19289   return 0;
19290 }
19291 _ACEOF
19292 if ac_fn_cxx_try_compile "$LINENO"; then :
19293   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19294 else
19295   bakefile_cv_cxx_compiler___SUNPRO_CC=no
19296
19297 fi
19298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19299
19300
19301 fi
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19303 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19304     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19305         :; SUNCXX=yes
19306     else
19307         :;
19308     fi
19309     ac_ext=c
19310 ac_cpp='$CPP $CPPFLAGS'
19311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19314
19315
19316
19317                 ;;
19318         esac
19319     fi
19320
19321
19322
19323 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19324     as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19325 fi
19326
19327 if test "x$SUNCXX" != xyes; then
19328     if test -n "$ac_tool_prefix"; then
19329   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19330 set dummy ${ac_tool_prefix}ar; ac_word=$2
19331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19332 $as_echo_n "checking for $ac_word... " >&6; }
19333 if ${ac_cv_prog_AR+:} false; then :
19334   $as_echo_n "(cached) " >&6
19335 else
19336   if test -n "$AR"; then
19337   ac_cv_prog_AR="$AR" # Let the user override the test.
19338 else
19339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19340 for as_dir in $PATH
19341 do
19342   IFS=$as_save_IFS
19343   test -z "$as_dir" && as_dir=.
19344     for ac_exec_ext in '' $ac_executable_extensions; do
19345   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19346     ac_cv_prog_AR="${ac_tool_prefix}ar"
19347     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19348     break 2
19349   fi
19350 done
19351   done
19352 IFS=$as_save_IFS
19353
19354 fi
19355 fi
19356 AR=$ac_cv_prog_AR
19357 if test -n "$AR"; then
19358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19359 $as_echo "$AR" >&6; }
19360 else
19361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19362 $as_echo "no" >&6; }
19363 fi
19364
19365
19366 fi
19367 if test -z "$ac_cv_prog_AR"; then
19368   ac_ct_AR=$AR
19369   # Extract the first word of "ar", so it can be a program name with args.
19370 set dummy ar; ac_word=$2
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19372 $as_echo_n "checking for $ac_word... " >&6; }
19373 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19374   $as_echo_n "(cached) " >&6
19375 else
19376   if test -n "$ac_ct_AR"; then
19377   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19378 else
19379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19380 for as_dir in $PATH
19381 do
19382   IFS=$as_save_IFS
19383   test -z "$as_dir" && as_dir=.
19384     for ac_exec_ext in '' $ac_executable_extensions; do
19385   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19386     ac_cv_prog_ac_ct_AR="ar"
19387     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19388     break 2
19389   fi
19390 done
19391   done
19392 IFS=$as_save_IFS
19393
19394 fi
19395 fi
19396 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19397 if test -n "$ac_ct_AR"; then
19398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19399 $as_echo "$ac_ct_AR" >&6; }
19400 else
19401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19402 $as_echo "no" >&6; }
19403 fi
19404
19405   if test "x$ac_ct_AR" = x; then
19406     AR=""
19407   else
19408     case $cross_compiling:$ac_tool_warned in
19409 yes:)
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19412 ac_tool_warned=yes ;;
19413 esac
19414     AR=$ac_ct_AR
19415   fi
19416 else
19417   AR="$ac_cv_prog_AR"
19418 fi
19419
19420     if test "x$AR" = "x" ; then
19421         as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19422     fi
19423 fi
19424
19425
19426 if test "$wxUSE_MAC" = 1; then
19427
19428 retest_macosx_linking=no
19429
19430 OSX_ARCH_OPTS=""
19431
19432 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19433     if test "x$wxUSE_MAC_ARCH" != xno; then
19434         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19435 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19436     fi
19437
19438     if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19439         OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19440     else         OSX_ARCH_OPTS="ppc,i386"
19441         if test "$wxUSE_OSX_COCOA" = 1; then
19442             OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19443         fi
19444     fi
19445
19446     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19447 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19448     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19449 $as_echo "$OSX_ARCH_OPTS" >&6; }
19450
19451                                                         retest_macosx_linking=yes
19452 else
19453     if test "x$wxUSE_MAC_ARCH" != xno; then
19454         OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19455     fi
19456 fi
19457
19458 if test "x$OSX_ARCH_OPTS" != "x"; then
19459         if echo $OSX_ARCH_OPTS | grep -q ","; then
19460         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19461 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19462         disable_macosx_deps=yes
19463
19464                                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19465 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19466         bk_use_pch=no
19467     fi
19468
19469     OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19470
19471     CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19472     CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19473     OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19474     OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19475     LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19476 fi
19477
19478 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19479     wxUSE_MACOSX_SDK=
19480 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19481     # TODO: Search for most recent SDK and use it.
19482     wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19483 fi
19484
19485
19486 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19487     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19488 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19489     if ! test -d "$wxUSE_MACOSX_SDK"; then
19490         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19492 as_fn_error $? "not found
19493 See \`config.log' for more details" "$LINENO" 5; }
19494     else
19495         { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19496 $as_echo "exists" >&6; }
19497     fi
19498         MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19499     retest_macosx_linking=yes
19500             fi
19501
19502 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19503     wxUSE_MACOSX_VERSION_MIN=
19504 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19505     if test "x$wxUSE_MACOSX_SDK" != "x"; then
19506         { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19507 $as_echo_n "checking SDK deployment version... " >&6; }
19508
19509         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/'`
19510
19511         # If that failed, try again with the new key
19512         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19513
19514             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/'`
19515
19516         fi
19517
19518         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19519             wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19520             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19521 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19522         else
19523             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19524 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19525             wxUSE_MACOSX_VERSION_MIN=
19526         fi
19527     else
19528         wxUSE_MACOSX_VERSION_MIN=
19529     fi
19530 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19531     wxUSE_MACOSX_VERSION_MIN=10.5
19532 fi
19533
19534 if test "x$MACOSX_SDK_OPTS" != "x"; then
19535     eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19536     eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19537     eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19538     retest_macosx_linking=yes
19539 fi
19540
19541 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19542     if test "$wxUSE_OSX_IPHONE" = 1; then
19543         MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19544     else
19545         MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19546     fi
19547     eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19548     eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19549     eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19550     retest_macosx_linking=yes
19551 fi
19552
19553 if test "x$retest_macosx_linking" = "xyes"; then
19554     ac_ext=c
19555 ac_cpp='$CPP $CPPFLAGS'
19556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19559
19560     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19561 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19562     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19563 /* end confdefs.h.  */
19564
19565 int
19566 main ()
19567 {
19568
19569   ;
19570   return 0;
19571 }
19572 _ACEOF
19573 if ac_fn_c_try_link "$LINENO"; then :
19574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19575 $as_echo "yes" >&6; }
19576 else
19577   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19579 as_fn_error $? "no.  Try a different SDK
19580 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19581 fi
19582 rm -f core conftest.err conftest.$ac_objext \
19583     conftest$ac_exeext conftest.$ac_ext
19584     ac_ext=c
19585 ac_cpp='$CPP $CPPFLAGS'
19586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19589
19590
19591     ac_ext=cpp
19592 ac_cpp='$CXXCPP $CPPFLAGS'
19593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19596
19597     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19598 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19599     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19600 /* end confdefs.h.  */
19601
19602 int
19603 main ()
19604 {
19605
19606   ;
19607   return 0;
19608 }
19609 _ACEOF
19610 if ac_fn_cxx_try_link "$LINENO"; then :
19611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19612 $as_echo "yes" >&6; }
19613 else
19614   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19616 as_fn_error $? "no.  Try a different SDK
19617 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19618 fi
19619 rm -f core conftest.err conftest.$ac_objext \
19620     conftest$ac_exeext conftest.$ac_ext
19621     ac_ext=c
19622 ac_cpp='$CPP $CPPFLAGS'
19623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19626
19627 fi
19628
19629 fi
19630 case "${host}" in
19631
19632                 *-*-darwin* )
19633         INSTALL_PROGRAM="cp -fp"
19634         INSTALL_DATA="cp -fp"
19635         ;;
19636     *)
19637         ;;
19638 esac
19639
19640
19641 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19642                     $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19643
19644
19645             GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19646     CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19647 fi
19648
19649 if test "x$USE_AIX" = "x1"; then
19650             if test "x$XLCXX" = "xyes"; then
19651         CXXFLAGS="-qunique $CXXFLAGS"
19652     fi
19653
19654                                 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19655 fi
19656
19657 case "${host}" in
19658   powerpc-*-darwin* )
19659     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19660 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19661     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19662 /* end confdefs.h.  */
19663
19664 int
19665 main ()
19666 {
19667 #ifndef __POWERPC__
19668         choke me for lack of PowerPC
19669 #endif
19670
19671   ;
19672   return 0;
19673 }
19674 _ACEOF
19675 if ac_fn_c_try_compile "$LINENO"; then :
19676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19677 $as_echo "yes" >&6; }
19678 else
19679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19680 $as_echo "no" >&6; }
19681         $as_echo "#define __POWERPC__ 1" >>confdefs.h
19682
19683
19684 fi
19685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19686   ;;
19687 esac
19688
19689 case "${host}" in
19690   *-*-darwin* )
19691     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19692 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19693     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19694 /* end confdefs.h.  */
19695 #include <CoreFoundation/CFBase.h>
19696
19697 int
19698 main ()
19699 {
19700
19701   ;
19702   return 0;
19703 }
19704 _ACEOF
19705 if ac_fn_c_try_compile "$LINENO"; then :
19706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19707 $as_echo "yes" >&6; }
19708 else
19709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19710 $as_echo "no" >&6; }
19711         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19712 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19713         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19714 /* end confdefs.h.  */
19715 #define __CF_USE_FRAMEWORK_INCLUDES__
19716 #include <CoreFoundation/CFBase.h>
19717
19718 int
19719 main ()
19720 {
19721
19722   ;
19723   return 0;
19724 }
19725 _ACEOF
19726 if ac_fn_c_try_compile "$LINENO"; then :
19727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19728 $as_echo "yes" >&6; }
19729                         CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19730 else
19731   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19733 as_fn_error $? "no.  CoreFoundation not available.
19734 See \`config.log' for more details" "$LINENO" 5; }
19735
19736 fi
19737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19738
19739
19740 fi
19741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19742   ;;
19743 esac
19744
19745 wants_win32=0
19746 doesnt_want_win32=0
19747 case "${host}" in
19748   *-*-cygwin*)
19749       if test "$wxUSE_MSW" = 1 ; then
19750         wants_win32=1
19751       else
19752                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19753 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19754 if ${wx_cv_nocygwin+:} false; then :
19755   $as_echo_n "(cached) " >&6
19756 else
19757
19758                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19759 /* end confdefs.h.  */
19760
19761 int
19762 main ()
19763 {
19764
19765                         #ifdef __MINGW32__
19766                             choke me
19767                         #endif
19768
19769   ;
19770   return 0;
19771 }
19772 _ACEOF
19773 if ac_fn_c_try_compile "$LINENO"; then :
19774   wx_cv_nocygwin=no
19775 else
19776   wx_cv_nocygwin=yes
19777
19778 fi
19779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19780
19781
19782 fi
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19784 $as_echo "$wx_cv_nocygwin" >&6; }
19785
19786         if test "$wx_cv_nocygwin" = "yes"; then
19787             wants_win32=1
19788         else
19789             doesnt_want_win32=1
19790         fi
19791       fi
19792       if test "$wants_win32" = 1 ; then
19793         BAKEFILE_FORCE_PLATFORM=win32
19794       fi
19795   ;;
19796   *-*-mingw*)
19797       wants_win32=1
19798   ;;
19799 esac
19800
19801 if test "$wxUSE_WINE" = "yes"; then
19802     wants_win32=1
19803     LDFLAGS_GUI="-mwindows"
19804 fi
19805
19806 if test "$wants_win32" = 1 ; then
19807     USE_UNIX=0
19808     USE_WIN32=1
19809     $as_echo "#define __WIN32__ 1" >>confdefs.h
19810
19811     $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19812
19813     $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19814
19815     $as_echo "#define STRICT 1" >>confdefs.h
19816
19817 fi
19818 if test "$doesnt_want_win32" = 1 ; then
19819     USE_UNIX=1
19820     USE_WIN32=0
19821 fi
19822
19823 if test "$USE_UNIX" = 1 ; then
19824     wxUSE_UNIX=yes
19825     $as_echo "#define __UNIX__ 1" >>confdefs.h
19826
19827 fi
19828
19829 case "${host}" in
19830   *-pc-os2_emx | *-pc-os2-emx )
19831                                                       if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19832                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19833 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19834 if ${ac_cv_lib_cExt_drand48+:} false; then :
19835   $as_echo_n "(cached) " >&6
19836 else
19837   ac_check_lib_save_LIBS=$LIBS
19838 LIBS="-lcExt  $LIBS"
19839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19840 /* end confdefs.h.  */
19841
19842 /* Override any GCC internal prototype to avoid an error.
19843    Use char because int might match the return type of a GCC
19844    builtin and then its argument prototype would still apply.  */
19845 #ifdef __cplusplus
19846 extern "C"
19847 #endif
19848 char drand48 ();
19849 int
19850 main ()
19851 {
19852 return drand48 ();
19853   ;
19854   return 0;
19855 }
19856 _ACEOF
19857 if ac_fn_c_try_link "$LINENO"; then :
19858   ac_cv_lib_cExt_drand48=yes
19859 else
19860   ac_cv_lib_cExt_drand48=no
19861 fi
19862 rm -f core conftest.err conftest.$ac_objext \
19863     conftest$ac_exeext conftest.$ac_ext
19864 LIBS=$ac_check_lib_save_LIBS
19865 fi
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19867 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19868 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19869   LIBS="$LIBS -lcExt"
19870 fi
19871
19872       fi
19873                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19874 $as_echo_n "checking for gcc/libc version... " >&6; }
19875 if ${wx_cv_gccversion+:} false; then :
19876   $as_echo_n "(cached) " >&6
19877 else
19878
19879           if test "$cross_compiling" = yes; then :
19880                 wx_cv_gccversion="EMX2"
19881
19882 else
19883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19884 /* end confdefs.h.  */
19885
19886                   #include <stdio.h>
19887
19888                   int main()
19889                   {
19890                       FILE *f=fopen("conftestval", "w");
19891                       if (!f) exit(1);
19892                       fprintf(f,
19893                   #if (__GNUC__ < 3)
19894                               "EMX2"
19895                   #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19896                               "EMX3"
19897                   #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19898                               "Innotek5"
19899                   #else
19900                               "Innotek6"
19901                   #endif
19902                       );
19903                       exit(0);
19904                   }
19905
19906 _ACEOF
19907 if ac_fn_c_try_run "$LINENO"; then :
19908   wx_cv_gccversion=`cat conftestval`
19909 else
19910   wx_cv_gccversion="EMX2"
19911 fi
19912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19913   conftest.$ac_objext conftest.beam conftest.$ac_ext
19914 fi
19915
19916
19917 fi
19918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19919 $as_echo "$wx_cv_gccversion" >&6; }
19920       if test "$wx_cv_gccversion" = "EMX2"; then
19921           LIBS="$LIBS -lstdcpp"
19922           LDFLAGS="$LDFLAGS -Zsysv-signals"
19923       else
19924           if test "$wx_cv_gccversion" = "EMX3"; then
19925               LIBS="$LIBS -lstdcxx -lgcc"
19926               LDFLAGS="$LDFLAGS -Zsysv-signals"
19927           else
19928               LIBS="$LIBS -lstdc++"
19929           fi
19930       fi
19931       if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19932         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19933 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19934         wxUSE_OMF=yes
19935         enable_omf=yes
19936       fi
19937         ;;
19938   *)
19939
19940       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19941 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19942 if ${ac_cv_string_strcasecmp+:} false; then :
19943   $as_echo_n "(cached) " >&6
19944 else
19945
19946           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19947 /* end confdefs.h.  */
19948
19949               #include <string.h>
19950
19951 int
19952 main ()
19953 {
19954
19955                   strcasecmp("foo", "bar");
19956
19957   ;
19958   return 0;
19959 }
19960 _ACEOF
19961 if ac_fn_c_try_link "$LINENO"; then :
19962   ac_cv_string_strcasecmp=yes
19963 else
19964   ac_cv_string_strcasecmp=no
19965
19966 fi
19967 rm -f core conftest.err conftest.$ac_objext \
19968     conftest$ac_exeext conftest.$ac_ext
19969
19970 fi
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19972 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19973
19974       if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19975           $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19976
19977       else
19978           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19979 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19980 if ${ac_cv_strings_strcasecmp+:} false; then :
19981   $as_echo_n "(cached) " >&6
19982 else
19983
19984               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19985 /* end confdefs.h.  */
19986
19987                   #include <strings.h>
19988
19989 int
19990 main ()
19991 {
19992
19993                       strcasecmp("foo", "bar");
19994
19995   ;
19996   return 0;
19997 }
19998 _ACEOF
19999 if ac_fn_c_try_link "$LINENO"; then :
20000   ac_cv_strings_strcasecmp=yes
20001 else
20002   ac_cv_strings_strcasecmp=no
20003
20004 fi
20005 rm -f core conftest.err conftest.$ac_objext \
20006     conftest$ac_exeext conftest.$ac_ext
20007
20008 fi
20009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
20010 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
20011
20012           if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20013               $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
20014
20015           else
20016               as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
20017           fi
20018       fi
20019
20020         ;;
20021 esac
20022
20023
20024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
20025 $as_echo_n "checking for ANSI C header files... " >&6; }
20026 if ${ac_cv_header_stdc+:} false; then :
20027   $as_echo_n "(cached) " >&6
20028 else
20029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20030 /* end confdefs.h.  */
20031 #include <stdlib.h>
20032 #include <stdarg.h>
20033 #include <string.h>
20034 #include <float.h>
20035
20036 int
20037 main ()
20038 {
20039
20040   ;
20041   return 0;
20042 }
20043 _ACEOF
20044 if ac_fn_c_try_compile "$LINENO"; then :
20045   ac_cv_header_stdc=yes
20046 else
20047   ac_cv_header_stdc=no
20048 fi
20049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20050
20051 if test $ac_cv_header_stdc = yes; then
20052   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20054 /* end confdefs.h.  */
20055 #include <string.h>
20056
20057 _ACEOF
20058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20059   $EGREP "memchr" >/dev/null 2>&1; then :
20060
20061 else
20062   ac_cv_header_stdc=no
20063 fi
20064 rm -f conftest*
20065
20066 fi
20067
20068 if test $ac_cv_header_stdc = yes; then
20069   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20071 /* end confdefs.h.  */
20072 #include <stdlib.h>
20073
20074 _ACEOF
20075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20076   $EGREP "free" >/dev/null 2>&1; then :
20077
20078 else
20079   ac_cv_header_stdc=no
20080 fi
20081 rm -f conftest*
20082
20083 fi
20084
20085 if test $ac_cv_header_stdc = yes; then
20086   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20087   if test "$cross_compiling" = yes; then :
20088   :
20089 else
20090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20091 /* end confdefs.h.  */
20092 #include <ctype.h>
20093 #include <stdlib.h>
20094 #if ((' ' & 0x0FF) == 0x020)
20095 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20096 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20097 #else
20098 # define ISLOWER(c) \
20099                    (('a' <= (c) && (c) <= 'i') \
20100                      || ('j' <= (c) && (c) <= 'r') \
20101                      || ('s' <= (c) && (c) <= 'z'))
20102 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20103 #endif
20104
20105 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20106 int
20107 main ()
20108 {
20109   int i;
20110   for (i = 0; i < 256; i++)
20111     if (XOR (islower (i), ISLOWER (i))
20112         || toupper (i) != TOUPPER (i))
20113       return 2;
20114   return 0;
20115 }
20116 _ACEOF
20117 if ac_fn_c_try_run "$LINENO"; then :
20118
20119 else
20120   ac_cv_header_stdc=no
20121 fi
20122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20123   conftest.$ac_objext conftest.beam conftest.$ac_ext
20124 fi
20125
20126 fi
20127 fi
20128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20129 $as_echo "$ac_cv_header_stdc" >&6; }
20130 if test $ac_cv_header_stdc = yes; then
20131
20132 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20133
20134 fi
20135
20136 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20137 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20138                   inttypes.h stdint.h unistd.h
20139 do :
20140   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20141 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20142 "
20143 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20144   cat >>confdefs.h <<_ACEOF
20145 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20146 _ACEOF
20147
20148 fi
20149
20150 done
20151
20152
20153 for ac_header in langinfo.h wchar.h
20154 do :
20155   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20156 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20157 "
20158 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20159   cat >>confdefs.h <<_ACEOF
20160 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20161 _ACEOF
20162
20163 fi
20164
20165 done
20166
20167
20168 if test "$ac_cv_header_wchar_h" != "yes"; then
20169     for ac_header in wcstr.h
20170 do :
20171   ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20172 "
20173 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20174   cat >>confdefs.h <<_ACEOF
20175 #define HAVE_WCSTR_H 1
20176 _ACEOF
20177
20178 fi
20179
20180 done
20181
20182 fi
20183
20184 case "${host}" in
20185   *-pc-os2_emx | *-pc-os2-emx )
20186                   if test $ac_cv_header_langinfo_h = "yes" \
20187                 -a \(   "$wx_cv_gccversion" = "EMX2" \
20188                      -o "$wx_cv_gccversion" = "EMX3" \
20189                      -o "$wx_cv_gccversion" = "Innotek5" \); then
20190           LIBS="$LIBS -lintl"
20191       fi
20192   ;;
20193 esac
20194
20195 if test "$USE_UNIX" = 1 ; then
20196         for ac_header in sys/select.h
20197 do :
20198   ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20199 "
20200 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20201   cat >>confdefs.h <<_ACEOF
20202 #define HAVE_SYS_SELECT_H 1
20203 _ACEOF
20204
20205 fi
20206
20207 done
20208
20209
20210             ac_ext=cpp
20211 ac_cpp='$CXXCPP $CPPFLAGS'
20212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20215
20216     for ac_header in cxxabi.h
20217 do :
20218   ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20219 "
20220 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20221   cat >>confdefs.h <<_ACEOF
20222 #define HAVE_CXXABI_H 1
20223 _ACEOF
20224
20225 fi
20226
20227 done
20228
20229     ac_ext=c
20230 ac_cpp='$CPP $CPPFLAGS'
20231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20234
20235 fi
20236
20237
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20239 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20240 if ${ac_cv_c_const+:} false; then :
20241   $as_echo_n "(cached) " >&6
20242 else
20243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20244 /* end confdefs.h.  */
20245
20246 int
20247 main ()
20248 {
20249
20250 #ifndef __cplusplus
20251   /* Ultrix mips cc rejects this sort of thing.  */
20252   typedef int charset[2];
20253   const charset cs = { 0, 0 };
20254   /* SunOS 4.1.1 cc rejects this.  */
20255   char const *const *pcpcc;
20256   char **ppc;
20257   /* NEC SVR4.0.2 mips cc rejects this.  */
20258   struct point {int x, y;};
20259   static struct point const zero = {0,0};
20260   /* AIX XL C 1.02.0.0 rejects this.
20261      It does not let you subtract one const X* pointer from another in
20262      an arm of an if-expression whose if-part is not a constant
20263      expression */
20264   const char *g = "string";
20265   pcpcc = &g + (g ? g-g : 0);
20266   /* HPUX 7.0 cc rejects these. */
20267   ++pcpcc;
20268   ppc = (char**) pcpcc;
20269   pcpcc = (char const *const *) ppc;
20270   { /* SCO 3.2v4 cc rejects this sort of thing.  */
20271     char tx;
20272     char *t = &tx;
20273     char const *s = 0 ? (char *) 0 : (char const *) 0;
20274
20275     *t++ = 0;
20276     if (s) return 0;
20277   }
20278   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
20279     int x[] = {25, 17};
20280     const int *foo = &x[0];
20281     ++foo;
20282   }
20283   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20284     typedef const int *iptr;
20285     iptr p = 0;
20286     ++p;
20287   }
20288   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20289        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20290     struct s { int j; const int *ap[3]; } bx;
20291     struct s *b = &bx; b->j = 5;
20292   }
20293   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20294     const int foo = 10;
20295     if (!foo) return 0;
20296   }
20297   return !cs[0] && !zero.x;
20298 #endif
20299
20300   ;
20301   return 0;
20302 }
20303 _ACEOF
20304 if ac_fn_c_try_compile "$LINENO"; then :
20305   ac_cv_c_const=yes
20306 else
20307   ac_cv_c_const=no
20308 fi
20309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20310 fi
20311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20312 $as_echo "$ac_cv_c_const" >&6; }
20313 if test $ac_cv_c_const = no; then
20314
20315 $as_echo "#define const /**/" >>confdefs.h
20316
20317 fi
20318
20319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20320 $as_echo_n "checking for inline... " >&6; }
20321 if ${ac_cv_c_inline+:} false; then :
20322   $as_echo_n "(cached) " >&6
20323 else
20324   ac_cv_c_inline=no
20325 for ac_kw in inline __inline__ __inline; do
20326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20327 /* end confdefs.h.  */
20328 #ifndef __cplusplus
20329 typedef int foo_t;
20330 static $ac_kw foo_t static_foo () {return 0; }
20331 $ac_kw foo_t foo () {return 0; }
20332 #endif
20333
20334 _ACEOF
20335 if ac_fn_c_try_compile "$LINENO"; then :
20336   ac_cv_c_inline=$ac_kw
20337 fi
20338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20339   test "$ac_cv_c_inline" != no && break
20340 done
20341
20342 fi
20343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20344 $as_echo "$ac_cv_c_inline" >&6; }
20345
20346 case $ac_cv_c_inline in
20347   inline | yes) ;;
20348   *)
20349     case $ac_cv_c_inline in
20350       no) ac_val=;;
20351       *) ac_val=$ac_cv_c_inline;;
20352     esac
20353     cat >>confdefs.h <<_ACEOF
20354 #ifndef __cplusplus
20355 #define inline $ac_val
20356 #endif
20357 _ACEOF
20358     ;;
20359 esac
20360
20361
20362 # The cast to long int works around a bug in the HP C Compiler
20363 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20364 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20365 # This bug is HP SR number 8606223364.
20366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20367 $as_echo_n "checking size of short... " >&6; }
20368 if ${ac_cv_sizeof_short+:} false; then :
20369   $as_echo_n "(cached) " >&6
20370 else
20371   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
20372
20373 else
20374   if test "$ac_cv_type_short" = yes; then
20375      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20377 as_fn_error 77 "cannot compute sizeof (short)
20378 See \`config.log' for more details" "$LINENO" 5; }
20379    else
20380      ac_cv_sizeof_short=0
20381    fi
20382 fi
20383
20384 fi
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20386 $as_echo "$ac_cv_sizeof_short" >&6; }
20387
20388
20389
20390 cat >>confdefs.h <<_ACEOF
20391 #define SIZEOF_SHORT $ac_cv_sizeof_short
20392 _ACEOF
20393
20394
20395 # The cast to long int works around a bug in the HP C Compiler
20396 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20397 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20398 # This bug is HP SR number 8606223364.
20399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20400 $as_echo_n "checking size of void *... " >&6; }
20401 if ${ac_cv_sizeof_void_p+:} false; then :
20402   $as_echo_n "(cached) " >&6
20403 else
20404   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
20405
20406 else
20407   if test "$ac_cv_type_void_p" = yes; then
20408      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20410 as_fn_error 77 "cannot compute sizeof (void *)
20411 See \`config.log' for more details" "$LINENO" 5; }
20412    else
20413      ac_cv_sizeof_void_p=0
20414    fi
20415 fi
20416
20417 fi
20418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20419 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20420
20421
20422
20423 cat >>confdefs.h <<_ACEOF
20424 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20425 _ACEOF
20426
20427
20428 # The cast to long int works around a bug in the HP C Compiler
20429 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20430 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20431 # This bug is HP SR number 8606223364.
20432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20433 $as_echo_n "checking size of int... " >&6; }
20434 if ${ac_cv_sizeof_int+:} false; then :
20435   $as_echo_n "(cached) " >&6
20436 else
20437   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
20438
20439 else
20440   if test "$ac_cv_type_int" = yes; then
20441      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20443 as_fn_error 77 "cannot compute sizeof (int)
20444 See \`config.log' for more details" "$LINENO" 5; }
20445    else
20446      ac_cv_sizeof_int=0
20447    fi
20448 fi
20449
20450 fi
20451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20452 $as_echo "$ac_cv_sizeof_int" >&6; }
20453
20454
20455
20456 cat >>confdefs.h <<_ACEOF
20457 #define SIZEOF_INT $ac_cv_sizeof_int
20458 _ACEOF
20459
20460
20461 # The cast to long int works around a bug in the HP C Compiler
20462 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20463 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20464 # This bug is HP SR number 8606223364.
20465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20466 $as_echo_n "checking size of long... " >&6; }
20467 if ${ac_cv_sizeof_long+:} false; then :
20468   $as_echo_n "(cached) " >&6
20469 else
20470   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
20471
20472 else
20473   if test "$ac_cv_type_long" = yes; then
20474      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20476 as_fn_error 77 "cannot compute sizeof (long)
20477 See \`config.log' for more details" "$LINENO" 5; }
20478    else
20479      ac_cv_sizeof_long=0
20480    fi
20481 fi
20482
20483 fi
20484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20485 $as_echo "$ac_cv_sizeof_long" >&6; }
20486
20487
20488
20489 cat >>confdefs.h <<_ACEOF
20490 #define SIZEOF_LONG $ac_cv_sizeof_long
20491 _ACEOF
20492
20493
20494 # The cast to long int works around a bug in the HP C Compiler
20495 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20496 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20497 # This bug is HP SR number 8606223364.
20498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20499 $as_echo_n "checking size of size_t... " >&6; }
20500 if ${ac_cv_sizeof_size_t+:} false; then :
20501   $as_echo_n "(cached) " >&6
20502 else
20503   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
20504
20505 else
20506   if test "$ac_cv_type_size_t" = yes; then
20507      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20509 as_fn_error 77 "cannot compute sizeof (size_t)
20510 See \`config.log' for more details" "$LINENO" 5; }
20511    else
20512      ac_cv_sizeof_size_t=0
20513    fi
20514 fi
20515
20516 fi
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20518 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20519
20520
20521
20522 cat >>confdefs.h <<_ACEOF
20523 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20524 _ACEOF
20525
20526
20527
20528 case "${host}" in
20529     arm-*-linux* )
20530         # The cast to long int works around a bug in the HP C Compiler
20531 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20532 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20533 # This bug is HP SR number 8606223364.
20534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20535 $as_echo_n "checking size of long long... " >&6; }
20536 if ${ac_cv_sizeof_long_long+:} false; then :
20537   $as_echo_n "(cached) " >&6
20538 else
20539   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20540
20541 else
20542   if test "$ac_cv_type_long_long" = yes; then
20543      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20544 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20545 as_fn_error 77 "cannot compute sizeof (long long)
20546 See \`config.log' for more details" "$LINENO" 5; }
20547    else
20548      ac_cv_sizeof_long_long=0
20549    fi
20550 fi
20551
20552 fi
20553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20554 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20555
20556
20557
20558 cat >>confdefs.h <<_ACEOF
20559 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20560 _ACEOF
20561
20562
20563     ;;
20564     *-hp-hpux* )
20565         # The cast to long int works around a bug in the HP C Compiler
20566 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20567 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20568 # This bug is HP SR number 8606223364.
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20570 $as_echo_n "checking size of long long... " >&6; }
20571 if ${ac_cv_sizeof_long_long+:} false; then :
20572   $as_echo_n "(cached) " >&6
20573 else
20574   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20575
20576 else
20577   if test "$ac_cv_type_long_long" = yes; then
20578      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20580 as_fn_error 77 "cannot compute sizeof (long long)
20581 See \`config.log' for more details" "$LINENO" 5; }
20582    else
20583      ac_cv_sizeof_long_long=0
20584    fi
20585 fi
20586
20587 fi
20588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20589 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20590
20591
20592
20593 cat >>confdefs.h <<_ACEOF
20594 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20595 _ACEOF
20596
20597
20598         if test "$ac_cv_sizeof_long_long" != 0; then
20599                         CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20600         fi
20601     ;;
20602     * )
20603         # The cast to long int works around a bug in the HP C Compiler
20604 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20605 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20606 # This bug is HP SR number 8606223364.
20607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20608 $as_echo_n "checking size of long long... " >&6; }
20609 if ${ac_cv_sizeof_long_long+:} false; then :
20610   $as_echo_n "(cached) " >&6
20611 else
20612   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20613
20614 else
20615   if test "$ac_cv_type_long_long" = yes; then
20616      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20618 as_fn_error 77 "cannot compute sizeof (long long)
20619 See \`config.log' for more details" "$LINENO" 5; }
20620    else
20621      ac_cv_sizeof_long_long=0
20622    fi
20623 fi
20624
20625 fi
20626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20627 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20628
20629
20630
20631 cat >>confdefs.h <<_ACEOF
20632 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20633 _ACEOF
20634
20635
20636 esac
20637
20638 # The cast to long int works around a bug in the HP C Compiler
20639 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20640 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20641 # This bug is HP SR number 8606223364.
20642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20643 $as_echo_n "checking size of wchar_t... " >&6; }
20644 if ${ac_cv_sizeof_wchar_t+:} false; then :
20645   $as_echo_n "(cached) " >&6
20646 else
20647   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t"        "
20648         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20649         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20650         #  error \"fake wchar_t\"
20651         #endif
20652         #ifdef HAVE_WCHAR_H
20653         #  ifdef __CYGWIN__
20654         #    include <stddef.h>
20655         #  endif
20656         #  include <wchar.h>
20657         #endif
20658         #ifdef HAVE_STDLIB_H
20659         #  include <stdlib.h>
20660         #endif
20661         #include <stdio.h>
20662
20663
20664 "; then :
20665
20666 else
20667   if test "$ac_cv_type_wchar_t" = yes; then
20668      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20670 as_fn_error 77 "cannot compute sizeof (wchar_t)
20671 See \`config.log' for more details" "$LINENO" 5; }
20672    else
20673      ac_cv_sizeof_wchar_t=0
20674    fi
20675 fi
20676
20677 fi
20678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20679 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20680
20681
20682
20683 cat >>confdefs.h <<_ACEOF
20684 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20685 _ACEOF
20686
20687
20688 if test "$ac_cv_sizeof_wchar_t" = 0; then
20689     as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20690 fi
20691 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20692
20693
20694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20695 $as_echo_n "checking for va_copy... " >&6; }
20696 if ${wx_cv_func_va_copy+:} false; then :
20697   $as_echo_n "(cached) " >&6
20698 else
20699
20700         ac_ext=cpp
20701 ac_cpp='$CXXCPP $CPPFLAGS'
20702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20705
20706         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20707 /* end confdefs.h.  */
20708
20709
20710                 #include <stdarg.h>
20711                 void foo(char *f, ...)
20712                 {
20713                     va_list ap1, ap2;
20714                     va_start(ap1, f);
20715                     va_copy(ap2, ap1);
20716                     va_end(ap2);
20717                     va_end(ap1);
20718                 }
20719                 int main()
20720                 {
20721                     foo("hi", 17);
20722                     return 0;
20723                 }
20724
20725 _ACEOF
20726 if ac_fn_cxx_try_link "$LINENO"; then :
20727   wx_cv_func_va_copy=yes
20728 else
20729   wx_cv_func_va_copy=no
20730
20731 fi
20732 rm -f core conftest.err conftest.$ac_objext \
20733     conftest$ac_exeext conftest.$ac_ext
20734         ac_ext=c
20735 ac_cpp='$CPP $CPPFLAGS'
20736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20739
20740
20741
20742 fi
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20744 $as_echo "$wx_cv_func_va_copy" >&6; }
20745
20746 if test $wx_cv_func_va_copy = "yes"; then
20747     $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20748
20749 else
20750         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20751 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20752 if ${wx_cv_type_va_list_lvalue+:} false; then :
20753   $as_echo_n "(cached) " >&6
20754 else
20755
20756             if test "$cross_compiling" = yes; then :
20757                   wx_cv_type_va_list_lvalue=yes
20758
20759 else
20760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20761 /* end confdefs.h.  */
20762
20763
20764                     #include <stdarg.h>
20765                     int foo(char *f, ...)
20766                     {
20767                         va_list ap1, ap2;
20768                         va_start(ap1, f);
20769                         ap2 = ap1;
20770                         if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20771                             return 1;
20772                         va_end(ap2);
20773                         va_end(ap1);
20774                         return 0;
20775                     }
20776                     int main()
20777                     {
20778                         return foo("hi", 17);
20779                     }
20780
20781 _ACEOF
20782 if ac_fn_c_try_run "$LINENO"; then :
20783   wx_cv_type_va_list_lvalue=yes
20784 else
20785   wx_cv_type_va_list_lvalue=no
20786 fi
20787 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20788   conftest.$ac_objext conftest.beam conftest.$ac_ext
20789 fi
20790
20791
20792
20793 fi
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20795 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20796
20797     if test $wx_cv_type_va_list_lvalue != "yes"; then
20798                         $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20799
20800     fi
20801 fi
20802
20803 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20804
20805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20806 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20807 if ${wx_cv_have_variadic_macros+:} false; then :
20808   $as_echo_n "(cached) " >&6
20809 else
20810
20811                         ac_ext=cpp
20812 ac_cpp='$CXXCPP $CPPFLAGS'
20813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20816
20817         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20818 /* end confdefs.h.  */
20819
20820
20821                     #include <stdio.h>
20822                     #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20823
20824 int
20825 main ()
20826 {
20827
20828                     test("%s %d %p", "test", 1, 0);
20829
20830
20831   ;
20832   return 0;
20833 }
20834 _ACEOF
20835 if ac_fn_cxx_try_compile "$LINENO"; then :
20836   wx_cv_have_variadic_macros=yes
20837 else
20838   wx_cv_have_variadic_macros=no
20839
20840 fi
20841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20842         ac_ext=c
20843 ac_cpp='$CPP $CPPFLAGS'
20844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20847
20848
20849
20850 fi
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20852 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20853
20854 if test $wx_cv_have_variadic_macros = "yes"; then
20855     $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20856
20857 fi
20858
20859 else
20860     $as_echo "#define wxNO_VARIADIC_MACROS 1" >>confdefs.h
20861
20862 fi
20863
20864 LARGEFILE_CPPFLAGS=
20865 # Check whether --enable-largefile was given.
20866 if test "${enable_largefile+set}" = set; then :
20867   enableval=$enable_largefile;
20868 fi
20869
20870 if test "$enable_largefile" != no; then
20871             wx_largefile=no
20872
20873     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20874 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20875 if ${ac_cv_sys_file_offset_bits+:} false; then :
20876   $as_echo_n "(cached) " >&6
20877 else
20878
20879           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20880 /* end confdefs.h.  */
20881 #define _FILE_OFFSET_BITS 64
20882                           #include <sys/types.h>
20883 int
20884 main ()
20885 {
20886 typedef struct {
20887     unsigned int field: sizeof(off_t) == 8;
20888 } wxlf;
20889
20890   ;
20891   return 0;
20892 }
20893 _ACEOF
20894 if ac_fn_c_try_compile "$LINENO"; then :
20895   ac_cv_sys_file_offset_bits=64
20896 else
20897   ac_cv_sys_file_offset_bits=no
20898 fi
20899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20900
20901
20902 fi
20903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20904 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20905
20906     if test "$ac_cv_sys_file_offset_bits" != no; then
20907         wx_largefile=yes
20908         cat >>confdefs.h <<_ACEOF
20909 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20910 _ACEOF
20911
20912     fi
20913
20914     if test "x$wx_largefile" != "xyes"; then
20915
20916     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20917 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20918 if ${ac_cv_sys_large_files+:} false; then :
20919   $as_echo_n "(cached) " >&6
20920 else
20921
20922           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20923 /* end confdefs.h.  */
20924 #define _LARGE_FILES 1
20925                           #include <sys/types.h>
20926 int
20927 main ()
20928 {
20929 typedef struct {
20930     unsigned int field: sizeof(off_t) == 8;
20931 } wxlf;
20932
20933   ;
20934   return 0;
20935 }
20936 _ACEOF
20937 if ac_fn_c_try_compile "$LINENO"; then :
20938   ac_cv_sys_large_files=1
20939 else
20940   ac_cv_sys_large_files=no
20941 fi
20942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20943
20944
20945 fi
20946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20947 $as_echo "$ac_cv_sys_large_files" >&6; }
20948
20949     if test "$ac_cv_sys_large_files" != no; then
20950         wx_largefile=yes
20951         cat >>confdefs.h <<_ACEOF
20952 #define _LARGE_FILES $ac_cv_sys_large_files
20953 _ACEOF
20954
20955     fi
20956
20957     fi
20958
20959     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20960 $as_echo_n "checking if large file support is available... " >&6; }
20961     if test "x$wx_largefile" = "xyes"; then
20962         $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20963
20964     fi
20965     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20966 $as_echo "$wx_largefile" >&6; }
20967 fi
20968
20969 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20970     LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20971 elif test "$ac_cv_sys_large_files" = 1; then
20972     LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20973 fi
20974
20975 if test -n "$LARGEFILE_CPPFLAGS"; then
20976     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20977
20978                             if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20979         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20980 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20981 if ${wx_cv_STDC_EXT_required+:} false; then :
20982   $as_echo_n "(cached) " >&6
20983 else
20984
20985                 ac_ext=cpp
20986 ac_cpp='$CXXCPP $CPPFLAGS'
20987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20990
20991                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20992 /* end confdefs.h.  */
20993
20994 int
20995 main ()
20996 {
20997
20998                         #ifndef __STDC_EXT__
20999                             choke me
21000                         #endif
21001
21002   ;
21003   return 0;
21004 }
21005 _ACEOF
21006 if ac_fn_cxx_try_compile "$LINENO"; then :
21007   wx_cv_STDC_EXT_required=no
21008 else
21009   wx_cv_STDC_EXT_required=yes
21010
21011 fi
21012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21013                 ac_ext=c
21014 ac_cpp='$CPP $CPPFLAGS'
21015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21018
21019
21020
21021 fi
21022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
21023 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
21024         if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21025             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21026         fi
21027     fi
21028 fi
21029
21030 ac_ext=cpp
21031 ac_cpp='$CXXCPP $CPPFLAGS'
21032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21035
21036 old_CPPFLAGS="$CPPFLAGS"
21037 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
21038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21039 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
21040 if ${ac_cv_sys_largefile_source+:} false; then :
21041   $as_echo_n "(cached) " >&6
21042 else
21043   while :; do
21044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21045 /* end confdefs.h.  */
21046 #include <sys/types.h> /* for off_t */
21047      #include <stdio.h>
21048 int
21049 main ()
21050 {
21051 int (*fp) (FILE *, off_t, int) = fseeko;
21052      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21053   ;
21054   return 0;
21055 }
21056 _ACEOF
21057 if ac_fn_cxx_try_link "$LINENO"; then :
21058   ac_cv_sys_largefile_source=no; break
21059 fi
21060 rm -f core conftest.err conftest.$ac_objext \
21061     conftest$ac_exeext conftest.$ac_ext
21062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21063 /* end confdefs.h.  */
21064 #define _LARGEFILE_SOURCE 1
21065 #include <sys/types.h> /* for off_t */
21066      #include <stdio.h>
21067 int
21068 main ()
21069 {
21070 int (*fp) (FILE *, off_t, int) = fseeko;
21071      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21072   ;
21073   return 0;
21074 }
21075 _ACEOF
21076 if ac_fn_cxx_try_link "$LINENO"; then :
21077   ac_cv_sys_largefile_source=1; break
21078 fi
21079 rm -f core conftest.err conftest.$ac_objext \
21080     conftest$ac_exeext conftest.$ac_ext
21081   ac_cv_sys_largefile_source=unknown
21082   break
21083 done
21084 fi
21085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
21086 $as_echo "$ac_cv_sys_largefile_source" >&6; }
21087 case $ac_cv_sys_largefile_source in #(
21088   no | unknown) ;;
21089   *)
21090 cat >>confdefs.h <<_ACEOF
21091 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21092 _ACEOF
21093 ;;
21094 esac
21095 rm -rf conftest*
21096
21097 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21098 # in glibc 2.1.3, but that breaks too many other things.
21099 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21100 if test $ac_cv_sys_largefile_source != unknown; then
21101
21102 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
21103
21104 fi
21105
21106 CPPFLAGS="$old_CPPFLAGS"
21107 ac_ext=c
21108 ac_cpp='$CPP $CPPFLAGS'
21109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21112
21113 if test "$ac_cv_sys_largefile_source" != no; then
21114     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21115 fi
21116
21117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
21118 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
21119 if ${ac_cv_c_bigendian+:} false; then :
21120   $as_echo_n "(cached) " >&6
21121 else
21122   ac_cv_c_bigendian=unknown
21123 # See if sys/param.h defines the BYTE_ORDER macro.
21124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21125 /* end confdefs.h.  */
21126 #include <sys/types.h>
21127 #include <sys/param.h>
21128 int
21129 main ()
21130 {
21131
21132 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21133  bogus endian macros
21134 #endif
21135   ;
21136   return 0;
21137 }
21138 _ACEOF
21139 if ac_fn_c_try_compile "$LINENO"; then :
21140   # It does; now see whether it defined to BIG_ENDIAN or not.
21141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21142 /* end confdefs.h.  */
21143 #include <sys/types.h>
21144 #include <sys/param.h>
21145 int
21146 main ()
21147 {
21148
21149 #if BYTE_ORDER != BIG_ENDIAN
21150  not big endian
21151 #endif
21152   ;
21153   return 0;
21154 }
21155 _ACEOF
21156 if ac_fn_c_try_compile "$LINENO"; then :
21157   ac_cv_c_bigendian=yes
21158 else
21159   ac_cv_c_bigendian=no
21160 fi
21161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21162 fi
21163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21164 if test $ac_cv_c_bigendian = unknown; then
21165 if test "$cross_compiling" = yes; then :
21166   ac_cv_c_bigendian=unknown
21167 else
21168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21169 /* end confdefs.h.  */
21170 main () {
21171   /* Are we little or big endian?  From Harbison&Steele.  */
21172   union
21173   {
21174     long l;
21175     char c[sizeof (long)];
21176   } u;
21177   u.l = 1;
21178   exit (u.c[sizeof (long) - 1] == 1);
21179 }
21180 _ACEOF
21181 if ac_fn_c_try_run "$LINENO"; then :
21182   ac_cv_c_bigendian=no
21183 else
21184   ac_cv_c_bigendian=yes
21185 fi
21186 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21187   conftest.$ac_objext conftest.beam conftest.$ac_ext
21188 fi
21189
21190 fi
21191 fi
21192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21193 $as_echo "$ac_cv_c_bigendian" >&6; }
21194 if test $ac_cv_c_bigendian = unknown; then
21195   { $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
21196 $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;}
21197 fi
21198 if test $ac_cv_c_bigendian = yes; then
21199   $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21200
21201 fi
21202
21203
21204
21205
21206     ac_ext=cpp
21207 ac_cpp='$CXXCPP $CPPFLAGS'
21208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21211
21212
21213     for ac_header in iostream
21214 do :
21215   ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
21216 "
21217 if test "x$ac_cv_header_iostream" = xyes; then :
21218   cat >>confdefs.h <<_ACEOF
21219 #define HAVE_IOSTREAM 1
21220 _ACEOF
21221
21222 fi
21223
21224 done
21225
21226
21227     if test "$ac_cv_header_iostream" = "yes" ; then
21228       :
21229     else
21230       $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21231
21232     fi
21233
21234     ac_ext=c
21235 ac_cpp='$CPP $CPPFLAGS'
21236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21239
21240
21241
21242
21243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21244 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21245 if ${wx_cv_explicit+:} false; then :
21246   $as_echo_n "(cached) " >&6
21247 else
21248
21249
21250     ac_ext=cpp
21251 ac_cpp='$CXXCPP $CPPFLAGS'
21252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21255
21256
21257             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21258 /* end confdefs.h.  */
21259
21260         class Foo { public: explicit Foo(int) {} };
21261
21262 int
21263 main ()
21264 {
21265
21266         return 0;
21267
21268   ;
21269   return 0;
21270 }
21271 _ACEOF
21272 if ac_fn_cxx_try_compile "$LINENO"; then :
21273
21274         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21275 /* end confdefs.h.  */
21276
21277                 class Foo { public: explicit Foo(int) {} };
21278                 static void TakeFoo(const Foo& foo) { }
21279
21280 int
21281 main ()
21282 {
21283
21284                 TakeFoo(17);
21285                 return 0;
21286
21287   ;
21288   return 0;
21289 }
21290 _ACEOF
21291 if ac_fn_cxx_try_compile "$LINENO"; then :
21292   wx_cv_explicit=no
21293 else
21294   wx_cv_explicit=yes
21295
21296 fi
21297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21298
21299 else
21300   wx_cv_explicit=no
21301
21302 fi
21303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21304
21305     ac_ext=c
21306 ac_cpp='$CPP $CPPFLAGS'
21307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21310
21311
21312 fi
21313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21314 $as_echo "$wx_cv_explicit" >&6; }
21315
21316   if test "$wx_cv_explicit" = "yes"; then
21317     $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21318
21319   fi
21320
21321
21322 if test "x$SUNCXX" = xyes; then
21323     CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21324 fi
21325
21326 if test "x$SUNCC" = xyes; then
21327     CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21328 fi
21329
21330 if test "x$SGICC" = "xyes"; then
21331     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21332 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21333 if ${wx_cv_prog_sgicc744+:} false; then :
21334   $as_echo_n "(cached) " >&6
21335 else
21336
21337             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21338 /* end confdefs.h.  */
21339
21340 int
21341 main ()
21342 {
21343
21344                     #if _SGI_COMPILER_VERSION >= 744
21345                     chock me: mipsPro is 7.4.4 or later
21346                     #endif
21347
21348   ;
21349   return 0;
21350 }
21351 _ACEOF
21352 if ac_fn_c_try_compile "$LINENO"; then :
21353   wx_cv_prog_sgicc744=no
21354 else
21355   wx_cv_prog_sgicc744=yes
21356
21357 fi
21358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21359
21360
21361 fi
21362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21363 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21364
21365     if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21366         CFLAGS="-woff 3970 $CFLAGS"
21367     fi
21368 fi
21369 if test "x$SGICXX" = "xyes"; then
21370     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21371 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21372 if ${wx_cv_prog_sgicxx744+:} false; then :
21373   $as_echo_n "(cached) " >&6
21374 else
21375
21376             ac_ext=cpp
21377 ac_cpp='$CXXCPP $CPPFLAGS'
21378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21381
21382             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21383 /* end confdefs.h.  */
21384
21385 int
21386 main ()
21387 {
21388
21389                     #if _SGI_COMPILER_VERSION >= 744
21390                     chock me: mipsPro is 7.4.4 or later
21391                     #endif
21392
21393   ;
21394   return 0;
21395 }
21396 _ACEOF
21397 if ac_fn_cxx_try_compile "$LINENO"; then :
21398   wx_cv_prog_sgicxx744=no
21399 else
21400   wx_cv_prog_sgicxx744=yes
21401
21402 fi
21403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21404             ac_ext=c
21405 ac_cpp='$CPP $CPPFLAGS'
21406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21409
21410
21411
21412 fi
21413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21414 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21415
21416     if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21417         CXXFLAGS="-woff 3970 $CXXFLAGS"
21418     fi
21419 fi
21420
21421 if test "x$HPCC" = "xyes"; then
21422                     CFLAGS="+W 2011,2450 $CFLAGS"
21423 fi
21424 if test "x$HPCXX" = "xyes"; then
21425                             CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21426 fi
21427
21428 if test "x$COMPAQCXX" = "xyes"; then
21429                                 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21430 fi
21431
21432 ac_ext=cpp
21433 ac_cpp='$CXXCPP $CPPFLAGS'
21434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21437
21438
21439 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21440     if test "$wxUSE_UNICODE" = "yes"; then
21441         std_string="std::wstring"
21442         char_type="wchar_t"
21443     else
21444         std_string="std::string"
21445         char_type="char"
21446     fi
21447
21448         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21449 $as_echo_n "checking for $std_string in <string>... " >&6; }
21450 if ${wx_cv_class_stdstring+:} false; then :
21451   $as_echo_n "(cached) " >&6
21452 else
21453
21454             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21455 /* end confdefs.h.  */
21456 #include <string>
21457 int
21458 main ()
21459 {
21460 $std_string foo;
21461   ;
21462   return 0;
21463 }
21464 _ACEOF
21465 if ac_fn_cxx_try_compile "$LINENO"; then :
21466   wx_cv_class_stdstring=yes
21467 else
21468   wx_cv_class_stdstring=no
21469
21470 fi
21471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21472
21473
21474 fi
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21476 $as_echo "$wx_cv_class_stdstring" >&6; }
21477
21478     if test "$wx_cv_class_stdstring" = yes; then
21479         if test "$wxUSE_UNICODE" = "yes"; then
21480             $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21481
21482         fi
21483                     else
21484         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21485 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21486 if ${wx_cv_class_stdbasicstring+:} false; then :
21487   $as_echo_n "(cached) " >&6
21488 else
21489
21490                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21491 /* end confdefs.h.  */
21492
21493                     #ifdef HAVE_WCHAR_H
21494                     #  ifdef __CYGWIN__
21495                     #    include <stddef.h>
21496                     #  endif
21497                     #  include <wchar.h>
21498                     #endif
21499                     #ifdef HAVE_STDLIB_H
21500                     #  include <stdlib.h>
21501                     #endif
21502                     #include <stdio.h>
21503                     #include <string>
21504
21505 int
21506 main ()
21507 {
21508 std::basic_string<$char_type> foo;
21509                      const $char_type* dummy = foo.c_str();
21510   ;
21511   return 0;
21512 }
21513 _ACEOF
21514 if ac_fn_cxx_try_compile "$LINENO"; then :
21515   wx_cv_class_stdbasicstring=yes
21516 else
21517   wx_cv_class_stdbasicstring=no
21518
21519 fi
21520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21521
21522
21523 fi
21524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21525 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21526
21527         if test "$wx_cv_class_stdbasicstring" != yes; then
21528             if test "$wxUSE_STL" = "yes"; then
21529                 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21530             elif test "$wxUSE_STD_STRING" = "yes"; then
21531                 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21532             else
21533                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21534 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21535                 wxUSE_STD_STRING=no
21536             fi
21537         fi
21538     fi
21539 fi
21540
21541 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21542     ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21543 "
21544 if test "x$ac_cv_type_std__istream" = xyes; then :
21545
21546 cat >>confdefs.h <<_ACEOF
21547 #define HAVE_STD__ISTREAM 1
21548 _ACEOF
21549
21550
21551 else
21552   wxUSE_STD_IOSTREAM=no
21553 fi
21554 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21555 "
21556 if test "x$ac_cv_type_std__ostream" = xyes; then :
21557
21558 cat >>confdefs.h <<_ACEOF
21559 #define HAVE_STD__OSTREAM 1
21560 _ACEOF
21561
21562
21563 else
21564   wxUSE_STD_IOSTREAM=no
21565 fi
21566
21567
21568     if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21569         if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21570             as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21571         else
21572             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21573 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21574         fi
21575     fi
21576 fi
21577
21578 if test "$wxUSE_STL" = "yes"; then
21579         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21580 $as_echo_n "checking for basic STL functionality... " >&6; }
21581 if ${wx_cv_lib_stl+:} 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             #include <functional>
21588             #include <algorithm>
21589             #include <vector>
21590             #include <list>
21591 int
21592 main ()
21593 {
21594 std::vector<int> moo;
21595              std::list<int> foo;
21596              std::vector<int>::iterator it =
21597                  std::find_if(moo.begin(), moo.end(),
21598                               std::bind2nd(std::less<int>(), 3));
21599   ;
21600   return 0;
21601 }
21602 _ACEOF
21603 if ac_fn_cxx_try_compile "$LINENO"; then :
21604   wx_cv_lib_stl=yes
21605 else
21606   wx_cv_lib_stl=no
21607
21608 fi
21609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21610
21611 fi
21612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21613 $as_echo "$wx_cv_lib_stl" >&6; }
21614
21615     if test "$wx_cv_lib_stl" != yes; then
21616          as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21617     fi
21618
21619         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21620 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21621 if ${wx_cv_func_stdstring_compare+:} false; then :
21622   $as_echo_n "(cached) " >&6
21623 else
21624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21625 /* end confdefs.h.  */
21626 #include <string>
21627 int
21628 main ()
21629 {
21630 std::string foo, bar;
21631             foo.compare(bar);
21632             foo.compare(1, 1, bar);
21633             foo.compare(1, 1, bar, 1, 1);
21634             foo.compare("");
21635             foo.compare(1, 1, "");
21636             foo.compare(1, 1, "", 2);
21637   ;
21638   return 0;
21639 }
21640 _ACEOF
21641 if ac_fn_cxx_try_compile "$LINENO"; then :
21642   wx_cv_func_stdstring_compare=yes
21643 else
21644   wx_cv_func_stdstring_compare=no
21645
21646 fi
21647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21648
21649 fi
21650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21651 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21652
21653     if test "$wx_cv_func_stdstring_compare" = yes; then
21654         $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21655
21656     fi
21657
21658     if test "$wx_cv_class_gnuhashmapset" = yes; then
21659          $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21660
21661          $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21662
21663     fi
21664
21665     ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21666
21667 "
21668 if test "x$ac_cv_header_unordered_map" = xyes; then :
21669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21670 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21671 if ${wx_cv_class_stdunorderedmapset+:} false; then :
21672   $as_echo_n "(cached) " >&6
21673 else
21674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21675 /* end confdefs.h.  */
21676 #include <unordered_map>
21677                 #include <unordered_set>
21678 int
21679 main ()
21680 {
21681 std::unordered_map<double*, char*> test1;
21682                  std::unordered_set<char*> test2;
21683   ;
21684   return 0;
21685 }
21686 _ACEOF
21687 if ac_fn_cxx_try_compile "$LINENO"; then :
21688   wx_cv_class_stdunorderedmapset=yes
21689 else
21690   wx_cv_class_stdunorderedmapset=no
21691 fi
21692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21693
21694
21695 fi
21696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21697 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21698 fi
21699
21700
21701
21702     if test "$wx_cv_class_stdunorderedmapset" = yes; then
21703          $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21704
21705          $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21706
21707     else
21708         ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21709
21710 "
21711 if test "x$ac_cv_header_tr1_unordered_map" = xyes; then :
21712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21713 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21714 if ${wx_cv_class_tr1unorderedmapset+:} false; then :
21715   $as_echo_n "(cached) " >&6
21716 else
21717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21718 /* end confdefs.h.  */
21719 #include <tr1/unordered_map>
21720                     #include <tr1/unordered_set>
21721 int
21722 main ()
21723 {
21724 std::tr1::unordered_map<double*, char*> test1;
21725                      std::tr1::unordered_set<char*> test2;
21726             #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21727             #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21728             #endif
21729   ;
21730   return 0;
21731 }
21732 _ACEOF
21733 if ac_fn_cxx_try_compile "$LINENO"; then :
21734   wx_cv_class_tr1unorderedmapset=yes
21735 else
21736   wx_cv_class_tr1unorderedmapset=no
21737 fi
21738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21739
21740
21741 fi
21742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21743 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21744 fi
21745
21746
21747
21748         if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21749             $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21750
21751             $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21752
21753         else
21754                         ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21755
21756 "
21757 if test "x$ac_cv_header_hash_map" = xyes; then :
21758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21759 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21760 if ${wx_cv_class_stdhashmapset+:} false; then :
21761   $as_echo_n "(cached) " >&6
21762 else
21763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21764 /* end confdefs.h.  */
21765 #include <hash_map>
21766                         #include <hash_set>
21767 int
21768 main ()
21769 {
21770 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21771                          std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21772   ;
21773   return 0;
21774 }
21775 _ACEOF
21776 if ac_fn_cxx_try_compile "$LINENO"; then :
21777   wx_cv_class_stdhashmapset=yes
21778 else
21779   wx_cv_class_stdhashmapset=no
21780 fi
21781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21782
21783
21784 fi
21785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21786 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21787 fi
21788
21789
21790
21791             if test "$wx_cv_class_stdhashmapset" = yes; then
21792                 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21793
21794                 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21795
21796             fi
21797
21798             ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21799
21800 "
21801 if test "x$ac_cv_header_ext_hash_map" = xyes; then :
21802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21803 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21804 if ${wx_cv_class_gnuhashmapset+:} false; then :
21805   $as_echo_n "(cached) " >&6
21806 else
21807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21808 /* end confdefs.h.  */
21809 #include <ext/hash_map>
21810                         #include <ext/hash_set>
21811 int
21812 main ()
21813 {
21814 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21815                          __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21816   ;
21817   return 0;
21818 }
21819 _ACEOF
21820 if ac_fn_cxx_try_compile "$LINENO"; then :
21821   wx_cv_class_gnuhashmapset=yes
21822 else
21823   wx_cv_class_gnuhashmapset=no
21824 fi
21825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21826
21827
21828 fi
21829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21830 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21831 fi
21832
21833
21834
21835         fi
21836     fi
21837 fi
21838
21839 ac_ext=cpp
21840 ac_cpp='$CXXCPP $CPPFLAGS'
21841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21845 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21846 if test -z "$CXXCPP"; then
21847   if ${ac_cv_prog_CXXCPP+:} false; then :
21848   $as_echo_n "(cached) " >&6
21849 else
21850       # Double quotes because CXXCPP needs to be expanded
21851     for CXXCPP in "$CXX -E" "/lib/cpp"
21852     do
21853       ac_preproc_ok=false
21854 for ac_cxx_preproc_warn_flag in '' yes
21855 do
21856   # Use a header file that comes with gcc, so configuring glibc
21857   # with a fresh cross-compiler works.
21858   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21859   # <limits.h> exists even on freestanding compilers.
21860   # On the NeXT, cc -E runs the code through the compiler's parser,
21861   # not just through cpp. "Syntax error" is here to catch this case.
21862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21863 /* end confdefs.h.  */
21864 #ifdef __STDC__
21865 # include <limits.h>
21866 #else
21867 # include <assert.h>
21868 #endif
21869                      Syntax error
21870 _ACEOF
21871 if ac_fn_cxx_try_cpp "$LINENO"; then :
21872
21873 else
21874   # Broken: fails on valid input.
21875 continue
21876 fi
21877 rm -f conftest.err conftest.i conftest.$ac_ext
21878
21879   # OK, works on sane cases.  Now check whether nonexistent headers
21880   # can be detected and how.
21881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21882 /* end confdefs.h.  */
21883 #include <ac_nonexistent.h>
21884 _ACEOF
21885 if ac_fn_cxx_try_cpp "$LINENO"; then :
21886   # Broken: success on invalid input.
21887 continue
21888 else
21889   # Passes both tests.
21890 ac_preproc_ok=:
21891 break
21892 fi
21893 rm -f conftest.err conftest.i conftest.$ac_ext
21894
21895 done
21896 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21897 rm -f conftest.i conftest.err conftest.$ac_ext
21898 if $ac_preproc_ok; then :
21899   break
21900 fi
21901
21902     done
21903     ac_cv_prog_CXXCPP=$CXXCPP
21904
21905 fi
21906   CXXCPP=$ac_cv_prog_CXXCPP
21907 else
21908   ac_cv_prog_CXXCPP=$CXXCPP
21909 fi
21910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21911 $as_echo "$CXXCPP" >&6; }
21912 ac_preproc_ok=false
21913 for ac_cxx_preproc_warn_flag in '' yes
21914 do
21915   # Use a header file that comes with gcc, so configuring glibc
21916   # with a fresh cross-compiler works.
21917   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21918   # <limits.h> exists even on freestanding compilers.
21919   # On the NeXT, cc -E runs the code through the compiler's parser,
21920   # not just through cpp. "Syntax error" is here to catch this case.
21921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21922 /* end confdefs.h.  */
21923 #ifdef __STDC__
21924 # include <limits.h>
21925 #else
21926 # include <assert.h>
21927 #endif
21928                      Syntax error
21929 _ACEOF
21930 if ac_fn_cxx_try_cpp "$LINENO"; then :
21931
21932 else
21933   # Broken: fails on valid input.
21934 continue
21935 fi
21936 rm -f conftest.err conftest.i conftest.$ac_ext
21937
21938   # OK, works on sane cases.  Now check whether nonexistent headers
21939   # can be detected and how.
21940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21941 /* end confdefs.h.  */
21942 #include <ac_nonexistent.h>
21943 _ACEOF
21944 if ac_fn_cxx_try_cpp "$LINENO"; then :
21945   # Broken: success on invalid input.
21946 continue
21947 else
21948   # Passes both tests.
21949 ac_preproc_ok=:
21950 break
21951 fi
21952 rm -f conftest.err conftest.i conftest.$ac_ext
21953
21954 done
21955 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21956 rm -f conftest.i conftest.err conftest.$ac_ext
21957 if $ac_preproc_ok; then :
21958
21959 else
21960   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21962 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21963 See \`config.log' for more details" "$LINENO" 5; }
21964 fi
21965
21966 ac_ext=cpp
21967 ac_cpp='$CXXCPP $CPPFLAGS'
21968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21971
21972
21973 for ac_header in type_traits tr1/type_traits
21974 do :
21975   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21976 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21977 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21978   cat >>confdefs.h <<_ACEOF
21979 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21980 _ACEOF
21981
21982 fi
21983
21984 done
21985
21986
21987
21988
21989   if test -n "$GCC"; then
21990     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21991 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21992     if ${wx_cv_cc_gcc_atomic_builtins+:} false; then :
21993   $as_echo_n "(cached) " >&6
21994 else
21995
21996       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21997 /* end confdefs.h.  */
21998
21999 int
22000 main ()
22001 {
22002
22003           unsigned int value=0;
22004           /* wxAtomicInc doesn't use return value here */
22005           __sync_fetch_and_add(&value, 2);
22006           __sync_sub_and_fetch(&value, 1);
22007           /* but wxAtomicDec does, so mimic that: */
22008           unsigned int r2 = __sync_sub_and_fetch(&value, 1);
22009
22010   ;
22011   return 0;
22012 }
22013 _ACEOF
22014 if ac_fn_cxx_try_link "$LINENO"; then :
22015   wx_cv_cc_gcc_atomic_builtins=yes
22016 else
22017   wx_cv_cc_gcc_atomic_builtins=no
22018 fi
22019 rm -f core conftest.err conftest.$ac_objext \
22020     conftest$ac_exeext conftest.$ac_ext
22021
22022 fi
22023
22024     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
22025 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
22026     if test $wx_cv_cc_gcc_atomic_builtins = yes; then
22027       $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
22028
22029     fi
22030   fi
22031
22032
22033 ac_ext=c
22034 ac_cpp='$CPP $CPPFLAGS'
22035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22038
22039
22040
22041 SEARCH_INCLUDE="\
22042     /usr/local/include        \
22043     /usr/local/X11/include    \
22044     /usr/local/include/X11    \
22045     /usr/local/X11R7/include  \
22046     /usr/local/X11R6/include  \
22047     /usr/local/include/X11R7  \
22048     /usr/local/include/X11R6  \
22049                               \
22050     /usr/Motif-2.1/include    \
22051     /usr/Motif-1.2/include    \
22052     /usr/include/Motif1.2     \
22053                               \
22054     /usr/dt/include           \
22055     /usr/openwin/include      \
22056                               \
22057     /usr/include/Xm           \
22058                               \
22059     /usr/X11R7/include        \
22060     /usr/X11R6/include        \
22061     /usr/X11R6.4/include      \
22062                               \
22063     /usr/include/X11R7        \
22064     /usr/include/X11R6        \
22065                               \
22066     /usr/X11/include          \
22067     /usr/include/X11          \
22068                               \
22069     /usr/XFree86/include/X11  \
22070     /usr/pkg/include          \
22071                               \
22072     /usr/local/X1R5/include  \
22073     /usr/local/include/X11R5  \
22074     /usr/X11R5/include        \
22075     /usr/include/X11R5        \
22076                               \
22077     /usr/local/X11R4/include  \
22078     /usr/local/include/X11R4  \
22079     /usr/X11R4/include        \
22080     /usr/include/X11R4        \
22081                               \
22082     /usr/openwin/share/include"
22083
22084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
22085 $as_echo_n "checking for libraries directories... " >&6; }
22086
22087 case "${host}" in
22088     *-*-irix6* )
22089         if ${wx_cv_std_libpath+:} false; then :
22090   $as_echo_n "(cached) " >&6
22091 else
22092
22093                 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
22094                     for e in a so sl dylib dll.a; do
22095                         libc="$d/libc.$e"
22096                         if test -f $libc; then
22097                             save_LIBS="$LIBS"
22098                             LIBS="$libc"
22099                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22100 /* end confdefs.h.  */
22101
22102                                     int main() { return 0; }
22103
22104 _ACEOF
22105 if ac_fn_c_try_link "$LINENO"; then :
22106   wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
22107 fi
22108 rm -f core conftest.err conftest.$ac_objext \
22109     conftest$ac_exeext conftest.$ac_ext
22110                             LIBS="$save_LIBS"
22111                             if test "x$wx_cv_std_libpath" != "x"; then
22112                                 break 2
22113                             fi
22114                         fi
22115                     done
22116                 done
22117
22118
22119 fi
22120
22121         ;;
22122
22123     *-*-solaris2* )
22124                 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
22125             wx_cv_std_libpath="lib/64"
22126         fi
22127         ;;
22128
22129     *-*-linux* )
22130                                         if test "$ac_cv_sizeof_void_p" = 8; then
22131             if test -d "/usr/lib/`uname -m`-linux-gnu"; then
22132                 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
22133             elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
22134                 wx_cv_std_libpath="lib64"
22135             fi
22136         else
22137             case "${host}" in
22138                 i*86-*-linux* )
22139                     if test -d '/usr/lib/i386-linux-gnu'; then
22140                         wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
22141                     fi
22142             esac
22143         fi
22144
22145                                 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
22146             wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
22147         fi
22148         ;;
22149 esac
22150
22151 if test -z "$wx_cv_std_libpath"; then
22152     wx_cv_std_libpath="lib"
22153 fi
22154
22155 if test -z "$wx_cv_std_libfullpath"; then
22156     wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
22157 fi
22158
22159
22160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
22161 $as_echo "$wx_cv_std_libfullpath" >&6; }
22162
22163 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22164
22165 if test "$build" != "$host" -a "$GCC" = yes; then
22166                     if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
22167         cross_root=`dirname $cross_root`
22168         cross_root=`dirname $cross_root`
22169
22170                         SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22171         SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22172         SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
22173
22174                 if test -z "$PKG_CONFIG_PATH"; then
22175             PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22176             export PKG_CONFIG_PATH
22177         fi
22178
22179                                 if test -z "$x_includes" -o "$x_includes" = NONE; then
22180
22181 ac_find_includes=
22182 for ac_dir in $SEARCH_INCLUDE /usr/include
22183   do
22184     if test -f "$ac_dir/X11/Intrinsic.h"; then
22185       ac_find_includes=$ac_dir
22186       break
22187     fi
22188   done
22189
22190             x_includes=$ac_find_includes
22191         fi
22192         if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22193
22194   ac_find_libraries=
22195   for ac_dir in  $SEARCH_LIB
22196   do
22197     for ac_extension in a so sl dylib dll.a; do
22198       if test -f "$ac_dir/libXt.$ac_extension"; then
22199         ac_find_libraries=$ac_dir
22200         break 2
22201       fi
22202     done
22203   done
22204
22205             x_libraries=$ac_find_libraries
22206         fi
22207     fi
22208 fi
22209
22210
22211 cat >confcache <<\_ACEOF
22212 # This file is a shell script that caches the results of configure
22213 # tests run on this system so they can be shared between configure
22214 # scripts and configure runs, see configure's option --config-cache.
22215 # It is not useful on other systems.  If it contains results you don't
22216 # want to keep, you may remove or edit it.
22217 #
22218 # config.status only pays attention to the cache file if you give it
22219 # the --recheck option to rerun configure.
22220 #
22221 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22222 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22223 # following values.
22224
22225 _ACEOF
22226
22227 # The following way of writing the cache mishandles newlines in values,
22228 # but we know of no workaround that is simple, portable, and efficient.
22229 # So, we kill variables containing newlines.
22230 # Ultrix sh set writes to stderr and can't be redirected directly,
22231 # and sets the high bit in the cache file unless we assign to the vars.
22232 (
22233   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22234     eval ac_val=\$$ac_var
22235     case $ac_val in #(
22236     *${as_nl}*)
22237       case $ac_var in #(
22238       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22239 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22240       esac
22241       case $ac_var in #(
22242       _ | IFS | as_nl) ;; #(
22243       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22244       *) { eval $ac_var=; unset $ac_var;} ;;
22245       esac ;;
22246     esac
22247   done
22248
22249   (set) 2>&1 |
22250     case $as_nl`(ac_space=' '; set) 2>&1` in #(
22251     *${as_nl}ac_space=\ *)
22252       # `set' does not quote correctly, so add quotes: double-quote
22253       # substitution turns \\\\ into \\, and sed turns \\ into \.
22254       sed -n \
22255         "s/'/'\\\\''/g;
22256           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22257       ;; #(
22258     *)
22259       # `set' quotes correctly as required by POSIX, so do not add quotes.
22260       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22261       ;;
22262     esac |
22263     sort
22264 ) |
22265   sed '
22266      /^ac_cv_env_/b end
22267      t clear
22268      :clear
22269      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22270      t end
22271      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22272      :end' >>confcache
22273 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22274   if test -w "$cache_file"; then
22275     if test "x$cache_file" != "x/dev/null"; then
22276       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22277 $as_echo "$as_me: updating cache $cache_file" >&6;}
22278       if test ! -f "$cache_file" || test -h "$cache_file"; then
22279         cat confcache >"$cache_file"
22280       else
22281         case $cache_file in #(
22282         */* | ?:*)
22283           mv -f confcache "$cache_file"$$ &&
22284           mv -f "$cache_file"$$ "$cache_file" ;; #(
22285         *)
22286           mv -f confcache "$cache_file" ;;
22287         esac
22288       fi
22289     fi
22290   else
22291     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22292 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22293   fi
22294 fi
22295 rm -f confcache
22296
22297 have_cos=0
22298 have_floor=0
22299 for ac_func in cos
22300 do :
22301   ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22302 if test "x$ac_cv_func_cos" = xyes; then :
22303   cat >>confdefs.h <<_ACEOF
22304 #define HAVE_COS 1
22305 _ACEOF
22306  have_cos=1
22307 fi
22308 done
22309
22310 for ac_func in floor
22311 do :
22312   ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22313 if test "x$ac_cv_func_floor" = xyes; then :
22314   cat >>confdefs.h <<_ACEOF
22315 #define HAVE_FLOOR 1
22316 _ACEOF
22317  have_floor=1
22318 fi
22319 done
22320
22321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22322 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22323 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22324     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22325 $as_echo "yes" >&6; }
22326 else
22327     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22328 $as_echo "no" >&6; }
22329     LIBS="$LIBS -lm"
22330     # use different functions to avoid configure caching
22331     have_sin=0
22332     have_ceil=0
22333     for ac_func in sin
22334 do :
22335   ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22336 if test "x$ac_cv_func_sin" = xyes; then :
22337   cat >>confdefs.h <<_ACEOF
22338 #define HAVE_SIN 1
22339 _ACEOF
22340  have_sin=1
22341 fi
22342 done
22343
22344     for ac_func in ceil
22345 do :
22346   ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22347 if test "x$ac_cv_func_ceil" = xyes; then :
22348   cat >>confdefs.h <<_ACEOF
22349 #define HAVE_CEIL 1
22350 _ACEOF
22351  have_ceil=1
22352 fi
22353 done
22354
22355     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22356 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22357     if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22358         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22359 $as_echo "yes" >&6; }
22360     else
22361         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22362 $as_echo "no" >&6; }
22363         # not sure we should warn the user, crash, etc.
22364     fi
22365 fi
22366
22367 ac_ext=cpp
22368 ac_cpp='$CXXCPP $CPPFLAGS'
22369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22372
22373 if test "wxUSE_UNICODE" = "yes"; then
22374
22375   for wx_func in wcstoull
22376   do
22377     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22378 $as_echo_n "checking for $wx_func... " >&6; }
22379 if eval \${wx_cv_func_$wx_func+:} false; then :
22380   $as_echo_n "(cached) " >&6
22381 else
22382
22383         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22384 /* end confdefs.h.  */
22385
22386
22387
22388                 $ac_includes_default
22389
22390 int
22391 main ()
22392 {
22393
22394                 #ifndef $wx_func
22395                   &$wx_func;
22396                 #endif
22397
22398
22399   ;
22400   return 0;
22401 }
22402
22403 _ACEOF
22404 if ac_fn_cxx_try_link "$LINENO"; then :
22405   eval wx_cv_func_$wx_func=yes
22406 else
22407   eval wx_cv_func_$wx_func=no
22408 fi
22409 rm -f core conftest.err conftest.$ac_objext \
22410     conftest$ac_exeext conftest.$ac_ext
22411
22412 fi
22413 eval ac_res=\$wx_cv_func_$wx_func
22414                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22415 $as_echo "$ac_res" >&6; }
22416
22417     if eval test \$wx_cv_func_$wx_func = yes
22418     then
22419       cat >>confdefs.h <<_ACEOF
22420 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22421 _ACEOF
22422
22423
22424     else
22425       :
22426
22427     fi
22428   done
22429
22430 else
22431
22432   for wx_func in strtoull
22433   do
22434     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22435 $as_echo_n "checking for $wx_func... " >&6; }
22436 if eval \${wx_cv_func_$wx_func+:} false; then :
22437   $as_echo_n "(cached) " >&6
22438 else
22439
22440         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22441 /* end confdefs.h.  */
22442
22443
22444
22445                 $ac_includes_default
22446
22447 int
22448 main ()
22449 {
22450
22451                 #ifndef $wx_func
22452                   &$wx_func;
22453                 #endif
22454
22455
22456   ;
22457   return 0;
22458 }
22459
22460 _ACEOF
22461 if ac_fn_cxx_try_link "$LINENO"; then :
22462   eval wx_cv_func_$wx_func=yes
22463 else
22464   eval wx_cv_func_$wx_func=no
22465 fi
22466 rm -f core conftest.err conftest.$ac_objext \
22467     conftest$ac_exeext conftest.$ac_ext
22468
22469 fi
22470 eval ac_res=\$wx_cv_func_$wx_func
22471                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22472 $as_echo "$ac_res" >&6; }
22473
22474     if eval test \$wx_cv_func_$wx_func = yes
22475     then
22476       cat >>confdefs.h <<_ACEOF
22477 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22478 _ACEOF
22479
22480
22481     else
22482       :
22483
22484     fi
22485   done
22486
22487 fi
22488 ac_ext=c
22489 ac_cpp='$CPP $CPPFLAGS'
22490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22493
22494
22495
22496
22497 if test "$wxUSE_REGEX" != "no"; then
22498     $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22499
22500
22501     if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22502         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22503 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22504         wxUSE_REGEX=builtin
22505     fi
22506
22507     if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22508                         ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22509 "
22510 if test "x$ac_cv_header_regex_h" = xyes; then :
22511   for ac_func in regcomp re_search
22512 do :
22513   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22514 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22515 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22516   cat >>confdefs.h <<_ACEOF
22517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22518 _ACEOF
22519
22520 fi
22521 done
22522
22523 fi
22524
22525
22526
22527         if test "x$ac_cv_func_regcomp" != "xyes"; then
22528             if test "$wxUSE_REGEX" = "sys" ; then
22529                 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22530             else
22531                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22532 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22533                 wxUSE_REGEX=builtin
22534             fi
22535         else
22536                         wxUSE_REGEX=sys
22537                         $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22538
22539         fi
22540     fi
22541 fi
22542
22543
22544 ZLIB_LINK=
22545 if test "$wxUSE_ZLIB" != "no" ; then
22546     $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22547
22548
22549     if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22550                                                 if test "$USE_DARWIN" = 1; then
22551             system_zlib_h_ok="yes"
22552         else
22553                                                                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22554 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22555 if ${ac_cv_header_zlib_h+:} false; then :
22556   $as_echo_n "(cached) " >&6
22557 else
22558   if test "$cross_compiling" = yes; then :
22559                       unset ac_cv_header_zlib_h
22560
22561 else
22562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22563 /* end confdefs.h.  */
22564
22565                         #include <zlib.h>
22566                         #include <stdio.h>
22567
22568                         int main()
22569                         {
22570                             FILE *f=fopen("conftestval", "w");
22571                             if (!f) exit(1);
22572                             fprintf(f, "%s",
22573                                     ZLIB_VERSION[0] == '1' &&
22574                                     (ZLIB_VERSION[2] > '1' ||
22575                                     (ZLIB_VERSION[2] == '1' &&
22576                                      ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22577                             exit(0);
22578                         }
22579
22580 _ACEOF
22581 if ac_fn_c_try_run "$LINENO"; then :
22582   ac_cv_header_zlib_h=`cat conftestval`
22583 else
22584   ac_cv_header_zlib_h=no
22585 fi
22586 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22587   conftest.$ac_objext conftest.beam conftest.$ac_ext
22588 fi
22589
22590
22591 fi
22592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22593 $as_echo "$ac_cv_header_zlib_h" >&6; }
22594                                     ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22595 "
22596 if test "x$ac_cv_header_zlib_h" = xyes; then :
22597
22598 fi
22599
22600
22601
22602             system_zlib_h_ok=$ac_cv_header_zlib_h
22603         fi
22604
22605         if test "$system_zlib_h_ok" = "yes"; then
22606             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22607 $as_echo_n "checking for deflate in -lz... " >&6; }
22608 if ${ac_cv_lib_z_deflate+:} false; then :
22609   $as_echo_n "(cached) " >&6
22610 else
22611   ac_check_lib_save_LIBS=$LIBS
22612 LIBS="-lz  $LIBS"
22613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22614 /* end confdefs.h.  */
22615
22616 /* Override any GCC internal prototype to avoid an error.
22617    Use char because int might match the return type of a GCC
22618    builtin and then its argument prototype would still apply.  */
22619 #ifdef __cplusplus
22620 extern "C"
22621 #endif
22622 char deflate ();
22623 int
22624 main ()
22625 {
22626 return deflate ();
22627   ;
22628   return 0;
22629 }
22630 _ACEOF
22631 if ac_fn_c_try_link "$LINENO"; then :
22632   ac_cv_lib_z_deflate=yes
22633 else
22634   ac_cv_lib_z_deflate=no
22635 fi
22636 rm -f core conftest.err conftest.$ac_objext \
22637     conftest$ac_exeext conftest.$ac_ext
22638 LIBS=$ac_check_lib_save_LIBS
22639 fi
22640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22641 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22642 if test "x$ac_cv_lib_z_deflate" = xyes; then :
22643   ZLIB_LINK=" -lz"
22644 fi
22645
22646         fi
22647
22648         if test "x$ZLIB_LINK" = "x" ; then
22649             if test "$wxUSE_ZLIB" = "sys" ; then
22650                 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22651             else
22652                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22653 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22654                 wxUSE_ZLIB=builtin
22655             fi
22656         else
22657                         wxUSE_ZLIB=sys
22658         fi
22659     fi
22660 fi
22661
22662
22663 PNG_LINK=
22664 if test "$wxUSE_LIBPNG" != "no" ; then
22665     $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22666
22667
22668             if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22669         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22670 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22671         wxUSE_LIBPNG=builtin
22672     fi
22673
22674     if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22675                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22676 $as_echo_n "checking for png.h > 0.90... " >&6; }
22677 if ${ac_cv_header_png_h+:} false; then :
22678   $as_echo_n "(cached) " >&6
22679 else
22680   if test "$cross_compiling" = yes; then :
22681                   unset ac_cv_header_png_h
22682
22683 else
22684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22685 /* end confdefs.h.  */
22686
22687                     #include <png.h>
22688                     #include <stdio.h>
22689
22690                     int main()
22691                     {
22692                         FILE *f=fopen("conftestval", "w");
22693                         if (!f) exit(1);
22694                         fprintf(f, "%s",
22695                                  PNG_LIBPNG_VER > 90 ? "yes" : "no");
22696                         exit(0);
22697                     }
22698
22699 _ACEOF
22700 if ac_fn_c_try_run "$LINENO"; then :
22701   ac_cv_header_png_h=`cat conftestval`
22702 else
22703   ac_cv_header_png_h=no
22704 fi
22705 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22706   conftest.$ac_objext conftest.beam conftest.$ac_ext
22707 fi
22708
22709
22710 fi
22711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22712 $as_echo "$ac_cv_header_png_h" >&6; }
22713         ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22714 "
22715 if test "x$ac_cv_header_png_h" = xyes; then :
22716
22717 fi
22718
22719
22720
22721         if test "$ac_cv_header_png_h" = "yes"; then
22722             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22723 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22724 if ${ac_cv_lib_png_png_sig_cmp+:} false; then :
22725   $as_echo_n "(cached) " >&6
22726 else
22727   ac_check_lib_save_LIBS=$LIBS
22728 LIBS="-lpng -lz -lm $LIBS"
22729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22730 /* end confdefs.h.  */
22731
22732 /* Override any GCC internal prototype to avoid an error.
22733    Use char because int might match the return type of a GCC
22734    builtin and then its argument prototype would still apply.  */
22735 #ifdef __cplusplus
22736 extern "C"
22737 #endif
22738 char png_sig_cmp ();
22739 int
22740 main ()
22741 {
22742 return png_sig_cmp ();
22743   ;
22744   return 0;
22745 }
22746 _ACEOF
22747 if ac_fn_c_try_link "$LINENO"; then :
22748   ac_cv_lib_png_png_sig_cmp=yes
22749 else
22750   ac_cv_lib_png_png_sig_cmp=no
22751 fi
22752 rm -f core conftest.err conftest.$ac_objext \
22753     conftest$ac_exeext conftest.$ac_ext
22754 LIBS=$ac_check_lib_save_LIBS
22755 fi
22756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22757 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22758 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then :
22759   PNG_LINK=" -lpng -lz"
22760 fi
22761
22762         fi
22763
22764         if test "x$PNG_LINK" = "x" ; then
22765             if test "$wxUSE_LIBPNG" = "sys" ; then
22766                 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22767             else
22768                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22769 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22770                 wxUSE_LIBPNG=builtin
22771             fi
22772         else
22773                         wxUSE_LIBPNG=sys
22774         fi
22775     fi
22776 fi
22777
22778
22779 JPEG_LINK=
22780 if test "$wxUSE_LIBJPEG" != "no" ; then
22781     $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22782
22783
22784     if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22785                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22786 $as_echo_n "checking for jpeglib.h... " >&6; }
22787         if ${ac_cv_header_jpeglib_h+:} false; then :
22788   $as_echo_n "(cached) " >&6
22789 else
22790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22791 /* end confdefs.h.  */
22792
22793                     #undef HAVE_STDLIB_H
22794                     #include <stdio.h>
22795                     #include <jpeglib.h>
22796
22797 int
22798 main ()
22799 {
22800
22801
22802   ;
22803   return 0;
22804 }
22805 _ACEOF
22806 if ac_fn_c_try_compile "$LINENO"; then :
22807   ac_cv_header_jpeglib_h=yes
22808 else
22809   ac_cv_header_jpeglib_h=no
22810
22811 fi
22812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22813
22814 fi
22815
22816         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22817 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22818
22819         if test "$ac_cv_header_jpeglib_h" = "yes"; then
22820             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22821 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22822 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
22823   $as_echo_n "(cached) " >&6
22824 else
22825   ac_check_lib_save_LIBS=$LIBS
22826 LIBS="-ljpeg  $LIBS"
22827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22828 /* end confdefs.h.  */
22829
22830 /* Override any GCC internal prototype to avoid an error.
22831    Use char because int might match the return type of a GCC
22832    builtin and then its argument prototype would still apply.  */
22833 #ifdef __cplusplus
22834 extern "C"
22835 #endif
22836 char jpeg_read_header ();
22837 int
22838 main ()
22839 {
22840 return jpeg_read_header ();
22841   ;
22842   return 0;
22843 }
22844 _ACEOF
22845 if ac_fn_c_try_link "$LINENO"; then :
22846   ac_cv_lib_jpeg_jpeg_read_header=yes
22847 else
22848   ac_cv_lib_jpeg_jpeg_read_header=no
22849 fi
22850 rm -f core conftest.err conftest.$ac_objext \
22851     conftest$ac_exeext conftest.$ac_ext
22852 LIBS=$ac_check_lib_save_LIBS
22853 fi
22854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22855 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22856 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
22857   JPEG_LINK=" -ljpeg"
22858 fi
22859
22860         fi
22861
22862         if test "x$JPEG_LINK" = "x" ; then
22863             if test "$wxUSE_LIBJPEG" = "sys" ; then
22864                 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22865             else
22866                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22867 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22868                 wxUSE_LIBJPEG=builtin
22869             fi
22870         else
22871                         wxUSE_LIBJPEG=sys
22872
22873             if test "$wxUSE_MSW" = 1; then
22874                                                                                 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22875 "
22876 if test "x$ac_cv_type_boolean" = xyes; then :
22877
22878 cat >>confdefs.h <<_ACEOF
22879 #define HAVE_BOOLEAN 1
22880 _ACEOF
22881
22882
22883                         # The cast to long int works around a bug in the HP C Compiler
22884 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22885 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22886 # This bug is HP SR number 8606223364.
22887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22888 $as_echo_n "checking size of boolean... " >&6; }
22889 if ${ac_cv_sizeof_boolean+:} false; then :
22890   $as_echo_n "(cached) " >&6
22891 else
22892   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean"        "
22893                                 #undef HAVE_BOOLEAN
22894                                 #include <stdio.h>
22895                                 #include <jpeglib.h>
22896
22897 "; then :
22898
22899 else
22900   if test "$ac_cv_type_boolean" = yes; then
22901      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22903 as_fn_error 77 "cannot compute sizeof (boolean)
22904 See \`config.log' for more details" "$LINENO" 5; }
22905    else
22906      ac_cv_sizeof_boolean=0
22907    fi
22908 fi
22909
22910 fi
22911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22912 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22913
22914
22915
22916 cat >>confdefs.h <<_ACEOF
22917 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22918 _ACEOF
22919
22920
22921                         cat >>confdefs.h <<_ACEOF
22922 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22923 _ACEOF
22924
22925
22926 fi
22927
22928             fi
22929         fi
22930     fi
22931 fi
22932
22933
22934 TIFF_LINK=
22935 TIFF_PREREQ_LINKS=-lm
22936 if test "$wxUSE_LIBTIFF" != "no" ; then
22937     $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22938
22939
22940     if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22941                         if test "$wxUSE_LIBJPEG" = "sys"; then
22942             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22943         fi
22944         if test "$wxUSE_ZLIB" = "sys"; then
22945             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22946         fi
22947         ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22948
22949 "
22950 if test "x$ac_cv_header_tiffio_h" = xyes; then :
22951
22952                             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22953 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22954 if ${ac_cv_lib_tiff_TIFFError+:} false; then :
22955   $as_echo_n "(cached) " >&6
22956 else
22957   ac_check_lib_save_LIBS=$LIBS
22958 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22960 /* end confdefs.h.  */
22961
22962 /* Override any GCC internal prototype to avoid an error.
22963    Use char because int might match the return type of a GCC
22964    builtin and then its argument prototype would still apply.  */
22965 #ifdef __cplusplus
22966 extern "C"
22967 #endif
22968 char TIFFError ();
22969 int
22970 main ()
22971 {
22972 return TIFFError ();
22973   ;
22974   return 0;
22975 }
22976 _ACEOF
22977 if ac_fn_c_try_link "$LINENO"; then :
22978   ac_cv_lib_tiff_TIFFError=yes
22979 else
22980   ac_cv_lib_tiff_TIFFError=no
22981 fi
22982 rm -f core conftest.err conftest.$ac_objext \
22983     conftest$ac_exeext conftest.$ac_ext
22984 LIBS=$ac_check_lib_save_LIBS
22985 fi
22986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22987 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22988 if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then :
22989   TIFF_LINK=" -ltiff"
22990 fi
22991
22992
22993 fi
22994
22995
22996
22997         if test "x$TIFF_LINK" = "x" ; then
22998             if test "$wxUSE_LIBTIFF" = "sys" ; then
22999                 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
23000             else
23001                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
23002 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23003                 wxUSE_LIBTIFF=builtin
23004             fi
23005         else
23006                         wxUSE_LIBTIFF=sys
23007         fi
23008     fi
23009     if test "$wxUSE_LIBTIFF" = "builtin" ; then
23010         if test "$wxUSE_LIBJPEG" = "no"; then
23011                                                                                     ac_configure_args="$ac_configure_args --disable-jpeg"
23012         fi
23013
23014         if test "$wxUSE_LIBLZMA" = "yes"; then
23015                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
23016 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
23017 if ${ac_cv_lib_lzma_lzma_code+:} false; then :
23018   $as_echo_n "(cached) " >&6
23019 else
23020   ac_check_lib_save_LIBS=$LIBS
23021 LIBS="-llzma  $LIBS"
23022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23023 /* end confdefs.h.  */
23024
23025 /* Override any GCC internal prototype to avoid an error.
23026    Use char because int might match the return type of a GCC
23027    builtin and then its argument prototype would still apply.  */
23028 #ifdef __cplusplus
23029 extern "C"
23030 #endif
23031 char lzma_code ();
23032 int
23033 main ()
23034 {
23035 return lzma_code ();
23036   ;
23037   return 0;
23038 }
23039 _ACEOF
23040 if ac_fn_c_try_link "$LINENO"; then :
23041   ac_cv_lib_lzma_lzma_code=yes
23042 else
23043   ac_cv_lib_lzma_lzma_code=no
23044 fi
23045 rm -f core conftest.err conftest.$ac_objext \
23046     conftest$ac_exeext conftest.$ac_ext
23047 LIBS=$ac_check_lib_save_LIBS
23048 fi
23049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
23050 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
23051 if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then :
23052   LIBS="$LIBS -llzma"
23053 fi
23054
23055         else
23056                                     ac_configure_args="$ac_configure_args --disable-lzma"
23057         fi
23058
23059                 if test "$wxUSE_LIBJBIG" = "yes"; then
23060             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jbg_dec_init in -ljbig" >&5
23061 $as_echo_n "checking for jbg_dec_init in -ljbig... " >&6; }
23062 if ${ac_cv_lib_jbig_jbg_dec_init+:} false; then :
23063   $as_echo_n "(cached) " >&6
23064 else
23065   ac_check_lib_save_LIBS=$LIBS
23066 LIBS="-ljbig  $LIBS"
23067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23068 /* end confdefs.h.  */
23069
23070 /* Override any GCC internal prototype to avoid an error.
23071    Use char because int might match the return type of a GCC
23072    builtin and then its argument prototype would still apply.  */
23073 #ifdef __cplusplus
23074 extern "C"
23075 #endif
23076 char jbg_dec_init ();
23077 int
23078 main ()
23079 {
23080 return jbg_dec_init ();
23081   ;
23082   return 0;
23083 }
23084 _ACEOF
23085 if ac_fn_c_try_link "$LINENO"; then :
23086   ac_cv_lib_jbig_jbg_dec_init=yes
23087 else
23088   ac_cv_lib_jbig_jbg_dec_init=no
23089 fi
23090 rm -f core conftest.err conftest.$ac_objext \
23091     conftest$ac_exeext conftest.$ac_ext
23092 LIBS=$ac_check_lib_save_LIBS
23093 fi
23094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jbig_jbg_dec_init" >&5
23095 $as_echo "$ac_cv_lib_jbig_jbg_dec_init" >&6; }
23096 if test "x$ac_cv_lib_jbig_jbg_dec_init" = xyes; then :
23097   LIBS="$LIBS -ljbig"
23098 fi
23099
23100         else
23101             ac_configure_args="$ac_configure_args --disable-jbig"
23102         fi
23103
23104
23105
23106 subdirs="$subdirs src/tiff"
23107
23108     fi
23109 fi
23110
23111
23112 if test "$wxUSE_EXPAT" != "no"; then
23113     wxUSE_XML=yes
23114     $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
23115
23116     $as_echo "#define wxUSE_XML 1" >>confdefs.h
23117
23118
23119     if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23120         ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
23121 "
23122 if test "x$ac_cv_header_expat_h" = xyes; then :
23123   found_expat_h=1
23124 fi
23125
23126
23127         if test "x$found_expat_h" = "x1"; then
23128                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
23129 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
23130 if ${wx_cv_expat_is_not_broken+:} false; then :
23131   $as_echo_n "(cached) " >&6
23132 else
23133
23134                 ac_ext=cpp
23135 ac_cpp='$CXXCPP $CPPFLAGS'
23136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23139
23140                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23141 /* end confdefs.h.  */
23142 #include <expat.h>
23143 int
23144 main ()
23145 {
23146
23147   ;
23148   return 0;
23149 }
23150 _ACEOF
23151 if ac_fn_cxx_try_compile "$LINENO"; then :
23152   wx_cv_expat_is_not_broken=yes
23153 else
23154   wx_cv_expat_is_not_broken=no
23155
23156 fi
23157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23158                 ac_ext=c
23159 ac_cpp='$CPP $CPPFLAGS'
23160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23163
23164
23165
23166 fi
23167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
23168 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
23169             if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23170                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
23171 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
23172 if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
23173   $as_echo_n "(cached) " >&6
23174 else
23175   ac_check_lib_save_LIBS=$LIBS
23176 LIBS="-lexpat  $LIBS"
23177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23178 /* end confdefs.h.  */
23179
23180 /* Override any GCC internal prototype to avoid an error.
23181    Use char because int might match the return type of a GCC
23182    builtin and then its argument prototype would still apply.  */
23183 #ifdef __cplusplus
23184 extern "C"
23185 #endif
23186 char XML_ParserCreate ();
23187 int
23188 main ()
23189 {
23190 return XML_ParserCreate ();
23191   ;
23192   return 0;
23193 }
23194 _ACEOF
23195 if ac_fn_c_try_link "$LINENO"; then :
23196   ac_cv_lib_expat_XML_ParserCreate=yes
23197 else
23198   ac_cv_lib_expat_XML_ParserCreate=no
23199 fi
23200 rm -f core conftest.err conftest.$ac_objext \
23201     conftest$ac_exeext conftest.$ac_ext
23202 LIBS=$ac_check_lib_save_LIBS
23203 fi
23204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23205 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
23206 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
23207   EXPAT_LINK=" -lexpat"
23208 fi
23209
23210             fi
23211         fi
23212         if test "x$EXPAT_LINK" = "x" ; then
23213             if test "$wxUSE_EXPAT" = "sys" ; then
23214                 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
23215             else
23216                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
23217 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23218                 wxUSE_EXPAT=builtin
23219             fi
23220         else
23221                         wxUSE_EXPAT=sys
23222         fi
23223     fi
23224     if test "$wxUSE_EXPAT" = "builtin" ; then
23225                 subdirs="$subdirs src/expat"
23226
23227     fi
23228 fi
23229
23230
23231
23232 if test "$wxUSE_LIBMSPACK" != "no"; then
23233     ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
23234 "
23235 if test "x$ac_cv_header_mspack_h" = xyes; then :
23236   found_mspack_h=1
23237 fi
23238
23239
23240     if test "x$found_mspack_h" = "x1"; then
23241         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
23242 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
23243 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false; then :
23244   $as_echo_n "(cached) " >&6
23245 else
23246   ac_check_lib_save_LIBS=$LIBS
23247 LIBS="-lmspack  $LIBS"
23248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23249 /* end confdefs.h.  */
23250
23251 /* Override any GCC internal prototype to avoid an error.
23252    Use char because int might match the return type of a GCC
23253    builtin and then its argument prototype would still apply.  */
23254 #ifdef __cplusplus
23255 extern "C"
23256 #endif
23257 char mspack_create_chm_decompressor ();
23258 int
23259 main ()
23260 {
23261 return mspack_create_chm_decompressor ();
23262   ;
23263   return 0;
23264 }
23265 _ACEOF
23266 if ac_fn_c_try_link "$LINENO"; then :
23267   ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
23268 else
23269   ac_cv_lib_mspack_mspack_create_chm_decompressor=no
23270 fi
23271 rm -f core conftest.err conftest.$ac_objext \
23272     conftest$ac_exeext conftest.$ac_ext
23273 LIBS=$ac_check_lib_save_LIBS
23274 fi
23275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23276 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23277 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes; then :
23278   MSPACK_LINK=" -lmspack"
23279 fi
23280
23281     fi
23282     if test "x$MSPACK_LINK" = "x" ; then
23283         wxUSE_LIBMSPACK=no
23284     fi
23285 fi
23286
23287 if test "$wxUSE_LIBMSPACK" != "no"; then
23288     $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23289
23290 fi
23291
23292
23293
23294 TOOLKIT=
23295 TOOLKIT_INCLUDE=
23296 WIDGET_SET=
23297
23298 if test "$USE_WIN32" = 1 ; then
23299     for ac_header in w32api.h
23300 do :
23301   ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23302 "
23303 if test "x$ac_cv_header_w32api_h" = xyes; then :
23304   cat >>confdefs.h <<_ACEOF
23305 #define HAVE_W32API_H 1
23306 _ACEOF
23307
23308 fi
23309
23310 done
23311
23312     ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
23313 "
23314 if test "x$ac_cv_header_windows_h" = xyes; then :
23315
23316 else
23317
23318         as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23319
23320 fi
23321
23322
23323
23324     LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23325     case "${host}" in
23326         x86_64-*-mingw32* )
23327                                                 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
23328         ;;
23329     esac
23330     if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23331         LIBS="$LIBS -loleacc"
23332     fi
23333
23334     case "${host}" in
23335         *-*-cygwin* )
23336                         LIBS="$LIBS -lkernel32 -luser32"
23337     esac
23338
23339         WXCONFIG_RESFLAGS="--define __WIN32__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23340 fi
23341
23342 if test "$wxUSE_GUI" = "yes"; then
23343     USE_GUI=1
23344
23345     GUI_TK_LIBRARY=
23346
23347     WXGTK1=
23348     WXGTK127=
23349     WXGTK2=
23350     WXGTK3=
23351     WXGPE=
23352
23353     if test "$wxUSE_OLD_COCOA" = 1 ; then
23354         if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23355             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23356 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23357             wxUSE_PRINTING_ARCHITECTURE=no
23358         fi
23359         if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23360             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23361 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23362             wxUSE_DRAG_AND_DROP=no
23363         fi
23364         if test "$wxUSE_DRAGIMAGE" = "yes"; then
23365             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23366 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23367             wxUSE_DRAGIMAGE=no
23368         fi
23369     fi
23370
23371     if test "$wxUSE_MSW" = 1 ; then
23372         TOOLKIT=MSW
23373         GUIDIST=MSW_DIST
23374
23375                 case "${host}" in
23376             *-*-mingw32* )
23377                 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23378         esac
23379     fi
23380
23381     if test "$wxUSE_GTK" = 1; then
23382                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23383 $as_echo_n "checking for GTK+ version... " >&6; }
23384
23385         gtk_version_cached=1
23386         if ${wx_cv_lib_gtk+:} false; then :
23387   $as_echo_n "(cached) " >&6
23388 else
23389
23390                                                 gtk_version_cached=0
23391                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23392 $as_echo "" >&6; }
23393
23394                                                 GTK_MODULES=
23395                 if test "$wxUSE_THREADS" = "yes"; then
23396                     GTK_MODULES=gthread
23397                 fi
23398
23399                 if test -z "$wxGTK_VERSION"; then
23400                     wxGTK_VERSION=any
23401                 fi
23402
23403                                 wx_cv_lib_gtk=
23404                 if test "x$wxGTK_VERSION" != "x1"
23405                 then
23406                                                                                 case "${host}" in
23407                         *-*-solaris2* )
23408                             if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23409                                 enable_gtktest=no
23410                             fi
23411                     esac
23412
23413                     if test "$wxGTK_VERSION" != 3; then
23414                         # Check whether --enable-gtktest was given.
23415 if test "${enable_gtktest+set}" = set; then :
23416   enableval=$enable_gtktest;
23417 else
23418   enable_gtktest=yes
23419 fi
23420
23421
23422   pkg_config_args=gtk+-2.0
23423   for module in . $GTK_MODULES
23424   do
23425       case "$module" in
23426          gthread)
23427              pkg_config_args="$pkg_config_args gthread-2.0"
23428          ;;
23429       esac
23430   done
23431
23432   no_gtk=""
23433
23434   # Extract the first word of "pkg-config", so it can be a program name with args.
23435 set dummy pkg-config; ac_word=$2
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23437 $as_echo_n "checking for $ac_word... " >&6; }
23438 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23439   $as_echo_n "(cached) " >&6
23440 else
23441   case $PKG_CONFIG in
23442   [\\/]* | ?:[\\/]*)
23443   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23444   ;;
23445   *)
23446   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23447 for as_dir in $PATH
23448 do
23449   IFS=$as_save_IFS
23450   test -z "$as_dir" && as_dir=.
23451     for ac_exec_ext in '' $ac_executable_extensions; do
23452   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23453     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23454     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23455     break 2
23456   fi
23457 done
23458   done
23459 IFS=$as_save_IFS
23460
23461   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23462   ;;
23463 esac
23464 fi
23465 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23466 if test -n "$PKG_CONFIG"; then
23467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23468 $as_echo "$PKG_CONFIG" >&6; }
23469 else
23470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23471 $as_echo "no" >&6; }
23472 fi
23473
23474
23475
23476   if test x$PKG_CONFIG != xno ; then
23477     if pkg-config --atleast-pkgconfig-version 0.7 ; then
23478       :
23479     else
23480       echo "*** pkg-config too old; version 0.7 or better required."
23481       no_gtk=yes
23482       PKG_CONFIG=no
23483     fi
23484   else
23485     no_gtk=yes
23486   fi
23487
23488   min_gtk_version=2.6.0
23489   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23490 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23491
23492   if test x$PKG_CONFIG != xno ; then
23493     ## don't try to run the test against uninstalled libtool libs
23494     if $PKG_CONFIG --uninstalled $pkg_config_args; then
23495           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23496           enable_gtktest=no
23497     fi
23498
23499     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23500           :
23501     else
23502           no_gtk=yes
23503     fi
23504   fi
23505
23506   if test x"$no_gtk" = x ; then
23507     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23508     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23509     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23510            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23511     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23512            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23513     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23514            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23515     if test "x$enable_gtktest" = "xyes" ; then
23516       ac_save_CFLAGS="$CFLAGS"
23517       ac_save_LIBS="$LIBS"
23518       CFLAGS="$CFLAGS $GTK_CFLAGS"
23519       LIBS="$GTK_LIBS $LIBS"
23520       rm -f conf.gtktest
23521       if test "$cross_compiling" = yes; then :
23522   echo $ac_n "cross compiling; assumed OK... $ac_c"
23523 else
23524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23525 /* end confdefs.h.  */
23526
23527 #include <gtk/gtk.h>
23528 #include <stdio.h>
23529 #include <stdlib.h>
23530
23531 int
23532 main ()
23533 {
23534   int major, minor, micro;
23535   char *tmp_version;
23536
23537   system ("touch conf.gtktest");
23538
23539   /* HP/UX 9 (%@#!) writes to sscanf strings */
23540   tmp_version = g_strdup("$min_gtk_version");
23541   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23542      printf("%s, bad version string\n", "$min_gtk_version");
23543      exit(1);
23544    }
23545
23546   if ((gtk_major_version != $gtk_config_major_version) ||
23547       (gtk_minor_version != $gtk_config_minor_version) ||
23548       (gtk_micro_version != $gtk_config_micro_version))
23549     {
23550       printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23551              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23552              gtk_major_version, gtk_minor_version, gtk_micro_version);
23553       printf ("*** was found! If pkg-config was correct, then it is best\n");
23554       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23555       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23556       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23557       printf("*** required on your system.\n");
23558       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23559       printf("*** to point to the correct configuration files\n");
23560     }
23561   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23562            (gtk_minor_version != GTK_MINOR_VERSION) ||
23563            (gtk_micro_version != GTK_MICRO_VERSION))
23564     {
23565       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23566              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23567       printf("*** library (version %d.%d.%d)\n",
23568              gtk_major_version, gtk_minor_version, gtk_micro_version);
23569     }
23570   else
23571     {
23572       if ((gtk_major_version > major) ||
23573         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23574         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23575       {
23576         return 0;
23577        }
23578      else
23579       {
23580         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23581                gtk_major_version, gtk_minor_version, gtk_micro_version);
23582         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23583                major, minor, micro);
23584         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23585         printf("***\n");
23586         printf("*** If you have already installed a sufficiently new version, this error\n");
23587         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23588         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23589         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23590         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23591         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23592         printf("*** so that the correct libraries are found at run-time))\n");
23593       }
23594     }
23595   return 1;
23596 }
23597
23598 _ACEOF
23599 if ac_fn_c_try_run "$LINENO"; then :
23600
23601 else
23602   no_gtk=yes
23603 fi
23604 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23605   conftest.$ac_objext conftest.beam conftest.$ac_ext
23606 fi
23607
23608        CFLAGS="$ac_save_CFLAGS"
23609        LIBS="$ac_save_LIBS"
23610      fi
23611   fi
23612   if test "x$no_gtk" = x ; then
23613      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23614 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23615      wx_cv_lib_gtk=2.0
23616   else
23617      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23618 $as_echo "no" >&6; }
23619      if test "$PKG_CONFIG" = "no" ; then
23620        echo "*** A new enough version of pkg-config was not found."
23621        echo "*** See http://pkgconfig.sourceforge.net"
23622      else
23623        if test -f conf.gtktest ; then
23624         :
23625        else
23626           echo "*** Could not run GTK+ test program, checking why..."
23627           ac_save_CFLAGS="$CFLAGS"
23628           ac_save_LIBS="$LIBS"
23629           CFLAGS="$CFLAGS $GTK_CFLAGS"
23630           LIBS="$LIBS $GTK_LIBS"
23631           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23632 /* end confdefs.h.  */
23633
23634 #include <gtk/gtk.h>
23635 #include <stdio.h>
23636
23637 int
23638 main ()
23639 {
23640  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23641   ;
23642   return 0;
23643 }
23644 _ACEOF
23645 if ac_fn_c_try_link "$LINENO"; then :
23646    echo "*** The test program compiled, but did not run. This usually means"
23647           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23648           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23649           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23650           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23651           echo "*** is required on your system"
23652           echo "***"
23653           echo "*** If you have an old version installed, it is best to remove it, although"
23654           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23655 else
23656    echo "*** The test program failed to compile or link. See the file config.log for the"
23657           echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23658 fi
23659 rm -f core conftest.err conftest.$ac_objext \
23660     conftest$ac_exeext conftest.$ac_ext
23661           CFLAGS="$ac_save_CFLAGS"
23662           LIBS="$ac_save_LIBS"
23663        fi
23664      fi
23665      GTK_CFLAGS=""
23666      GTK_LIBS=""
23667      :
23668   fi
23669
23670
23671   rm -f conf.gtktest
23672
23673                     fi
23674                     if test -z "$wx_cv_lib_gtk"; then
23675                         if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23676                             # Check whether --enable-gtktest was given.
23677 if test "${enable_gtktest+set}" = set; then :
23678   enableval=$enable_gtktest;
23679 else
23680   enable_gtktest=yes
23681 fi
23682
23683
23684   pkg_gtk_version=gtk+-3.0
23685   pkg_config_args=$pkg_gtk_version
23686   for module in . $GTK_MODULES
23687   do
23688       case "$module" in
23689          gthread)
23690              pkg_gthread_version=gthread-2.0
23691              pkg_config_args="$pkg_config_args $pkg_gthread_version"
23692          ;;
23693       esac
23694   done
23695
23696   no_gtk=""
23697
23698   # Extract the first word of "pkg-config", so it can be a program name with args.
23699 set dummy pkg-config; ac_word=$2
23700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23701 $as_echo_n "checking for $ac_word... " >&6; }
23702 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23703   $as_echo_n "(cached) " >&6
23704 else
23705   case $PKG_CONFIG in
23706   [\\/]* | ?:[\\/]*)
23707   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23708   ;;
23709   *)
23710   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23711 for as_dir in $PATH
23712 do
23713   IFS=$as_save_IFS
23714   test -z "$as_dir" && as_dir=.
23715     for ac_exec_ext in '' $ac_executable_extensions; do
23716   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23717     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23718     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23719     break 2
23720   fi
23721 done
23722   done
23723 IFS=$as_save_IFS
23724
23725   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23726   ;;
23727 esac
23728 fi
23729 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23730 if test -n "$PKG_CONFIG"; then
23731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23732 $as_echo "$PKG_CONFIG" >&6; }
23733 else
23734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23735 $as_echo "no" >&6; }
23736 fi
23737
23738
23739
23740   if test x$PKG_CONFIG != xno ; then
23741     if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23742       :
23743     else
23744       echo "*** pkg-config too old; version 0.7 or better required."
23745       no_gtk=yes
23746       PKG_CONFIG=no
23747     fi
23748   else
23749     no_gtk=yes
23750   fi
23751
23752   min_gtk_version=3.0.0
23753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23754 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23755
23756   if test x$PKG_CONFIG != xno ; then
23757     ## don't try to run the test against uninstalled libtool libs
23758     if $PKG_CONFIG --uninstalled $pkg_config_args; then
23759           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23760           enable_gtktest=no
23761     fi
23762     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_gtk_version ; then
23763           :
23764     else
23765           no_gtk=yes
23766     fi
23767   fi
23768
23769   if test x"$no_gtk" = x ; then
23770     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23771     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23772     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23773            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23774     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23775            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23776     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23777            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23778     if test "x$enable_gtktest" = "xyes" ; then
23779       ac_save_CFLAGS="$CFLAGS"
23780       ac_save_LIBS="$LIBS"
23781       CFLAGS="$CFLAGS $GTK_CFLAGS"
23782       LIBS="$GTK_LIBS $LIBS"
23783       rm -f conf.gtktest
23784       if test "$cross_compiling" = yes; then :
23785   echo $ac_n "cross compiling; assumed OK... $ac_c"
23786 else
23787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23788 /* end confdefs.h.  */
23789
23790 #include <gtk/gtk.h>
23791 #include <stdio.h>
23792 #include <stdlib.h>
23793
23794 int
23795 main ()
23796 {
23797   int major, minor, micro;
23798   char *tmp_version;
23799
23800   fclose (fopen ("conf.gtktest", "w"));
23801
23802   /* HP/UX 9 (%@#!) writes to sscanf strings */
23803   tmp_version = g_strdup("$min_gtk_version");
23804   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23805      printf("%s, bad version string\n", "$min_gtk_version");
23806      exit(1);
23807    }
23808
23809   if ((gtk_major_version != $gtk_config_major_version) ||
23810       (gtk_minor_version != $gtk_config_minor_version) ||
23811       (gtk_micro_version != $gtk_config_micro_version))
23812     {
23813       printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23814              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23815              gtk_major_version, gtk_minor_version, gtk_micro_version);
23816       printf ("*** was found! If pkg-config was correct, then it is best\n");
23817       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23818       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23819       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23820       printf("*** required on your system.\n");
23821       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23822       printf("*** to point to the correct configuration files\n");
23823     }
23824   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23825            (gtk_minor_version != GTK_MINOR_VERSION) ||
23826            (gtk_micro_version != GTK_MICRO_VERSION))
23827     {
23828       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23829              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23830       printf("*** library (version %d.%d.%d)\n",
23831              gtk_major_version, gtk_minor_version, gtk_micro_version);
23832     }
23833   else
23834     {
23835       if ((gtk_major_version > major) ||
23836         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23837         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23838       {
23839         return 0;
23840        }
23841      else
23842       {
23843         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23844                gtk_major_version, gtk_minor_version, gtk_micro_version);
23845         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23846                major, minor, micro);
23847         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23848         printf("***\n");
23849         printf("*** If you have already installed a sufficiently new version, this error\n");
23850         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23851         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23852         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23853         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23854         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23855         printf("*** so that the correct libraries are found at run-time))\n");
23856       }
23857     }
23858   return 1;
23859 }
23860
23861 _ACEOF
23862 if ac_fn_c_try_run "$LINENO"; then :
23863
23864 else
23865   no_gtk=yes
23866 fi
23867 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23868   conftest.$ac_objext conftest.beam conftest.$ac_ext
23869 fi
23870
23871        CFLAGS="$ac_save_CFLAGS"
23872        LIBS="$ac_save_LIBS"
23873      fi
23874   fi
23875   if test "x$no_gtk" = x ; then
23876      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23877 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23878      wx_cv_lib_gtk=3
23879   else
23880      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23881 $as_echo "no" >&6; }
23882      if test "$PKG_CONFIG" = "no" ; then
23883        echo "*** A new enough version of pkg-config was not found."
23884        echo "*** See http://pkgconfig.sourceforge.net"
23885      else
23886        if test -f conf.gtktest ; then
23887         :
23888        else
23889           echo "*** Could not run GTK+ test program, checking why..."
23890           ac_save_CFLAGS="$CFLAGS"
23891           ac_save_LIBS="$LIBS"
23892           CFLAGS="$CFLAGS $GTK_CFLAGS"
23893           LIBS="$LIBS $GTK_LIBS"
23894           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23895 /* end confdefs.h.  */
23896
23897 #include <gtk/gtk.h>
23898 #include <stdio.h>
23899
23900 int
23901 main ()
23902 {
23903  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23904   ;
23905   return 0;
23906 }
23907 _ACEOF
23908 if ac_fn_c_try_link "$LINENO"; then :
23909    echo "*** The test program compiled, but did not run. This usually means"
23910           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23911           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23912           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23913           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23914           echo "*** is required on your system"
23915           echo "***"
23916           echo "*** If you have an old version installed, it is best to remove it, although"
23917           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23918 else
23919    echo "*** The test program failed to compile or link. See the file config.log for the"
23920           echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23921 fi
23922 rm -f core conftest.err conftest.$ac_objext \
23923     conftest$ac_exeext conftest.$ac_ext
23924           CFLAGS="$ac_save_CFLAGS"
23925           LIBS="$ac_save_LIBS"
23926        fi
23927      fi
23928      GTK_CFLAGS=""
23929      GTK_LIBS=""
23930      :
23931   fi
23932
23933
23934   rm -f conf.gtktest
23935
23936                         fi
23937                     fi
23938                 fi
23939
23940                                 if test -z "$wx_cv_lib_gtk"; then
23941                     if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23942
23943 # Check whether --with-gtk-prefix was given.
23944 if test "${with_gtk_prefix+set}" = set; then :
23945   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23946 else
23947   gtk_config_prefix=""
23948 fi
23949
23950
23951 # Check whether --with-gtk-exec-prefix was given.
23952 if test "${with_gtk_exec_prefix+set}" = set; then :
23953   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23954 else
23955   gtk_config_exec_prefix=""
23956 fi
23957
23958 # Check whether --enable-gtktest was given.
23959 if test "${enable_gtktest+set}" = set; then :
23960   enableval=$enable_gtktest;
23961 else
23962   enable_gtktest=yes
23963 fi
23964
23965
23966   for module in . $GTK_MODULES
23967   do
23968       case "$module" in
23969          gthread)
23970              gtk_config_args="$gtk_config_args gthread"
23971          ;;
23972       esac
23973   done
23974
23975   if test x$gtk_config_exec_prefix != x ; then
23976      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23977      if test x${GTK_CONFIG+set} != xset ; then
23978         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23979      fi
23980   fi
23981   if test x$gtk_config_prefix != x ; then
23982      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23983      if test x${GTK_CONFIG+set} != xset ; then
23984         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23985      fi
23986   fi
23987
23988   # Extract the first word of "gtk-config", so it can be a program name with args.
23989 set dummy gtk-config; ac_word=$2
23990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23991 $as_echo_n "checking for $ac_word... " >&6; }
23992 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23993   $as_echo_n "(cached) " >&6
23994 else
23995   case $GTK_CONFIG in
23996   [\\/]* | ?:[\\/]*)
23997   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23998   ;;
23999   *)
24000   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24001 for as_dir in $PATH
24002 do
24003   IFS=$as_save_IFS
24004   test -z "$as_dir" && as_dir=.
24005     for ac_exec_ext in '' $ac_executable_extensions; do
24006   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24007     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24008     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24009     break 2
24010   fi
24011 done
24012   done
24013 IFS=$as_save_IFS
24014
24015   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24016   ;;
24017 esac
24018 fi
24019 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24020 if test -n "$GTK_CONFIG"; then
24021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24022 $as_echo "$GTK_CONFIG" >&6; }
24023 else
24024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24025 $as_echo "no" >&6; }
24026 fi
24027
24028
24029   min_gtk_version=1.2.7
24030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24031 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24032   no_gtk=""
24033   if test "$GTK_CONFIG" = "no" ; then
24034     no_gtk=yes
24035   else
24036     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24037     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24038     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24039            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24040     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24041            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24042     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24043            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24044     if test "x$enable_gtktest" = "xyes" ; then
24045       ac_save_CFLAGS="$CFLAGS"
24046       ac_save_LIBS="$LIBS"
24047       CFLAGS="$CFLAGS $GTK_CFLAGS"
24048       LIBS="$GTK_LIBS $LIBS"
24049       rm -f conf.gtktest
24050       if test "$cross_compiling" = yes; then :
24051   echo $ac_n "cross compiling; assumed OK... $ac_c"
24052 else
24053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24054 /* end confdefs.h.  */
24055
24056 #include <gtk/gtk.h>
24057 #include <stdio.h>
24058 #include <stdlib.h>
24059
24060 int
24061 main ()
24062 {
24063   int major, minor, micro;
24064   char *tmp_version;
24065
24066   system ("touch conf.gtktest");
24067
24068   /* HP/UX 9 (%@#!) writes to sscanf strings */
24069   tmp_version = g_strdup("$min_gtk_version");
24070   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24071      printf("%s, bad version string\n", "$min_gtk_version");
24072      exit(1);
24073    }
24074
24075   if ((gtk_major_version != $gtk_config_major_version) ||
24076       (gtk_minor_version != $gtk_config_minor_version) ||
24077       (gtk_micro_version != $gtk_config_micro_version))
24078     {
24079       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24080              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24081              gtk_major_version, gtk_minor_version, gtk_micro_version);
24082       printf ("*** was found! If gtk-config was correct, then it is best\n");
24083       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24084       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24085       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24086       printf("*** required on your system.\n");
24087       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24088       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24089       printf("*** before re-running configure\n");
24090     }
24091 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24092   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24093            (gtk_minor_version != GTK_MINOR_VERSION) ||
24094            (gtk_micro_version != GTK_MICRO_VERSION))
24095     {
24096       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24097              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24098       printf("*** library (version %d.%d.%d)\n",
24099              gtk_major_version, gtk_minor_version, gtk_micro_version);
24100     }
24101 #endif /* defined (GTK_MAJOR_VERSION) ... */
24102   else
24103     {
24104       if ((gtk_major_version > major) ||
24105         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24106         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24107       {
24108         return 0;
24109        }
24110      else
24111       {
24112         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24113                gtk_major_version, gtk_minor_version, gtk_micro_version);
24114         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24115                major, minor, micro);
24116         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24117         printf("***\n");
24118         printf("*** If you have already installed a sufficiently new version, this error\n");
24119         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24120         printf("*** being found. The easiest way to fix this is to remove the old version\n");
24121         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24122         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24123         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24124         printf("*** so that the correct libraries are found at run-time))\n");
24125       }
24126     }
24127   return 1;
24128 }
24129
24130 _ACEOF
24131 if ac_fn_c_try_run "$LINENO"; then :
24132
24133 else
24134   no_gtk=yes
24135 fi
24136 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24137   conftest.$ac_objext conftest.beam conftest.$ac_ext
24138 fi
24139
24140        CFLAGS="$ac_save_CFLAGS"
24141        LIBS="$ac_save_LIBS"
24142      fi
24143   fi
24144   if test "x$no_gtk" = x ; then
24145      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24146 $as_echo "yes" >&6; }
24147      wx_cv_lib_gtk=1.2.7
24148   else
24149      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24150 $as_echo "no" >&6; }
24151      if test "$GTK_CONFIG" = "no" ; then
24152        echo "*** The gtk-config script installed by GTK could not be found"
24153        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24154        echo "*** your path, or set the GTK_CONFIG environment variable to the"
24155        echo "*** full path to gtk-config."
24156      else
24157        if test -f conf.gtktest ; then
24158         :
24159        else
24160           echo "*** Could not run GTK test program, checking why..."
24161           CFLAGS="$CFLAGS $GTK_CFLAGS"
24162           LIBS="$LIBS $GTK_LIBS"
24163           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24164 /* end confdefs.h.  */
24165
24166 #include <gtk/gtk.h>
24167 #include <stdio.h>
24168
24169 int
24170 main ()
24171 {
24172  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24173   ;
24174   return 0;
24175 }
24176 _ACEOF
24177 if ac_fn_c_try_link "$LINENO"; then :
24178    echo "*** The test program compiled, but did not run. This usually means"
24179           echo "*** that the run-time linker is not finding GTK or finding the wrong"
24180           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24181           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24182           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
24183           echo "*** is required on your system"
24184           echo "***"
24185           echo "*** If you have an old version installed, it is best to remove it, although"
24186           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24187           echo "***"
24188           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24189           echo "*** came with the system with the command"
24190           echo "***"
24191           echo "***    rpm --erase --nodeps gtk gtk-devel"
24192 else
24193    echo "*** The test program failed to compile or link. See the file config.log for the"
24194           echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24195           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24196           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24197 fi
24198 rm -f core conftest.err conftest.$ac_objext \
24199     conftest$ac_exeext conftest.$ac_ext
24200           CFLAGS="$ac_save_CFLAGS"
24201           LIBS="$ac_save_LIBS"
24202        fi
24203      fi
24204      GTK_CFLAGS=""
24205      GTK_LIBS=""
24206      :
24207   fi
24208
24209
24210   rm -f conf.gtktest
24211
24212
24213                         if test -z "$wx_cv_lib_gtk"; then
24214
24215 # Check whether --with-gtk-prefix was given.
24216 if test "${with_gtk_prefix+set}" = set; then :
24217   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
24218 else
24219   gtk_config_prefix=""
24220 fi
24221
24222
24223 # Check whether --with-gtk-exec-prefix was given.
24224 if test "${with_gtk_exec_prefix+set}" = set; then :
24225   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
24226 else
24227   gtk_config_exec_prefix=""
24228 fi
24229
24230 # Check whether --enable-gtktest was given.
24231 if test "${enable_gtktest+set}" = set; then :
24232   enableval=$enable_gtktest;
24233 else
24234   enable_gtktest=yes
24235 fi
24236
24237
24238   for module in . $GTK_MODULES
24239   do
24240       case "$module" in
24241          gthread)
24242              gtk_config_args="$gtk_config_args gthread"
24243          ;;
24244       esac
24245   done
24246
24247   if test x$gtk_config_exec_prefix != x ; then
24248      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24249      if test x${GTK_CONFIG+set} != xset ; then
24250         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24251      fi
24252   fi
24253   if test x$gtk_config_prefix != x ; then
24254      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24255      if test x${GTK_CONFIG+set} != xset ; then
24256         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24257      fi
24258   fi
24259
24260   # Extract the first word of "gtk-config", so it can be a program name with args.
24261 set dummy gtk-config; ac_word=$2
24262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24263 $as_echo_n "checking for $ac_word... " >&6; }
24264 if ${ac_cv_path_GTK_CONFIG+:} false; then :
24265   $as_echo_n "(cached) " >&6
24266 else
24267   case $GTK_CONFIG in
24268   [\\/]* | ?:[\\/]*)
24269   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24270   ;;
24271   *)
24272   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24273 for as_dir in $PATH
24274 do
24275   IFS=$as_save_IFS
24276   test -z "$as_dir" && as_dir=.
24277     for ac_exec_ext in '' $ac_executable_extensions; do
24278   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24279     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24280     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24281     break 2
24282   fi
24283 done
24284   done
24285 IFS=$as_save_IFS
24286
24287   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24288   ;;
24289 esac
24290 fi
24291 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24292 if test -n "$GTK_CONFIG"; then
24293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24294 $as_echo "$GTK_CONFIG" >&6; }
24295 else
24296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24297 $as_echo "no" >&6; }
24298 fi
24299
24300
24301   min_gtk_version=1.2.3
24302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24303 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24304   no_gtk=""
24305   if test "$GTK_CONFIG" = "no" ; then
24306     no_gtk=yes
24307   else
24308     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24309     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24310     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24311            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24312     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24313            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24314     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24315            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24316     if test "x$enable_gtktest" = "xyes" ; then
24317       ac_save_CFLAGS="$CFLAGS"
24318       ac_save_LIBS="$LIBS"
24319       CFLAGS="$CFLAGS $GTK_CFLAGS"
24320       LIBS="$GTK_LIBS $LIBS"
24321       rm -f conf.gtktest
24322       if test "$cross_compiling" = yes; then :
24323   echo $ac_n "cross compiling; assumed OK... $ac_c"
24324 else
24325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24326 /* end confdefs.h.  */
24327
24328 #include <gtk/gtk.h>
24329 #include <stdio.h>
24330 #include <stdlib.h>
24331
24332 int
24333 main ()
24334 {
24335   int major, minor, micro;
24336   char *tmp_version;
24337
24338   system ("touch conf.gtktest");
24339
24340   /* HP/UX 9 (%@#!) writes to sscanf strings */
24341   tmp_version = g_strdup("$min_gtk_version");
24342   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24343      printf("%s, bad version string\n", "$min_gtk_version");
24344      exit(1);
24345    }
24346
24347   if ((gtk_major_version != $gtk_config_major_version) ||
24348       (gtk_minor_version != $gtk_config_minor_version) ||
24349       (gtk_micro_version != $gtk_config_micro_version))
24350     {
24351       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24352              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24353              gtk_major_version, gtk_minor_version, gtk_micro_version);
24354       printf ("*** was found! If gtk-config was correct, then it is best\n");
24355       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24356       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24357       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24358       printf("*** required on your system.\n");
24359       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24360       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24361       printf("*** before re-running configure\n");
24362     }
24363 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24364   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24365            (gtk_minor_version != GTK_MINOR_VERSION) ||
24366            (gtk_micro_version != GTK_MICRO_VERSION))
24367     {
24368       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24369              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24370       printf("*** library (version %d.%d.%d)\n",
24371              gtk_major_version, gtk_minor_version, gtk_micro_version);
24372     }
24373 #endif /* defined (GTK_MAJOR_VERSION) ... */
24374   else
24375     {
24376       if ((gtk_major_version > major) ||
24377         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24378         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24379       {
24380         return 0;
24381        }
24382      else
24383       {
24384         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24385                gtk_major_version, gtk_minor_version, gtk_micro_version);
24386         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24387                major, minor, micro);
24388         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24389         printf("***\n");
24390         printf("*** If you have already installed a sufficiently new version, this error\n");
24391         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24392         printf("*** being found. The easiest way to fix this is to remove the old version\n");
24393         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24394         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24395         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24396         printf("*** so that the correct libraries are found at run-time))\n");
24397       }
24398     }
24399   return 1;
24400 }
24401
24402 _ACEOF
24403 if ac_fn_c_try_run "$LINENO"; then :
24404
24405 else
24406   no_gtk=yes
24407 fi
24408 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24409   conftest.$ac_objext conftest.beam conftest.$ac_ext
24410 fi
24411
24412        CFLAGS="$ac_save_CFLAGS"
24413        LIBS="$ac_save_LIBS"
24414      fi
24415   fi
24416   if test "x$no_gtk" = x ; then
24417      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24418 $as_echo "yes" >&6; }
24419      wx_cv_lib_gtk=1.2.3
24420   else
24421      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24422 $as_echo "no" >&6; }
24423      if test "$GTK_CONFIG" = "no" ; then
24424        echo "*** The gtk-config script installed by GTK could not be found"
24425        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24426        echo "*** your path, or set the GTK_CONFIG environment variable to the"
24427        echo "*** full path to gtk-config."
24428      else
24429        if test -f conf.gtktest ; then
24430         :
24431        else
24432           echo "*** Could not run GTK test program, checking why..."
24433           CFLAGS="$CFLAGS $GTK_CFLAGS"
24434           LIBS="$LIBS $GTK_LIBS"
24435           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24436 /* end confdefs.h.  */
24437
24438 #include <gtk/gtk.h>
24439 #include <stdio.h>
24440
24441 int
24442 main ()
24443 {
24444  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24445   ;
24446   return 0;
24447 }
24448 _ACEOF
24449 if ac_fn_c_try_link "$LINENO"; then :
24450    echo "*** The test program compiled, but did not run. This usually means"
24451           echo "*** that the run-time linker is not finding GTK or finding the wrong"
24452           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24453           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24454           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
24455           echo "*** is required on your system"
24456           echo "***"
24457           echo "*** If you have an old version installed, it is best to remove it, although"
24458           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24459           echo "***"
24460           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24461           echo "*** came with the system with the command"
24462           echo "***"
24463           echo "***    rpm --erase --nodeps gtk gtk-devel"
24464 else
24465    echo "*** The test program failed to compile or link. See the file config.log for the"
24466           echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24467           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24468           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24469 fi
24470 rm -f core conftest.err conftest.$ac_objext \
24471     conftest$ac_exeext conftest.$ac_ext
24472           CFLAGS="$ac_save_CFLAGS"
24473           LIBS="$ac_save_LIBS"
24474        fi
24475      fi
24476      GTK_CFLAGS=""
24477      GTK_LIBS=""
24478      :
24479   fi
24480
24481
24482   rm -f conf.gtktest
24483
24484                         fi
24485                     fi
24486                 fi
24487
24488                 if test -z "$wx_cv_lib_gtk"; then
24489                                         wx_cv_lib_gtk=none
24490                 else
24491                                         GTK_LIBS="$GTK_LIBS -lX11"
24492
24493                                                             wx_cv_cflags_gtk=$GTK_CFLAGS
24494                     wx_cv_libs_gtk=$GTK_LIBS
24495                 fi
24496
24497
24498 fi
24499
24500
24501                         if test "$gtk_version_cached" = 1; then
24502             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24503 $as_echo "$wx_cv_lib_gtk" >&6; }
24504         fi
24505
24506         case "$wx_cv_lib_gtk" in
24507             3)      WXGTK3=1
24508                     TOOLKIT_VERSION=3
24509                     ;;
24510             2.0)    WXGTK2=1
24511                     TOOLKIT_VERSION=2
24512                     ;;
24513             1.2.7)  WXGTK127=1
24514                     WXGTK1=1
24515                     ;;
24516             1.2*)   WXGTK1=1 ;;
24517             *)      as_fn_error $? "
24518 The development files for GTK+ were not found. For GTK+ 2, please
24519 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24520 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24521 and that the version is 1.2.3 or above. Also check that the
24522 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24523 --libs' are in the LD_LIBRARY_PATH or equivalent.
24524                             " "$LINENO" 5
24525                     ;;
24526         esac
24527
24528         if test "$WXGTK3" = 1; then
24529             $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24530
24531             $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24532
24533         elif test "$WXGTK2" = 1; then
24534             save_CFLAGS="$CFLAGS"
24535             save_LIBS="$LIBS"
24536             CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24537             LIBS="$LIBS $wx_cv_libs_gtk"
24538
24539                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24540 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24541             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24542 /* end confdefs.h.  */
24543
24544                             #include <gtk/gtk.h>
24545
24546 int
24547 main ()
24548 {
24549
24550                             #if !GTK_CHECK_VERSION(2,18,0)
24551                             Not GTK+ 2.18
24552                             #endif
24553
24554   ;
24555   return 0;
24556 }
24557 _ACEOF
24558 if ac_fn_c_try_compile "$LINENO"; then :
24559
24560                             $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24561
24562                             $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24563
24564                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24565 $as_echo "yes" >&6; }
24566                             ac_wxgtk218=1
24567
24568 else
24569
24570                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24571 $as_echo "no" >&6; }
24572                             ac_wxgtk218=0
24573
24574 fi
24575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24576
24577             if test "$ac_wxgtk218" = 0; then
24578                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24579 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24580                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24581 /* end confdefs.h.  */
24582
24583                                 #include <gtk/gtk.h>
24584
24585 int
24586 main ()
24587 {
24588
24589                                 #if !GTK_CHECK_VERSION(2,10,0)
24590                                 Not GTK+ 2.10
24591                                 #endif
24592
24593   ;
24594   return 0;
24595 }
24596 _ACEOF
24597 if ac_fn_c_try_compile "$LINENO"; then :
24598
24599                                 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24600
24601                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24602 $as_echo "yes" >&6; }
24603                                 ac_wxgtk210=1
24604
24605 else
24606
24607                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24608 $as_echo "no" >&6; }
24609                                 ac_wxgtk210=0
24610
24611 fi
24612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24613             fi
24614
24615             CFLAGS="$save_CFLAGS"
24616             LIBS="$save_LIBS"
24617         else
24618             if test "$wxUSE_UNICODE" = "yes"; then
24619                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24620 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24621                 wxUSE_UNICODE=no
24622             fi
24623
24624                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24625 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24626 if ${ac_cv_lib_gdk_gdk_im_open+:} false; then :
24627   $as_echo_n "(cached) " >&6
24628 else
24629   ac_check_lib_save_LIBS=$LIBS
24630 LIBS="-lgdk  $LIBS"
24631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24632 /* end confdefs.h.  */
24633
24634 /* Override any GCC internal prototype to avoid an error.
24635    Use char because int might match the return type of a GCC
24636    builtin and then its argument prototype would still apply.  */
24637 #ifdef __cplusplus
24638 extern "C"
24639 #endif
24640 char gdk_im_open ();
24641 int
24642 main ()
24643 {
24644 return gdk_im_open ();
24645   ;
24646   return 0;
24647 }
24648 _ACEOF
24649 if ac_fn_c_try_link "$LINENO"; then :
24650   ac_cv_lib_gdk_gdk_im_open=yes
24651 else
24652   ac_cv_lib_gdk_gdk_im_open=no
24653 fi
24654 rm -f core conftest.err conftest.$ac_objext \
24655     conftest$ac_exeext conftest.$ac_ext
24656 LIBS=$ac_check_lib_save_LIBS
24657 fi
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24659 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24660 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes; then :
24661   $as_echo "#define HAVE_XIM 1" >>confdefs.h
24662
24663 fi
24664
24665
24666                                     if test "$USE_DARWIN" != 1; then
24667                 for ac_func in poll
24668 do :
24669   ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24670 if test "x$ac_cv_func_poll" = xyes; then :
24671   cat >>confdefs.h <<_ACEOF
24672 #define HAVE_POLL 1
24673 _ACEOF
24674
24675 fi
24676 done
24677
24678             fi
24679         fi
24680
24681         TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24682         GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24683         TOOLKIT=GTK
24684         GUIDIST=GTK_DIST
24685
24686                 if test "$wxUSE_GPE" = "yes"; then
24687             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24688 $as_echo_n "checking for gpewidget library... " >&6; }
24689
24690   ac_find_libraries=
24691   for ac_dir in  $SEARCH_LIB
24692   do
24693     for ac_extension in a so sl dylib dll.a; do
24694       if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24695         ac_find_libraries=$ac_dir
24696         break 2
24697       fi
24698     done
24699   done
24700
24701             if test "$ac_find_libraries" != "" ; then
24702
24703     if test "$ac_find_libraries" = "default location"; then
24704     ac_path_to_link=""
24705   else
24706     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24707     result=$?
24708     if test $result = 0; then
24709       ac_path_to_link=""
24710     else
24711       ac_path_to_link=" -L$ac_find_libraries"
24712     fi
24713   fi
24714
24715                                                 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24716                 WXGPE=1
24717                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24718 $as_echo "found in $ac_find_libraries" >&6; }
24719             else
24720                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24721 $as_echo "not found" >&6; }
24722             fi
24723
24724                                                                                                                     fi
24725     fi
24726
24727     if test "$wxUSE_DFB" = 1; then
24728
24729
24730 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24731         if test -n "$ac_tool_prefix"; then
24732   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24733 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24735 $as_echo_n "checking for $ac_word... " >&6; }
24736 if ${ac_cv_path_PKG_CONFIG+:} false; then :
24737   $as_echo_n "(cached) " >&6
24738 else
24739   case $PKG_CONFIG in
24740   [\\/]* | ?:[\\/]*)
24741   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24742   ;;
24743   *)
24744   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24745 for as_dir in $PATH
24746 do
24747   IFS=$as_save_IFS
24748   test -z "$as_dir" && as_dir=.
24749     for ac_exec_ext in '' $ac_executable_extensions; do
24750   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24751     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24752     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24753     break 2
24754   fi
24755 done
24756   done
24757 IFS=$as_save_IFS
24758
24759   ;;
24760 esac
24761 fi
24762 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24763 if test -n "$PKG_CONFIG"; then
24764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24765 $as_echo "$PKG_CONFIG" >&6; }
24766 else
24767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24768 $as_echo "no" >&6; }
24769 fi
24770
24771
24772 fi
24773 if test -z "$ac_cv_path_PKG_CONFIG"; then
24774   ac_pt_PKG_CONFIG=$PKG_CONFIG
24775   # Extract the first word of "pkg-config", so it can be a program name with args.
24776 set dummy pkg-config; ac_word=$2
24777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24778 $as_echo_n "checking for $ac_word... " >&6; }
24779 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
24780   $as_echo_n "(cached) " >&6
24781 else
24782   case $ac_pt_PKG_CONFIG in
24783   [\\/]* | ?:[\\/]*)
24784   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24785   ;;
24786   *)
24787   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24788 for as_dir in $PATH
24789 do
24790   IFS=$as_save_IFS
24791   test -z "$as_dir" && as_dir=.
24792     for ac_exec_ext in '' $ac_executable_extensions; do
24793   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24794     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24795     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24796     break 2
24797   fi
24798 done
24799   done
24800 IFS=$as_save_IFS
24801
24802   ;;
24803 esac
24804 fi
24805 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24806 if test -n "$ac_pt_PKG_CONFIG"; then
24807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24808 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24809 else
24810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24811 $as_echo "no" >&6; }
24812 fi
24813
24814   if test "x$ac_pt_PKG_CONFIG" = x; then
24815     PKG_CONFIG=""
24816   else
24817     case $cross_compiling:$ac_tool_warned in
24818 yes:)
24819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24821 ac_tool_warned=yes ;;
24822 esac
24823     PKG_CONFIG=$ac_pt_PKG_CONFIG
24824   fi
24825 else
24826   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24827 fi
24828
24829 fi
24830 if test -n "$PKG_CONFIG"; then
24831         _pkg_min_version=0.9.0
24832         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24833 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24834         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24835                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24836 $as_echo "yes" >&6; }
24837         else
24838                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24839 $as_echo "no" >&6; }
24840                 PKG_CONFIG=""
24841         fi
24842
24843 fi
24844
24845
24846 pkg_failed=no
24847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24848 $as_echo_n "checking for DIRECTFB... " >&6; }
24849
24850 if test -n "$PKG_CONFIG"; then
24851     if test -n "$DIRECTFB_CFLAGS"; then
24852         pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24853     else
24854         if test -n "$PKG_CONFIG" && \
24855     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24856   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24857   ac_status=$?
24858   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24859   test $ac_status = 0; }; then
24860   pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24861 else
24862   pkg_failed=yes
24863 fi
24864     fi
24865 else
24866         pkg_failed=untried
24867 fi
24868 if test -n "$PKG_CONFIG"; then
24869     if test -n "$DIRECTFB_LIBS"; then
24870         pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24871     else
24872         if test -n "$PKG_CONFIG" && \
24873     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24874   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24875   ac_status=$?
24876   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24877   test $ac_status = 0; }; then
24878   pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24879 else
24880   pkg_failed=yes
24881 fi
24882     fi
24883 else
24884         pkg_failed=untried
24885 fi
24886
24887
24888
24889 if test $pkg_failed = yes; then
24890
24891 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24892         _pkg_short_errors_supported=yes
24893 else
24894         _pkg_short_errors_supported=no
24895 fi
24896         if test $_pkg_short_errors_supported = yes; then
24897                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24898         else
24899                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24900         fi
24901         # Put the nasty error message in config.log where it belongs
24902         echo "$DIRECTFB_PKG_ERRORS" >&5
24903
24904
24905                            as_fn_error $? "DirectFB not found." "$LINENO" 5
24906
24907
24908 elif test $pkg_failed = untried; then
24909
24910                            as_fn_error $? "DirectFB not found." "$LINENO" 5
24911
24912
24913 else
24914         DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24915         DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24916         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24917 $as_echo "yes" >&6; }
24918
24919                            wxUSE_UNIVERSAL="yes"
24920                            TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24921                            GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24922                            TOOLKIT=DFB
24923                            GUIDIST=DFB_DIST
24924
24925 fi
24926     fi
24927
24928     if test "$wxUSE_MICROWIN" = 1; then
24929         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24930 $as_echo_n "checking for MicroWindows... " >&6; }
24931         if test "x$MICROWINDOWS" = x ; then
24932             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24933 $as_echo "not found" >&6; }
24934             as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24935         else
24936             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24937 $as_echo "$MICROWINDOWS" >&6; }
24938         fi
24939
24940         if test -f $MICROWINDOWS/lib/libmwin.a; then
24941             { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24942 $as_echo "MicroWindows' libraries found." >&6; }
24943         else
24944             as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24945         fi
24946
24947         TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24948         GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24949
24950         wxUSE_UNIVERSAL="yes"
24951
24952         TOOLKIT=MICROWIN
24953         GUIDIST=MICROWIN_DIST
24954
24955         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24956     fi
24957
24958         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24959                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24960 $as_echo_n "checking for X... " >&6; }
24961
24962
24963 # Check whether --with-x was given.
24964 if test "${with_x+set}" = set; then :
24965   withval=$with_x;
24966 fi
24967
24968 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24969 if test "x$with_x" = xno; then
24970   # The user explicitly disabled X.
24971   have_x=disabled
24972 else
24973   case $x_includes,$x_libraries in #(
24974     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24975     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24976   $as_echo_n "(cached) " >&6
24977 else
24978   # One or both of the vars are not set, and there is no cached value.
24979 ac_x_includes=no ac_x_libraries=no
24980 rm -f -r conftest.dir
24981 if mkdir conftest.dir; then
24982   cd conftest.dir
24983   cat >Imakefile <<'_ACEOF'
24984 incroot:
24985         @echo incroot='${INCROOT}'
24986 usrlibdir:
24987         @echo usrlibdir='${USRLIBDIR}'
24988 libdir:
24989         @echo libdir='${LIBDIR}'
24990 _ACEOF
24991   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24992     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24993     for ac_var in incroot usrlibdir libdir; do
24994       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24995     done
24996     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24997     for ac_extension in a so sl dylib la dll; do
24998       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24999          test -f "$ac_im_libdir/libX11.$ac_extension"; then
25000         ac_im_usrlibdir=$ac_im_libdir; break
25001       fi
25002     done
25003     # Screen out bogus values from the imake configuration.  They are
25004     # bogus both because they are the default anyway, and because
25005     # using them would break gcc on systems where it needs fixed includes.
25006     case $ac_im_incroot in
25007         /usr/include) ac_x_includes= ;;
25008         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
25009     esac
25010     case $ac_im_usrlibdir in
25011         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
25012         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
25013     esac
25014   fi
25015   cd ..
25016   rm -f -r conftest.dir
25017 fi
25018
25019 # Standard set of common directories for X headers.
25020 # Check X11 before X11Rn because it is often a symlink to the current release.
25021 ac_x_header_dirs='
25022 /usr/X11/include
25023 /usr/X11R7/include
25024 /usr/X11R6/include
25025 /usr/X11R5/include
25026 /usr/X11R4/include
25027
25028 /usr/include/X11
25029 /usr/include/X11R7
25030 /usr/include/X11R6
25031 /usr/include/X11R5
25032 /usr/include/X11R4
25033
25034 /usr/local/X11/include
25035 /usr/local/X11R7/include
25036 /usr/local/X11R6/include
25037 /usr/local/X11R5/include
25038 /usr/local/X11R4/include
25039
25040 /usr/local/include/X11
25041 /usr/local/include/X11R7
25042 /usr/local/include/X11R6
25043 /usr/local/include/X11R5
25044 /usr/local/include/X11R4
25045
25046 /usr/X386/include
25047 /usr/x386/include
25048 /usr/XFree86/include/X11
25049
25050 /usr/include
25051 /usr/local/include
25052 /usr/unsupported/include
25053 /usr/athena/include
25054 /usr/local/x11r5/include
25055 /usr/lpp/Xamples/include
25056
25057 /usr/openwin/include
25058 /usr/openwin/share/include'
25059
25060 if test "$ac_x_includes" = no; then
25061   # Guess where to find include files, by looking for Xlib.h.
25062   # First, try using that file with no special directory specified.
25063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25064 /* end confdefs.h.  */
25065 #include <X11/Xlib.h>
25066 _ACEOF
25067 if ac_fn_c_try_cpp "$LINENO"; then :
25068   # We can compile using X headers with no special include directory.
25069 ac_x_includes=
25070 else
25071   for ac_dir in $ac_x_header_dirs; do
25072   if test -r "$ac_dir/X11/Xlib.h"; then
25073     ac_x_includes=$ac_dir
25074     break
25075   fi
25076 done
25077 fi
25078 rm -f conftest.err conftest.i conftest.$ac_ext
25079 fi # $ac_x_includes = no
25080
25081 if test "$ac_x_libraries" = no; then
25082   # Check for the libraries.
25083   # See if we find them without any special options.
25084   # Don't add to $LIBS permanently.
25085   ac_save_LIBS=$LIBS
25086   LIBS="-lX11 $LIBS"
25087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25088 /* end confdefs.h.  */
25089 #include <X11/Xlib.h>
25090 int
25091 main ()
25092 {
25093 XrmInitialize ()
25094   ;
25095   return 0;
25096 }
25097 _ACEOF
25098 if ac_fn_c_try_link "$LINENO"; then :
25099   LIBS=$ac_save_LIBS
25100 # We can link X programs with no special library path.
25101 ac_x_libraries=
25102 else
25103   LIBS=$ac_save_LIBS
25104 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25105 do
25106   # Don't even attempt the hair of trying to link an X program!
25107   for ac_extension in a so sl dylib la dll; do
25108     if test -r "$ac_dir/libX11.$ac_extension"; then
25109       ac_x_libraries=$ac_dir
25110       break 2
25111     fi
25112   done
25113 done
25114 fi
25115 rm -f core conftest.err conftest.$ac_objext \
25116     conftest$ac_exeext conftest.$ac_ext
25117 fi # $ac_x_libraries = no
25118
25119 case $ac_x_includes,$ac_x_libraries in #(
25120   no,* | *,no | *\'*)
25121     # Didn't find X, or a directory has "'" in its name.
25122     ac_cv_have_x="have_x=no";; #(
25123   *)
25124     # Record where we found X for the cache.
25125     ac_cv_have_x="have_x=yes\
25126         ac_x_includes='$ac_x_includes'\
25127         ac_x_libraries='$ac_x_libraries'"
25128 esac
25129 fi
25130 ;; #(
25131     *) have_x=yes;;
25132   esac
25133   eval "$ac_cv_have_x"
25134 fi # $with_x != no
25135
25136 if test "$have_x" != yes; then
25137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25138 $as_echo "$have_x" >&6; }
25139   no_x=yes
25140 else
25141   # If each of the values was on the command line, it overrides each guess.
25142   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25143   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25144   # Update the cache value to reflect the command line values.
25145   ac_cv_have_x="have_x=yes\
25146         ac_x_includes='$x_includes'\
25147         ac_x_libraries='$x_libraries'"
25148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25149 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25150 fi
25151
25152 if test "$no_x" = yes; then
25153   # Not all programs may use this symbol, but it does not hurt to define it.
25154
25155 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25156
25157   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25158 else
25159   if test -n "$x_includes"; then
25160     X_CFLAGS="$X_CFLAGS -I$x_includes"
25161   fi
25162
25163   # It would also be nice to do this for all -L options, not just this one.
25164   if test -n "$x_libraries"; then
25165     X_LIBS="$X_LIBS -L$x_libraries"
25166     # For Solaris; some versions of Sun CC require a space after -R and
25167     # others require no space.  Words are not sufficient . . . .
25168     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25169 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25170     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25171     ac_xsave_c_werror_flag=$ac_c_werror_flag
25172     ac_c_werror_flag=yes
25173     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25174 /* end confdefs.h.  */
25175
25176 int
25177 main ()
25178 {
25179
25180   ;
25181   return 0;
25182 }
25183 _ACEOF
25184 if ac_fn_c_try_link "$LINENO"; then :
25185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25186 $as_echo "no" >&6; }
25187        X_LIBS="$X_LIBS -R$x_libraries"
25188 else
25189   LIBS="$ac_xsave_LIBS -R $x_libraries"
25190        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25191 /* end confdefs.h.  */
25192
25193 int
25194 main ()
25195 {
25196
25197   ;
25198   return 0;
25199 }
25200 _ACEOF
25201 if ac_fn_c_try_link "$LINENO"; then :
25202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25203 $as_echo "yes" >&6; }
25204           X_LIBS="$X_LIBS -R $x_libraries"
25205 else
25206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25207 $as_echo "neither works" >&6; }
25208 fi
25209 rm -f core conftest.err conftest.$ac_objext \
25210     conftest$ac_exeext conftest.$ac_ext
25211 fi
25212 rm -f core conftest.err conftest.$ac_objext \
25213     conftest$ac_exeext conftest.$ac_ext
25214     ac_c_werror_flag=$ac_xsave_c_werror_flag
25215     LIBS=$ac_xsave_LIBS
25216   fi
25217
25218   # Check for system-dependent libraries X programs must link with.
25219   # Do this before checking for the system-independent R6 libraries
25220   # (-lICE), since we may need -lsocket or whatever for X linking.
25221
25222   if test "$ISC" = yes; then
25223     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25224   else
25225     # Martyn Johnson says this is needed for Ultrix, if the X
25226     # libraries were built with DECnet support.  And Karl Berry says
25227     # the Alpha needs dnet_stub (dnet does not exist).
25228     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25229     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25230 /* end confdefs.h.  */
25231
25232 /* Override any GCC internal prototype to avoid an error.
25233    Use char because int might match the return type of a GCC
25234    builtin and then its argument prototype would still apply.  */
25235 #ifdef __cplusplus
25236 extern "C"
25237 #endif
25238 char XOpenDisplay ();
25239 int
25240 main ()
25241 {
25242 return XOpenDisplay ();
25243   ;
25244   return 0;
25245 }
25246 _ACEOF
25247 if ac_fn_c_try_link "$LINENO"; then :
25248
25249 else
25250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25251 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25252 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25253   $as_echo_n "(cached) " >&6
25254 else
25255   ac_check_lib_save_LIBS=$LIBS
25256 LIBS="-ldnet  $LIBS"
25257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25258 /* end confdefs.h.  */
25259
25260 /* Override any GCC internal prototype to avoid an error.
25261    Use char because int might match the return type of a GCC
25262    builtin and then its argument prototype would still apply.  */
25263 #ifdef __cplusplus
25264 extern "C"
25265 #endif
25266 char dnet_ntoa ();
25267 int
25268 main ()
25269 {
25270 return dnet_ntoa ();
25271   ;
25272   return 0;
25273 }
25274 _ACEOF
25275 if ac_fn_c_try_link "$LINENO"; then :
25276   ac_cv_lib_dnet_dnet_ntoa=yes
25277 else
25278   ac_cv_lib_dnet_dnet_ntoa=no
25279 fi
25280 rm -f core conftest.err conftest.$ac_objext \
25281     conftest$ac_exeext conftest.$ac_ext
25282 LIBS=$ac_check_lib_save_LIBS
25283 fi
25284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25285 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25286 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
25287   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25288 fi
25289
25290     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25291       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25292 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25293 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
25294   $as_echo_n "(cached) " >&6
25295 else
25296   ac_check_lib_save_LIBS=$LIBS
25297 LIBS="-ldnet_stub  $LIBS"
25298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25299 /* end confdefs.h.  */
25300
25301 /* Override any GCC internal prototype to avoid an error.
25302    Use char because int might match the return type of a GCC
25303    builtin and then its argument prototype would still apply.  */
25304 #ifdef __cplusplus
25305 extern "C"
25306 #endif
25307 char dnet_ntoa ();
25308 int
25309 main ()
25310 {
25311 return dnet_ntoa ();
25312   ;
25313   return 0;
25314 }
25315 _ACEOF
25316 if ac_fn_c_try_link "$LINENO"; then :
25317   ac_cv_lib_dnet_stub_dnet_ntoa=yes
25318 else
25319   ac_cv_lib_dnet_stub_dnet_ntoa=no
25320 fi
25321 rm -f core conftest.err conftest.$ac_objext \
25322     conftest$ac_exeext conftest.$ac_ext
25323 LIBS=$ac_check_lib_save_LIBS
25324 fi
25325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25326 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25327 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25328   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25329 fi
25330
25331     fi
25332 fi
25333 rm -f core conftest.err conftest.$ac_objext \
25334     conftest$ac_exeext conftest.$ac_ext
25335     LIBS="$ac_xsave_LIBS"
25336
25337     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25338     # to get the SysV transport functions.
25339     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25340     # needs -lnsl.
25341     # The nsl library prevents programs from opening the X display
25342     # on Irix 5.2, according to T.E. Dickey.
25343     # The functions gethostbyname, getservbyname, and inet_addr are
25344     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25345     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25346 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25347
25348 fi
25349
25350     if test $ac_cv_func_gethostbyname = no; then
25351       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25352 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25353 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25354   $as_echo_n "(cached) " >&6
25355 else
25356   ac_check_lib_save_LIBS=$LIBS
25357 LIBS="-lnsl  $LIBS"
25358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25359 /* end confdefs.h.  */
25360
25361 /* Override any GCC internal prototype to avoid an error.
25362    Use char because int might match the return type of a GCC
25363    builtin and then its argument prototype would still apply.  */
25364 #ifdef __cplusplus
25365 extern "C"
25366 #endif
25367 char gethostbyname ();
25368 int
25369 main ()
25370 {
25371 return gethostbyname ();
25372   ;
25373   return 0;
25374 }
25375 _ACEOF
25376 if ac_fn_c_try_link "$LINENO"; then :
25377   ac_cv_lib_nsl_gethostbyname=yes
25378 else
25379   ac_cv_lib_nsl_gethostbyname=no
25380 fi
25381 rm -f core conftest.err conftest.$ac_objext \
25382     conftest$ac_exeext conftest.$ac_ext
25383 LIBS=$ac_check_lib_save_LIBS
25384 fi
25385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25386 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25387 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25388   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25389 fi
25390
25391       if test $ac_cv_lib_nsl_gethostbyname = no; then
25392         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25393 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25394 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25395   $as_echo_n "(cached) " >&6
25396 else
25397   ac_check_lib_save_LIBS=$LIBS
25398 LIBS="-lbsd  $LIBS"
25399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25400 /* end confdefs.h.  */
25401
25402 /* Override any GCC internal prototype to avoid an error.
25403    Use char because int might match the return type of a GCC
25404    builtin and then its argument prototype would still apply.  */
25405 #ifdef __cplusplus
25406 extern "C"
25407 #endif
25408 char gethostbyname ();
25409 int
25410 main ()
25411 {
25412 return gethostbyname ();
25413   ;
25414   return 0;
25415 }
25416 _ACEOF
25417 if ac_fn_c_try_link "$LINENO"; then :
25418   ac_cv_lib_bsd_gethostbyname=yes
25419 else
25420   ac_cv_lib_bsd_gethostbyname=no
25421 fi
25422 rm -f core conftest.err conftest.$ac_objext \
25423     conftest$ac_exeext conftest.$ac_ext
25424 LIBS=$ac_check_lib_save_LIBS
25425 fi
25426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25427 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25428 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25429   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25430 fi
25431
25432       fi
25433     fi
25434
25435     # lieder@skyler.mavd.honeywell.com says without -lsocket,
25436     # socket/setsockopt and other routines are undefined under SCO ODT
25437     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
25438     # on later versions), says Simon Leinen: it contains gethostby*
25439     # variants that don't use the name server (or something).  -lsocket
25440     # must be given before -lnsl if both are needed.  We assume that
25441     # if connect needs -lnsl, so does gethostbyname.
25442     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25443 if test "x$ac_cv_func_connect" = xyes; then :
25444
25445 fi
25446
25447     if test $ac_cv_func_connect = no; then
25448       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25449 $as_echo_n "checking for connect in -lsocket... " >&6; }
25450 if ${ac_cv_lib_socket_connect+:} false; then :
25451   $as_echo_n "(cached) " >&6
25452 else
25453   ac_check_lib_save_LIBS=$LIBS
25454 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25456 /* end confdefs.h.  */
25457
25458 /* Override any GCC internal prototype to avoid an error.
25459    Use char because int might match the return type of a GCC
25460    builtin and then its argument prototype would still apply.  */
25461 #ifdef __cplusplus
25462 extern "C"
25463 #endif
25464 char connect ();
25465 int
25466 main ()
25467 {
25468 return connect ();
25469   ;
25470   return 0;
25471 }
25472 _ACEOF
25473 if ac_fn_c_try_link "$LINENO"; then :
25474   ac_cv_lib_socket_connect=yes
25475 else
25476   ac_cv_lib_socket_connect=no
25477 fi
25478 rm -f core conftest.err conftest.$ac_objext \
25479     conftest$ac_exeext conftest.$ac_ext
25480 LIBS=$ac_check_lib_save_LIBS
25481 fi
25482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25483 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25484 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25485   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25486 fi
25487
25488     fi
25489
25490     # Guillermo Gomez says -lposix is necessary on A/UX.
25491     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25492 if test "x$ac_cv_func_remove" = xyes; then :
25493
25494 fi
25495
25496     if test $ac_cv_func_remove = no; then
25497       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25498 $as_echo_n "checking for remove in -lposix... " >&6; }
25499 if ${ac_cv_lib_posix_remove+:} false; then :
25500   $as_echo_n "(cached) " >&6
25501 else
25502   ac_check_lib_save_LIBS=$LIBS
25503 LIBS="-lposix  $LIBS"
25504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25505 /* end confdefs.h.  */
25506
25507 /* Override any GCC internal prototype to avoid an error.
25508    Use char because int might match the return type of a GCC
25509    builtin and then its argument prototype would still apply.  */
25510 #ifdef __cplusplus
25511 extern "C"
25512 #endif
25513 char remove ();
25514 int
25515 main ()
25516 {
25517 return remove ();
25518   ;
25519   return 0;
25520 }
25521 _ACEOF
25522 if ac_fn_c_try_link "$LINENO"; then :
25523   ac_cv_lib_posix_remove=yes
25524 else
25525   ac_cv_lib_posix_remove=no
25526 fi
25527 rm -f core conftest.err conftest.$ac_objext \
25528     conftest$ac_exeext conftest.$ac_ext
25529 LIBS=$ac_check_lib_save_LIBS
25530 fi
25531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25532 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25533 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25534   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25535 fi
25536
25537     fi
25538
25539     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25540     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25541 if test "x$ac_cv_func_shmat" = xyes; then :
25542
25543 fi
25544
25545     if test $ac_cv_func_shmat = no; then
25546       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25547 $as_echo_n "checking for shmat in -lipc... " >&6; }
25548 if ${ac_cv_lib_ipc_shmat+:} false; then :
25549   $as_echo_n "(cached) " >&6
25550 else
25551   ac_check_lib_save_LIBS=$LIBS
25552 LIBS="-lipc  $LIBS"
25553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25554 /* end confdefs.h.  */
25555
25556 /* Override any GCC internal prototype to avoid an error.
25557    Use char because int might match the return type of a GCC
25558    builtin and then its argument prototype would still apply.  */
25559 #ifdef __cplusplus
25560 extern "C"
25561 #endif
25562 char shmat ();
25563 int
25564 main ()
25565 {
25566 return shmat ();
25567   ;
25568   return 0;
25569 }
25570 _ACEOF
25571 if ac_fn_c_try_link "$LINENO"; then :
25572   ac_cv_lib_ipc_shmat=yes
25573 else
25574   ac_cv_lib_ipc_shmat=no
25575 fi
25576 rm -f core conftest.err conftest.$ac_objext \
25577     conftest$ac_exeext conftest.$ac_ext
25578 LIBS=$ac_check_lib_save_LIBS
25579 fi
25580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25581 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25582 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25583   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25584 fi
25585
25586     fi
25587   fi
25588
25589   # Check for libraries that X11R6 Xt/Xaw programs need.
25590   ac_save_LDFLAGS=$LDFLAGS
25591   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25592   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25593   # check for ICE first), but we must link in the order -lSM -lICE or
25594   # we get undefined symbols.  So assume we have SM if we have ICE.
25595   # These have to be linked with before -lX11, unlike the other
25596   # libraries we check for below, so use a different variable.
25597   # John Interrante, Karl Berry
25598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25599 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25600 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25601   $as_echo_n "(cached) " >&6
25602 else
25603   ac_check_lib_save_LIBS=$LIBS
25604 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25606 /* end confdefs.h.  */
25607
25608 /* Override any GCC internal prototype to avoid an error.
25609    Use char because int might match the return type of a GCC
25610    builtin and then its argument prototype would still apply.  */
25611 #ifdef __cplusplus
25612 extern "C"
25613 #endif
25614 char IceConnectionNumber ();
25615 int
25616 main ()
25617 {
25618 return IceConnectionNumber ();
25619   ;
25620   return 0;
25621 }
25622 _ACEOF
25623 if ac_fn_c_try_link "$LINENO"; then :
25624   ac_cv_lib_ICE_IceConnectionNumber=yes
25625 else
25626   ac_cv_lib_ICE_IceConnectionNumber=no
25627 fi
25628 rm -f core conftest.err conftest.$ac_objext \
25629     conftest$ac_exeext conftest.$ac_ext
25630 LIBS=$ac_check_lib_save_LIBS
25631 fi
25632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25633 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25634 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25635   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25636 fi
25637
25638   LDFLAGS=$ac_save_LDFLAGS
25639
25640 fi
25641
25642
25643         if test "$no_x" = "yes"; then
25644           as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25645         fi
25646
25647                                 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25648         TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25649         COMPILED_X_PROGRAM=0
25650
25651     fi
25652
25653     if test "$wxUSE_X11" = 1; then
25654         if test "$wxUSE_NANOX" = "yes"; then
25655             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25656 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25657             if test "x$MICROWIN" = x ; then
25658                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25659 $as_echo "not found" >&6; }
25660                 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25661             else
25662                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25663 $as_echo "$MICROWIN" >&6; }
25664                 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25665
25666             fi
25667         fi
25668
25669         if test "$wxUSE_UNICODE" = "yes"; then
25670
25671
25672 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25673         if test -n "$ac_tool_prefix"; then
25674   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25675 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25677 $as_echo_n "checking for $ac_word... " >&6; }
25678 if ${ac_cv_path_PKG_CONFIG+:} false; then :
25679   $as_echo_n "(cached) " >&6
25680 else
25681   case $PKG_CONFIG in
25682   [\\/]* | ?:[\\/]*)
25683   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25684   ;;
25685   *)
25686   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25687 for as_dir in $PATH
25688 do
25689   IFS=$as_save_IFS
25690   test -z "$as_dir" && as_dir=.
25691     for ac_exec_ext in '' $ac_executable_extensions; do
25692   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25693     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25695     break 2
25696   fi
25697 done
25698   done
25699 IFS=$as_save_IFS
25700
25701   ;;
25702 esac
25703 fi
25704 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25705 if test -n "$PKG_CONFIG"; then
25706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25707 $as_echo "$PKG_CONFIG" >&6; }
25708 else
25709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25710 $as_echo "no" >&6; }
25711 fi
25712
25713
25714 fi
25715 if test -z "$ac_cv_path_PKG_CONFIG"; then
25716   ac_pt_PKG_CONFIG=$PKG_CONFIG
25717   # Extract the first word of "pkg-config", so it can be a program name with args.
25718 set dummy pkg-config; ac_word=$2
25719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25720 $as_echo_n "checking for $ac_word... " >&6; }
25721 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
25722   $as_echo_n "(cached) " >&6
25723 else
25724   case $ac_pt_PKG_CONFIG in
25725   [\\/]* | ?:[\\/]*)
25726   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25727   ;;
25728   *)
25729   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25730 for as_dir in $PATH
25731 do
25732   IFS=$as_save_IFS
25733   test -z "$as_dir" && as_dir=.
25734     for ac_exec_ext in '' $ac_executable_extensions; do
25735   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25736     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25737     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25738     break 2
25739   fi
25740 done
25741   done
25742 IFS=$as_save_IFS
25743
25744   ;;
25745 esac
25746 fi
25747 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25748 if test -n "$ac_pt_PKG_CONFIG"; then
25749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25750 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25751 else
25752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25753 $as_echo "no" >&6; }
25754 fi
25755
25756   if test "x$ac_pt_PKG_CONFIG" = x; then
25757     PKG_CONFIG=""
25758   else
25759     case $cross_compiling:$ac_tool_warned in
25760 yes:)
25761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25763 ac_tool_warned=yes ;;
25764 esac
25765     PKG_CONFIG=$ac_pt_PKG_CONFIG
25766   fi
25767 else
25768   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25769 fi
25770
25771 fi
25772 if test -n "$PKG_CONFIG"; then
25773         _pkg_min_version=0.9.0
25774         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25775 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25776         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25777                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25778 $as_echo "yes" >&6; }
25779         else
25780                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25781 $as_echo "no" >&6; }
25782                 PKG_CONFIG=""
25783         fi
25784
25785 fi
25786
25787
25788 pkg_failed=no
25789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25790 $as_echo_n "checking for PANGOX... " >&6; }
25791
25792 if test -n "$PKG_CONFIG"; then
25793     if test -n "$PANGOX_CFLAGS"; then
25794         pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25795     else
25796         if test -n "$PKG_CONFIG" && \
25797     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25798   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25799   ac_status=$?
25800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25801   test $ac_status = 0; }; then
25802   pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25803 else
25804   pkg_failed=yes
25805 fi
25806     fi
25807 else
25808         pkg_failed=untried
25809 fi
25810 if test -n "$PKG_CONFIG"; then
25811     if test -n "$PANGOX_LIBS"; then
25812         pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25813     else
25814         if test -n "$PKG_CONFIG" && \
25815     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25816   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25817   ac_status=$?
25818   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25819   test $ac_status = 0; }; then
25820   pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25821 else
25822   pkg_failed=yes
25823 fi
25824     fi
25825 else
25826         pkg_failed=untried
25827 fi
25828
25829
25830
25831 if test $pkg_failed = yes; then
25832
25833 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25834         _pkg_short_errors_supported=yes
25835 else
25836         _pkg_short_errors_supported=no
25837 fi
25838         if test $_pkg_short_errors_supported = yes; then
25839                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25840         else
25841                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25842         fi
25843         # Put the nasty error message in config.log where it belongs
25844         echo "$PANGOX_PKG_ERRORS" >&5
25845
25846
25847                     as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25848
25849
25850 elif test $pkg_failed = untried; then
25851
25852                     as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25853
25854
25855 else
25856         PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25857         PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25858         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25859 $as_echo "yes" >&6; }
25860
25861                     CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25862                     CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25863                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25864
25865 fi
25866
25867 pkg_failed=no
25868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25869 $as_echo_n "checking for PANGOFT2... " >&6; }
25870
25871 if test -n "$PKG_CONFIG"; then
25872     if test -n "$PANGOFT2_CFLAGS"; then
25873         pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25874     else
25875         if test -n "$PKG_CONFIG" && \
25876     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25877   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25878   ac_status=$?
25879   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25880   test $ac_status = 0; }; then
25881   pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25882 else
25883   pkg_failed=yes
25884 fi
25885     fi
25886 else
25887         pkg_failed=untried
25888 fi
25889 if test -n "$PKG_CONFIG"; then
25890     if test -n "$PANGOFT2_LIBS"; then
25891         pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25892     else
25893         if test -n "$PKG_CONFIG" && \
25894     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25895   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25896   ac_status=$?
25897   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25898   test $ac_status = 0; }; then
25899   pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25900 else
25901   pkg_failed=yes
25902 fi
25903     fi
25904 else
25905         pkg_failed=untried
25906 fi
25907
25908
25909
25910 if test $pkg_failed = yes; then
25911
25912 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25913         _pkg_short_errors_supported=yes
25914 else
25915         _pkg_short_errors_supported=no
25916 fi
25917         if test $_pkg_short_errors_supported = yes; then
25918                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25919         else
25920                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25921         fi
25922         # Put the nasty error message in config.log where it belongs
25923         echo "$PANGOFT2_PKG_ERRORS" >&5
25924
25925
25926                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25927 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25928                     wxUSE_PRINTING_ARCHITECTURE="no"
25929
25930
25931 elif test $pkg_failed = untried; then
25932
25933                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25934 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25935                     wxUSE_PRINTING_ARCHITECTURE="no"
25936
25937
25938 else
25939         PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25940         PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25941         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25942 $as_echo "yes" >&6; }
25943
25944                     CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25945                     CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25946                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25947
25948 fi
25949
25950 pkg_failed=no
25951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25952 $as_echo_n "checking for PANGOXFT... " >&6; }
25953
25954 if test -n "$PKG_CONFIG"; then
25955     if test -n "$PANGOXFT_CFLAGS"; then
25956         pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25957     else
25958         if test -n "$PKG_CONFIG" && \
25959     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25960   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25961   ac_status=$?
25962   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25963   test $ac_status = 0; }; then
25964   pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25965 else
25966   pkg_failed=yes
25967 fi
25968     fi
25969 else
25970         pkg_failed=untried
25971 fi
25972 if test -n "$PKG_CONFIG"; then
25973     if test -n "$PANGOXFT_LIBS"; then
25974         pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25975     else
25976         if test -n "$PKG_CONFIG" && \
25977     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25978   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25979   ac_status=$?
25980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25981   test $ac_status = 0; }; then
25982   pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25983 else
25984   pkg_failed=yes
25985 fi
25986     fi
25987 else
25988         pkg_failed=untried
25989 fi
25990
25991
25992
25993 if test $pkg_failed = yes; then
25994
25995 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25996         _pkg_short_errors_supported=yes
25997 else
25998         _pkg_short_errors_supported=no
25999 fi
26000         if test $_pkg_short_errors_supported = yes; then
26001                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
26002         else
26003                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
26004         fi
26005         # Put the nasty error message in config.log where it belongs
26006         echo "$PANGOXFT_PKG_ERRORS" >&5
26007
26008
26009                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
26010 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
26011
26012
26013 elif test $pkg_failed = untried; then
26014
26015                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
26016 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
26017
26018
26019 else
26020         PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
26021         PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
26022         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26023 $as_echo "yes" >&6; }
26024
26025                     $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
26026
26027                     CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
26028                     CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
26029                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
26030
26031 fi
26032             save_LIBS="$LIBS"
26033             LIBS="$LIBS $PANGOX_LIBS"
26034             for ac_func in pango_font_family_is_monospace
26035 do :
26036   ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
26037 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes; then :
26038   cat >>confdefs.h <<_ACEOF
26039 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
26040 _ACEOF
26041
26042 fi
26043 done
26044
26045             LIBS="$save_LIBS"
26046         fi
26047
26048         wxUSE_UNIVERSAL="yes"
26049
26050         if test "$wxUSE_NANOX" = "yes"; then
26051             TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26052             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"
26053             GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26054         else
26055             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
26056         fi
26057
26058         TOOLKIT=X11
26059         GUIDIST=X11_DIST
26060     fi
26061
26062     if test "$wxUSE_MOTIF" = 1; then
26063         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
26064 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
26065
26066 ac_find_includes=
26067 for ac_dir in $SEARCH_INCLUDE /usr/include
26068   do
26069     if test -f "$ac_dir/Xm/Xm.h"; then
26070       ac_find_includes=$ac_dir
26071       break
26072     fi
26073   done
26074
26075         if test "$ac_find_includes" != "" ; then
26076             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
26077 $as_echo "found in $ac_find_includes" >&6; }
26078
26079     if test "x$ac_find_includes" = "x/usr/include"; then
26080     ac_path_to_include=""
26081   else
26082     echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26083     result=$?
26084     if test $result = 0; then
26085       ac_path_to_include=""
26086     else
26087       ac_path_to_include=" -I$ac_find_includes"
26088     fi
26089   fi
26090
26091             TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26092         else
26093             save_CFLAGS=$CFLAGS
26094             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26095
26096             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26097 /* end confdefs.h.  */
26098
26099                     #include <Xm/Xm.h>
26100
26101 int
26102 main ()
26103 {
26104
26105                     int version;
26106                     version = xmUseVersion;
26107
26108   ;
26109   return 0;
26110 }
26111 _ACEOF
26112 if ac_fn_c_try_compile "$LINENO"; then :
26113
26114                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26115 $as_echo "found in default search path" >&6; }
26116                     COMPILED_X_PROGRAM=1
26117
26118 else
26119
26120                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26121 $as_echo "no" >&6; }
26122                     as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
26123
26124
26125 fi
26126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26127
26128             CFLAGS=$save_CFLAGS
26129         fi
26130
26131
26132         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
26133 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
26134
26135   ac_find_libraries=
26136   for ac_dir in  $SEARCH_LIB
26137   do
26138     for ac_extension in a so sl dylib dll.a; do
26139       if test -f "$ac_dir/libXm.$ac_extension"; then
26140         ac_find_libraries=$ac_dir
26141         break 2
26142       fi
26143     done
26144   done
26145
26146
26147         if test "x$ac_find_libraries" != "x" ; then
26148             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26149 $as_echo "found in $ac_find_libraries" >&6; }
26150
26151
26152     if test "$ac_find_libraries" = "default location"; then
26153     ac_path_to_link=""
26154   else
26155     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26156     result=$?
26157     if test $result = 0; then
26158       ac_path_to_link=""
26159     else
26160       ac_path_to_link=" -L$ac_find_libraries"
26161     fi
26162   fi
26163
26164             GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26165         else
26166                                                 save_CFLAGS=$CFLAGS
26167             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26168             save_LIBS="$LIBS"
26169             LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
26170
26171             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26172 /* end confdefs.h.  */
26173
26174                     #include <Xm/Xm.h>
26175
26176 int
26177 main ()
26178 {
26179
26180                     int version;
26181                     version = xmUseVersion;
26182
26183   ;
26184   return 0;
26185 }
26186 _ACEOF
26187 if ac_fn_c_try_link "$LINENO"; then :
26188
26189                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26190 $as_echo "found in default search path" >&6; }
26191                     COMPILED_X_PROGRAM=1
26192
26193 else
26194
26195                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26196 $as_echo "no" >&6; }
26197                     as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
26198
26199
26200 fi
26201 rm -f core conftest.err conftest.$ac_objext \
26202     conftest$ac_exeext conftest.$ac_ext
26203
26204             CFLAGS=$save_CFLAGS
26205             LIBS="$save_LIBS"
26206         fi
26207
26208         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
26209 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
26210         libp_link=""
26211         libsm_ice_link=""
26212         libs_found=0
26213         for libp in "" " -lXp"; do
26214             if test "$libs_found" = 0; then
26215                 for libsm_ice in "" " -lSM -lICE"; do
26216                     if test "$libs_found" = 0; then
26217                         save_LIBS="$LIBS"
26218                         LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26219                         save_CFLAGS=$CFLAGS
26220                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26221
26222                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26223 /* end confdefs.h.  */
26224
26225                                 #include <Xm/Xm.h>
26226                                 #include <Xm/List.h>
26227
26228 int
26229 main ()
26230 {
26231
26232                                 XmString string = NULL;
26233                                 Widget w = NULL;
26234                                 int position = 0;
26235                                 XmListAddItem(w, string, position);
26236
26237   ;
26238   return 0;
26239 }
26240 _ACEOF
26241 if ac_fn_c_try_link "$LINENO"; then :
26242
26243                                 libp_link="$libp"
26244                                 libsm_ice_link="$libsm_ice"
26245                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26246 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26247                                 libs_found=1
26248
26249 fi
26250 rm -f core conftest.err conftest.$ac_objext \
26251     conftest$ac_exeext conftest.$ac_ext
26252
26253                         LIBS="$save_LIBS"
26254                         CFLAGS=$save_CFLAGS
26255                     fi
26256                 done
26257             fi
26258         done
26259
26260         if test "$libs_found" = 0; then
26261             { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26262 $as_echo "can't find the right libraries" >&6; }
26263             as_fn_error $? "can't link a simple motif program" "$LINENO" 5
26264         fi
26265
26266                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26267 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26268 if ${ac_cv_lib_Sgm_SgCreateList+:} false; then :
26269   $as_echo_n "(cached) " >&6
26270 else
26271   ac_check_lib_save_LIBS=$LIBS
26272 LIBS="-lSgm  $LIBS"
26273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26274 /* end confdefs.h.  */
26275
26276 /* Override any GCC internal prototype to avoid an error.
26277    Use char because int might match the return type of a GCC
26278    builtin and then its argument prototype would still apply.  */
26279 #ifdef __cplusplus
26280 extern "C"
26281 #endif
26282 char SgCreateList ();
26283 int
26284 main ()
26285 {
26286 return SgCreateList ();
26287   ;
26288   return 0;
26289 }
26290 _ACEOF
26291 if ac_fn_c_try_link "$LINENO"; then :
26292   ac_cv_lib_Sgm_SgCreateList=yes
26293 else
26294   ac_cv_lib_Sgm_SgCreateList=no
26295 fi
26296 rm -f core conftest.err conftest.$ac_objext \
26297     conftest$ac_exeext conftest.$ac_ext
26298 LIBS=$ac_check_lib_save_LIBS
26299 fi
26300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26301 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26302 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes; then :
26303   libsgm_link=" -lSgm"
26304 fi
26305
26306
26307         save_CFLAGS=$CFLAGS
26308         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26309
26310         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26311 $as_echo_n "checking for Motif 2... " >&6; }
26312 if ${wx_cv_lib_motif2+:} false; then :
26313   $as_echo_n "(cached) " >&6
26314 else
26315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26316 /* end confdefs.h.  */
26317
26318                             #include <Xm/Xm.h>
26319
26320 int
26321 main ()
26322 {
26323
26324                             #if XmVersion < 2000
26325                             Not Motif 2
26326                             #endif
26327
26328   ;
26329   return 0;
26330 }
26331 _ACEOF
26332 if ac_fn_c_try_compile "$LINENO"; then :
26333   wx_cv_lib_motif2="yes"
26334 else
26335   wx_cv_lib_motif2="no"
26336 fi
26337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26338 fi
26339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26340 $as_echo "$wx_cv_lib_motif2" >&6; }
26341         if test "$wx_cv_lib_motif2" = "yes"; then
26342             $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26343
26344         else
26345             $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26346
26347         fi
26348
26349         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26350 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26351 if ${wx_cv_lib_lesstif+:} false; then :
26352   $as_echo_n "(cached) " >&6
26353 else
26354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26355 /* end confdefs.h.  */
26356
26357                             #include <Xm/Xm.h>
26358
26359 int
26360 main ()
26361 {
26362
26363                             #if !defined(LesstifVersion) || LesstifVersion <= 0
26364                             Not Lesstif
26365                             #endif
26366
26367   ;
26368   return 0;
26369 }
26370 _ACEOF
26371 if ac_fn_c_try_compile "$LINENO"; then :
26372   wx_cv_lib_lesstif="yes"
26373 else
26374   wx_cv_lib_lesstif="no"
26375 fi
26376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26377
26378 fi
26379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26380 $as_echo "$wx_cv_lib_lesstif" >&6; }
26381         if test "$wx_cv_lib_lesstif" = "yes"; then
26382             $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26383
26384         else
26385             $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26386
26387         fi
26388
26389         CFLAGS=$save_CFLAGS
26390
26391         GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26392         TOOLKIT=MOTIF
26393         GUIDIST=MOTIF_DIST
26394     fi
26395
26396         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26397                 if test "$wxUSE_LIBXPM" = "sys"; then
26398             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26399 $as_echo_n "checking for Xpm library... " >&6; }
26400
26401   ac_find_libraries=
26402   for ac_dir in  $SEARCH_LIB
26403   do
26404     for ac_extension in a so sl dylib dll.a; do
26405       if test -f "$ac_dir/libXpm.$ac_extension"; then
26406         ac_find_libraries=$ac_dir
26407         break 2
26408       fi
26409     done
26410   done
26411
26412             if test "$ac_find_libraries" != "" ; then
26413
26414     if test "$ac_find_libraries" = "default location"; then
26415     ac_path_to_link=""
26416   else
26417     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26418     result=$?
26419     if test $result = 0; then
26420       ac_path_to_link=""
26421     else
26422       ac_path_to_link=" -L$ac_find_libraries"
26423     fi
26424   fi
26425
26426                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26427                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26428 $as_echo "found in $ac_find_libraries" >&6; }
26429
26430                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26431 $as_echo_n "checking for X11/xpm.h... " >&6; }
26432 if ${wx_cv_x11_xpm_h+:} false; then :
26433   $as_echo_n "(cached) " >&6
26434 else
26435
26436                         save_CFLAGS=$CFLAGS
26437                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26438
26439                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26440 /* end confdefs.h.  */
26441
26442                                 #include <X11/xpm.h>
26443
26444 int
26445 main ()
26446 {
26447
26448                                 int version;
26449                                 version = XpmLibraryVersion();
26450
26451   ;
26452   return 0;
26453 }
26454 _ACEOF
26455 if ac_fn_c_try_compile "$LINENO"; then :
26456   wx_cv_x11_xpm_h=yes
26457 else
26458   wx_cv_x11_xpm_h=no
26459
26460 fi
26461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26462
26463                         CFLAGS=$save_CFLAGS
26464
26465
26466 fi
26467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26468 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26469
26470                 if test $wx_cv_x11_xpm_h = "yes"; then
26471                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26472                     $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26473
26474                 else
26475                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26476 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26477                 fi
26478             fi
26479
26480         fi
26481
26482                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26483 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26484 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
26485   $as_echo_n "(cached) " >&6
26486 else
26487   ac_check_lib_save_LIBS=$LIBS
26488 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26490 /* end confdefs.h.  */
26491
26492 /* Override any GCC internal prototype to avoid an error.
26493    Use char because int might match the return type of a GCC
26494    builtin and then its argument prototype would still apply.  */
26495 #ifdef __cplusplus
26496 extern "C"
26497 #endif
26498 char XShapeQueryExtension ();
26499 int
26500 main ()
26501 {
26502 return XShapeQueryExtension ();
26503   ;
26504   return 0;
26505 }
26506 _ACEOF
26507 if ac_fn_c_try_link "$LINENO"; then :
26508   ac_cv_lib_Xext_XShapeQueryExtension=yes
26509 else
26510   ac_cv_lib_Xext_XShapeQueryExtension=no
26511 fi
26512 rm -f core conftest.err conftest.$ac_objext \
26513     conftest$ac_exeext conftest.$ac_ext
26514 LIBS=$ac_check_lib_save_LIBS
26515 fi
26516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26517 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26518 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
26519
26520                       GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26521                       wxHAVE_XEXT_LIB=1
26522
26523 fi
26524
26525
26526         if test "$wxHAVE_XEXT_LIB" = 1; then
26527             save_CFLAGS="$CFLAGS"
26528             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26529
26530             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26531 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26532             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26533 /* end confdefs.h.  */
26534
26535                             #include <X11/Xlib.h>
26536                             #include <X11/extensions/shape.h>
26537
26538 int
26539 main ()
26540 {
26541
26542                             int dummy1, dummy2;
26543                             XShapeQueryExtension((Display*)NULL,
26544                                                  (int*)NULL, (int*)NULL);
26545
26546   ;
26547   return 0;
26548 }
26549 _ACEOF
26550 if ac_fn_c_try_compile "$LINENO"; then :
26551
26552                             $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26553
26554                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26555 $as_echo "found" >&6; }
26556
26557 else
26558
26559                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26560 $as_echo "not found" >&6; }
26561
26562 fi
26563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26564             CFLAGS="$save_CFLAGS"
26565
26566         fi
26567     fi
26568
26569     if test "$wxUSE_OSX_CARBON" = 1; then
26570         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26571 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26572         if test "$GCC" = yes; then
26573             { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26574 $as_echo "gcc" >&6; }
26575             CPPFLAGS_PASCAL="-fpascal-strings"
26576         elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26577             { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26578 $as_echo "xlc" >&6; }
26579             CPPFLAGS_PASCAL="-qmacpstr"
26580         else
26581             { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26582 $as_echo "none" >&6; }
26583         fi
26584
26585         if test "x$wxUSE_UNIX" = "xyes"; then
26586             CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26587         else
26588                         CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26589         fi
26590
26591         TOOLKIT=OSX_CARBON
26592                 GUIDIST=OSX_CARBON_DIST
26593                         WXBASEPORT="_carbon"
26594
26595                                         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26596     fi
26597
26598     if test "$wxUSE_OSX_COCOA" = 1; then
26599         TOOLKIT=OSX_COCOA
26600         GUIDIST=OSX_COCOA_DIST
26601
26602                 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26603     fi
26604
26605     if test "$wxUSE_OSX_IPHONE" = 1; then
26606         TOOLKIT=OSX_IPHONE
26607     fi
26608
26609     if test "$wxUSE_OLD_COCOA" = 1; then
26610         TOOLKIT=COCOA
26611         GUIDIST=COCOA_DIST
26612     fi
26613
26614     if test "$wxUSE_PM" = 1; then
26615         TOOLKIT=PM
26616         GUIDIST=PM_DIST
26617         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26618 $as_echo_n "checking for type SPBCDATA... " >&6; }
26619 if ${wx_cv_spbcdata+:} false; then :
26620   $as_echo_n "(cached) " >&6
26621 else
26622
26623                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26624 /* end confdefs.h.  */
26625
26626                         #define INCL_PM
26627                         #include <os2.h>
26628
26629 int
26630 main ()
26631 {
26632
26633                         SPBCDATA test;
26634
26635   ;
26636   return 0;
26637 }
26638 _ACEOF
26639 if ac_fn_c_try_compile "$LINENO"; then :
26640   wx_cv_spbcdata=yes
26641 else
26642   wx_cv_spbcdata=no
26643
26644 fi
26645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26646
26647
26648 fi
26649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26650 $as_echo "$wx_cv_spbcdata" >&6; }
26651
26652         if test $wx_cv_spbcdata = "yes"; then
26653             $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26654
26655         fi
26656     fi
26657
26658         if test "$TOOLKIT" = "PM" ; then
26659         TOOLKIT_DIR="os2"
26660     else
26661         TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26662     fi
26663
26664     if test "$wxUSE_UNIVERSAL" = "yes"; then
26665         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26666         WIDGET_SET=univ
26667     fi
26668
26669         GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26670     DISTDIR="wx\$(TOOLKIT)"
26671 else
26672     USE_GUI=0
26673
26674             TOOLKIT_DIR="base"
26675
26676         if test "$USE_WIN32" = 1 ; then
26677                         TOOLKIT="MSW"
26678     fi
26679
26680         GUIDIST="BASE_DIST"
26681     DISTDIR="wxBase"
26682 fi
26683
26684
26685
26686 if test "$wxUSE_GUI" = "yes"; then
26687     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26688                 for ac_header in X11/Xlib.h
26689 do :
26690   ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26691 "
26692 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
26693   cat >>confdefs.h <<_ACEOF
26694 #define HAVE_X11_XLIB_H 1
26695 _ACEOF
26696
26697 fi
26698
26699 done
26700
26701         for ac_header in X11/XKBlib.h
26702 do :
26703   ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26704                           #if HAVE_X11_XLIB_H
26705                             #include <X11/Xlib.h>
26706                           #endif
26707
26708 "
26709 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
26710   cat >>confdefs.h <<_ACEOF
26711 #define HAVE_X11_XKBLIB_H 1
26712 _ACEOF
26713
26714 fi
26715
26716 done
26717
26718     fi
26719 fi
26720
26721
26722
26723 USE_XINERAMA=0
26724 if test "$wxUSE_DISPLAY" = "yes"; then
26725         if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26726
26727   ac_find_libraries=
26728
26729     fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26730
26731
26732 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26733         if test -n "$ac_tool_prefix"; then
26734   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26735 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26737 $as_echo_n "checking for $ac_word... " >&6; }
26738 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26739   $as_echo_n "(cached) " >&6
26740 else
26741   case $PKG_CONFIG in
26742   [\\/]* | ?:[\\/]*)
26743   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26744   ;;
26745   *)
26746   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26747 for as_dir in $PATH
26748 do
26749   IFS=$as_save_IFS
26750   test -z "$as_dir" && as_dir=.
26751     for ac_exec_ext in '' $ac_executable_extensions; do
26752   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26753     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26755     break 2
26756   fi
26757 done
26758   done
26759 IFS=$as_save_IFS
26760
26761   ;;
26762 esac
26763 fi
26764 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26765 if test -n "$PKG_CONFIG"; then
26766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26767 $as_echo "$PKG_CONFIG" >&6; }
26768 else
26769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26770 $as_echo "no" >&6; }
26771 fi
26772
26773
26774 fi
26775 if test -z "$ac_cv_path_PKG_CONFIG"; then
26776   ac_pt_PKG_CONFIG=$PKG_CONFIG
26777   # Extract the first word of "pkg-config", so it can be a program name with args.
26778 set dummy pkg-config; ac_word=$2
26779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26780 $as_echo_n "checking for $ac_word... " >&6; }
26781 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26782   $as_echo_n "(cached) " >&6
26783 else
26784   case $ac_pt_PKG_CONFIG in
26785   [\\/]* | ?:[\\/]*)
26786   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26787   ;;
26788   *)
26789   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26790 for as_dir in $PATH
26791 do
26792   IFS=$as_save_IFS
26793   test -z "$as_dir" && as_dir=.
26794     for ac_exec_ext in '' $ac_executable_extensions; do
26795   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26796     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26797     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26798     break 2
26799   fi
26800 done
26801   done
26802 IFS=$as_save_IFS
26803
26804   ;;
26805 esac
26806 fi
26807 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26808 if test -n "$ac_pt_PKG_CONFIG"; then
26809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26810 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26811 else
26812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26813 $as_echo "no" >&6; }
26814 fi
26815
26816   if test "x$ac_pt_PKG_CONFIG" = x; then
26817     PKG_CONFIG=""
26818   else
26819     case $cross_compiling:$ac_tool_warned in
26820 yes:)
26821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26823 ac_tool_warned=yes ;;
26824 esac
26825     PKG_CONFIG=$ac_pt_PKG_CONFIG
26826   fi
26827 else
26828   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26829 fi
26830
26831 fi
26832 if test -n "$PKG_CONFIG"; then
26833         _pkg_min_version=0.9.0
26834         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26835 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26836         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26837                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26838 $as_echo "yes" >&6; }
26839         else
26840                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26841 $as_echo "no" >&6; }
26842                 PKG_CONFIG=""
26843         fi
26844
26845 fi 6> /dev/null
26846
26847 pkg_failed=no
26848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26849 $as_echo_n "checking for Xinerama... " >&6; }
26850
26851 if test -n "$PKG_CONFIG"; then
26852     if test -n "$Xinerama_CFLAGS"; then
26853         pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26854     else
26855         if test -n "$PKG_CONFIG" && \
26856     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26857   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26858   ac_status=$?
26859   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26860   test $ac_status = 0; }; then
26861   pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26862 else
26863   pkg_failed=yes
26864 fi
26865     fi
26866 else
26867         pkg_failed=untried
26868 fi
26869 if test -n "$PKG_CONFIG"; then
26870     if test -n "$Xinerama_LIBS"; then
26871         pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26872     else
26873         if test -n "$PKG_CONFIG" && \
26874     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26875   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26876   ac_status=$?
26877   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26878   test $ac_status = 0; }; then
26879   pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26880 else
26881   pkg_failed=yes
26882 fi
26883     fi
26884 else
26885         pkg_failed=untried
26886 fi
26887
26888
26889
26890 if test $pkg_failed = yes; then
26891
26892 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26893         _pkg_short_errors_supported=yes
26894 else
26895         _pkg_short_errors_supported=no
26896 fi
26897         if test $_pkg_short_errors_supported = yes; then
26898                 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26899         else
26900                 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26901         fi
26902         # Put the nasty error message in config.log where it belongs
26903         echo "$Xinerama_PKG_ERRORS" >&5
26904
26905
26906       if test "x$ac_find_libraries" = "x"; then
26907                 if test "xXineramaQueryScreens" != "x"; then
26908           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26909 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26910 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26911   $as_echo_n "(cached) " >&6
26912 else
26913   ac_check_lib_save_LIBS=$LIBS
26914 LIBS="-lXinerama  $LIBS"
26915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26916 /* end confdefs.h.  */
26917
26918 /* Override any GCC internal prototype to avoid an error.
26919    Use char because int might match the return type of a GCC
26920    builtin and then its argument prototype would still apply.  */
26921 #ifdef __cplusplus
26922 extern "C"
26923 #endif
26924 char XineramaQueryScreens ();
26925 int
26926 main ()
26927 {
26928 return XineramaQueryScreens ();
26929   ;
26930   return 0;
26931 }
26932 _ACEOF
26933 if ac_fn_c_try_link "$LINENO"; then :
26934   ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26935 else
26936   ac_cv_lib_Xinerama_XineramaQueryScreens=no
26937 fi
26938 rm -f core conftest.err conftest.$ac_objext \
26939     conftest$ac_exeext conftest.$ac_ext
26940 LIBS=$ac_check_lib_save_LIBS
26941 fi
26942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26943 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26944 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26945   ac_find_libraries="std"
26946 fi
26947
26948         fi
26949       fi
26950
26951       if test "x$ac_find_libraries" = "x"; then
26952                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26953 $as_echo_n "checking elsewhere... " >&6; }
26954
26955   ac_find_libraries=
26956   for ac_dir in  $SEARCH_LIB
26957   do
26958     for ac_extension in a so sl dylib dll.a; do
26959       if test -f "$ac_dir/libXinerama.$ac_extension"; then
26960         ac_find_libraries=$ac_dir
26961         break 2
26962       fi
26963     done
26964   done
26965
26966         if test "x$ac_find_libraries" != "x"; then
26967           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26968 $as_echo "yes" >&6; }
26969         else
26970           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26971 $as_echo "no" >&6; }
26972         fi
26973       fi
26974
26975 elif test $pkg_failed = untried; then
26976
26977       if test "x$ac_find_libraries" = "x"; then
26978                 if test "xXineramaQueryScreens" != "x"; then
26979           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26980 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26981 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26982   $as_echo_n "(cached) " >&6
26983 else
26984   ac_check_lib_save_LIBS=$LIBS
26985 LIBS="-lXinerama  $LIBS"
26986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26987 /* end confdefs.h.  */
26988
26989 /* Override any GCC internal prototype to avoid an error.
26990    Use char because int might match the return type of a GCC
26991    builtin and then its argument prototype would still apply.  */
26992 #ifdef __cplusplus
26993 extern "C"
26994 #endif
26995 char XineramaQueryScreens ();
26996 int
26997 main ()
26998 {
26999 return XineramaQueryScreens ();
27000   ;
27001   return 0;
27002 }
27003 _ACEOF
27004 if ac_fn_c_try_link "$LINENO"; then :
27005   ac_cv_lib_Xinerama_XineramaQueryScreens=yes
27006 else
27007   ac_cv_lib_Xinerama_XineramaQueryScreens=no
27008 fi
27009 rm -f core conftest.err conftest.$ac_objext \
27010     conftest$ac_exeext conftest.$ac_ext
27011 LIBS=$ac_check_lib_save_LIBS
27012 fi
27013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
27014 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
27015 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
27016   ac_find_libraries="std"
27017 fi
27018
27019         fi
27020       fi
27021
27022       if test "x$ac_find_libraries" = "x"; then
27023                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27024 $as_echo_n "checking elsewhere... " >&6; }
27025
27026   ac_find_libraries=
27027   for ac_dir in  $SEARCH_LIB
27028   do
27029     for ac_extension in a so sl dylib dll.a; do
27030       if test -f "$ac_dir/libXinerama.$ac_extension"; then
27031         ac_find_libraries=$ac_dir
27032         break 2
27033       fi
27034     done
27035   done
27036
27037         if test "x$ac_find_libraries" != "x"; then
27038           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27039 $as_echo "yes" >&6; }
27040         else
27041           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27042 $as_echo "no" >&6; }
27043         fi
27044       fi
27045
27046 else
27047         Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
27048         Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
27049         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27050 $as_echo "yes" >&6; }
27051
27052             ac_find_libraries="std"
27053
27054                                                 eval ac_find_cflags=\$Xinerama_CFLAGS
27055       eval fl_libs=\$Xinerama_LIBS
27056
27057                   for fl_path in $fl_libs
27058       do
27059         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27060                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27061         fi
27062       done
27063
27064 fi
27065
27066         if test "$ac_find_libraries" != "" ; then
27067             if test "$ac_find_libraries" != "std" ; then
27068
27069     if test "$ac_find_libraries" = "default location"; then
27070     ac_path_to_link=""
27071   else
27072     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27073     result=$?
27074     if test $result = 0; then
27075       ac_path_to_link=""
27076     else
27077       ac_path_to_link=" -L$ac_find_libraries"
27078     fi
27079   fi
27080
27081               if test "$ac_path_to_link" != " -L/usr/lib" ; then
27082                   LDFLAGS="$LDFLAGS $ac_path_to_link"
27083               fi
27084             fi
27085             USE_XINERAMA=1
27086             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27087         else
27088             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
27089 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27090             wxUSE_DISPLAY="no"
27091         fi
27092     elif test "$wxUSE_MSW" = 1; then
27093                 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
27094 "
27095 if test "x$ac_cv_header_ddraw_h" = xyes; then :
27096
27097 fi
27098
27099
27100     fi
27101 fi
27102
27103 if test "$wxUSE_DISPLAY" = "yes"; then
27104         if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
27105
27106   ac_find_libraries=
27107
27108     fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
27109
27110
27111 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27112         if test -n "$ac_tool_prefix"; then
27113   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27114 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27116 $as_echo_n "checking for $ac_word... " >&6; }
27117 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27118   $as_echo_n "(cached) " >&6
27119 else
27120   case $PKG_CONFIG in
27121   [\\/]* | ?:[\\/]*)
27122   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27123   ;;
27124   *)
27125   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27126 for as_dir in $PATH
27127 do
27128   IFS=$as_save_IFS
27129   test -z "$as_dir" && as_dir=.
27130     for ac_exec_ext in '' $ac_executable_extensions; do
27131   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27132     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27133     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27134     break 2
27135   fi
27136 done
27137   done
27138 IFS=$as_save_IFS
27139
27140   ;;
27141 esac
27142 fi
27143 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27144 if test -n "$PKG_CONFIG"; then
27145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27146 $as_echo "$PKG_CONFIG" >&6; }
27147 else
27148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27149 $as_echo "no" >&6; }
27150 fi
27151
27152
27153 fi
27154 if test -z "$ac_cv_path_PKG_CONFIG"; then
27155   ac_pt_PKG_CONFIG=$PKG_CONFIG
27156   # Extract the first word of "pkg-config", so it can be a program name with args.
27157 set dummy pkg-config; ac_word=$2
27158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27159 $as_echo_n "checking for $ac_word... " >&6; }
27160 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27161   $as_echo_n "(cached) " >&6
27162 else
27163   case $ac_pt_PKG_CONFIG in
27164   [\\/]* | ?:[\\/]*)
27165   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27166   ;;
27167   *)
27168   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27169 for as_dir in $PATH
27170 do
27171   IFS=$as_save_IFS
27172   test -z "$as_dir" && as_dir=.
27173     for ac_exec_ext in '' $ac_executable_extensions; do
27174   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27175     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27176     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27177     break 2
27178   fi
27179 done
27180   done
27181 IFS=$as_save_IFS
27182
27183   ;;
27184 esac
27185 fi
27186 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27187 if test -n "$ac_pt_PKG_CONFIG"; then
27188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27189 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27190 else
27191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27192 $as_echo "no" >&6; }
27193 fi
27194
27195   if test "x$ac_pt_PKG_CONFIG" = x; then
27196     PKG_CONFIG=""
27197   else
27198     case $cross_compiling:$ac_tool_warned in
27199 yes:)
27200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27202 ac_tool_warned=yes ;;
27203 esac
27204     PKG_CONFIG=$ac_pt_PKG_CONFIG
27205   fi
27206 else
27207   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27208 fi
27209
27210 fi
27211 if test -n "$PKG_CONFIG"; then
27212         _pkg_min_version=0.9.0
27213         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27214 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27215         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27216                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27217 $as_echo "yes" >&6; }
27218         else
27219                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27220 $as_echo "no" >&6; }
27221                 PKG_CONFIG=""
27222         fi
27223
27224 fi 6> /dev/null
27225
27226 pkg_failed=no
27227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
27228 $as_echo_n "checking for Xxf86vm... " >&6; }
27229
27230 if test -n "$PKG_CONFIG"; then
27231     if test -n "$Xxf86vm_CFLAGS"; then
27232         pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
27233     else
27234         if test -n "$PKG_CONFIG" && \
27235     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27236   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27237   ac_status=$?
27238   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27239   test $ac_status = 0; }; then
27240   pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27241 else
27242   pkg_failed=yes
27243 fi
27244     fi
27245 else
27246         pkg_failed=untried
27247 fi
27248 if test -n "$PKG_CONFIG"; then
27249     if test -n "$Xxf86vm_LIBS"; then
27250         pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
27251     else
27252         if test -n "$PKG_CONFIG" && \
27253     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27254   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27255   ac_status=$?
27256   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27257   test $ac_status = 0; }; then
27258   pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27259 else
27260   pkg_failed=yes
27261 fi
27262     fi
27263 else
27264         pkg_failed=untried
27265 fi
27266
27267
27268
27269 if test $pkg_failed = yes; then
27270
27271 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27272         _pkg_short_errors_supported=yes
27273 else
27274         _pkg_short_errors_supported=no
27275 fi
27276         if test $_pkg_short_errors_supported = yes; then
27277                 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27278         else
27279                 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27280         fi
27281         # Put the nasty error message in config.log where it belongs
27282         echo "$Xxf86vm_PKG_ERRORS" >&5
27283
27284
27285       if test "x$ac_find_libraries" = "x"; then
27286                 if test "xXF86VidModeQueryExtension" != "x"; then
27287           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27288 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27289 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27290   $as_echo_n "(cached) " >&6
27291 else
27292   ac_check_lib_save_LIBS=$LIBS
27293 LIBS="-lXxf86vm  $LIBS"
27294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27295 /* end confdefs.h.  */
27296
27297 /* Override any GCC internal prototype to avoid an error.
27298    Use char because int might match the return type of a GCC
27299    builtin and then its argument prototype would still apply.  */
27300 #ifdef __cplusplus
27301 extern "C"
27302 #endif
27303 char XF86VidModeQueryExtension ();
27304 int
27305 main ()
27306 {
27307 return XF86VidModeQueryExtension ();
27308   ;
27309   return 0;
27310 }
27311 _ACEOF
27312 if ac_fn_c_try_link "$LINENO"; then :
27313   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27314 else
27315   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27316 fi
27317 rm -f core conftest.err conftest.$ac_objext \
27318     conftest$ac_exeext conftest.$ac_ext
27319 LIBS=$ac_check_lib_save_LIBS
27320 fi
27321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27322 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27323 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27324   ac_find_libraries="std"
27325 fi
27326
27327         fi
27328       fi
27329
27330       if test "x$ac_find_libraries" = "x"; then
27331                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27332 $as_echo_n "checking elsewhere... " >&6; }
27333
27334   ac_find_libraries=
27335   for ac_dir in  $SEARCH_LIB
27336   do
27337     for ac_extension in a so sl dylib dll.a; do
27338       if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27339         ac_find_libraries=$ac_dir
27340         break 2
27341       fi
27342     done
27343   done
27344
27345         if test "x$ac_find_libraries" != "x"; then
27346           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27347 $as_echo "yes" >&6; }
27348         else
27349           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27350 $as_echo "no" >&6; }
27351         fi
27352       fi
27353
27354 elif test $pkg_failed = untried; then
27355
27356       if test "x$ac_find_libraries" = "x"; then
27357                 if test "xXF86VidModeQueryExtension" != "x"; then
27358           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27359 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27360 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27361   $as_echo_n "(cached) " >&6
27362 else
27363   ac_check_lib_save_LIBS=$LIBS
27364 LIBS="-lXxf86vm  $LIBS"
27365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27366 /* end confdefs.h.  */
27367
27368 /* Override any GCC internal prototype to avoid an error.
27369    Use char because int might match the return type of a GCC
27370    builtin and then its argument prototype would still apply.  */
27371 #ifdef __cplusplus
27372 extern "C"
27373 #endif
27374 char XF86VidModeQueryExtension ();
27375 int
27376 main ()
27377 {
27378 return XF86VidModeQueryExtension ();
27379   ;
27380   return 0;
27381 }
27382 _ACEOF
27383 if ac_fn_c_try_link "$LINENO"; then :
27384   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27385 else
27386   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27387 fi
27388 rm -f core conftest.err conftest.$ac_objext \
27389     conftest$ac_exeext conftest.$ac_ext
27390 LIBS=$ac_check_lib_save_LIBS
27391 fi
27392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27393 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27394 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27395   ac_find_libraries="std"
27396 fi
27397
27398         fi
27399       fi
27400
27401       if test "x$ac_find_libraries" = "x"; then
27402                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27403 $as_echo_n "checking elsewhere... " >&6; }
27404
27405   ac_find_libraries=
27406   for ac_dir in  $SEARCH_LIB
27407   do
27408     for ac_extension in a so sl dylib dll.a; do
27409       if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27410         ac_find_libraries=$ac_dir
27411         break 2
27412       fi
27413     done
27414   done
27415
27416         if test "x$ac_find_libraries" != "x"; then
27417           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27418 $as_echo "yes" >&6; }
27419         else
27420           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27421 $as_echo "no" >&6; }
27422         fi
27423       fi
27424
27425 else
27426         Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27427         Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27428         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27429 $as_echo "yes" >&6; }
27430
27431             ac_find_libraries="std"
27432
27433                                                 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27434       eval fl_libs=\$Xxf86vm_LIBS
27435
27436                   for fl_path in $fl_libs
27437       do
27438         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27439                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27440         fi
27441       done
27442
27443 fi
27444
27445         if test "$ac_find_libraries" != "" ; then
27446             for ac_header in X11/extensions/xf86vmode.h
27447 do :
27448   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27449                                   #if HAVE_X11_XLIB_H
27450                                     #include <X11/Xlib.h>
27451                                   #endif
27452
27453 "
27454 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then :
27455   cat >>confdefs.h <<_ACEOF
27456 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27457 _ACEOF
27458
27459                               GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27460
27461 fi
27462
27463 done
27464
27465         fi
27466     fi
27467 fi
27468
27469 if test "$wxUSE_DETECT_SM" = "yes"; then
27470     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27471
27472   ac_find_libraries=
27473
27474     fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27475
27476
27477 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27478         if test -n "$ac_tool_prefix"; then
27479   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27480 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27482 $as_echo_n "checking for $ac_word... " >&6; }
27483 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27484   $as_echo_n "(cached) " >&6
27485 else
27486   case $PKG_CONFIG in
27487   [\\/]* | ?:[\\/]*)
27488   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27489   ;;
27490   *)
27491   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27492 for as_dir in $PATH
27493 do
27494   IFS=$as_save_IFS
27495   test -z "$as_dir" && as_dir=.
27496     for ac_exec_ext in '' $ac_executable_extensions; do
27497   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27498     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27499     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27500     break 2
27501   fi
27502 done
27503   done
27504 IFS=$as_save_IFS
27505
27506   ;;
27507 esac
27508 fi
27509 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27510 if test -n "$PKG_CONFIG"; then
27511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27512 $as_echo "$PKG_CONFIG" >&6; }
27513 else
27514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27515 $as_echo "no" >&6; }
27516 fi
27517
27518
27519 fi
27520 if test -z "$ac_cv_path_PKG_CONFIG"; then
27521   ac_pt_PKG_CONFIG=$PKG_CONFIG
27522   # Extract the first word of "pkg-config", so it can be a program name with args.
27523 set dummy pkg-config; ac_word=$2
27524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27525 $as_echo_n "checking for $ac_word... " >&6; }
27526 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27527   $as_echo_n "(cached) " >&6
27528 else
27529   case $ac_pt_PKG_CONFIG in
27530   [\\/]* | ?:[\\/]*)
27531   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27532   ;;
27533   *)
27534   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27535 for as_dir in $PATH
27536 do
27537   IFS=$as_save_IFS
27538   test -z "$as_dir" && as_dir=.
27539     for ac_exec_ext in '' $ac_executable_extensions; do
27540   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27541     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27542     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27543     break 2
27544   fi
27545 done
27546   done
27547 IFS=$as_save_IFS
27548
27549   ;;
27550 esac
27551 fi
27552 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27553 if test -n "$ac_pt_PKG_CONFIG"; then
27554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27555 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27556 else
27557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27558 $as_echo "no" >&6; }
27559 fi
27560
27561   if test "x$ac_pt_PKG_CONFIG" = x; then
27562     PKG_CONFIG=""
27563   else
27564     case $cross_compiling:$ac_tool_warned in
27565 yes:)
27566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27568 ac_tool_warned=yes ;;
27569 esac
27570     PKG_CONFIG=$ac_pt_PKG_CONFIG
27571   fi
27572 else
27573   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27574 fi
27575
27576 fi
27577 if test -n "$PKG_CONFIG"; then
27578         _pkg_min_version=0.9.0
27579         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27580 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27581         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27582                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27583 $as_echo "yes" >&6; }
27584         else
27585                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27586 $as_echo "no" >&6; }
27587                 PKG_CONFIG=""
27588         fi
27589
27590 fi 6> /dev/null
27591
27592 pkg_failed=no
27593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27594 $as_echo_n "checking for SM... " >&6; }
27595
27596 if test -n "$PKG_CONFIG"; then
27597     if test -n "$SM_CFLAGS"; then
27598         pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27599     else
27600         if test -n "$PKG_CONFIG" && \
27601     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27602   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27603   ac_status=$?
27604   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27605   test $ac_status = 0; }; then
27606   pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27607 else
27608   pkg_failed=yes
27609 fi
27610     fi
27611 else
27612         pkg_failed=untried
27613 fi
27614 if test -n "$PKG_CONFIG"; then
27615     if test -n "$SM_LIBS"; then
27616         pkg_cv_SM_LIBS="$SM_LIBS"
27617     else
27618         if test -n "$PKG_CONFIG" && \
27619     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27620   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27621   ac_status=$?
27622   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27623   test $ac_status = 0; }; then
27624   pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27625 else
27626   pkg_failed=yes
27627 fi
27628     fi
27629 else
27630         pkg_failed=untried
27631 fi
27632
27633
27634
27635 if test $pkg_failed = yes; then
27636
27637 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27638         _pkg_short_errors_supported=yes
27639 else
27640         _pkg_short_errors_supported=no
27641 fi
27642         if test $_pkg_short_errors_supported = yes; then
27643                 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27644         else
27645                 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27646         fi
27647         # Put the nasty error message in config.log where it belongs
27648         echo "$SM_PKG_ERRORS" >&5
27649
27650
27651       if test "x$ac_find_libraries" = "x"; then
27652                 if test "xSmcOpenConnection" != "x"; then
27653           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27654 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27655 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27656   $as_echo_n "(cached) " >&6
27657 else
27658   ac_check_lib_save_LIBS=$LIBS
27659 LIBS="-lSM  $LIBS"
27660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27661 /* end confdefs.h.  */
27662
27663 /* Override any GCC internal prototype to avoid an error.
27664    Use char because int might match the return type of a GCC
27665    builtin and then its argument prototype would still apply.  */
27666 #ifdef __cplusplus
27667 extern "C"
27668 #endif
27669 char SmcOpenConnection ();
27670 int
27671 main ()
27672 {
27673 return SmcOpenConnection ();
27674   ;
27675   return 0;
27676 }
27677 _ACEOF
27678 if ac_fn_c_try_link "$LINENO"; then :
27679   ac_cv_lib_SM_SmcOpenConnection=yes
27680 else
27681   ac_cv_lib_SM_SmcOpenConnection=no
27682 fi
27683 rm -f core conftest.err conftest.$ac_objext \
27684     conftest$ac_exeext conftest.$ac_ext
27685 LIBS=$ac_check_lib_save_LIBS
27686 fi
27687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27688 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27689 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27690   ac_find_libraries="std"
27691 fi
27692
27693         fi
27694       fi
27695
27696       if test "x$ac_find_libraries" = "x"; then
27697                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27698 $as_echo_n "checking elsewhere... " >&6; }
27699
27700   ac_find_libraries=
27701   for ac_dir in  $SEARCH_LIB
27702   do
27703     for ac_extension in a so sl dylib dll.a; do
27704       if test -f "$ac_dir/libSM.$ac_extension"; then
27705         ac_find_libraries=$ac_dir
27706         break 2
27707       fi
27708     done
27709   done
27710
27711         if test "x$ac_find_libraries" != "x"; then
27712           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27713 $as_echo "yes" >&6; }
27714         else
27715           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27716 $as_echo "no" >&6; }
27717         fi
27718       fi
27719
27720 elif test $pkg_failed = untried; then
27721
27722       if test "x$ac_find_libraries" = "x"; then
27723                 if test "xSmcOpenConnection" != "x"; then
27724           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27725 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27726 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27727   $as_echo_n "(cached) " >&6
27728 else
27729   ac_check_lib_save_LIBS=$LIBS
27730 LIBS="-lSM  $LIBS"
27731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27732 /* end confdefs.h.  */
27733
27734 /* Override any GCC internal prototype to avoid an error.
27735    Use char because int might match the return type of a GCC
27736    builtin and then its argument prototype would still apply.  */
27737 #ifdef __cplusplus
27738 extern "C"
27739 #endif
27740 char SmcOpenConnection ();
27741 int
27742 main ()
27743 {
27744 return SmcOpenConnection ();
27745   ;
27746   return 0;
27747 }
27748 _ACEOF
27749 if ac_fn_c_try_link "$LINENO"; then :
27750   ac_cv_lib_SM_SmcOpenConnection=yes
27751 else
27752   ac_cv_lib_SM_SmcOpenConnection=no
27753 fi
27754 rm -f core conftest.err conftest.$ac_objext \
27755     conftest$ac_exeext conftest.$ac_ext
27756 LIBS=$ac_check_lib_save_LIBS
27757 fi
27758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27759 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27760 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27761   ac_find_libraries="std"
27762 fi
27763
27764         fi
27765       fi
27766
27767       if test "x$ac_find_libraries" = "x"; then
27768                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27769 $as_echo_n "checking elsewhere... " >&6; }
27770
27771   ac_find_libraries=
27772   for ac_dir in  $SEARCH_LIB
27773   do
27774     for ac_extension in a so sl dylib dll.a; do
27775       if test -f "$ac_dir/libSM.$ac_extension"; then
27776         ac_find_libraries=$ac_dir
27777         break 2
27778       fi
27779     done
27780   done
27781
27782         if test "x$ac_find_libraries" != "x"; then
27783           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27784 $as_echo "yes" >&6; }
27785         else
27786           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27787 $as_echo "no" >&6; }
27788         fi
27789       fi
27790
27791 else
27792         SM_CFLAGS=$pkg_cv_SM_CFLAGS
27793         SM_LIBS=$pkg_cv_SM_LIBS
27794         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27795 $as_echo "yes" >&6; }
27796
27797             ac_find_libraries="std"
27798
27799                                                 eval ac_find_cflags=\$SM_CFLAGS
27800       eval fl_libs=\$SM_LIBS
27801
27802                   for fl_path in $fl_libs
27803       do
27804         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27805                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27806         fi
27807       done
27808
27809 fi
27810
27811         if test "$ac_find_libraries" != "" ; then
27812             if test "$ac_find_libraries" != "std" ; then
27813
27814     if test "$ac_find_libraries" = "default location"; then
27815     ac_path_to_link=""
27816   else
27817     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27818     result=$?
27819     if test $result = 0; then
27820       ac_path_to_link=""
27821     else
27822       ac_path_to_link=" -L$ac_find_libraries"
27823     fi
27824   fi
27825
27826               if test "$ac_path_to_link" != " -L/usr/lib" ; then
27827                 LDFLAGS="$LDFLAGS $ac_path_to_link"
27828               fi
27829             fi
27830             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27831         else
27832             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27833 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27834             wxUSE_DETECT_SM="no"
27835         fi
27836     else
27837         wxUSE_DETECT_SM="no"
27838     fi
27839 fi
27840
27841
27842
27843 USE_OPENGL=0
27844 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27845
27846
27847     if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27848         OPENGL_LIBS="-framework OpenGL -framework AGL"
27849     elif test "$wxUSE_MSW" = 1; then
27850         OPENGL_LIBS="-lopengl32 -lglu32"
27851     elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27852
27853                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27854 $as_echo_n "checking for OpenGL headers... " >&6; }
27855
27856 ac_find_includes=
27857 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27858   do
27859     if test -f "$ac_dir/GL/gl.h"; then
27860       ac_find_includes=$ac_dir
27861       break
27862     fi
27863   done
27864
27865         if test "$ac_find_includes" != "" ; then
27866             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27867 $as_echo "found in $ac_find_includes" >&6; }
27868
27869     if test "x$ac_find_includes" = "x/usr/include"; then
27870     ac_path_to_include=""
27871   else
27872     echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27873     result=$?
27874     if test $result = 0; then
27875       ac_path_to_include=""
27876     else
27877       ac_path_to_include=" -I$ac_find_includes"
27878     fi
27879   fi
27880
27881             CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27882         else
27883             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27884 $as_echo "not found" >&6; }
27885         fi
27886
27887         ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27888 "
27889 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27890
27891             ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27892 "
27893 if test "x$ac_cv_header_GL_glu_h" = xyes; then :
27894
27895                 found_gl=0
27896
27897
27898   ac_find_libraries=
27899
27900     fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27901
27902
27903 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27904         if test -n "$ac_tool_prefix"; then
27905   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27906 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27908 $as_echo_n "checking for $ac_word... " >&6; }
27909 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27910   $as_echo_n "(cached) " >&6
27911 else
27912   case $PKG_CONFIG in
27913   [\\/]* | ?:[\\/]*)
27914   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27915   ;;
27916   *)
27917   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27918 for as_dir in $PATH
27919 do
27920   IFS=$as_save_IFS
27921   test -z "$as_dir" && as_dir=.
27922     for ac_exec_ext in '' $ac_executable_extensions; do
27923   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27924     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27925     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27926     break 2
27927   fi
27928 done
27929   done
27930 IFS=$as_save_IFS
27931
27932   ;;
27933 esac
27934 fi
27935 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27936 if test -n "$PKG_CONFIG"; then
27937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27938 $as_echo "$PKG_CONFIG" >&6; }
27939 else
27940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27941 $as_echo "no" >&6; }
27942 fi
27943
27944
27945 fi
27946 if test -z "$ac_cv_path_PKG_CONFIG"; then
27947   ac_pt_PKG_CONFIG=$PKG_CONFIG
27948   # Extract the first word of "pkg-config", so it can be a program name with args.
27949 set dummy pkg-config; ac_word=$2
27950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27951 $as_echo_n "checking for $ac_word... " >&6; }
27952 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27953   $as_echo_n "(cached) " >&6
27954 else
27955   case $ac_pt_PKG_CONFIG in
27956   [\\/]* | ?:[\\/]*)
27957   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27958   ;;
27959   *)
27960   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27961 for as_dir in $PATH
27962 do
27963   IFS=$as_save_IFS
27964   test -z "$as_dir" && as_dir=.
27965     for ac_exec_ext in '' $ac_executable_extensions; do
27966   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27967     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27968     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27969     break 2
27970   fi
27971 done
27972   done
27973 IFS=$as_save_IFS
27974
27975   ;;
27976 esac
27977 fi
27978 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27979 if test -n "$ac_pt_PKG_CONFIG"; then
27980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27981 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27982 else
27983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27984 $as_echo "no" >&6; }
27985 fi
27986
27987   if test "x$ac_pt_PKG_CONFIG" = x; then
27988     PKG_CONFIG=""
27989   else
27990     case $cross_compiling:$ac_tool_warned in
27991 yes:)
27992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27994 ac_tool_warned=yes ;;
27995 esac
27996     PKG_CONFIG=$ac_pt_PKG_CONFIG
27997   fi
27998 else
27999   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28000 fi
28001
28002 fi
28003 if test -n "$PKG_CONFIG"; then
28004         _pkg_min_version=0.9.0
28005         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28006 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28007         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28008                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28009 $as_echo "yes" >&6; }
28010         else
28011                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28012 $as_echo "no" >&6; }
28013                 PKG_CONFIG=""
28014         fi
28015
28016 fi 6> /dev/null
28017
28018 pkg_failed=no
28019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
28020 $as_echo_n "checking for GL... " >&6; }
28021
28022 if test -n "$PKG_CONFIG"; then
28023     if test -n "$GL_CFLAGS"; then
28024         pkg_cv_GL_CFLAGS="$GL_CFLAGS"
28025     else
28026         if test -n "$PKG_CONFIG" && \
28027     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28028   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28029   ac_status=$?
28030   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28031   test $ac_status = 0; }; then
28032   pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28033 else
28034   pkg_failed=yes
28035 fi
28036     fi
28037 else
28038         pkg_failed=untried
28039 fi
28040 if test -n "$PKG_CONFIG"; then
28041     if test -n "$GL_LIBS"; then
28042         pkg_cv_GL_LIBS="$GL_LIBS"
28043     else
28044         if test -n "$PKG_CONFIG" && \
28045     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28046   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28047   ac_status=$?
28048   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28049   test $ac_status = 0; }; then
28050   pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28051 else
28052   pkg_failed=yes
28053 fi
28054     fi
28055 else
28056         pkg_failed=untried
28057 fi
28058
28059
28060
28061 if test $pkg_failed = yes; then
28062
28063 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28064         _pkg_short_errors_supported=yes
28065 else
28066         _pkg_short_errors_supported=no
28067 fi
28068         if test $_pkg_short_errors_supported = yes; then
28069                 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28070         else
28071                 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28072         fi
28073         # Put the nasty error message in config.log where it belongs
28074         echo "$GL_PKG_ERRORS" >&5
28075
28076
28077       if test "x$ac_find_libraries" = "x"; then
28078                 if test "xglBegin" != "x"; then
28079           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28080 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28081 if ${ac_cv_lib_GL_glBegin+:} false; then :
28082   $as_echo_n "(cached) " >&6
28083 else
28084   ac_check_lib_save_LIBS=$LIBS
28085 LIBS="-lGL  $LIBS"
28086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28087 /* end confdefs.h.  */
28088
28089 /* Override any GCC internal prototype to avoid an error.
28090    Use char because int might match the return type of a GCC
28091    builtin and then its argument prototype would still apply.  */
28092 #ifdef __cplusplus
28093 extern "C"
28094 #endif
28095 char glBegin ();
28096 int
28097 main ()
28098 {
28099 return glBegin ();
28100   ;
28101   return 0;
28102 }
28103 _ACEOF
28104 if ac_fn_c_try_link "$LINENO"; then :
28105   ac_cv_lib_GL_glBegin=yes
28106 else
28107   ac_cv_lib_GL_glBegin=no
28108 fi
28109 rm -f core conftest.err conftest.$ac_objext \
28110     conftest$ac_exeext conftest.$ac_ext
28111 LIBS=$ac_check_lib_save_LIBS
28112 fi
28113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28114 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28115 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
28116   ac_find_libraries="std"
28117 fi
28118
28119         fi
28120       fi
28121
28122       if test "x$ac_find_libraries" = "x"; then
28123                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28124 $as_echo_n "checking elsewhere... " >&6; }
28125
28126   ac_find_libraries=
28127   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28128   do
28129     for ac_extension in a so sl dylib dll.a; do
28130       if test -f "$ac_dir/libGL.$ac_extension"; then
28131         ac_find_libraries=$ac_dir
28132         break 2
28133       fi
28134     done
28135   done
28136
28137         if test "x$ac_find_libraries" != "x"; then
28138           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28139 $as_echo "yes" >&6; }
28140         else
28141           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28142 $as_echo "no" >&6; }
28143         fi
28144       fi
28145
28146 elif test $pkg_failed = untried; then
28147
28148       if test "x$ac_find_libraries" = "x"; then
28149                 if test "xglBegin" != "x"; then
28150           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28151 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28152 if ${ac_cv_lib_GL_glBegin+:} false; then :
28153   $as_echo_n "(cached) " >&6
28154 else
28155   ac_check_lib_save_LIBS=$LIBS
28156 LIBS="-lGL  $LIBS"
28157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28158 /* end confdefs.h.  */
28159
28160 /* Override any GCC internal prototype to avoid an error.
28161    Use char because int might match the return type of a GCC
28162    builtin and then its argument prototype would still apply.  */
28163 #ifdef __cplusplus
28164 extern "C"
28165 #endif
28166 char glBegin ();
28167 int
28168 main ()
28169 {
28170 return glBegin ();
28171   ;
28172   return 0;
28173 }
28174 _ACEOF
28175 if ac_fn_c_try_link "$LINENO"; then :
28176   ac_cv_lib_GL_glBegin=yes
28177 else
28178   ac_cv_lib_GL_glBegin=no
28179 fi
28180 rm -f core conftest.err conftest.$ac_objext \
28181     conftest$ac_exeext conftest.$ac_ext
28182 LIBS=$ac_check_lib_save_LIBS
28183 fi
28184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28185 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28186 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
28187   ac_find_libraries="std"
28188 fi
28189
28190         fi
28191       fi
28192
28193       if test "x$ac_find_libraries" = "x"; then
28194                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28195 $as_echo_n "checking elsewhere... " >&6; }
28196
28197   ac_find_libraries=
28198   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28199   do
28200     for ac_extension in a so sl dylib dll.a; do
28201       if test -f "$ac_dir/libGL.$ac_extension"; then
28202         ac_find_libraries=$ac_dir
28203         break 2
28204       fi
28205     done
28206   done
28207
28208         if test "x$ac_find_libraries" != "x"; then
28209           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28210 $as_echo "yes" >&6; }
28211         else
28212           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28213 $as_echo "no" >&6; }
28214         fi
28215       fi
28216
28217 else
28218         GL_CFLAGS=$pkg_cv_GL_CFLAGS
28219         GL_LIBS=$pkg_cv_GL_LIBS
28220         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28221 $as_echo "yes" >&6; }
28222
28223             ac_find_libraries="std"
28224
28225                                                 eval ac_find_cflags=\$GL_CFLAGS
28226       eval fl_libs=\$GL_LIBS
28227
28228                   for fl_path in $fl_libs
28229       do
28230         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28231                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28232         fi
28233       done
28234
28235 fi
28236
28237                 if test "$ac_find_libraries" != "" ; then
28238                     if test "$ac_find_libraries" != "std" ; then
28239
28240     if test "$ac_find_libraries" = "default location"; then
28241     ac_path_to_link=""
28242   else
28243     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28244     result=$?
28245     if test $result = 0; then
28246       ac_path_to_link=""
28247     else
28248       ac_path_to_link=" -L$ac_find_libraries"
28249     fi
28250   fi
28251
28252                       if test "$ac_path_to_link" != " -L/usr/lib" ; then
28253                         LDFLAGS_GL="$ac_path_to_link"
28254                       fi
28255                     fi
28256
28257
28258   ac_find_libraries=
28259
28260     fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
28261
28262
28263 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28264         if test -n "$ac_tool_prefix"; then
28265   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28266 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28268 $as_echo_n "checking for $ac_word... " >&6; }
28269 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28270   $as_echo_n "(cached) " >&6
28271 else
28272   case $PKG_CONFIG in
28273   [\\/]* | ?:[\\/]*)
28274   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28275   ;;
28276   *)
28277   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28278 for as_dir in $PATH
28279 do
28280   IFS=$as_save_IFS
28281   test -z "$as_dir" && as_dir=.
28282     for ac_exec_ext in '' $ac_executable_extensions; do
28283   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28284     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28285     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28286     break 2
28287   fi
28288 done
28289   done
28290 IFS=$as_save_IFS
28291
28292   ;;
28293 esac
28294 fi
28295 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28296 if test -n "$PKG_CONFIG"; then
28297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28298 $as_echo "$PKG_CONFIG" >&6; }
28299 else
28300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28301 $as_echo "no" >&6; }
28302 fi
28303
28304
28305 fi
28306 if test -z "$ac_cv_path_PKG_CONFIG"; then
28307   ac_pt_PKG_CONFIG=$PKG_CONFIG
28308   # Extract the first word of "pkg-config", so it can be a program name with args.
28309 set dummy pkg-config; ac_word=$2
28310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28311 $as_echo_n "checking for $ac_word... " >&6; }
28312 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28313   $as_echo_n "(cached) " >&6
28314 else
28315   case $ac_pt_PKG_CONFIG in
28316   [\\/]* | ?:[\\/]*)
28317   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28318   ;;
28319   *)
28320   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28321 for as_dir in $PATH
28322 do
28323   IFS=$as_save_IFS
28324   test -z "$as_dir" && as_dir=.
28325     for ac_exec_ext in '' $ac_executable_extensions; do
28326   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28327     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28328     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28329     break 2
28330   fi
28331 done
28332   done
28333 IFS=$as_save_IFS
28334
28335   ;;
28336 esac
28337 fi
28338 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28339 if test -n "$ac_pt_PKG_CONFIG"; then
28340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28341 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28342 else
28343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28344 $as_echo "no" >&6; }
28345 fi
28346
28347   if test "x$ac_pt_PKG_CONFIG" = x; then
28348     PKG_CONFIG=""
28349   else
28350     case $cross_compiling:$ac_tool_warned in
28351 yes:)
28352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28354 ac_tool_warned=yes ;;
28355 esac
28356     PKG_CONFIG=$ac_pt_PKG_CONFIG
28357   fi
28358 else
28359   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28360 fi
28361
28362 fi
28363 if test -n "$PKG_CONFIG"; then
28364         _pkg_min_version=0.9.0
28365         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28366 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28367         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28368                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28369 $as_echo "yes" >&6; }
28370         else
28371                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28372 $as_echo "no" >&6; }
28373                 PKG_CONFIG=""
28374         fi
28375
28376 fi 6> /dev/null
28377
28378 pkg_failed=no
28379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28380 $as_echo_n "checking for GLU... " >&6; }
28381
28382 if test -n "$PKG_CONFIG"; then
28383     if test -n "$GLU_CFLAGS"; then
28384         pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28385     else
28386         if test -n "$PKG_CONFIG" && \
28387     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28388   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28389   ac_status=$?
28390   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28391   test $ac_status = 0; }; then
28392   pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28393 else
28394   pkg_failed=yes
28395 fi
28396     fi
28397 else
28398         pkg_failed=untried
28399 fi
28400 if test -n "$PKG_CONFIG"; then
28401     if test -n "$GLU_LIBS"; then
28402         pkg_cv_GLU_LIBS="$GLU_LIBS"
28403     else
28404         if test -n "$PKG_CONFIG" && \
28405     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28406   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28407   ac_status=$?
28408   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28409   test $ac_status = 0; }; then
28410   pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28411 else
28412   pkg_failed=yes
28413 fi
28414     fi
28415 else
28416         pkg_failed=untried
28417 fi
28418
28419
28420
28421 if test $pkg_failed = yes; then
28422
28423 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28424         _pkg_short_errors_supported=yes
28425 else
28426         _pkg_short_errors_supported=no
28427 fi
28428         if test $_pkg_short_errors_supported = yes; then
28429                 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28430         else
28431                 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28432         fi
28433         # Put the nasty error message in config.log where it belongs
28434         echo "$GLU_PKG_ERRORS" >&5
28435
28436
28437       if test "x$ac_find_libraries" = "x"; then
28438                 if test "xgluBeginCurve" != "x"; then
28439           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28440 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28441 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28442   $as_echo_n "(cached) " >&6
28443 else
28444   ac_check_lib_save_LIBS=$LIBS
28445 LIBS="-lGLU  $LIBS"
28446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28447 /* end confdefs.h.  */
28448
28449 /* Override any GCC internal prototype to avoid an error.
28450    Use char because int might match the return type of a GCC
28451    builtin and then its argument prototype would still apply.  */
28452 #ifdef __cplusplus
28453 extern "C"
28454 #endif
28455 char gluBeginCurve ();
28456 int
28457 main ()
28458 {
28459 return gluBeginCurve ();
28460   ;
28461   return 0;
28462 }
28463 _ACEOF
28464 if ac_fn_c_try_link "$LINENO"; then :
28465   ac_cv_lib_GLU_gluBeginCurve=yes
28466 else
28467   ac_cv_lib_GLU_gluBeginCurve=no
28468 fi
28469 rm -f core conftest.err conftest.$ac_objext \
28470     conftest$ac_exeext conftest.$ac_ext
28471 LIBS=$ac_check_lib_save_LIBS
28472 fi
28473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28474 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28475 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28476   ac_find_libraries="std"
28477 fi
28478
28479         fi
28480       fi
28481
28482       if test "x$ac_find_libraries" = "x"; then
28483                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28484 $as_echo_n "checking elsewhere... " >&6; }
28485
28486   ac_find_libraries=
28487   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28488   do
28489     for ac_extension in a so sl dylib dll.a; do
28490       if test -f "$ac_dir/libGLU.$ac_extension"; then
28491         ac_find_libraries=$ac_dir
28492         break 2
28493       fi
28494     done
28495   done
28496
28497         if test "x$ac_find_libraries" != "x"; then
28498           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28499 $as_echo "yes" >&6; }
28500         else
28501           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28502 $as_echo "no" >&6; }
28503         fi
28504       fi
28505
28506 elif test $pkg_failed = untried; then
28507
28508       if test "x$ac_find_libraries" = "x"; then
28509                 if test "xgluBeginCurve" != "x"; then
28510           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28511 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28512 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28513   $as_echo_n "(cached) " >&6
28514 else
28515   ac_check_lib_save_LIBS=$LIBS
28516 LIBS="-lGLU  $LIBS"
28517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28518 /* end confdefs.h.  */
28519
28520 /* Override any GCC internal prototype to avoid an error.
28521    Use char because int might match the return type of a GCC
28522    builtin and then its argument prototype would still apply.  */
28523 #ifdef __cplusplus
28524 extern "C"
28525 #endif
28526 char gluBeginCurve ();
28527 int
28528 main ()
28529 {
28530 return gluBeginCurve ();
28531   ;
28532   return 0;
28533 }
28534 _ACEOF
28535 if ac_fn_c_try_link "$LINENO"; then :
28536   ac_cv_lib_GLU_gluBeginCurve=yes
28537 else
28538   ac_cv_lib_GLU_gluBeginCurve=no
28539 fi
28540 rm -f core conftest.err conftest.$ac_objext \
28541     conftest$ac_exeext conftest.$ac_ext
28542 LIBS=$ac_check_lib_save_LIBS
28543 fi
28544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28545 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28546 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28547   ac_find_libraries="std"
28548 fi
28549
28550         fi
28551       fi
28552
28553       if test "x$ac_find_libraries" = "x"; then
28554                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28555 $as_echo_n "checking elsewhere... " >&6; }
28556
28557   ac_find_libraries=
28558   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28559   do
28560     for ac_extension in a so sl dylib dll.a; do
28561       if test -f "$ac_dir/libGLU.$ac_extension"; then
28562         ac_find_libraries=$ac_dir
28563         break 2
28564       fi
28565     done
28566   done
28567
28568         if test "x$ac_find_libraries" != "x"; then
28569           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28570 $as_echo "yes" >&6; }
28571         else
28572           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28573 $as_echo "no" >&6; }
28574         fi
28575       fi
28576
28577 else
28578         GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28579         GLU_LIBS=$pkg_cv_GLU_LIBS
28580         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28581 $as_echo "yes" >&6; }
28582
28583             ac_find_libraries="std"
28584
28585                                                 eval ac_find_cflags=\$GLU_CFLAGS
28586       eval fl_libs=\$GLU_LIBS
28587
28588                   for fl_path in $fl_libs
28589       do
28590         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28591                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28592         fi
28593       done
28594
28595 fi
28596
28597                     if test "$ac_find_libraries" != "" ; then
28598                       if test "$ac_find_libraries" != "std" ; then
28599
28600     if test "$ac_find_libraries" = "default location"; then
28601     ac_path_to_link=""
28602   else
28603     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28604     result=$?
28605     if test $result = 0; then
28606       ac_path_to_link=""
28607     else
28608       ac_path_to_link=" -L$ac_find_libraries"
28609     fi
28610   fi
28611
28612                         if test "$ac_path_to_link" != " -L/usr/lib" -a \
28613                                 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28614                           LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28615                         fi
28616                       fi
28617
28618                         found_gl=1
28619                         OPENGL_LIBS="-lGL -lGLU"
28620                     fi
28621                 fi
28622
28623                 if test "$found_gl" != 1; then
28624
28625   ac_find_libraries=
28626
28627     fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28628
28629
28630 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28631         if test -n "$ac_tool_prefix"; then
28632   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28633 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28635 $as_echo_n "checking for $ac_word... " >&6; }
28636 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28637   $as_echo_n "(cached) " >&6
28638 else
28639   case $PKG_CONFIG in
28640   [\\/]* | ?:[\\/]*)
28641   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28642   ;;
28643   *)
28644   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28645 for as_dir in $PATH
28646 do
28647   IFS=$as_save_IFS
28648   test -z "$as_dir" && as_dir=.
28649     for ac_exec_ext in '' $ac_executable_extensions; do
28650   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28651     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28652     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28653     break 2
28654   fi
28655 done
28656   done
28657 IFS=$as_save_IFS
28658
28659   ;;
28660 esac
28661 fi
28662 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28663 if test -n "$PKG_CONFIG"; then
28664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28665 $as_echo "$PKG_CONFIG" >&6; }
28666 else
28667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28668 $as_echo "no" >&6; }
28669 fi
28670
28671
28672 fi
28673 if test -z "$ac_cv_path_PKG_CONFIG"; then
28674   ac_pt_PKG_CONFIG=$PKG_CONFIG
28675   # Extract the first word of "pkg-config", so it can be a program name with args.
28676 set dummy pkg-config; ac_word=$2
28677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28678 $as_echo_n "checking for $ac_word... " >&6; }
28679 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28680   $as_echo_n "(cached) " >&6
28681 else
28682   case $ac_pt_PKG_CONFIG in
28683   [\\/]* | ?:[\\/]*)
28684   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28685   ;;
28686   *)
28687   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28688 for as_dir in $PATH
28689 do
28690   IFS=$as_save_IFS
28691   test -z "$as_dir" && as_dir=.
28692     for ac_exec_ext in '' $ac_executable_extensions; do
28693   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28694     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28696     break 2
28697   fi
28698 done
28699   done
28700 IFS=$as_save_IFS
28701
28702   ;;
28703 esac
28704 fi
28705 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28706 if test -n "$ac_pt_PKG_CONFIG"; then
28707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28708 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28709 else
28710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28711 $as_echo "no" >&6; }
28712 fi
28713
28714   if test "x$ac_pt_PKG_CONFIG" = x; then
28715     PKG_CONFIG=""
28716   else
28717     case $cross_compiling:$ac_tool_warned in
28718 yes:)
28719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28721 ac_tool_warned=yes ;;
28722 esac
28723     PKG_CONFIG=$ac_pt_PKG_CONFIG
28724   fi
28725 else
28726   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28727 fi
28728
28729 fi
28730 if test -n "$PKG_CONFIG"; then
28731         _pkg_min_version=0.9.0
28732         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28733 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28734         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28735                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28736 $as_echo "yes" >&6; }
28737         else
28738                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28739 $as_echo "no" >&6; }
28740                 PKG_CONFIG=""
28741         fi
28742
28743 fi 6> /dev/null
28744
28745 pkg_failed=no
28746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28747 $as_echo_n "checking for MesaGL... " >&6; }
28748
28749 if test -n "$PKG_CONFIG"; then
28750     if test -n "$MesaGL_CFLAGS"; then
28751         pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28752     else
28753         if test -n "$PKG_CONFIG" && \
28754     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28755   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28756   ac_status=$?
28757   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28758   test $ac_status = 0; }; then
28759   pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28760 else
28761   pkg_failed=yes
28762 fi
28763     fi
28764 else
28765         pkg_failed=untried
28766 fi
28767 if test -n "$PKG_CONFIG"; then
28768     if test -n "$MesaGL_LIBS"; then
28769         pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28770     else
28771         if test -n "$PKG_CONFIG" && \
28772     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28773   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28774   ac_status=$?
28775   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28776   test $ac_status = 0; }; then
28777   pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28778 else
28779   pkg_failed=yes
28780 fi
28781     fi
28782 else
28783         pkg_failed=untried
28784 fi
28785
28786
28787
28788 if test $pkg_failed = yes; then
28789
28790 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28791         _pkg_short_errors_supported=yes
28792 else
28793         _pkg_short_errors_supported=no
28794 fi
28795         if test $_pkg_short_errors_supported = yes; then
28796                 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28797         else
28798                 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28799         fi
28800         # Put the nasty error message in config.log where it belongs
28801         echo "$MesaGL_PKG_ERRORS" >&5
28802
28803
28804       if test "x$ac_find_libraries" = "x"; then
28805                 if test "xglEnable" != "x"; then
28806           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28807 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28808 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28809   $as_echo_n "(cached) " >&6
28810 else
28811   ac_check_lib_save_LIBS=$LIBS
28812 LIBS="-lMesaGL  $LIBS"
28813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28814 /* end confdefs.h.  */
28815
28816 /* Override any GCC internal prototype to avoid an error.
28817    Use char because int might match the return type of a GCC
28818    builtin and then its argument prototype would still apply.  */
28819 #ifdef __cplusplus
28820 extern "C"
28821 #endif
28822 char glEnable ();
28823 int
28824 main ()
28825 {
28826 return glEnable ();
28827   ;
28828   return 0;
28829 }
28830 _ACEOF
28831 if ac_fn_c_try_link "$LINENO"; then :
28832   ac_cv_lib_MesaGL_glEnable=yes
28833 else
28834   ac_cv_lib_MesaGL_glEnable=no
28835 fi
28836 rm -f core conftest.err conftest.$ac_objext \
28837     conftest$ac_exeext conftest.$ac_ext
28838 LIBS=$ac_check_lib_save_LIBS
28839 fi
28840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28841 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28842 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28843   ac_find_libraries="std"
28844 fi
28845
28846         fi
28847       fi
28848
28849       if test "x$ac_find_libraries" = "x"; then
28850                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28851 $as_echo_n "checking elsewhere... " >&6; }
28852
28853   ac_find_libraries=
28854   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28855   do
28856     for ac_extension in a so sl dylib dll.a; do
28857       if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28858         ac_find_libraries=$ac_dir
28859         break 2
28860       fi
28861     done
28862   done
28863
28864         if test "x$ac_find_libraries" != "x"; then
28865           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28866 $as_echo "yes" >&6; }
28867         else
28868           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28869 $as_echo "no" >&6; }
28870         fi
28871       fi
28872
28873 elif test $pkg_failed = untried; then
28874
28875       if test "x$ac_find_libraries" = "x"; then
28876                 if test "xglEnable" != "x"; then
28877           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28878 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28879 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28880   $as_echo_n "(cached) " >&6
28881 else
28882   ac_check_lib_save_LIBS=$LIBS
28883 LIBS="-lMesaGL  $LIBS"
28884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28885 /* end confdefs.h.  */
28886
28887 /* Override any GCC internal prototype to avoid an error.
28888    Use char because int might match the return type of a GCC
28889    builtin and then its argument prototype would still apply.  */
28890 #ifdef __cplusplus
28891 extern "C"
28892 #endif
28893 char glEnable ();
28894 int
28895 main ()
28896 {
28897 return glEnable ();
28898   ;
28899   return 0;
28900 }
28901 _ACEOF
28902 if ac_fn_c_try_link "$LINENO"; then :
28903   ac_cv_lib_MesaGL_glEnable=yes
28904 else
28905   ac_cv_lib_MesaGL_glEnable=no
28906 fi
28907 rm -f core conftest.err conftest.$ac_objext \
28908     conftest$ac_exeext conftest.$ac_ext
28909 LIBS=$ac_check_lib_save_LIBS
28910 fi
28911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28912 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28913 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28914   ac_find_libraries="std"
28915 fi
28916
28917         fi
28918       fi
28919
28920       if test "x$ac_find_libraries" = "x"; then
28921                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28922 $as_echo_n "checking elsewhere... " >&6; }
28923
28924   ac_find_libraries=
28925   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28926   do
28927     for ac_extension in a so sl dylib dll.a; do
28928       if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28929         ac_find_libraries=$ac_dir
28930         break 2
28931       fi
28932     done
28933   done
28934
28935         if test "x$ac_find_libraries" != "x"; then
28936           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28937 $as_echo "yes" >&6; }
28938         else
28939           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28940 $as_echo "no" >&6; }
28941         fi
28942       fi
28943
28944 else
28945         MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28946         MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28947         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28948 $as_echo "yes" >&6; }
28949
28950             ac_find_libraries="std"
28951
28952                                                 eval ac_find_cflags=\$MesaGL_CFLAGS
28953       eval fl_libs=\$MesaGL_LIBS
28954
28955                   for fl_path in $fl_libs
28956       do
28957         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28958                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28959         fi
28960       done
28961
28962 fi
28963
28964                     if test "$ac_find_libraries" != "" ; then
28965                       if test "$ac_find_libraries" != "std" ; then
28966
28967     if test "$ac_find_libraries" = "default location"; then
28968     ac_path_to_link=""
28969   else
28970     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28971     result=$?
28972     if test $result = 0; then
28973       ac_path_to_link=""
28974     else
28975       ac_path_to_link=" -L$ac_find_libraries"
28976     fi
28977   fi
28978
28979                         if test "$ac_path_to_link" != " -L/usr/lib" ; then
28980                           LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28981                         fi
28982                       fi
28983                       OPENGL_LIBS="-lMesaGL -lMesaGLU"
28984                     fi
28985                 fi
28986
28987 fi
28988
28989
28990
28991 fi
28992
28993
28994
28995         if test "x$OPENGL_LIBS" = "x"; then
28996             if test "$wxUSE_OPENGL" = "yes"; then
28997                 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28998             else
28999                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
29000 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
29001                 wxUSE_OPENGL=no
29002                 USE_OPENGL=0
29003             fi
29004         fi
29005     else
29006         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
29007 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
29008         wxUSE_OPENGL="no"
29009     fi
29010
29011     if test "$wxUSE_OPENGL" = "auto"; then
29012                                 wxUSE_OPENGL=yes
29013     fi
29014
29015     if test "$wxUSE_OPENGL" = "yes"; then
29016         USE_OPENGL=1
29017         $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
29018
29019         $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
29020
29021         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29022     fi
29023 fi
29024
29025
29026 if test -n "$TOOLKIT" ; then
29027     TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29028 fi
29029
29030
29031
29032 if test "$wxUSE_SHARED" = "yes"; then
29033     case "${host}" in
29034       *-pc-msdosdjgpp )
29035                 wxUSE_SHARED=no
29036         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
29037 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29038       ;;
29039     esac
29040 fi
29041
29042 if test "$wxUSE_SHARED" = "yes"; then
29043
29044
29045     case "${host}" in
29046         *-*-cygwin* | *-*-mingw* )
29047                                                                                                 wx_cv_version_script=no
29048             ;;
29049
29050         *)
29051             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
29052 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
29053 if ${wx_cv_version_script+:} false; then :
29054   $as_echo_n "(cached) " >&6
29055 else
29056
29057                 echo "VER_1 { *; };" >conftest.sym
29058                 echo "int main() { return 0; }" >conftest.cpp
29059
29060                 if { ac_try='
29061                         $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29062                         -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29063   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29064   (eval $ac_try) 2>&5
29065   ac_status=$?
29066   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29067   test $ac_status = 0; }; } ; then
29068                   if test -s conftest.stderr ; then
29069                       wx_cv_version_script=no
29070                   else
29071                       wx_cv_version_script=yes
29072                   fi
29073                 else
29074                   wx_cv_version_script=no
29075                 fi
29076
29077                                                                                                                                                                                                 if test $wx_cv_version_script = yes
29078                 then
29079                   echo "struct B { virtual ~B() { } }; \
29080                         struct D : public B { }; \
29081                         void F() { D d; }" > conftest.cpp
29082
29083                   if { ac_try='
29084                         $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29085                         -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29086   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29087   (eval $ac_try) 2>&5
29088   ac_status=$?
29089   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29090   test $ac_status = 0; }; } &&
29091                      { ac_try='
29092                         $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29093                         -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29094   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29095   (eval $ac_try) 2>&5
29096   ac_status=$?
29097   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29098   test $ac_status = 0; }; }
29099                   then
29100                     if { ac_try='
29101                           $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29102                           -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29103   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29104   (eval $ac_try) 2>&5
29105   ac_status=$?
29106   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29107   test $ac_status = 0; }; }
29108                     then
29109                       wx_cv_version_script=yes
29110                     else
29111                       wx_cv_version_script=no
29112                     fi
29113                   fi
29114                 fi
29115
29116                 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29117                 rm -f conftest1.output conftest2.output conftest3.output
29118
29119 fi
29120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
29121 $as_echo "$wx_cv_version_script" >&6; }
29122
29123             if test $wx_cv_version_script = yes ; then
29124                 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
29125             fi
29126             ;;
29127     esac
29128
29129
29130             if test "$wxUSE_VISIBILITY" != "no"; then
29131
29132
29133   if test -n "$GCC"; then
29134     CFLAGS_VISIBILITY="-fvisibility=hidden"
29135     CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
29136     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
29137 $as_echo_n "checking for symbols visibility support... " >&6; }
29138     if ${wx_cv_cc_visibility+:} false; then :
29139   $as_echo_n "(cached) " >&6
29140 else
29141
29142       wx_save_CXXFLAGS="$CXXFLAGS"
29143       CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29144       ac_ext=cpp
29145 ac_cpp='$CXXCPP $CPPFLAGS'
29146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29149
29150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29151 /* end confdefs.h.  */
29152
29153          /* we need gcc >= 4.0, older versions with visibility support
29154             didn't have class visibility: */
29155          #if defined(__GNUC__) && __GNUC__ < 4
29156          error this gcc is too old;
29157          #endif
29158
29159          /* visibility only makes sense for ELF shared libs: */
29160          #if !defined(__ELF__) && !defined(__APPLE__)
29161          error this platform has no visibility;
29162          #endif
29163
29164          /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
29165          #if defined(__clang__)
29166          clang compiler is still broken w.r.t. visibility;
29167          #endif
29168
29169          extern __attribute__((__visibility__("hidden"))) int hiddenvar;
29170          extern __attribute__((__visibility__("default"))) int exportedvar;
29171          extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
29172          extern __attribute__((__visibility__("default"))) int exportedfunc (void);
29173          class __attribute__((__visibility__("default"))) Foo {
29174            Foo() {}
29175          };
29176
29177 int
29178 main ()
29179 {
29180
29181   ;
29182   return 0;
29183 }
29184 _ACEOF
29185 if ac_fn_cxx_try_compile "$LINENO"; then :
29186   wx_cv_cc_visibility=yes
29187 else
29188   wx_cv_cc_visibility=no
29189 fi
29190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29191       ac_ext=c
29192 ac_cpp='$CPP $CPPFLAGS'
29193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29196
29197       CXXFLAGS="$wx_save_CXXFLAGS"
29198 fi
29199
29200     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
29201 $as_echo "$wx_cv_cc_visibility" >&6; }
29202     if test $wx_cv_cc_visibility = yes; then
29203                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
29204 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
29205       if ${wx_cv_cc_broken_libstdcxx_visibility+:} false; then :
29206   $as_echo_n "(cached) " >&6
29207 else
29208
29209         wx_save_CXXFLAGS="$CXXFLAGS"
29210         wx_save_LDFLAGS="$LDFLAGS"
29211         CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29212         LDFLAGS="$LDFLAGS -shared -fPIC"
29213         ac_ext=cpp
29214 ac_cpp='$CXXCPP $CPPFLAGS'
29215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29218
29219         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29220 /* end confdefs.h.  */
29221
29222             #include <string>
29223
29224 int
29225 main ()
29226 {
29227
29228             std::string s("hello");
29229             return s.length();
29230
29231   ;
29232   return 0;
29233 }
29234 _ACEOF
29235 if ac_fn_cxx_try_link "$LINENO"; then :
29236   wx_cv_cc_broken_libstdcxx_visibility=no
29237 else
29238   wx_cv_cc_broken_libstdcxx_visibility=yes
29239 fi
29240 rm -f core conftest.err conftest.$ac_objext \
29241     conftest$ac_exeext conftest.$ac_ext
29242         ac_ext=c
29243 ac_cpp='$CPP $CPPFLAGS'
29244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29247
29248         CXXFLAGS="$wx_save_CXXFLAGS"
29249         LDFLAGS="$wx_save_LDFLAGS"
29250 fi
29251
29252       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29253 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29254
29255       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29256         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29257 $as_echo_n "checking whether we can work around it... " >&6; }
29258         if ${wx_cv_cc_visibility_workaround+:} false; then :
29259   $as_echo_n "(cached) " >&6
29260 else
29261
29262           ac_ext=cpp
29263 ac_cpp='$CXXCPP $CPPFLAGS'
29264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29267
29268           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29269 /* end confdefs.h.  */
29270
29271               #pragma GCC visibility push(default)
29272               #include <string>
29273               #pragma GCC visibility pop
29274
29275 int
29276 main ()
29277 {
29278
29279               std::string s("hello");
29280               return s.length();
29281
29282   ;
29283   return 0;
29284 }
29285 _ACEOF
29286 if ac_fn_cxx_try_link "$LINENO"; then :
29287   wx_cv_cc_visibility_workaround=no
29288 else
29289   wx_cv_cc_visibility_workaround=yes
29290 fi
29291 rm -f core conftest.err conftest.$ac_objext \
29292     conftest$ac_exeext conftest.$ac_ext
29293           ac_ext=c
29294 ac_cpp='$CPP $CPPFLAGS'
29295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29298
29299
29300 fi
29301
29302         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29303 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29304
29305         if test $wx_cv_cc_visibility_workaround = no; then
29306                     wx_cv_cc_visibility=no
29307         fi
29308       fi
29309     fi
29310
29311     if test $wx_cv_cc_visibility = yes; then
29312       $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29313
29314       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29315         $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29316
29317       fi
29318     else
29319       CFLAGS_VISIBILITY=""
29320       CXXFLAGS_VISIBILITY=""
29321     fi
29322
29323
29324   fi
29325
29326     fi
29327
29328         if test "x$SUNCXX" = xyes; then
29329         SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
29330         WXCONFIG_RPATH="-R\$libdir"
29331     else
29332     case "${host}" in
29333       *-*-linux* | *-*-gnu* )
29334         SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29335         WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29336         ;;
29337
29338       *-*-solaris2* )
29339
29340                         CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
29341
29342                         saveLdflags="$LDFLAGS"
29343         LDFLAGS="$saveLdflags -Wl,-rpath,/"
29344         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29345 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29346         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29347 /* end confdefs.h.  */
29348
29349 int
29350 main ()
29351 {
29352
29353   ;
29354   return 0;
29355 }
29356 _ACEOF
29357 if ac_fn_c_try_link "$LINENO"; then :
29358
29359                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29360 $as_echo "yes" >&6; }
29361                 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29362                 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29363
29364 else
29365
29366                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29367 $as_echo "no" >&6; }
29368                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29369 $as_echo_n "checking if the linker accepts -R... " >&6; }
29370                 LDFLAGS="$saveLdflags -Wl,-R,/"
29371                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29372 /* end confdefs.h.  */
29373
29374 int
29375 main ()
29376 {
29377
29378   ;
29379   return 0;
29380 }
29381 _ACEOF
29382 if ac_fn_c_try_link "$LINENO"; then :
29383
29384                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29385 $as_echo "yes" >&6; }
29386                         SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29387                         WXCONFIG_RPATH="-Wl,-R,\$libdir"
29388
29389 else
29390
29391                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29392 $as_echo "no" >&6; }
29393
29394 fi
29395 rm -f core conftest.err conftest.$ac_objext \
29396     conftest$ac_exeext conftest.$ac_ext
29397
29398 fi
29399 rm -f core conftest.err conftest.$ac_objext \
29400     conftest$ac_exeext conftest.$ac_ext
29401         LDFLAGS="$saveLdflags"
29402       ;;
29403
29404       *-*-darwin* )
29405         install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29406         if test "$install_name_tool" -a -x "$install_name_tool"; then
29407             DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29408             cat <<EOF >change-install-names
29409 #!/bin/sh
29410 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29411 for i in \${libnames} ; do
29412     ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29413     for dep in \${libnames} ; do
29414         ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29415     done
29416 done
29417 EOF
29418             chmod +x change-install-names
29419             DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29420         fi
29421
29422                                         HEADER_PAD_OPTION="-headerpad_max_install_names"
29423       ;;
29424
29425       *-*-cygwin* | *-*-mingw32* )
29426         ;;
29427
29428       *-*-hpux* )
29429         SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29430         WXCONFIG_RPATH="-Wl,+b,\$libdir"
29431         ;;
29432
29433     esac
29434     fi
29435
29436             WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29437
29438     if test $wxUSE_RPATH = "no"; then
29439         SAMPLES_RPATH_FLAG=''
29440         DYLIB_PATH_POSTLINK=''
29441         WXCONFIG_RPATH=''
29442     fi
29443
29444     SHARED=1
29445
29446 else
29447
29448     config_linkage_component="-static"
29449     SHARED=0
29450
29451 fi
29452
29453
29454 UNICODE=0
29455 lib_unicode_suffix=
29456 WX_CHARTYPE="ansi"
29457 if test "$wxUSE_UNICODE" = "yes"; then
29458     lib_unicode_suffix=u
29459     WX_CHARTYPE="unicode"
29460     UNICODE=1
29461 fi
29462
29463 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29464 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29465
29466 DEBUG_INFO=0
29467 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29468     DEBUG_INFO=1
29469 fi
29470
29471 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29472
29473 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29474
29475 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29476
29477
29478 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29479     WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29480 else
29481     WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29482 fi
29483 if test "${TOOLKIT_DIR}" = "os2"; then
29484     WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29485 else
29486     WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29487 fi
29488
29489
29490
29491 if test "$wxUSE_OLD_COCOA" = 1; then
29492
29493     ac_ext=c
29494 ac_cpp='$CPP $CPPFLAGS'
29495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29498
29499 ac_ext=m
29500
29501     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29502 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29503     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29504 /* end confdefs.h.  */
29505 #include <AppKit/NSEvent.h>
29506 #include <CoreFoundation/CoreFoundation.h>
29507
29508 int
29509 main ()
29510 {
29511
29512   ;
29513   return 0;
29514 }
29515 _ACEOF
29516 if ac_fn_c_try_compile "$LINENO"; then :
29517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29518 $as_echo "no" >&6; }
29519 else
29520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29521 $as_echo "yes" >&6; }
29522         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29523 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29524         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29525 /* end confdefs.h.  */
29526 #define __Point__ 1
29527 #include <AppKit/NSEvent.h>
29528 #include <CoreFoundation/CoreFoundation.h>
29529
29530 int
29531 main ()
29532 {
29533
29534   ;
29535   return 0;
29536 }
29537 _ACEOF
29538 if ac_fn_c_try_compile "$LINENO"; then :
29539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29540 $as_echo "yes" >&6; }
29541             $as_echo "#define __Point__ 1" >>confdefs.h
29542
29543
29544 else
29545   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29547 as_fn_error $? "no
29548 See \`config.log' for more details" "$LINENO" 5; }
29549
29550 fi
29551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29552
29553 fi
29554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29555     ac_ext=c
29556 ac_cpp='$CPP $CPPFLAGS'
29557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29560
29561 fi
29562
29563
29564 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29565 if test "x$ac_cv_type_mode_t" = xyes; then :
29566
29567 else
29568
29569 cat >>confdefs.h <<_ACEOF
29570 #define mode_t int
29571 _ACEOF
29572
29573 fi
29574
29575 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29576 if test "x$ac_cv_type_off_t" = xyes; then :
29577
29578 else
29579
29580 cat >>confdefs.h <<_ACEOF
29581 #define off_t long int
29582 _ACEOF
29583
29584 fi
29585
29586 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29587 if test "x$ac_cv_type_pid_t" = xyes; then :
29588
29589 else
29590
29591 cat >>confdefs.h <<_ACEOF
29592 #define pid_t int
29593 _ACEOF
29594
29595 fi
29596
29597 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29598 if test "x$ac_cv_type_size_t" = xyes; then :
29599
29600 else
29601
29602 cat >>confdefs.h <<_ACEOF
29603 #define size_t unsigned int
29604 _ACEOF
29605
29606 fi
29607
29608
29609 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29610 if test "x$ac_cv_type_ssize_t" = xyes; then :
29611
29612 cat >>confdefs.h <<_ACEOF
29613 #define HAVE_SSIZE_T 1
29614 _ACEOF
29615
29616
29617 fi
29618
29619
29620 ac_ext=cpp
29621 ac_cpp='$CXXCPP $CPPFLAGS'
29622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29625  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29626 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29627 if ${wx_cv_size_t_is_uint+:} false; then :
29628   $as_echo_n "(cached) " >&6
29629 else
29630
29631                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29632 /* end confdefs.h.  */
29633 #include <stddef.h>
29634 int
29635 main ()
29636 {
29637
29638             return 0; }
29639
29640             struct Foo { void foo(size_t); void foo(unsigned int); };
29641
29642             int bar() {
29643
29644   ;
29645   return 0;
29646 }
29647 _ACEOF
29648 if ac_fn_cxx_try_compile "$LINENO"; then :
29649   wx_cv_size_t_is_uint=no
29650 else
29651   wx_cv_size_t_is_uint=yes
29652
29653 fi
29654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29655
29656
29657 fi
29658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29659 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29660
29661 if test "$wx_cv_size_t_is_uint" = "yes"; then
29662     $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29663
29664 else
29665     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29666 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29667 if ${wx_cv_size_t_is_ulong+:} false; then :
29668   $as_echo_n "(cached) " >&6
29669 else
29670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29671 /* end confdefs.h.  */
29672 #include <stddef.h>
29673 int
29674 main ()
29675 {
29676
29677                 return 0; }
29678
29679                 struct Foo { void foo(size_t); void foo(unsigned long); };
29680
29681                 int bar() {
29682
29683   ;
29684   return 0;
29685 }
29686 _ACEOF
29687 if ac_fn_cxx_try_compile "$LINENO"; then :
29688   wx_cv_size_t_is_ulong=no
29689 else
29690   wx_cv_size_t_is_ulong=yes
29691
29692 fi
29693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29694
29695 fi
29696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29697 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29698
29699     if test "$wx_cv_size_t_is_ulong" = "yes"; then
29700         $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29701
29702     fi
29703 fi
29704
29705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29706 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29707 if ${wx_cv_wchar_t_is_separate_type+:} false; then :
29708   $as_echo_n "(cached) " >&6
29709 else
29710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29711 /* end confdefs.h.  */
29712 #include <wchar.h>
29713 int
29714 main ()
29715 {
29716
29717             return 0; }
29718
29719             struct Foo { void foo(wchar_t);
29720                          void foo(unsigned short);
29721                          void foo(unsigned int);
29722                          void foo(unsigned long); };
29723
29724             int bar() {
29725
29726   ;
29727   return 0;
29728 }
29729 _ACEOF
29730 if ac_fn_cxx_try_compile "$LINENO"; then :
29731   wx_cv_wchar_t_is_separate_type=yes
29732 else
29733   wx_cv_wchar_t_is_separate_type=no
29734
29735 fi
29736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29737
29738 fi
29739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29740 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29741
29742 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29743     $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29744
29745 else
29746     $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29747
29748 fi
29749
29750 ac_ext=c
29751 ac_cpp='$CPP $CPPFLAGS'
29752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29755
29756
29757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29758 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29759 if ${wx_cv_struct_pw_gecos+:} false; then :
29760   $as_echo_n "(cached) " >&6
29761 else
29762
29763         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29764 /* end confdefs.h.  */
29765 #include <pwd.h>
29766 int
29767 main ()
29768 {
29769
29770                 char *p;
29771                 struct passwd *pw;
29772                 p = pw->pw_gecos;
29773
29774   ;
29775   return 0;
29776 }
29777 _ACEOF
29778 if ac_fn_c_try_compile "$LINENO"; then :
29779
29780                 wx_cv_struct_pw_gecos=yes
29781
29782 else
29783
29784                 wx_cv_struct_pw_gecos=no
29785
29786
29787 fi
29788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29789
29790
29791 fi
29792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29793 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29794
29795 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29796     $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29797
29798 fi
29799
29800
29801 WCSLEN_FOUND=0
29802 WCHAR_LINK=
29803 for ac_func in wcslen
29804 do :
29805   ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29806 if test "x$ac_cv_func_wcslen" = xyes; then :
29807   cat >>confdefs.h <<_ACEOF
29808 #define HAVE_WCSLEN 1
29809 _ACEOF
29810  WCSLEN_FOUND=1
29811 fi
29812 done
29813
29814
29815 if test "$WCSLEN_FOUND" = 0; then
29816     if test "$TOOLKIT" = "MSW"; then
29817         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29818 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29819 if ${ac_cv_lib_msvcrt_wcslen+:} false; then :
29820   $as_echo_n "(cached) " >&6
29821 else
29822   ac_check_lib_save_LIBS=$LIBS
29823 LIBS="-lmsvcrt  $LIBS"
29824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29825 /* end confdefs.h.  */
29826
29827 /* Override any GCC internal prototype to avoid an error.
29828    Use char because int might match the return type of a GCC
29829    builtin and then its argument prototype would still apply.  */
29830 #ifdef __cplusplus
29831 extern "C"
29832 #endif
29833 char wcslen ();
29834 int
29835 main ()
29836 {
29837 return wcslen ();
29838   ;
29839   return 0;
29840 }
29841 _ACEOF
29842 if ac_fn_c_try_link "$LINENO"; then :
29843   ac_cv_lib_msvcrt_wcslen=yes
29844 else
29845   ac_cv_lib_msvcrt_wcslen=no
29846 fi
29847 rm -f core conftest.err conftest.$ac_objext \
29848     conftest$ac_exeext conftest.$ac_ext
29849 LIBS=$ac_check_lib_save_LIBS
29850 fi
29851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29852 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29853 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes; then :
29854   WCHAR_OK=1
29855 fi
29856
29857     else
29858         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29859 $as_echo_n "checking for wcslen in -lw... " >&6; }
29860 if ${ac_cv_lib_w_wcslen+:} false; then :
29861   $as_echo_n "(cached) " >&6
29862 else
29863   ac_check_lib_save_LIBS=$LIBS
29864 LIBS="-lw  $LIBS"
29865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29866 /* end confdefs.h.  */
29867
29868 /* Override any GCC internal prototype to avoid an error.
29869    Use char because int might match the return type of a GCC
29870    builtin and then its argument prototype would still apply.  */
29871 #ifdef __cplusplus
29872 extern "C"
29873 #endif
29874 char wcslen ();
29875 int
29876 main ()
29877 {
29878 return wcslen ();
29879   ;
29880   return 0;
29881 }
29882 _ACEOF
29883 if ac_fn_c_try_link "$LINENO"; then :
29884   ac_cv_lib_w_wcslen=yes
29885 else
29886   ac_cv_lib_w_wcslen=no
29887 fi
29888 rm -f core conftest.err conftest.$ac_objext \
29889     conftest$ac_exeext conftest.$ac_ext
29890 LIBS=$ac_check_lib_save_LIBS
29891 fi
29892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29893 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29894 if test "x$ac_cv_lib_w_wcslen" = xyes; then :
29895
29896                         WCHAR_LINK=" -lw"
29897                         WCSLEN_FOUND=1
29898
29899 fi
29900
29901     fi
29902 fi
29903
29904 if test "$WCSLEN_FOUND" = 1; then
29905     $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29906
29907 fi
29908
29909 for ac_func in wcsftime
29910 do :
29911   ac_fn_c_check_func "$LINENO" "wcsftime" "ac_cv_func_wcsftime"
29912 if test "x$ac_cv_func_wcsftime" = xyes; then :
29913   cat >>confdefs.h <<_ACEOF
29914 #define HAVE_WCSFTIME 1
29915 _ACEOF
29916
29917 fi
29918 done
29919
29920
29921 if test "$wxUSE_MAC" != 1; then
29922     for ac_func in strnlen wcsdup wcsnlen wcscasecmp wcsncasecmp
29923 do :
29924   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29925 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29926 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29927   cat >>confdefs.h <<_ACEOF
29928 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29929 _ACEOF
29930
29931 fi
29932 done
29933
29934 fi
29935
29936 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29937     CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29938 fi
29939
29940 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29941 "
29942 if test "x$ac_cv_type_mbstate_t" = xyes; then :
29943
29944 cat >>confdefs.h <<_ACEOF
29945 #define HAVE_MBSTATE_T 1
29946 _ACEOF
29947
29948 for ac_func in wcsrtombs
29949 do :
29950   ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29951 if test "x$ac_cv_func_wcsrtombs" = xyes; then :
29952   cat >>confdefs.h <<_ACEOF
29953 #define HAVE_WCSRTOMBS 1
29954 _ACEOF
29955
29956 fi
29957 done
29958
29959 fi
29960
29961
29962 for ac_func in snprintf vsnprintf vsscanf
29963 do :
29964   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29965 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29966 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29967   cat >>confdefs.h <<_ACEOF
29968 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29969 _ACEOF
29970
29971 fi
29972 done
29973
29974
29975 ac_ext=cpp
29976 ac_cpp='$CXXCPP $CPPFLAGS'
29977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29980
29981 if test "$ac_cv_func_vsnprintf" = "yes"; then
29982         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29983 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29984 if ${wx_cv_func_vsnprintf_decl+:} false; then :
29985   $as_echo_n "(cached) " >&6
29986 else
29987
29988                                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29989 /* end confdefs.h.  */
29990
29991                     #include <stdio.h>
29992                     #include <stdarg.h>
29993
29994 int
29995 main ()
29996 {
29997
29998                     char *buf;
29999                     va_list ap;
30000                     vsnprintf(buf, 10u, "%s", ap);
30001
30002   ;
30003   return 0;
30004 }
30005 _ACEOF
30006 if ac_fn_cxx_try_compile "$LINENO"; then :
30007   wx_cv_func_vsnprintf_decl=yes
30008 else
30009   wx_cv_func_vsnprintf_decl=no
30010
30011 fi
30012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30013
30014
30015 fi
30016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
30017 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
30018
30019     if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
30020         $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
30021
30022
30023                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
30024 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
30025 if ${wx_cv_func_broken_vsnprintf_decl+:} false; then :
30026   $as_echo_n "(cached) " >&6
30027 else
30028
30029                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30030 /* end confdefs.h.  */
30031
30032                         #include <stdio.h>
30033                         #include <stdarg.h>
30034                         #ifdef __MSL__
30035                         #if __MSL__ >= 0x6000
30036                         namespace std {}
30037                         using namespace std;
30038                         #endif
30039                         #endif
30040
30041 int
30042 main ()
30043 {
30044
30045                         char *buf;
30046                         va_list ap;
30047                         const char *fmt = "%s";
30048                         vsnprintf(buf, 10u, fmt, ap);
30049
30050   ;
30051   return 0;
30052 }
30053 _ACEOF
30054 if ac_fn_cxx_try_compile "$LINENO"; then :
30055   wx_cv_func_broken_vsnprintf_decl=no
30056 else
30057   wx_cv_func_broken_vsnprintf_decl=yes
30058
30059 fi
30060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30061
30062
30063 fi
30064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
30065 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
30066
30067         if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
30068             $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
30069
30070         fi
30071     fi
30072 fi
30073
30074 if test "$ac_cv_func_snprintf" = "yes"; then
30075     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
30076 $as_echo_n "checking for snprintf declaration... " >&6; }
30077 if ${wx_cv_func_snprintf_decl+:} false; then :
30078   $as_echo_n "(cached) " >&6
30079 else
30080
30081             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30082 /* end confdefs.h.  */
30083
30084                     #include <stdio.h>
30085                     #include <stdarg.h>
30086                     #ifdef __MSL__
30087                     #if __MSL__ >= 0x6000
30088                     namespace std {}
30089                     using namespace std;
30090                     #endif
30091                     #endif
30092
30093 int
30094 main ()
30095 {
30096
30097                     char *buf;
30098                     snprintf(buf, 10u, "%s", "wx");
30099
30100   ;
30101   return 0;
30102 }
30103 _ACEOF
30104 if ac_fn_cxx_try_compile "$LINENO"; then :
30105   wx_cv_func_snprintf_decl=yes
30106 else
30107   wx_cv_func_snprintf_decl=no
30108
30109 fi
30110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30111
30112
30113 fi
30114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
30115 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
30116
30117     if test "$wx_cv_func_snprintf_decl" = "yes"; then
30118         $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
30119
30120     fi
30121
30122     if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
30123
30124                                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
30125 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
30126 if ${wx_cv_func_snprintf_pos_params+:} false; then :
30127   $as_echo_n "(cached) " >&6
30128 else
30129
30130                 if test "$cross_compiling" = yes; then :
30131
30132                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
30133 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
30134 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
30135 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
30136                         wx_cv_func_snprintf_pos_params=no
30137
30138
30139 else
30140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30141 /* end confdefs.h.  */
30142
30143                         #include <stdio.h>
30144
30145                         int main (void)
30146                         {
30147                             char buffer[128];
30148                             snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
30149                             if (strcmp ("2 3 1", buffer) == 0)
30150                                 exit (0);
30151                             exit (1);
30152                         }
30153
30154 _ACEOF
30155 if ac_fn_cxx_try_run "$LINENO"; then :
30156   wx_cv_func_snprintf_pos_params=no
30157 else
30158   wx_cv_func_snprintf_pos_params=yes
30159 fi
30160 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30161   conftest.$ac_objext conftest.beam conftest.$ac_ext
30162 fi
30163
30164
30165
30166 fi
30167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
30168 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
30169
30170         if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
30171             $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
30172
30173         fi
30174     fi
30175 fi
30176
30177 if test "$ac_cv_func_vsscanf" = "yes"; then
30178     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
30179 $as_echo_n "checking for vsscanf declaration... " >&6; }
30180 if ${wx_cv_func_vsscanf_decl+:} false; then :
30181   $as_echo_n "(cached) " >&6
30182 else
30183
30184             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30185 /* end confdefs.h.  */
30186
30187                     #include <stdio.h>
30188                     #include <stdarg.h>
30189                     #ifdef __MSL__
30190                     #if __MSL__ >= 0x6000
30191                     namespace std {}
30192                     using namespace std;
30193                     #endif
30194                     #endif
30195
30196 int
30197 main ()
30198 {
30199
30200                     char *buf;
30201                     va_list args;
30202                     vsscanf(buf, "%s", args);
30203
30204   ;
30205   return 0;
30206 }
30207 _ACEOF
30208 if ac_fn_cxx_try_compile "$LINENO"; then :
30209   wx_cv_func_vsscanf_decl=yes
30210 else
30211   wx_cv_func_vsscanf_decl=no
30212
30213 fi
30214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30215
30216
30217 fi
30218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
30219 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
30220
30221     if test "$wx_cv_func_vsscanf_decl" = "yes"; then
30222         $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
30223
30224     fi
30225 fi
30226 ac_ext=c
30227 ac_cpp='$CPP $CPPFLAGS'
30228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30231
30232
30233 if test "$wxUSE_UNICODE" = yes; then
30234
30235             wchar_headers="#include <stdio.h>
30236 #include <wchar.h>"
30237     case "${host}" in
30238         *-*-solaris2* )
30239             for ac_header in widec.h
30240 do :
30241   ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
30242 "
30243 if test "x$ac_cv_header_widec_h" = xyes; then :
30244   cat >>confdefs.h <<_ACEOF
30245 #define HAVE_WIDEC_H 1
30246 _ACEOF
30247
30248 fi
30249
30250 done
30251
30252             if test "$ac_cv_header_widec_h" = "yes"; then
30253                 wchar_headers="$wchar_headers
30254 #include <widec.h>"
30255             fi
30256     esac
30257
30258
30259   for wx_func in putws fputws wprintf vswprintf vswscanf
30260   do
30261     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30262 $as_echo_n "checking for $wx_func... " >&6; }
30263 if eval \${wx_cv_func_$wx_func+:} false; then :
30264   $as_echo_n "(cached) " >&6
30265 else
30266
30267         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30268 /* end confdefs.h.  */
30269
30270
30271                 $wchar_headers
30272                 $ac_includes_default
30273
30274 int
30275 main ()
30276 {
30277
30278                 #ifndef $wx_func
30279                   &$wx_func;
30280                 #endif
30281
30282
30283   ;
30284   return 0;
30285 }
30286
30287 _ACEOF
30288 if ac_fn_c_try_link "$LINENO"; then :
30289   eval wx_cv_func_$wx_func=yes
30290 else
30291   eval wx_cv_func_$wx_func=no
30292 fi
30293 rm -f core conftest.err conftest.$ac_objext \
30294     conftest$ac_exeext conftest.$ac_ext
30295
30296 fi
30297 eval ac_res=\$wx_cv_func_$wx_func
30298                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30299 $as_echo "$ac_res" >&6; }
30300
30301     if eval test \$wx_cv_func_$wx_func = yes
30302     then
30303       cat >>confdefs.h <<_ACEOF
30304 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30305 _ACEOF
30306
30307
30308     else
30309       :
30310
30311     fi
30312   done
30313
30314
30315                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30316 $as_echo_n "checking for _vsnwprintf... " >&6; }
30317     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30318 /* end confdefs.h.  */
30319 #include <wchar.h>
30320 int
30321 main ()
30322 {
30323 &_vsnwprintf;
30324   ;
30325   return 0;
30326 }
30327 _ACEOF
30328 if ac_fn_c_try_compile "$LINENO"; then :
30329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30330 $as_echo "yes" >&6; }
30331                     $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30332
30333 else
30334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30335 $as_echo "no" >&6; }
30336 fi
30337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
30338 fi
30339
30340 if test "$wxUSE_FILE" = "yes"; then
30341
30342   for wx_func in fsync
30343   do
30344     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30345 $as_echo_n "checking for $wx_func... " >&6; }
30346 if eval \${wx_cv_func_$wx_func+:} false; then :
30347   $as_echo_n "(cached) " >&6
30348 else
30349
30350         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30351 /* end confdefs.h.  */
30352
30353
30354
30355                 $ac_includes_default
30356
30357 int
30358 main ()
30359 {
30360
30361                 #ifndef $wx_func
30362                   &$wx_func;
30363                 #endif
30364
30365
30366   ;
30367   return 0;
30368 }
30369
30370 _ACEOF
30371 if ac_fn_c_try_link "$LINENO"; then :
30372   eval wx_cv_func_$wx_func=yes
30373 else
30374   eval wx_cv_func_$wx_func=no
30375 fi
30376 rm -f core conftest.err conftest.$ac_objext \
30377     conftest$ac_exeext conftest.$ac_ext
30378
30379 fi
30380 eval ac_res=\$wx_cv_func_$wx_func
30381                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30382 $as_echo "$ac_res" >&6; }
30383
30384     if eval test \$wx_cv_func_$wx_func = yes
30385     then
30386       cat >>confdefs.h <<_ACEOF
30387 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30388 _ACEOF
30389
30390
30391     else
30392       :
30393
30394     fi
30395   done
30396
30397 fi
30398
30399 ac_ext=cpp
30400 ac_cpp='$CXXCPP $CPPFLAGS'
30401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30404
30405
30406   for wx_func in round
30407   do
30408     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30409 $as_echo_n "checking for $wx_func... " >&6; }
30410 if eval \${wx_cv_func_$wx_func+:} false; then :
30411   $as_echo_n "(cached) " >&6
30412 else
30413
30414         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30415 /* end confdefs.h.  */
30416
30417
30418                 #include <math.h>
30419                 $ac_includes_default
30420
30421 int
30422 main ()
30423 {
30424
30425                 #ifndef $wx_func
30426                   &$wx_func;
30427                 #endif
30428
30429
30430   ;
30431   return 0;
30432 }
30433
30434 _ACEOF
30435 if ac_fn_cxx_try_link "$LINENO"; then :
30436   eval wx_cv_func_$wx_func=yes
30437 else
30438   eval wx_cv_func_$wx_func=no
30439 fi
30440 rm -f core conftest.err conftest.$ac_objext \
30441     conftest$ac_exeext conftest.$ac_ext
30442
30443 fi
30444 eval ac_res=\$wx_cv_func_$wx_func
30445                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30446 $as_echo "$ac_res" >&6; }
30447
30448     if eval test \$wx_cv_func_$wx_func = yes
30449     then
30450       cat >>confdefs.h <<_ACEOF
30451 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30452 _ACEOF
30453
30454
30455     else
30456       :
30457
30458     fi
30459   done
30460
30461 ac_ext=c
30462 ac_cpp='$CPP $CPPFLAGS'
30463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30466
30467
30468 if test "$TOOLKIT" != "MSW"; then
30469
30470 if test "$wxUSE_LIBICONV" != "no" ; then
30471
30472
30473
30474 # Check whether --with-libiconv-prefix was given.
30475 if test "${with_libiconv_prefix+set}" = set; then :
30476   withval=$with_libiconv_prefix;
30477     for dir in `echo "$withval" | tr : ' '`; do
30478       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30479       if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30480     done
30481
30482 fi
30483
30484
30485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30486 $as_echo_n "checking for iconv... " >&6; }
30487 if ${am_cv_func_iconv+:} false; then :
30488   $as_echo_n "(cached) " >&6
30489 else
30490
30491     am_cv_func_iconv="no, consider installing GNU libiconv"
30492     am_cv_lib_iconv=no
30493     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30494 /* end confdefs.h.  */
30495 #include <stdlib.h>
30496 #include <iconv.h>
30497 int
30498 main ()
30499 {
30500 iconv_t cd = iconv_open("","");
30501        iconv(cd,NULL,NULL,NULL,NULL);
30502        iconv_close(cd);
30503   ;
30504   return 0;
30505 }
30506 _ACEOF
30507 if ac_fn_c_try_link "$LINENO"; then :
30508   am_cv_func_iconv=yes
30509 fi
30510 rm -f core conftest.err conftest.$ac_objext \
30511     conftest$ac_exeext conftest.$ac_ext
30512     if test "$am_cv_func_iconv" != yes; then
30513       am_save_LIBS="$LIBS"
30514       LIBS="$LIBS -liconv"
30515       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30516 /* end confdefs.h.  */
30517 #include <stdlib.h>
30518 #include <iconv.h>
30519 int
30520 main ()
30521 {
30522 iconv_t cd = iconv_open("","");
30523          iconv(cd,NULL,NULL,NULL,NULL);
30524          iconv_close(cd);
30525   ;
30526   return 0;
30527 }
30528 _ACEOF
30529 if ac_fn_c_try_link "$LINENO"; then :
30530   am_cv_lib_iconv=yes
30531         am_cv_func_iconv=yes
30532 fi
30533 rm -f core conftest.err conftest.$ac_objext \
30534     conftest$ac_exeext conftest.$ac_ext
30535       LIBS="$am_save_LIBS"
30536     fi
30537
30538 fi
30539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30540 $as_echo "$am_cv_func_iconv" >&6; }
30541   if test "$am_cv_func_iconv" = yes; then
30542
30543 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30544
30545     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30546 $as_echo_n "checking if iconv needs const... " >&6; }
30547 if ${wx_cv_func_iconv_const+:} false; then :
30548   $as_echo_n "(cached) " >&6
30549 else
30550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30551 /* end confdefs.h.  */
30552
30553 #include <stdlib.h>
30554 #include <iconv.h>
30555 extern
30556 #ifdef __cplusplus
30557 "C"
30558 #endif
30559 #if defined(__STDC__) || defined(__cplusplus)
30560 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30561 #else
30562 size_t iconv();
30563 #endif
30564
30565 int
30566 main ()
30567 {
30568
30569   ;
30570   return 0;
30571 }
30572 _ACEOF
30573 if ac_fn_c_try_compile "$LINENO"; then :
30574   wx_cv_func_iconv_const="no"
30575 else
30576   wx_cv_func_iconv_const="yes"
30577
30578 fi
30579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30580
30581 fi
30582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30583 $as_echo "$wx_cv_func_iconv_const" >&6; }
30584
30585     iconv_const=
30586     if test "x$wx_cv_func_iconv_const" = "xyes"; then
30587         iconv_const="const"
30588     fi
30589
30590
30591 cat >>confdefs.h <<_ACEOF
30592 #define ICONV_CONST $iconv_const
30593 _ACEOF
30594
30595   fi
30596   LIBICONV=
30597   if test "$am_cv_lib_iconv" = yes; then
30598     LIBICONV="-liconv"
30599   fi
30600
30601
30602     LIBS="$LIBICONV $LIBS"
30603 fi
30604
30605 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30606     for ac_func in sigaction
30607 do :
30608   ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30609 if test "x$ac_cv_func_sigaction" = xyes; then :
30610   cat >>confdefs.h <<_ACEOF
30611 #define HAVE_SIGACTION 1
30612 _ACEOF
30613
30614 fi
30615 done
30616
30617
30618     if test "$ac_cv_func_sigaction" = "no"; then
30619         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30620 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30621         wxUSE_ON_FATAL_EXCEPTION=no
30622     fi
30623
30624     if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30625       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30626 $as_echo_n "checking for sa_handler type... " >&6; }
30627 if ${wx_cv_type_sa_handler+:} false; then :
30628   $as_echo_n "(cached) " >&6
30629 else
30630
30631                 ac_ext=cpp
30632 ac_cpp='$CXXCPP $CPPFLAGS'
30633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30636
30637         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30638 /* end confdefs.h.  */
30639 #include <signal.h>
30640 int
30641 main ()
30642 {
30643
30644                         extern void testSigHandler(int);
30645
30646                         struct sigaction sa;
30647                         sa.sa_handler = testSigHandler;
30648
30649   ;
30650   return 0;
30651 }
30652 _ACEOF
30653 if ac_fn_cxx_try_compile "$LINENO"; then :
30654
30655                         wx_cv_type_sa_handler=int
30656
30657 else
30658
30659                         wx_cv_type_sa_handler=void
30660
30661 fi
30662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30663         ac_ext=c
30664 ac_cpp='$CPP $CPPFLAGS'
30665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30668
30669
30670 fi
30671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30672 $as_echo "$wx_cv_type_sa_handler" >&6; }
30673
30674       cat >>confdefs.h <<_ACEOF
30675 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30676 _ACEOF
30677
30678     fi
30679 fi
30680
30681 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30682     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30683 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30684 if ${wx_cv_func_backtrace+:} false; then :
30685   $as_echo_n "(cached) " >&6
30686 else
30687
30688             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
30689 $as_echo_n "checking for library containing backtrace... " >&6; }
30690 if ${ac_cv_search_backtrace+:} false; then :
30691   $as_echo_n "(cached) " >&6
30692 else
30693   ac_func_search_save_LIBS=$LIBS
30694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30695 /* end confdefs.h.  */
30696
30697 /* Override any GCC internal prototype to avoid an error.
30698    Use char because int might match the return type of a GCC
30699    builtin and then its argument prototype would still apply.  */
30700 #ifdef __cplusplus
30701 extern "C"
30702 #endif
30703 char backtrace ();
30704 int
30705 main ()
30706 {
30707 return backtrace ();
30708   ;
30709   return 0;
30710 }
30711 _ACEOF
30712 for ac_lib in '' execinfo; do
30713   if test -z "$ac_lib"; then
30714     ac_res="none required"
30715   else
30716     ac_res=-l$ac_lib
30717     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
30718   fi
30719   if ac_fn_c_try_link "$LINENO"; then :
30720   ac_cv_search_backtrace=$ac_res
30721 fi
30722 rm -f core conftest.err conftest.$ac_objext \
30723     conftest$ac_exeext
30724   if ${ac_cv_search_backtrace+:} false; then :
30725   break
30726 fi
30727 done
30728 if ${ac_cv_search_backtrace+:} false; then :
30729
30730 else
30731   ac_cv_search_backtrace=no
30732 fi
30733 rm conftest.$ac_ext
30734 LIBS=$ac_func_search_save_LIBS
30735 fi
30736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
30737 $as_echo "$ac_cv_search_backtrace" >&6; }
30738 ac_res=$ac_cv_search_backtrace
30739 if test "$ac_res" != no; then :
30740   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
30741
30742                     ac_ext=cpp
30743 ac_cpp='$CXXCPP $CPPFLAGS'
30744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30747
30748                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30749 /* end confdefs.h.  */
30750 #include <execinfo.h>
30751 int
30752 main ()
30753 {
30754
30755                             void *trace[1];
30756                             char **messages;
30757                             backtrace(trace, 1);
30758                             messages = backtrace_symbols(trace, 1);
30759
30760   ;
30761   return 0;
30762 }
30763 _ACEOF
30764 if ac_fn_cxx_try_link "$LINENO"; then :
30765   wx_cv_func_backtrace=yes
30766 else
30767   wx_cv_func_backtrace=no
30768
30769 fi
30770 rm -f core conftest.err conftest.$ac_objext \
30771     conftest$ac_exeext conftest.$ac_ext
30772                     ac_ext=c
30773 ac_cpp='$CPP $CPPFLAGS'
30774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30777
30778
30779 else
30780   wx_cv_func_backtrace=no
30781
30782 fi
30783
30784
30785
30786 fi
30787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30788 $as_echo "$wx_cv_func_backtrace" >&6; }
30789
30790     if test "$wx_cv_func_backtrace" = "no"; then
30791         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30792 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30793         wxUSE_STACKWALKER=no
30794     else
30795         if test "$ac_cv_header_cxxabi_h" = "yes"; then
30796             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30797 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30798 if ${wx_cv_func_cxa_demangle+:} false; then :
30799   $as_echo_n "(cached) " >&6
30800 else
30801
30802                     ac_ext=cpp
30803 ac_cpp='$CXXCPP $CPPFLAGS'
30804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30807
30808                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30809 /* end confdefs.h.  */
30810 #include <cxxabi.h>
30811 int
30812 main ()
30813 {
30814
30815                             int rc;
30816                             __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30817
30818   ;
30819   return 0;
30820 }
30821 _ACEOF
30822 if ac_fn_cxx_try_link "$LINENO"; then :
30823   wx_cv_func_cxa_demangle=yes
30824 else
30825   wx_cv_func_cxa_demangle=no
30826
30827 fi
30828 rm -f core conftest.err conftest.$ac_objext \
30829     conftest$ac_exeext conftest.$ac_ext
30830                     ac_ext=c
30831 ac_cpp='$CPP $CPPFLAGS'
30832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30835
30836
30837
30838 fi
30839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30840 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30841         else
30842             wx_cv_func_cxa_demangle=no
30843         fi
30844
30845         if test "$wx_cv_func_cxa_demangle" = "yes"; then
30846             $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30847
30848         fi
30849     fi
30850 fi
30851
30852 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30853     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30854 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30855     wxUSE_STACKWALKER=no
30856 fi
30857
30858
30859 for ac_func in mkstemp mktemp
30860 do :
30861   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30862 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30863 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30864   cat >>confdefs.h <<_ACEOF
30865 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30866 _ACEOF
30867  break
30868 fi
30869 done
30870
30871
30872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30873 $as_echo_n "checking for statfs... " >&6; }
30874 if ${wx_cv_func_statfs+:} false; then :
30875   $as_echo_n "(cached) " >&6
30876 else
30877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30878 /* end confdefs.h.  */
30879
30880              #if defined(__BSD__)
30881              #include <sys/param.h>
30882              #include <sys/mount.h>
30883              #else
30884              #include <sys/vfs.h>
30885              #endif
30886
30887 int
30888 main ()
30889 {
30890
30891              long l;
30892              struct statfs fs;
30893              statfs("/", &fs);
30894              l = fs.f_bsize;
30895              l += fs.f_blocks;
30896              l += fs.f_bavail;
30897
30898   ;
30899   return 0;
30900 }
30901 _ACEOF
30902 if ac_fn_c_try_compile "$LINENO"; then :
30903   wx_cv_func_statfs=yes
30904 else
30905   wx_cv_func_statfs=no
30906
30907 fi
30908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30909
30910 fi
30911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30912 $as_echo "$wx_cv_func_statfs" >&6; }
30913
30914 if test "$wx_cv_func_statfs" = "yes"; then
30915         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30916 $as_echo_n "checking for statfs declaration... " >&6; }
30917 if ${wx_cv_func_statfs_decl+:} false; then :
30918   $as_echo_n "(cached) " >&6
30919 else
30920   ac_ext=cpp
30921 ac_cpp='$CXXCPP $CPPFLAGS'
30922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30925
30926         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30927 /* end confdefs.h.  */
30928
30929                  #if defined(__BSD__)
30930                  #include <sys/param.h>
30931                  #include <sys/mount.h>
30932                  #else
30933                  #include <sys/vfs.h>
30934                  #endif
30935
30936 int
30937 main ()
30938 {
30939
30940                 struct statfs fs;
30941                 statfs("", &fs);
30942
30943   ;
30944   return 0;
30945 }
30946 _ACEOF
30947 if ac_fn_cxx_try_compile "$LINENO"; then :
30948   wx_cv_func_statfs_decl=yes
30949 else
30950   wx_cv_func_statfs_decl=no
30951
30952 fi
30953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30954         ac_ext=c
30955 ac_cpp='$CPP $CPPFLAGS'
30956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30959
30960
30961 fi
30962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30963 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30964
30965     if test "$wx_cv_func_statfs_decl" = "yes"; then
30966         $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30967
30968     fi
30969
30970     wx_cv_type_statvfs_t="struct statfs"
30971     $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30972
30973 else
30974     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30975 $as_echo_n "checking for statvfs... " >&6; }
30976 if ${wx_cv_func_statvfs+:} false; then :
30977   $as_echo_n "(cached) " >&6
30978 else
30979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30980 /* end confdefs.h.  */
30981
30982                 #include <stddef.h>
30983                 #include <sys/statvfs.h>
30984
30985 int
30986 main ()
30987 {
30988
30989                 statvfs("/", NULL);
30990
30991   ;
30992   return 0;
30993 }
30994 _ACEOF
30995 if ac_fn_c_try_compile "$LINENO"; then :
30996   wx_cv_func_statvfs=yes
30997 else
30998   wx_cv_func_statvfs=no
30999
31000 fi
31001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31002
31003 fi
31004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
31005 $as_echo "$wx_cv_func_statvfs" >&6; }
31006
31007     if test "$wx_cv_func_statvfs" = "yes"; then
31008                                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
31009 $as_echo_n "checking for statvfs argument type... " >&6; }
31010 if ${wx_cv_type_statvfs_t+:} false; then :
31011   $as_echo_n "(cached) " >&6
31012 else
31013   ac_ext=cpp
31014 ac_cpp='$CXXCPP $CPPFLAGS'
31015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31018
31019             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31020 /* end confdefs.h.  */
31021
31022                     #include <sys/statvfs.h>
31023
31024 int
31025 main ()
31026 {
31027
31028                     long l;
31029                     statvfs_t fs;
31030                     statvfs("/", &fs);
31031                     l = fs.f_bsize;
31032                     l += fs.f_blocks;
31033                     l += fs.f_bavail;
31034
31035   ;
31036   return 0;
31037 }
31038 _ACEOF
31039 if ac_fn_cxx_try_compile "$LINENO"; then :
31040   wx_cv_type_statvfs_t=statvfs_t
31041 else
31042
31043                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31044 /* end confdefs.h.  */
31045
31046                             #include <sys/statvfs.h>
31047
31048 int
31049 main ()
31050 {
31051
31052                             long l;
31053                             struct statvfs fs;
31054                             statvfs("/", &fs);
31055                             l = fs.f_bsize;
31056                             l += fs.f_blocks;
31057                             l += fs.f_bavail;
31058
31059   ;
31060   return 0;
31061 }
31062 _ACEOF
31063 if ac_fn_cxx_try_compile "$LINENO"; then :
31064   wx_cv_type_statvfs_t="struct statvfs"
31065 else
31066   wx_cv_type_statvfs_t="unknown"
31067
31068 fi
31069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31070
31071
31072 fi
31073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31074             ac_ext=c
31075 ac_cpp='$CPP $CPPFLAGS'
31076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31079
31080
31081 fi
31082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
31083 $as_echo "$wx_cv_type_statvfs_t" >&6; }
31084
31085         if test "$wx_cv_type_statvfs_t" != "unknown"; then
31086             $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
31087
31088         fi
31089     else
31090                 wx_cv_type_statvfs_t="unknown"
31091     fi
31092 fi
31093
31094 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31095     cat >>confdefs.h <<_ACEOF
31096 #define WX_STATFS_T $wx_cv_type_statvfs_t
31097 _ACEOF
31098
31099 else
31100     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31101 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31102 fi
31103
31104 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31105     for ac_func in fcntl flock
31106 do :
31107   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31108 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31109 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31110   cat >>confdefs.h <<_ACEOF
31111 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31112 _ACEOF
31113  break
31114 fi
31115 done
31116
31117
31118     if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31119         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
31120 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31121         wxUSE_SNGLINST_CHECKER=no
31122     fi
31123 fi
31124
31125 for ac_func in setenv putenv
31126 do :
31127   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31128 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31129 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31130   cat >>confdefs.h <<_ACEOF
31131 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31132 _ACEOF
31133  break
31134 fi
31135 done
31136
31137 if test "$ac_cv_func_setenv" = "yes"; then
31138     for ac_func in unsetenv
31139 do :
31140   ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
31141 if test "x$ac_cv_func_unsetenv" = xyes; then :
31142   cat >>confdefs.h <<_ACEOF
31143 #define HAVE_UNSETENV 1
31144 _ACEOF
31145
31146 fi
31147 done
31148
31149 fi
31150
31151 HAVE_SOME_SLEEP_FUNC=0
31152 if test "$USE_BEOS" = 1; then
31153             $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
31154
31155     HAVE_SOME_SLEEP_FUNC=1
31156 fi
31157
31158 if test "$USE_DARWIN" = 1; then
31159             $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
31160
31161     HAVE_SOME_SLEEP_FUNC=1
31162 fi
31163
31164 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31165         POSIX4_LINK=
31166     for ac_func in nanosleep
31167 do :
31168   ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
31169 if test "x$ac_cv_func_nanosleep" = xyes; then :
31170   cat >>confdefs.h <<_ACEOF
31171 #define HAVE_NANOSLEEP 1
31172 _ACEOF
31173  $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31174
31175 else
31176
31177             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
31178 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
31179 if ${ac_cv_lib_posix4_nanosleep+:} false; then :
31180   $as_echo_n "(cached) " >&6
31181 else
31182   ac_check_lib_save_LIBS=$LIBS
31183 LIBS="-lposix4  $LIBS"
31184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31185 /* end confdefs.h.  */
31186
31187 /* Override any GCC internal prototype to avoid an error.
31188    Use char because int might match the return type of a GCC
31189    builtin and then its argument prototype would still apply.  */
31190 #ifdef __cplusplus
31191 extern "C"
31192 #endif
31193 char nanosleep ();
31194 int
31195 main ()
31196 {
31197 return nanosleep ();
31198   ;
31199   return 0;
31200 }
31201 _ACEOF
31202 if ac_fn_c_try_link "$LINENO"; then :
31203   ac_cv_lib_posix4_nanosleep=yes
31204 else
31205   ac_cv_lib_posix4_nanosleep=no
31206 fi
31207 rm -f core conftest.err conftest.$ac_objext \
31208     conftest$ac_exeext conftest.$ac_ext
31209 LIBS=$ac_check_lib_save_LIBS
31210 fi
31211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
31212 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
31213 if test "x$ac_cv_lib_posix4_nanosleep" = xyes; then :
31214
31215                     $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31216
31217                     POSIX4_LINK=" -lposix4"
31218
31219 else
31220
31221
31222   for wx_func in usleep
31223   do
31224     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31225 $as_echo_n "checking for $wx_func... " >&6; }
31226 if eval \${wx_cv_func_$wx_func+:} false; then :
31227   $as_echo_n "(cached) " >&6
31228 else
31229
31230         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31231 /* end confdefs.h.  */
31232
31233
31234
31235                 $ac_includes_default
31236
31237 int
31238 main ()
31239 {
31240
31241                 #ifndef $wx_func
31242                   &$wx_func;
31243                 #endif
31244
31245
31246   ;
31247   return 0;
31248 }
31249
31250 _ACEOF
31251 if ac_fn_c_try_link "$LINENO"; then :
31252   eval wx_cv_func_$wx_func=yes
31253 else
31254   eval wx_cv_func_$wx_func=no
31255 fi
31256 rm -f core conftest.err conftest.$ac_objext \
31257     conftest$ac_exeext conftest.$ac_ext
31258
31259 fi
31260 eval ac_res=\$wx_cv_func_$wx_func
31261                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31262 $as_echo "$ac_res" >&6; }
31263
31264     if eval test \$wx_cv_func_$wx_func = yes
31265     then
31266       cat >>confdefs.h <<_ACEOF
31267 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31268 _ACEOF
31269
31270
31271     else
31272       :
31273       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
31274 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31275
31276     fi
31277   done
31278
31279
31280
31281 fi
31282
31283
31284
31285 fi
31286 done
31287
31288 fi
31289
31290
31291   for wx_func in uname
31292   do
31293     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31294 $as_echo_n "checking for $wx_func... " >&6; }
31295 if eval \${wx_cv_func_$wx_func+:} false; then :
31296   $as_echo_n "(cached) " >&6
31297 else
31298
31299         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31300 /* end confdefs.h.  */
31301
31302
31303                 #include <sys/utsname.h>
31304                 $ac_includes_default
31305
31306 int
31307 main ()
31308 {
31309
31310                 #ifndef $wx_func
31311                   &$wx_func;
31312                 #endif
31313
31314
31315   ;
31316   return 0;
31317 }
31318
31319 _ACEOF
31320 if ac_fn_c_try_link "$LINENO"; then :
31321   eval wx_cv_func_$wx_func=yes
31322 else
31323   eval wx_cv_func_$wx_func=no
31324 fi
31325 rm -f core conftest.err conftest.$ac_objext \
31326     conftest$ac_exeext conftest.$ac_ext
31327
31328 fi
31329 eval ac_res=\$wx_cv_func_$wx_func
31330                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31331 $as_echo "$ac_res" >&6; }
31332
31333     if eval test \$wx_cv_func_$wx_func = yes
31334     then
31335       cat >>confdefs.h <<_ACEOF
31336 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31337 _ACEOF
31338
31339
31340     else
31341       :
31342
31343     fi
31344   done
31345
31346 if test "$wx_cv_func_uname" != yes; then
31347
31348   for wx_func in gethostname
31349   do
31350     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31351 $as_echo_n "checking for $wx_func... " >&6; }
31352 if eval \${wx_cv_func_$wx_func+:} false; then :
31353   $as_echo_n "(cached) " >&6
31354 else
31355
31356         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31357 /* end confdefs.h.  */
31358
31359
31360
31361                 $ac_includes_default
31362
31363 int
31364 main ()
31365 {
31366
31367                 #ifndef $wx_func
31368                   &$wx_func;
31369                 #endif
31370
31371
31372   ;
31373   return 0;
31374 }
31375
31376 _ACEOF
31377 if ac_fn_c_try_link "$LINENO"; then :
31378   eval wx_cv_func_$wx_func=yes
31379 else
31380   eval wx_cv_func_$wx_func=no
31381 fi
31382 rm -f core conftest.err conftest.$ac_objext \
31383     conftest$ac_exeext conftest.$ac_ext
31384
31385 fi
31386 eval ac_res=\$wx_cv_func_$wx_func
31387                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31388 $as_echo "$ac_res" >&6; }
31389
31390     if eval test \$wx_cv_func_$wx_func = yes
31391     then
31392       cat >>confdefs.h <<_ACEOF
31393 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31394 _ACEOF
31395
31396
31397     else
31398       :
31399
31400     fi
31401   done
31402
31403 fi
31404
31405
31406   for wx_func in strtok_r
31407   do
31408     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31409 $as_echo_n "checking for $wx_func... " >&6; }
31410 if eval \${wx_cv_func_$wx_func+:} false; then :
31411   $as_echo_n "(cached) " >&6
31412 else
31413
31414         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31415 /* end confdefs.h.  */
31416
31417
31418                 #define _REENTRANT
31419                 $ac_includes_default
31420
31421 int
31422 main ()
31423 {
31424
31425                 #ifndef $wx_func
31426                   &$wx_func;
31427                 #endif
31428
31429
31430   ;
31431   return 0;
31432 }
31433
31434 _ACEOF
31435 if ac_fn_c_try_link "$LINENO"; then :
31436   eval wx_cv_func_$wx_func=yes
31437 else
31438   eval wx_cv_func_$wx_func=no
31439 fi
31440 rm -f core conftest.err conftest.$ac_objext \
31441     conftest$ac_exeext conftest.$ac_ext
31442
31443 fi
31444 eval ac_res=\$wx_cv_func_$wx_func
31445                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31446 $as_echo "$ac_res" >&6; }
31447
31448     if eval test \$wx_cv_func_$wx_func = yes
31449     then
31450       cat >>confdefs.h <<_ACEOF
31451 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31452 _ACEOF
31453
31454
31455     else
31456       :
31457
31458     fi
31459   done
31460
31461
31462 INET_LINK=
31463 for ac_func in inet_addr
31464 do :
31465   ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31466 if test "x$ac_cv_func_inet_addr" = xyes; then :
31467   cat >>confdefs.h <<_ACEOF
31468 #define HAVE_INET_ADDR 1
31469 _ACEOF
31470  $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31471
31472 else
31473
31474         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31475 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31476 if ${ac_cv_lib_nsl_inet_addr+:} false; then :
31477   $as_echo_n "(cached) " >&6
31478 else
31479   ac_check_lib_save_LIBS=$LIBS
31480 LIBS="-lnsl  $LIBS"
31481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31482 /* end confdefs.h.  */
31483
31484 /* Override any GCC internal prototype to avoid an error.
31485    Use char because int might match the return type of a GCC
31486    builtin and then its argument prototype would still apply.  */
31487 #ifdef __cplusplus
31488 extern "C"
31489 #endif
31490 char inet_addr ();
31491 int
31492 main ()
31493 {
31494 return inet_addr ();
31495   ;
31496   return 0;
31497 }
31498 _ACEOF
31499 if ac_fn_c_try_link "$LINENO"; then :
31500   ac_cv_lib_nsl_inet_addr=yes
31501 else
31502   ac_cv_lib_nsl_inet_addr=no
31503 fi
31504 rm -f core conftest.err conftest.$ac_objext \
31505     conftest$ac_exeext conftest.$ac_ext
31506 LIBS=$ac_check_lib_save_LIBS
31507 fi
31508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31509 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31510 if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
31511   INET_LINK="nsl"
31512 else
31513
31514                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31515 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31516 if ${ac_cv_lib_resolv_inet_addr+:} false; then :
31517   $as_echo_n "(cached) " >&6
31518 else
31519   ac_check_lib_save_LIBS=$LIBS
31520 LIBS="-lresolv  $LIBS"
31521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31522 /* end confdefs.h.  */
31523
31524 /* Override any GCC internal prototype to avoid an error.
31525    Use char because int might match the return type of a GCC
31526    builtin and then its argument prototype would still apply.  */
31527 #ifdef __cplusplus
31528 extern "C"
31529 #endif
31530 char inet_addr ();
31531 int
31532 main ()
31533 {
31534 return inet_addr ();
31535   ;
31536   return 0;
31537 }
31538 _ACEOF
31539 if ac_fn_c_try_link "$LINENO"; then :
31540   ac_cv_lib_resolv_inet_addr=yes
31541 else
31542   ac_cv_lib_resolv_inet_addr=no
31543 fi
31544 rm -f core conftest.err conftest.$ac_objext \
31545     conftest$ac_exeext conftest.$ac_ext
31546 LIBS=$ac_check_lib_save_LIBS
31547 fi
31548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31549 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31550 if test "x$ac_cv_lib_resolv_inet_addr" = xyes; then :
31551   INET_LINK="resolv"
31552 else
31553
31554                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31555 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31556 if ${ac_cv_lib_socket_inet_addr+:} false; then :
31557   $as_echo_n "(cached) " >&6
31558 else
31559   ac_check_lib_save_LIBS=$LIBS
31560 LIBS="-lsocket  $LIBS"
31561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31562 /* end confdefs.h.  */
31563
31564 /* Override any GCC internal prototype to avoid an error.
31565    Use char because int might match the return type of a GCC
31566    builtin and then its argument prototype would still apply.  */
31567 #ifdef __cplusplus
31568 extern "C"
31569 #endif
31570 char inet_addr ();
31571 int
31572 main ()
31573 {
31574 return inet_addr ();
31575   ;
31576   return 0;
31577 }
31578 _ACEOF
31579 if ac_fn_c_try_link "$LINENO"; then :
31580   ac_cv_lib_socket_inet_addr=yes
31581 else
31582   ac_cv_lib_socket_inet_addr=no
31583 fi
31584 rm -f core conftest.err conftest.$ac_objext \
31585     conftest$ac_exeext conftest.$ac_ext
31586 LIBS=$ac_check_lib_save_LIBS
31587 fi
31588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31589 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31590 if test "x$ac_cv_lib_socket_inet_addr" = xyes; then :
31591   INET_LINK="socket"
31592
31593 fi
31594
31595
31596
31597 fi
31598
31599
31600
31601 fi
31602
31603
31604
31605 fi
31606 done
31607
31608
31609 for ac_func in inet_aton
31610 do :
31611   ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31612 if test "x$ac_cv_func_inet_aton" = xyes; then :
31613   cat >>confdefs.h <<_ACEOF
31614 #define HAVE_INET_ATON 1
31615 _ACEOF
31616  $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31617
31618 else
31619
31620                         as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31622 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31623 if eval \${$as_ac_Lib+:} false; then :
31624   $as_echo_n "(cached) " >&6
31625 else
31626   ac_check_lib_save_LIBS=$LIBS
31627 LIBS="-l$INET_LINK  $LIBS"
31628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31629 /* end confdefs.h.  */
31630
31631 /* Override any GCC internal prototype to avoid an error.
31632    Use char because int might match the return type of a GCC
31633    builtin and then its argument prototype would still apply.  */
31634 #ifdef __cplusplus
31635 extern "C"
31636 #endif
31637 char inet_aton ();
31638 int
31639 main ()
31640 {
31641 return inet_aton ();
31642   ;
31643   return 0;
31644 }
31645 _ACEOF
31646 if ac_fn_c_try_link "$LINENO"; then :
31647   eval "$as_ac_Lib=yes"
31648 else
31649   eval "$as_ac_Lib=no"
31650 fi
31651 rm -f core conftest.err conftest.$ac_objext \
31652     conftest$ac_exeext conftest.$ac_ext
31653 LIBS=$ac_check_lib_save_LIBS
31654 fi
31655 eval ac_res=\$$as_ac_Lib
31656                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31657 $as_echo "$ac_res" >&6; }
31658 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31659   $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31660
31661 fi
31662
31663
31664 fi
31665 done
31666
31667
31668 if test "x$INET_LINK" != "x"; then
31669     $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31670
31671     INET_LINK=" -l$INET_LINK"
31672 fi
31673
31674
31675   for wx_func in fdopen
31676   do
31677     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31678 $as_echo_n "checking for $wx_func... " >&6; }
31679 if eval \${wx_cv_func_$wx_func+:} false; then :
31680   $as_echo_n "(cached) " >&6
31681 else
31682
31683         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31684 /* end confdefs.h.  */
31685
31686
31687
31688                 $ac_includes_default
31689
31690 int
31691 main ()
31692 {
31693
31694                 #ifndef $wx_func
31695                   &$wx_func;
31696                 #endif
31697
31698
31699   ;
31700   return 0;
31701 }
31702
31703 _ACEOF
31704 if ac_fn_c_try_link "$LINENO"; then :
31705   eval wx_cv_func_$wx_func=yes
31706 else
31707   eval wx_cv_func_$wx_func=no
31708 fi
31709 rm -f core conftest.err conftest.$ac_objext \
31710     conftest$ac_exeext conftest.$ac_ext
31711
31712 fi
31713 eval ac_res=\$wx_cv_func_$wx_func
31714                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31715 $as_echo "$ac_res" >&6; }
31716
31717     if eval test \$wx_cv_func_$wx_func = yes
31718     then
31719       cat >>confdefs.h <<_ACEOF
31720 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31721 _ACEOF
31722
31723
31724     else
31725       :
31726
31727     fi
31728   done
31729
31730
31731 if test "$wxUSE_TARSTREAM" = "yes"; then
31732
31733   for wx_func in sysconf
31734   do
31735     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31736 $as_echo_n "checking for $wx_func... " >&6; }
31737 if eval \${wx_cv_func_$wx_func+:} false; then :
31738   $as_echo_n "(cached) " >&6
31739 else
31740
31741         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31742 /* end confdefs.h.  */
31743
31744
31745
31746                 $ac_includes_default
31747
31748 int
31749 main ()
31750 {
31751
31752                 #ifndef $wx_func
31753                   &$wx_func;
31754                 #endif
31755
31756
31757   ;
31758   return 0;
31759 }
31760
31761 _ACEOF
31762 if ac_fn_c_try_link "$LINENO"; then :
31763   eval wx_cv_func_$wx_func=yes
31764 else
31765   eval wx_cv_func_$wx_func=no
31766 fi
31767 rm -f core conftest.err conftest.$ac_objext \
31768     conftest$ac_exeext conftest.$ac_ext
31769
31770 fi
31771 eval ac_res=\$wx_cv_func_$wx_func
31772                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31773 $as_echo "$ac_res" >&6; }
31774
31775     if eval test \$wx_cv_func_$wx_func = yes
31776     then
31777       cat >>confdefs.h <<_ACEOF
31778 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31779 _ACEOF
31780
31781
31782     else
31783       :
31784
31785     fi
31786   done
31787
31788
31789
31790   for wx_func in getpwuid_r
31791   do
31792     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31793 $as_echo_n "checking for $wx_func... " >&6; }
31794 if eval \${wx_cv_func_$wx_func+:} false; then :
31795   $as_echo_n "(cached) " >&6
31796 else
31797
31798         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31799 /* end confdefs.h.  */
31800
31801
31802
31803                     #define _REENTRANT
31804                     #include <pwd.h>
31805
31806                 $ac_includes_default
31807
31808 int
31809 main ()
31810 {
31811
31812                 #ifndef $wx_func
31813                   &$wx_func;
31814                 #endif
31815
31816                     struct passwd pw, *ppw;
31817                     char buf[1024];
31818                     getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31819
31820
31821   ;
31822   return 0;
31823 }
31824
31825 _ACEOF
31826 if ac_fn_c_try_link "$LINENO"; then :
31827   eval wx_cv_func_$wx_func=yes
31828 else
31829   eval wx_cv_func_$wx_func=no
31830 fi
31831 rm -f core conftest.err conftest.$ac_objext \
31832     conftest$ac_exeext conftest.$ac_ext
31833
31834 fi
31835 eval ac_res=\$wx_cv_func_$wx_func
31836                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31837 $as_echo "$ac_res" >&6; }
31838
31839     if eval test \$wx_cv_func_$wx_func = yes
31840     then
31841       cat >>confdefs.h <<_ACEOF
31842 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31843 _ACEOF
31844
31845
31846     else
31847       :
31848
31849     fi
31850   done
31851
31852
31853
31854   for wx_func in getgrgid_r
31855   do
31856     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31857 $as_echo_n "checking for $wx_func... " >&6; }
31858 if eval \${wx_cv_func_$wx_func+:} false; then :
31859   $as_echo_n "(cached) " >&6
31860 else
31861
31862         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31863 /* end confdefs.h.  */
31864
31865
31866
31867                     #define _REENTRANT
31868                     #include <grp.h>
31869
31870                 $ac_includes_default
31871
31872 int
31873 main ()
31874 {
31875
31876                 #ifndef $wx_func
31877                   &$wx_func;
31878                 #endif
31879
31880                     struct group grp, *pgrp;
31881                     char buf[1024];
31882                     getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31883
31884
31885   ;
31886   return 0;
31887 }
31888
31889 _ACEOF
31890 if ac_fn_c_try_link "$LINENO"; then :
31891   eval wx_cv_func_$wx_func=yes
31892 else
31893   eval wx_cv_func_$wx_func=no
31894 fi
31895 rm -f core conftest.err conftest.$ac_objext \
31896     conftest$ac_exeext conftest.$ac_ext
31897
31898 fi
31899 eval ac_res=\$wx_cv_func_$wx_func
31900                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31901 $as_echo "$ac_res" >&6; }
31902
31903     if eval test \$wx_cv_func_$wx_func = yes
31904     then
31905       cat >>confdefs.h <<_ACEOF
31906 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31907 _ACEOF
31908
31909
31910     else
31911       :
31912
31913     fi
31914   done
31915
31916 fi
31917
31918 fi
31919
31920
31921
31922 cat >confcache <<\_ACEOF
31923 # This file is a shell script that caches the results of configure
31924 # tests run on this system so they can be shared between configure
31925 # scripts and configure runs, see configure's option --config-cache.
31926 # It is not useful on other systems.  If it contains results you don't
31927 # want to keep, you may remove or edit it.
31928 #
31929 # config.status only pays attention to the cache file if you give it
31930 # the --recheck option to rerun configure.
31931 #
31932 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31933 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31934 # following values.
31935
31936 _ACEOF
31937
31938 # The following way of writing the cache mishandles newlines in values,
31939 # but we know of no workaround that is simple, portable, and efficient.
31940 # So, we kill variables containing newlines.
31941 # Ultrix sh set writes to stderr and can't be redirected directly,
31942 # and sets the high bit in the cache file unless we assign to the vars.
31943 (
31944   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31945     eval ac_val=\$$ac_var
31946     case $ac_val in #(
31947     *${as_nl}*)
31948       case $ac_var in #(
31949       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31950 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31951       esac
31952       case $ac_var in #(
31953       _ | IFS | as_nl) ;; #(
31954       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31955       *) { eval $ac_var=; unset $ac_var;} ;;
31956       esac ;;
31957     esac
31958   done
31959
31960   (set) 2>&1 |
31961     case $as_nl`(ac_space=' '; set) 2>&1` in #(
31962     *${as_nl}ac_space=\ *)
31963       # `set' does not quote correctly, so add quotes: double-quote
31964       # substitution turns \\\\ into \\, and sed turns \\ into \.
31965       sed -n \
31966         "s/'/'\\\\''/g;
31967           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31968       ;; #(
31969     *)
31970       # `set' quotes correctly as required by POSIX, so do not add quotes.
31971       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31972       ;;
31973     esac |
31974     sort
31975 ) |
31976   sed '
31977      /^ac_cv_env_/b end
31978      t clear
31979      :clear
31980      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31981      t end
31982      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31983      :end' >>confcache
31984 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31985   if test -w "$cache_file"; then
31986     if test "x$cache_file" != "x/dev/null"; then
31987       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31988 $as_echo "$as_me: updating cache $cache_file" >&6;}
31989       if test ! -f "$cache_file" || test -h "$cache_file"; then
31990         cat confcache >"$cache_file"
31991       else
31992         case $cache_file in #(
31993         */* | ?:*)
31994           mv -f confcache "$cache_file"$$ &&
31995           mv -f "$cache_file"$$ "$cache_file" ;; #(
31996         *)
31997           mv -f confcache "$cache_file" ;;
31998         esac
31999       fi
32000     fi
32001   else
32002     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
32003 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
32004   fi
32005 fi
32006 rm -f confcache
32007
32008
32009 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32010
32011
32012     THREADS_LINK=
32013     THREADS_CFLAGS=
32014
32015     if test "$wxUSE_THREADS" = "yes" ; then
32016         if test "$USE_BEOS" = 1; then
32017             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
32018 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32019             wxUSE_THREADS="no"
32020         fi
32021     fi
32022
32023     if test "$wxUSE_THREADS" = "yes" ; then
32024
32025
32026                                 THREAD_OPTS="-pthread"
32027         if test "x$SUNCXX" = xyes; then
32028             THREAD_OPTS="-mt lthread $THREAD_OPTS"
32029         fi
32030
32031         case "${host}" in
32032           *-*-solaris2* | *-*-sunos4* )
32033                 if test "x$GCC" = "xyes"; then
32034                                         THREAD_OPTS="-pthreads $THREAD_OPTS"
32035                 fi
32036                 ;;
32037           *-*-freebsd*)
32038                                                 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
32039                 ;;
32040           *-*-darwin* | *-*-cygwin* )
32041                                                 THREAD_OPTS=""
32042                 ;;
32043           *-*-aix*)
32044                                 THREAD_OPTS="pthreads"
32045                 ;;
32046           *-hp-hpux* )
32047                 if test "x$GCC" = "xyes"; then
32048                                         $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
32049                         THREAD_OPTS=""
32050                 else
32051                                                             THREAD_OPTS="-mt"
32052                 fi
32053                 ;;
32054
32055           *-*-irix* )
32056                                                                 if test "x$GCC" = "xyes"; then
32057                     THREAD_OPTS=""
32058                 fi
32059                 ;;
32060
32061           *-*-qnx*)
32062                                                 THREAD_OPTS=""
32063                 ;;
32064
32065           *-*-*UnixWare*)
32066                                 if test "x$GCC" != "xyes"; then
32067                     THREAD_OPTS="-Ethread"
32068                 fi
32069                 ;;
32070         esac
32071
32072         case "${host}" in
32073             *-*-qnx*)
32074                                                                 THREAD_OPTS="none pthread"
32075                 ;;
32076
32077             *)
32078                                                                                 THREAD_OPTS="$THREAD_OPTS pthread none"
32079                 ;;
32080         esac
32081
32082                 THREADS_OK=no
32083         for flag in $THREAD_OPTS; do
32084             case $flag in
32085                 none)
32086                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
32087 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
32088                     ;;
32089
32090                 -*)
32091                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
32092 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
32093                     THREADS_CFLAGS="$flag"
32094                     ;;
32095
32096                 *)
32097                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
32098 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
32099                     THREADS_LINK="-l$flag"
32100                     ;;
32101               esac
32102
32103               save_LIBS="$LIBS"
32104               save_CFLAGS="$CFLAGS"
32105               LIBS="$THREADS_LINK $LIBS"
32106               CFLAGS="$THREADS_CFLAGS $CFLAGS"
32107
32108               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32109 /* end confdefs.h.  */
32110 #include <pthread.h>
32111 int
32112 main ()
32113 {
32114 pthread_create(0,0,0,0);
32115   ;
32116   return 0;
32117 }
32118 _ACEOF
32119 if ac_fn_c_try_link "$LINENO"; then :
32120   THREADS_OK=yes
32121 fi
32122 rm -f core conftest.err conftest.$ac_objext \
32123     conftest$ac_exeext conftest.$ac_ext
32124
32125               LIBS="$save_LIBS"
32126               CFLAGS="$save_CFLAGS"
32127
32128               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
32129 $as_echo "$THREADS_OK" >&6; }
32130               if test "x$THREADS_OK" = "xyes"; then
32131                       break;
32132               fi
32133
32134               THREADS_LINK=""
32135               THREADS_CFLAGS=""
32136       done
32137
32138       if test "x$THREADS_OK" != "xyes"; then
32139           wxUSE_THREADS=no
32140           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
32141 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32142       else
32143                                                                                           LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32144           WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
32145           LIBS="$THREADS_LINK $LIBS"
32146
32147           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
32148 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
32149           flag=no
32150           case "${host}" in
32151             *-aix*)
32152                                                                                                                 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32153                 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
32154                 flag="-D_THREAD_SAFE"
32155                 ;;
32156             *-freebsd*)
32157                 flag="-D_THREAD_SAFE"
32158                 ;;
32159             *-hp-hpux* )
32160                 flag="-D_REENTRANT"
32161                 if test "x$GCC" != "xyes"; then
32162                                         flag="$flag -D_RWSTD_MULTI_THREAD"
32163                 fi
32164                 ;;
32165             *solaris* | alpha*-osf*)
32166                 flag="-D_REENTRANT"
32167                 ;;
32168           esac
32169           { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
32170 $as_echo "${flag}" >&6; }
32171           if test "x$flag" != xno; then
32172               THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32173           fi
32174
32175                     WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
32176       fi
32177     fi
32178
32179         if test "$wxUSE_THREADS" = "yes" ; then
32180         for ac_func in pthread_setconcurrency
32181 do :
32182   ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
32183 if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
32184   cat >>confdefs.h <<_ACEOF
32185 #define HAVE_PTHREAD_SETCONCURRENCY 1
32186 _ACEOF
32187  $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
32188
32189 else
32190
32191                 for ac_func in thr_setconcurrency
32192 do :
32193   ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
32194 if test "x$ac_cv_func_thr_setconcurrency" = xyes; then :
32195   cat >>confdefs.h <<_ACEOF
32196 #define HAVE_THR_SETCONCURRENCY 1
32197 _ACEOF
32198  $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
32199
32200 else
32201   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
32202 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
32203 fi
32204 done
32205
32206
32207 fi
32208 done
32209
32210
32211                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
32212 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
32213 if ${wx_cv_func_pthread_cleanup+:} false; then :
32214   $as_echo_n "(cached) " >&6
32215 else
32216
32217                                 ac_ext=cpp
32218 ac_cpp='$CXXCPP $CPPFLAGS'
32219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32222
32223         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32224 /* end confdefs.h.  */
32225 #include <pthread.h>
32226                void ThreadCleanupFunc(void *p);
32227
32228 int
32229 main ()
32230 {
32231
32232                 void *p;
32233                 pthread_cleanup_push(ThreadCleanupFunc, p);
32234                 pthread_cleanup_pop(0);
32235
32236   ;
32237   return 0;
32238 }
32239 _ACEOF
32240 if ac_fn_cxx_try_compile "$LINENO"; then :
32241
32242                wx_cv_func_pthread_cleanup=yes
32243
32244 else
32245
32246                wx_cv_func_pthread_cleanup=no
32247
32248
32249 fi
32250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32251         ac_ext=c
32252 ac_cpp='$CPP $CPPFLAGS'
32253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32256
32257
32258 fi
32259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
32260 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
32261       if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
32262         $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
32263
32264       fi
32265
32266       for ac_header in sched.h
32267 do :
32268   ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
32269 "
32270 if test "x$ac_cv_header_sched_h" = xyes; then :
32271   cat >>confdefs.h <<_ACEOF
32272 #define HAVE_SCHED_H 1
32273 _ACEOF
32274
32275 fi
32276
32277 done
32278
32279       if test "$ac_cv_header_sched_h" = "yes"; then
32280           ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
32281 if test "x$ac_cv_func_sched_yield" = xyes; then :
32282   $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32283
32284 else
32285
32286                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
32287 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
32288 if ${ac_cv_lib_posix4_sched_yield+:} false; then :
32289   $as_echo_n "(cached) " >&6
32290 else
32291   ac_check_lib_save_LIBS=$LIBS
32292 LIBS="-lposix4  $LIBS"
32293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32294 /* end confdefs.h.  */
32295
32296 /* Override any GCC internal prototype to avoid an error.
32297    Use char because int might match the return type of a GCC
32298    builtin and then its argument prototype would still apply.  */
32299 #ifdef __cplusplus
32300 extern "C"
32301 #endif
32302 char sched_yield ();
32303 int
32304 main ()
32305 {
32306 return sched_yield ();
32307   ;
32308   return 0;
32309 }
32310 _ACEOF
32311 if ac_fn_c_try_link "$LINENO"; then :
32312   ac_cv_lib_posix4_sched_yield=yes
32313 else
32314   ac_cv_lib_posix4_sched_yield=no
32315 fi
32316 rm -f core conftest.err conftest.$ac_objext \
32317     conftest$ac_exeext conftest.$ac_ext
32318 LIBS=$ac_check_lib_save_LIBS
32319 fi
32320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32321 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32322 if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
32323   $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32324  POSIX4_LINK=" -lposix4"
32325 else
32326   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32327 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32328
32329 fi
32330
32331
32332
32333 fi
32334
32335       fi
32336
32337                                           HAVE_PRIOR_FUNCS=0
32338       ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32339 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then :
32340   ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32341 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then :
32342   ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32343 if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
32344   HAVE_PRIOR_FUNCS=1
32345 else
32346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32347 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32348 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false; then :
32349   $as_echo_n "(cached) " >&6
32350 else
32351   ac_check_lib_save_LIBS=$LIBS
32352 LIBS="-lposix4  $LIBS"
32353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32354 /* end confdefs.h.  */
32355
32356 /* Override any GCC internal prototype to avoid an error.
32357    Use char because int might match the return type of a GCC
32358    builtin and then its argument prototype would still apply.  */
32359 #ifdef __cplusplus
32360 extern "C"
32361 #endif
32362 char sched_get_priority_max ();
32363 int
32364 main ()
32365 {
32366 return sched_get_priority_max ();
32367   ;
32368   return 0;
32369 }
32370 _ACEOF
32371 if ac_fn_c_try_link "$LINENO"; then :
32372   ac_cv_lib_posix4_sched_get_priority_max=yes
32373 else
32374   ac_cv_lib_posix4_sched_get_priority_max=no
32375 fi
32376 rm -f core conftest.err conftest.$ac_objext \
32377     conftest$ac_exeext conftest.$ac_ext
32378 LIBS=$ac_check_lib_save_LIBS
32379 fi
32380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32381 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32382 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes; then :
32383
32384                                 HAVE_PRIOR_FUNCS=1
32385                                 POSIX4_LINK=" -lposix4"
32386
32387 fi
32388
32389
32390 fi
32391
32392
32393 fi
32394
32395
32396 fi
32397
32398
32399       if test "$HAVE_PRIOR_FUNCS" = 1; then
32400         $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32401
32402       else
32403         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32404 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32405       fi
32406
32407       ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32408 if test "x$ac_cv_func_pthread_cancel" = xyes; then :
32409   $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32410
32411 else
32412   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32413 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32414 fi
32415
32416
32417       ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32418 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then :
32419   $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32420
32421 else
32422   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32423 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32424 fi
32425
32426
32427       ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32428 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then :
32429   $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32430
32431 fi
32432
32433
32434
32435       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32436 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32437 if ${wx_cv_type_pthread_mutexattr_t+:} false; then :
32438   $as_echo_n "(cached) " >&6
32439 else
32440
32441         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32442 /* end confdefs.h.  */
32443 #include <pthread.h>
32444 int
32445 main ()
32446 {
32447
32448                pthread_mutexattr_t attr;
32449                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32450
32451   ;
32452   return 0;
32453 }
32454 _ACEOF
32455 if ac_fn_c_try_compile "$LINENO"; then :
32456   wx_cv_type_pthread_mutexattr_t=yes
32457 else
32458   wx_cv_type_pthread_mutexattr_t=no
32459
32460 fi
32461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32462
32463 fi
32464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32465 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32466
32467       if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32468         $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32469
32470
32471                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32472 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32473 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false; then :
32474   $as_echo_n "(cached) " >&6
32475 else
32476
32477                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32478 /* end confdefs.h.  */
32479 #include <pthread.h>
32480 int
32481 main ()
32482 {
32483
32484                                pthread_mutexattr_t attr;
32485                                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32486
32487   ;
32488   return 0;
32489 }
32490 _ACEOF
32491 if ac_fn_c_try_compile "$LINENO"; then :
32492   wx_cv_func_pthread_mutexattr_settype_decl=yes
32493 else
32494   wx_cv_func_pthread_mutexattr_settype_decl=no
32495
32496 fi
32497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32498
32499 fi
32500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32501 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32502         if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32503             $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32504
32505         fi
32506       else
32507                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32508 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32509 if ${wx_cv_type_pthread_rec_mutex_init+:} false; then :
32510   $as_echo_n "(cached) " >&6
32511 else
32512
32513             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32514 /* end confdefs.h.  */
32515 #include <pthread.h>
32516 int
32517 main ()
32518 {
32519
32520                     pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32521
32522   ;
32523   return 0;
32524 }
32525 _ACEOF
32526 if ac_fn_c_try_compile "$LINENO"; then :
32527
32528                     wx_cv_type_pthread_rec_mutex_init=yes
32529
32530 else
32531
32532                     wx_cv_type_pthread_rec_mutex_init=no
32533
32534
32535 fi
32536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32537
32538 fi
32539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32540 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32541         if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32542           $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32543
32544         else
32545                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32546 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32547         fi
32548       fi
32549
32550       if test "$wxUSE_COMPILER_TLS" = "auto"; then
32551           if test "$USE_NETBSD" = 1; then
32552               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32553 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32554               wxUSE_COMPILER_TLS=no
32555           else
32556               wxUSE_COMPILER_TLS=yes
32557           fi
32558       fi
32559
32560       if test "$wxUSE_COMPILER_TLS" = "yes"; then
32561                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32562 $as_echo_n "checking for __thread keyword... " >&6; }
32563 if ${wx_cv_cc___thread+:} false; then :
32564   $as_echo_n "(cached) " >&6
32565 else
32566
32567                   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32568 /* end confdefs.h.  */
32569 #include <pthread.h>
32570 int
32571 main ()
32572 {
32573
32574                           static __thread int n = 0;
32575                           static __thread int *p = 0;
32576
32577   ;
32578   return 0;
32579 }
32580 _ACEOF
32581 if ac_fn_c_try_compile "$LINENO"; then :
32582   wx_cv_cc___thread=yes
32583 else
32584   wx_cv_cc___thread=no
32585
32586 fi
32587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32588
32589
32590 fi
32591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32592 $as_echo "$wx_cv_cc___thread" >&6; }
32593
32594           if test "$wx_cv_cc___thread" = "yes"; then
32595
32596   GXX_VERSION=""
32597
32598
32599
32600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32601 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32602
32603   if  test "x$GCC" = "xyes" ; then :
32604
32605     if  test -z "" ; then :
32606
32607       ax_gcc_option_test="int main()
32608 {
32609         return 0;
32610 }"
32611
32612 else
32613
32614       ax_gcc_option_test=""
32615
32616 fi
32617
32618     # Dump the test program to file
32619     cat <<EOF > conftest.c
32620 $ax_gcc_option_test
32621 EOF
32622
32623     # Dump back the file to the log, useful for debugging purposes
32624     { ac_try='cat conftest.c 1>&5'
32625   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32626   (eval $ac_try) 2>&5
32627   ac_status=$?
32628   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32629   test $ac_status = 0; }; }
32630
32631     if  { ac_try='$CC  -dumpversion -c conftest.c 1>&5'
32632   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32633   (eval $ac_try) 2>&5
32634   ac_status=$?
32635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32636   test $ac_status = 0; }; } ; then :
32637
32638                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32639 $as_echo "yes" >&6; }
32640
32641     ax_gcc_version_option=yes
32642
32643
32644 else
32645
32646                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32647 $as_echo "no" >&6; }
32648
32649     ax_gcc_version_option=no
32650
32651
32652 fi
32653
32654 else
32655
32656     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32657 $as_echo "no gcc available" >&6; }
32658
32659 fi
32660
32661   if test "x$GXX" = "xyes"; then :
32662
32663     if test "x$ax_gxx_version_option" != "no"; then :
32664
32665       { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32666 $as_echo_n "checking gxx version... " >&6; }
32667 if ${ax_cv_gxx_version+:} false; then :
32668   $as_echo_n "(cached) " >&6
32669 else
32670
32671         ax_cv_gxx_version="`$CXX -dumpversion`"
32672         if test "x$ax_cv_gxx_version" = "x"; then :
32673
32674           ax_cv_gxx_version=""
32675
32676 fi
32677
32678 fi
32679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32680 $as_echo "$ax_cv_gxx_version" >&6; }
32681       GXX_VERSION=$ax_cv_gxx_version
32682
32683 fi
32684
32685 fi
32686
32687
32688               if test -n "$ax_cv_gxx_version"; then
32689                                                                                                                                                                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32690 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32691                   case "$ax_cv_gxx_version" in
32692                     1.* | 2.* | 3.* )
32693                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32694 $as_echo "no, it's broken" >&6; }
32695                         wx_cv_cc___thread=no
32696                         ;;
32697                     *)
32698                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32699 $as_echo "yes, it works" >&6; }
32700                         ;;
32701                   esac
32702               fi
32703           fi
32704
32705           if test "$wx_cv_cc___thread" = "yes"; then
32706             $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32707
32708           fi
32709         fi
32710
32711         if test "$ac_cv_header_cxxabi_h" = "yes"; then
32712             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
32713 $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
32714 if ${wx_cv_type_abi_forced_unwind+:} false; then :
32715   $as_echo_n "(cached) " >&6
32716 else
32717
32718                     ac_ext=cpp
32719 ac_cpp='$CXXCPP $CPPFLAGS'
32720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32723
32724                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32725 /* end confdefs.h.  */
32726 #include <cxxabi.h>
32727 int
32728 main ()
32729 {
32730
32731                             void foo(abi::__forced_unwind&);
32732
32733   ;
32734   return 0;
32735 }
32736 _ACEOF
32737 if ac_fn_cxx_try_compile "$LINENO"; then :
32738   wx_cv_type_abi_forced_unwind=yes
32739 else
32740   wx_cv_type_abi_forced_unwind=no
32741
32742 fi
32743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32744                     ac_ext=c
32745 ac_cpp='$CPP $CPPFLAGS'
32746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32749
32750
32751
32752 fi
32753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
32754 $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
32755         else
32756             wx_cv_type_abi_forced_unwind=no
32757         fi
32758
32759         if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
32760             $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
32761
32762         fi
32763     fi
32764
32765 else
32766     if test "$wxUSE_THREADS" = "yes" ; then
32767       case "${host}" in
32768         x86_64-*-mingw32* )
32769         ;;
32770         *-*-mingw32* )
32771                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32772 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32773 if ${wx_cv_cflags_mthread+:} false; then :
32774   $as_echo_n "(cached) " >&6
32775 else
32776
32777                     CFLAGS_OLD="$CFLAGS"
32778                     CFLAGS="-mthreads $CFLAGS"
32779                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32780 /* end confdefs.h.  */
32781
32782 int
32783 main ()
32784 {
32785
32786   ;
32787   return 0;
32788 }
32789 _ACEOF
32790 if ac_fn_c_try_compile "$LINENO"; then :
32791   wx_cv_cflags_mthread=yes
32792 else
32793   wx_cv_cflags_mthread=no
32794
32795 fi
32796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32797
32798
32799 fi
32800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32801 $as_echo "$wx_cv_cflags_mthread" >&6; }
32802
32803             if test "$wx_cv_cflags_mthread" = "yes"; then
32804                                 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32805                 LDFLAGS="$LDFLAGS -mthreads"
32806             else
32807                                 CFLAGS="$CFLAGS_OLD"
32808             fi
32809         ;;
32810         *-pc-os2*emx )
32811             WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32812             LDFLAGS="$LDFLAGS -Zmt"
32813         ;;
32814       esac
32815     fi
32816 fi
32817
32818 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32819 if test "x$ac_cv_func_localtime_r" = xyes; then :
32820    $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32821
32822 fi
32823
32824 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32825 if test "x$ac_cv_func_gmtime_r" = xyes; then :
32826    $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32827
32828 fi
32829
32830
32831
32832
32833     ac_ext=c
32834 ac_cpp='$CPP $CPPFLAGS'
32835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32838
32839     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32840 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32841
32842     if ${ac_cv_func_which_gethostbyname_r+:} false; then :
32843   $as_echo_n "(cached) " >&6
32844 else
32845
32846
32847 ################################################################
32848
32849 ac_cv_func_which_gethostbyname_r=unknown
32850
32851 #
32852 # ONE ARGUMENT (sanity check)
32853 #
32854
32855 # This should fail, as there is no variant of gethostbyname_r() that takes
32856 # a single argument. If it actually compiles, then we can assume that
32857 # netdb.h is not declaring the function, and the compiler is thereby
32858 # assuming an implicit prototype. In which case, we're out of luck.
32859 #
32860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32861 /* end confdefs.h.  */
32862 #include <netdb.h>
32863 int
32864 main ()
32865 {
32866
32867             char *name = "www.gnu.org";
32868             (void)gethostbyname_r(name) /* ; */
32869
32870
32871   ;
32872   return 0;
32873 }
32874 _ACEOF
32875 if ac_fn_c_try_compile "$LINENO"; then :
32876   ac_cv_func_which_gethostbyname_r=no
32877
32878 fi
32879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32880
32881 #
32882 # SIX ARGUMENTS
32883 # (e.g. Linux)
32884 #
32885
32886 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32887
32888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32889 /* end confdefs.h.  */
32890 #include <netdb.h>
32891 int
32892 main ()
32893 {
32894
32895             char *name = "www.gnu.org";
32896             struct hostent ret, *retp;
32897             char buf[1024];
32898             int buflen = 1024;
32899             int my_h_errno;
32900             (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32901
32902
32903   ;
32904   return 0;
32905 }
32906 _ACEOF
32907 if ac_fn_c_try_compile "$LINENO"; then :
32908   ac_cv_func_which_gethostbyname_r=six
32909
32910 fi
32911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32912
32913 fi
32914
32915 #
32916 # FIVE ARGUMENTS
32917 # (e.g. Solaris)
32918 #
32919
32920 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32921
32922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32923 /* end confdefs.h.  */
32924 #include <netdb.h>
32925 int
32926 main ()
32927 {
32928
32929             char *name = "www.gnu.org";
32930             struct hostent ret;
32931             char buf[1024];
32932             int buflen = 1024;
32933             int my_h_errno;
32934             (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32935
32936
32937   ;
32938   return 0;
32939 }
32940 _ACEOF
32941 if ac_fn_c_try_compile "$LINENO"; then :
32942   ac_cv_func_which_gethostbyname_r=five
32943
32944 fi
32945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32946
32947 fi
32948
32949 #
32950 # THREE ARGUMENTS
32951 # (e.g. AIX, HP-UX, Tru64)
32952 #
32953
32954 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32955
32956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32957 /* end confdefs.h.  */
32958 #include <netdb.h>
32959 int
32960 main ()
32961 {
32962
32963             char *name = "www.gnu.org";
32964             struct hostent ret;
32965             struct hostent_data data;
32966             (void)gethostbyname_r(name, &ret, &data) /* ; */
32967
32968
32969   ;
32970   return 0;
32971 }
32972 _ACEOF
32973 if ac_fn_c_try_compile "$LINENO"; then :
32974   ac_cv_func_which_gethostbyname_r=three
32975
32976 fi
32977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32978
32979 fi
32980
32981 ################################################################
32982
32983
32984 fi
32985
32986 case "$ac_cv_func_which_gethostbyname_r" in
32987     three)
32988     { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32989 $as_echo "three" >&6; }
32990     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32991
32992     ;;
32993
32994     five)
32995     { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32996 $as_echo "five" >&6; }
32997     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32998
32999     ;;
33000
33001     six)
33002     { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
33003 $as_echo "six" >&6; }
33004     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
33005
33006     ;;
33007
33008     no)
33009     { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
33010 $as_echo "cannot find function declaration in netdb.h" >&6; }
33011     ;;
33012
33013     unknown)
33014     { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
33015 $as_echo "can't tell" >&6; }
33016     ;;
33017
33018     *)
33019     as_fn_error $? "internal error" "$LINENO" 5
33020     ;;
33021 esac
33022
33023 ac_ext=c
33024 ac_cpp='$CPP $CPPFLAGS'
33025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33028
33029
33030
33031       if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
33032               "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
33033           ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
33034 if test "x$ac_cv_func_gethostbyname" = xyes; then :
33035    $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
33036
33037 fi
33038
33039       fi
33040
33041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
33042 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
33043 if ${ac_cv_func_which_getservbyname_r+:} false; then :
33044   $as_echo_n "(cached) " >&6
33045 else
33046
33047                 ac_ext=cpp
33048 ac_cpp='$CXXCPP $CPPFLAGS'
33049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33052
33053
33054         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33055 /* end confdefs.h.  */
33056 #include <netdb.h>
33057 int
33058 main ()
33059 {
33060
33061                 char *name;
33062                 char *proto;
33063                 struct servent *se, *res;
33064                 char buffer[2048];
33065                 int buflen = 2048;
33066                 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
33067
33068   ;
33069   return 0;
33070 }
33071 _ACEOF
33072 if ac_fn_cxx_try_compile "$LINENO"; then :
33073   ac_cv_func_which_getservbyname_r=six
33074 else
33075
33076                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33077 /* end confdefs.h.  */
33078 #include <netdb.h>
33079 int
33080 main ()
33081 {
33082
33083                         char *name;
33084                         char *proto;
33085                         struct servent *se;
33086                         char buffer[2048];
33087                         int buflen = 2048;
33088                         (void) getservbyname_r(name, proto, se, buffer, buflen)
33089
33090   ;
33091   return 0;
33092 }
33093 _ACEOF
33094 if ac_fn_cxx_try_compile "$LINENO"; then :
33095   ac_cv_func_which_getservbyname_r=five
33096 else
33097
33098                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33099 /* end confdefs.h.  */
33100 #include <netdb.h>
33101 int
33102 main ()
33103 {
33104
33105                                 char *name;
33106                                 char *proto;
33107                                 struct servent *se;
33108                                 struct servent_data data;
33109                                 (void) getservbyname_r(name, proto, se, &data);
33110
33111   ;
33112   return 0;
33113 }
33114 _ACEOF
33115 if ac_fn_cxx_try_compile "$LINENO"; then :
33116   ac_cv_func_which_getservbyname_r=four
33117 else
33118   ac_cv_func_which_getservbyname_r=no
33119
33120 fi
33121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33122
33123
33124 fi
33125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33126
33127
33128 fi
33129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33130         ac_ext=c
33131 ac_cpp='$CPP $CPPFLAGS'
33132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33135
33136
33137
33138 fi
33139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
33140 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
33141
33142 if test $ac_cv_func_which_getservbyname_r = six; then
33143   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
33144
33145 elif test $ac_cv_func_which_getservbyname_r = five; then
33146   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
33147
33148 elif test $ac_cv_func_which_getservbyname_r = four; then
33149   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
33150
33151 fi
33152
33153
33154       if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
33155               "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
33156           for ac_func in getservbyname
33157 do :
33158   ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
33159 if test "x$ac_cv_func_getservbyname" = xyes; then :
33160   cat >>confdefs.h <<_ACEOF
33161 #define HAVE_GETSERVBYNAME 1
33162 _ACEOF
33163   $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
33164
33165 fi
33166 done
33167
33168       fi
33169
33170 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
33171
33172
33173 if test "$wxUSE_THREADS" = "yes"; then
33174   $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
33175
33176
33177   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33178 else
33179       if test "$wx_cv_func_strtok_r" = "yes"; then
33180     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
33181 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
33182     if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33183         WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
33184         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33185 $as_echo "yes" >&6; }
33186     else
33187         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33188 $as_echo "no" >&6; }
33189     fi
33190   fi
33191 fi
33192
33193 if test "$WXGTK3" = 1 ; then
33194     cat >>confdefs.h <<_ACEOF
33195 #define __WXGTK3__ 1
33196 _ACEOF
33197
33198     WXGTK2=1
33199 fi
33200 if test "$WXGTK2" = 1 ; then
33201   cat >>confdefs.h <<_ACEOF
33202 #define __WXGTK20__ $WXGTK2
33203 _ACEOF
33204
33205 fi
33206
33207 if test "$WXGTK127" = 1 ; then
33208   cat >>confdefs.h <<_ACEOF
33209 #define __WXGTK127__ $WXGTK127
33210 _ACEOF
33211
33212 fi
33213
33214 if test "$WXGPE" = 1 ; then
33215   cat >>confdefs.h <<_ACEOF
33216 #define __WXGPE__ $WXGPE
33217 _ACEOF
33218
33219 fi
33220
33221 DEBUG_CFLAGS=
33222 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
33223                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
33224 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
33225 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
33226     DEBUG_CFLAGS="-g"
33227 fi
33228
33229 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33230     wxUSE_DEBUG_INFO=yes
33231     if test "$GCC" = yes; then
33232         DEBUG_CFLAGS="-ggdb"
33233     fi
33234 fi
33235
33236 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
33237     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
33238
33239     if test "$wxUSE_GTK" = 1 ; then
33240         if test "$WXGTK2" = 1 ; then
33241             CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
33242         else
33243             CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
33244         fi
33245     fi
33246 fi
33247
33248 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33249     $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
33250
33251     $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
33252
33253     $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
33254
33255     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33256 fi
33257
33258 if test "$wxUSE_DMALLOC" = "yes" ; then
33259     DMALLOC_LIBS="-ldmallocthcxx"
33260 fi
33261
33262 PROFILE_FLAGS=
33263 if test "$wxUSE_PROFILE" = "yes" ; then
33264     PROFILE_FLAGS=" -pg"
33265 fi
33266
33267 if test "$GCC" = "yes" ; then
33268     if test "$wxUSE_NO_RTTI" = "yes" ; then
33269                                 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
33270     fi
33271     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33272         WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
33273     fi
33274     if test "$wxUSE_PERMISSIVE" = "yes" ; then
33275         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
33276     fi
33277
33278                                                 case "${host}" in
33279       powerpc*-*-aix* )
33280         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
33281         ;;
33282       *-hppa* )
33283         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
33284         ;;
33285     esac
33286 fi
33287
33288 OPTIMISE_CFLAGS=
33289 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
33290                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
33291 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
33292 else
33293     if test "$wxUSE_OPTIMISE" = "no" ; then
33294         if test "$GCC" = yes ; then
33295                                     OPTIMISE_CFLAGS="-O0"
33296         fi
33297     else
33298         if test "$GCC" = yes ; then
33299             case "${host}" in
33300                 *-pc-os2_emx | *-pc-os2-emx )
33301                                                             OPTIMISE_CFLAGS="-O2"
33302                 ;;
33303                 *)
33304                                                                                 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
33305                 ;;
33306             esac
33307         else
33308             OPTIMISE_CFLAGS="-O"
33309         fi
33310     fi
33311 fi
33312
33313
33314 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
33315     $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
33316
33317
33318     WXWIN_COMPATIBILITY_2_8="yes"
33319 fi
33320
33321 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
33322     $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
33323
33324 fi
33325
33326
33327 if test "$wxUSE_GUI" = "yes"; then
33328     $as_echo "#define wxUSE_GUI 1" >>confdefs.h
33329
33330
33331                                             fi
33332
33333
33334 if test "$wxUSE_UNIX" = "yes"; then
33335   $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
33336
33337 fi
33338
33339
33340 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33341
33342     HAVE_DL_FUNCS=0
33343     HAVE_SHL_FUNCS=0
33344     if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33345         if test "$USE_DOS" = 1; then
33346             HAVE_DL_FUNCS=0
33347         else
33348                                                 for ac_func in dlopen
33349 do :
33350   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
33351 if test "x$ac_cv_func_dlopen" = xyes; then :
33352   cat >>confdefs.h <<_ACEOF
33353 #define HAVE_DLOPEN 1
33354 _ACEOF
33355
33356                 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33357
33358                 HAVE_DL_FUNCS=1
33359
33360 else
33361
33362                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33363 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33364 if ${ac_cv_lib_dl_dlopen+:} false; then :
33365   $as_echo_n "(cached) " >&6
33366 else
33367   ac_check_lib_save_LIBS=$LIBS
33368 LIBS="-ldl  $LIBS"
33369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33370 /* end confdefs.h.  */
33371
33372 /* Override any GCC internal prototype to avoid an error.
33373    Use char because int might match the return type of a GCC
33374    builtin and then its argument prototype would still apply.  */
33375 #ifdef __cplusplus
33376 extern "C"
33377 #endif
33378 char dlopen ();
33379 int
33380 main ()
33381 {
33382 return dlopen ();
33383   ;
33384   return 0;
33385 }
33386 _ACEOF
33387 if ac_fn_c_try_link "$LINENO"; then :
33388   ac_cv_lib_dl_dlopen=yes
33389 else
33390   ac_cv_lib_dl_dlopen=no
33391 fi
33392 rm -f core conftest.err conftest.$ac_objext \
33393     conftest$ac_exeext conftest.$ac_ext
33394 LIBS=$ac_check_lib_save_LIBS
33395 fi
33396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33397 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33398 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
33399
33400                                 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33401
33402                                 HAVE_DL_FUNCS=1
33403                                 DL_LINK=" -ldl$DL_LINK"
33404
33405 else
33406
33407                                 for ac_func in shl_load
33408 do :
33409   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
33410 if test "x$ac_cv_func_shl_load" = xyes; then :
33411   cat >>confdefs.h <<_ACEOF
33412 #define HAVE_SHL_LOAD 1
33413 _ACEOF
33414
33415                                                 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33416
33417                                                 HAVE_SHL_FUNCS=1
33418
33419 else
33420
33421                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33422 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33423 if ${ac_cv_lib_shl_load_dld+:} false; then :
33424   $as_echo_n "(cached) " >&6
33425 else
33426   ac_check_lib_save_LIBS=$LIBS
33427 LIBS="-lshl_load  $LIBS"
33428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33429 /* end confdefs.h.  */
33430
33431 /* Override any GCC internal prototype to avoid an error.
33432    Use char because int might match the return type of a GCC
33433    builtin and then its argument prototype would still apply.  */
33434 #ifdef __cplusplus
33435 extern "C"
33436 #endif
33437 char dld ();
33438 int
33439 main ()
33440 {
33441 return dld ();
33442   ;
33443   return 0;
33444 }
33445 _ACEOF
33446 if ac_fn_c_try_link "$LINENO"; then :
33447   ac_cv_lib_shl_load_dld=yes
33448 else
33449   ac_cv_lib_shl_load_dld=no
33450 fi
33451 rm -f core conftest.err conftest.$ac_objext \
33452     conftest$ac_exeext conftest.$ac_ext
33453 LIBS=$ac_check_lib_save_LIBS
33454 fi
33455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33456 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33457 if test "x$ac_cv_lib_shl_load_dld" = xyes; then :
33458
33459                                                                 HAVE_SHL_FUNCS=1
33460                                                                 DL_LINK=" -ldld$DL_LINK"
33461
33462 fi
33463
33464
33465 fi
33466 done
33467
33468
33469 fi
33470
33471
33472 fi
33473 done
33474
33475
33476                         if test "$HAVE_DL_FUNCS" = 1; then
33477                 for ac_func in dlerror
33478 do :
33479   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
33480 if test "x$ac_cv_func_dlerror" = xyes; then :
33481   cat >>confdefs.h <<_ACEOF
33482 #define HAVE_DLERROR 1
33483 _ACEOF
33484  $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33485
33486 else
33487
33488                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33489 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33490 if ${ac_cv_lib_dl_dlerror+:} false; then :
33491   $as_echo_n "(cached) " >&6
33492 else
33493   ac_check_lib_save_LIBS=$LIBS
33494 LIBS="-ldl  $LIBS"
33495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33496 /* end confdefs.h.  */
33497
33498 /* Override any GCC internal prototype to avoid an error.
33499    Use char because int might match the return type of a GCC
33500    builtin and then its argument prototype would still apply.  */
33501 #ifdef __cplusplus
33502 extern "C"
33503 #endif
33504 char dlerror ();
33505 int
33506 main ()
33507 {
33508 return dlerror ();
33509   ;
33510   return 0;
33511 }
33512 _ACEOF
33513 if ac_fn_c_try_link "$LINENO"; then :
33514   ac_cv_lib_dl_dlerror=yes
33515 else
33516   ac_cv_lib_dl_dlerror=no
33517 fi
33518 rm -f core conftest.err conftest.$ac_objext \
33519     conftest$ac_exeext conftest.$ac_ext
33520 LIBS=$ac_check_lib_save_LIBS
33521 fi
33522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33523 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33524 if test "x$ac_cv_lib_dl_dlerror" = xyes; then :
33525   $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33526
33527 fi
33528
33529
33530
33531 fi
33532 done
33533
33534             fi
33535         fi
33536
33537                 if test "$USE_DARWIN" = 1; then
33538                         HAVE_DL_FUNCS=1
33539         fi
33540
33541         if test "$HAVE_DL_FUNCS" = 0; then
33542             if test "$HAVE_SHL_FUNCS" = 0; then
33543               if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33544                   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33545 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33546                   wxUSE_DYNAMIC_LOADER=no
33547                   wxUSE_DYNLIB_CLASS=no
33548               else
33549                   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33550 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33551               fi
33552             fi
33553         fi
33554     fi
33555 fi
33556
33557 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33558     $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33559
33560 fi
33561 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33562     $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33563
33564 fi
33565
33566
33567
33568 if test "$wxUSE_PLUGINS" = "yes" ; then
33569     if test "$wxUSE_SHARED" = "no" ; then
33570         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33571 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33572         wxUSE_PLUGINS=no
33573     fi
33574     if test "$wxUSE_MONOLITHIC" = "yes" ; then
33575         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33576 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33577         wxUSE_PLUGINS=no
33578     fi
33579     if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33580         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33581 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33582         wxUSE_PLUGINS=no
33583     fi
33584     if test "$wxUSE_PLUGINS" = "yes" ; then
33585         $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33586
33587     fi
33588 fi
33589
33590
33591 if test "$wxUSE_FSWATCHER" = "yes"; then
33592                 if test "$wxUSE_MSW" != "1"; then
33593         if test "$wxUSE_UNIX" = "yes"; then
33594             for ac_header in sys/inotify.h
33595 do :
33596   ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33597 "
33598 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
33599   cat >>confdefs.h <<_ACEOF
33600 #define HAVE_SYS_INOTIFY_H 1
33601 _ACEOF
33602
33603 fi
33604
33605 done
33606
33607             if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33608                 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33609
33610             else
33611                 for ac_header in sys/event.h
33612 do :
33613   ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33614 "
33615 if test "x$ac_cv_header_sys_event_h" = xyes; then :
33616   cat >>confdefs.h <<_ACEOF
33617 #define HAVE_SYS_EVENT_H 1
33618 _ACEOF
33619
33620 fi
33621
33622 done
33623
33624                 if test "$ac_cv_header_sys_event_h" = "yes"; then
33625                     $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33626
33627                 else
33628                     wxUSE_FSWATCHER=no
33629                 fi
33630             fi
33631         else
33632             wxUSE_FSWATCHER=no
33633         fi
33634     else
33635         if test "$wxUSE_THREADS" != "yes"; then
33636             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33637 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33638             wxUSE_FSWATCHER=no
33639         fi
33640     fi
33641
33642     if test "$wxUSE_FSWATCHER" = "yes"; then
33643         $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33644
33645         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33646     else
33647         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33648 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33649     fi
33650 fi
33651
33652
33653 if test "$wxUSE_STL" = "yes"; then
33654   $as_echo "#define wxUSE_STL 1" >>confdefs.h
33655
33656 fi
33657
33658 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33659   $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33660
33661 fi
33662
33663 if test "$wxUSE_ANY" = "yes"; then
33664     $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33665
33666 fi
33667
33668 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33669   $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33670
33671 fi
33672
33673 if test "$wxUSE_TIMER" = "yes"; then
33674   $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33675
33676 fi
33677
33678 if test "$USE_UNIX" = 1 ; then
33679                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33680 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33681 if ${ac_cv_header_sys_soundcard+:} false; then :
33682   $as_echo_n "(cached) " >&6
33683 else
33684
33685         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33686 /* end confdefs.h.  */
33687
33688                 #include <sys/ioctl.h>
33689                 #include <sys/soundcard.h>
33690
33691 int
33692 main ()
33693 {
33694
33695                 ioctl(0, SNDCTL_DSP_SPEED, 0);
33696
33697   ;
33698   return 0;
33699 }
33700 _ACEOF
33701 if ac_fn_c_try_link "$LINENO"; then :
33702   ac_cv_header_sys_soundcard=yes
33703 else
33704
33705                 saveLibs="$LIBS"
33706                 LIBS="$saveLibs -lossaudio"
33707                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33708 /* end confdefs.h.  */
33709
33710                         #include <sys/ioctl.h>
33711                         #include <sys/soundcard.h>
33712
33713 int
33714 main ()
33715 {
33716
33717                         ioctl(0, SNDCTL_DSP_SPEED, 0);
33718
33719   ;
33720   return 0;
33721 }
33722 _ACEOF
33723 if ac_fn_c_try_link "$LINENO"; then :
33724   ac_cv_header_sys_soundcard=yes
33725 else
33726
33727                         LIBS="$saveLibs"
33728                         ac_cv_header_sys_soundcard=no
33729
33730
33731 fi
33732 rm -f core conftest.err conftest.$ac_objext \
33733     conftest$ac_exeext conftest.$ac_ext
33734
33735
33736 fi
33737 rm -f core conftest.err conftest.$ac_objext \
33738     conftest$ac_exeext conftest.$ac_ext
33739
33740 fi
33741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33742 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33743
33744     if test "$ac_cv_header_sys_soundcard" = "yes"; then
33745         $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33746
33747     fi
33748 fi
33749
33750 WITH_PLUGIN_SDL=0
33751 if test "$wxUSE_SOUND" = "yes"; then
33752   if test "$USE_UNIX" = 1 ; then
33753     if test "$wxUSE_LIBSDL" != "no"; then
33754
33755 # Check whether --with-sdl-prefix was given.
33756 if test "${with_sdl_prefix+set}" = set; then :
33757   withval=$with_sdl_prefix; sdl_prefix="$withval"
33758 else
33759   sdl_prefix=""
33760 fi
33761
33762
33763 # Check whether --with-sdl-exec-prefix was given.
33764 if test "${with_sdl_exec_prefix+set}" = set; then :
33765   withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33766 else
33767   sdl_exec_prefix=""
33768 fi
33769
33770 # Check whether --enable-sdltest was given.
33771 if test "${enable_sdltest+set}" = set; then :
33772   enableval=$enable_sdltest;
33773 else
33774   enable_sdltest=yes
33775 fi
33776
33777
33778   if test x$sdl_exec_prefix != x ; then
33779     sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33780     if test x${SDL_CONFIG+set} != xset ; then
33781       SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33782     fi
33783   fi
33784   if test x$sdl_prefix != x ; then
33785     sdl_args="$sdl_args --prefix=$sdl_prefix"
33786     if test x${SDL_CONFIG+set} != xset ; then
33787       SDL_CONFIG=$sdl_prefix/bin/sdl-config
33788     fi
33789   fi
33790
33791   if test "x$prefix" != xNONE; then
33792     PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33793   fi
33794   # Extract the first word of "sdl-config", so it can be a program name with args.
33795 set dummy sdl-config; ac_word=$2
33796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33797 $as_echo_n "checking for $ac_word... " >&6; }
33798 if ${ac_cv_path_SDL_CONFIG+:} false; then :
33799   $as_echo_n "(cached) " >&6
33800 else
33801   case $SDL_CONFIG in
33802   [\\/]* | ?:[\\/]*)
33803   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33804   ;;
33805   *)
33806   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33807 for as_dir in $PATH
33808 do
33809   IFS=$as_save_IFS
33810   test -z "$as_dir" && as_dir=.
33811     for ac_exec_ext in '' $ac_executable_extensions; do
33812   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33813     ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33814     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33815     break 2
33816   fi
33817 done
33818   done
33819 IFS=$as_save_IFS
33820
33821   test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33822   ;;
33823 esac
33824 fi
33825 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33826 if test -n "$SDL_CONFIG"; then
33827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33828 $as_echo "$SDL_CONFIG" >&6; }
33829 else
33830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33831 $as_echo "no" >&6; }
33832 fi
33833
33834
33835   min_sdl_version=1.2.0
33836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33837 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33838   no_sdl=""
33839   if test "$SDL_CONFIG" = "no" ; then
33840     no_sdl=yes
33841   else
33842     SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33843     SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33844
33845     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33846            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33847     sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33848            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33849     sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33850            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33851     if test "x$enable_sdltest" = "xyes" ; then
33852       ac_save_CFLAGS="$CFLAGS"
33853       ac_save_CXXFLAGS="$CXXFLAGS"
33854       ac_save_LIBS="$LIBS"
33855       CFLAGS="$CFLAGS $SDL_CFLAGS"
33856       CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33857       LIBS="$LIBS $SDL_LIBS"
33858       rm -f conf.sdltest
33859       if test "$cross_compiling" = yes; then :
33860   echo $ac_n "cross compiling; assumed OK... $ac_c"
33861 else
33862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33863 /* end confdefs.h.  */
33864
33865 #include <stdio.h>
33866 #include <stdlib.h>
33867 #include <string.h>
33868 #include "SDL.h"
33869
33870 char*
33871 my_strdup (char *str)
33872 {
33873   char *new_str;
33874
33875   if (str)
33876     {
33877       new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33878       strcpy (new_str, str);
33879     }
33880   else
33881     new_str = NULL;
33882
33883   return new_str;
33884 }
33885
33886 int main (int argc, char *argv[])
33887 {
33888   int major, minor, micro;
33889   char *tmp_version;
33890
33891   /* This hangs on some systems (?)
33892   system ("touch conf.sdltest");
33893   */
33894   { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33895
33896   /* HP/UX 9 (%@#!) writes to sscanf strings */
33897   tmp_version = my_strdup("$min_sdl_version");
33898   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33899      printf("%s, bad version string\n", "$min_sdl_version");
33900      exit(1);
33901    }
33902
33903    if (($sdl_major_version > major) ||
33904       (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33905       (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33906     {
33907       return 0;
33908     }
33909   else
33910     {
33911       printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33912       printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33913       printf("*** best to upgrade to the required version.\n");
33914       printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33915       printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33916       printf("*** config.cache before re-running configure\n");
33917       return 1;
33918     }
33919 }
33920
33921
33922 _ACEOF
33923 if ac_fn_c_try_run "$LINENO"; then :
33924
33925 else
33926   no_sdl=yes
33927 fi
33928 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33929   conftest.$ac_objext conftest.beam conftest.$ac_ext
33930 fi
33931
33932        CFLAGS="$ac_save_CFLAGS"
33933        CXXFLAGS="$ac_save_CXXFLAGS"
33934        LIBS="$ac_save_LIBS"
33935      fi
33936   fi
33937   if test "x$no_sdl" = x ; then
33938      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33939 $as_echo "yes" >&6; }
33940
33941                     EXTRALIBS_SDL="$SDL_LIBS"
33942                     CFLAGS="$SDL_CFLAGS $CFLAGS"
33943                     CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33944                     $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33945
33946
33947   else
33948      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33949 $as_echo "no" >&6; }
33950      if test "$SDL_CONFIG" = "no" ; then
33951        echo "*** The sdl-config script installed by SDL could not be found"
33952        echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33953        echo "*** your path, or set the SDL_CONFIG environment variable to the"
33954        echo "*** full path to sdl-config."
33955      else
33956        if test -f conf.sdltest ; then
33957         :
33958        else
33959           echo "*** Could not run SDL test program, checking why..."
33960           CFLAGS="$CFLAGS $SDL_CFLAGS"
33961           CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33962           LIBS="$LIBS $SDL_LIBS"
33963           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33964 /* end confdefs.h.  */
33965
33966 #include <stdio.h>
33967 #include "SDL.h"
33968
33969 int main(int argc, char *argv[])
33970 { return 0; }
33971 #undef  main
33972 #define main K_and_R_C_main
33973
33974 int
33975 main ()
33976 {
33977  return 0;
33978   ;
33979   return 0;
33980 }
33981 _ACEOF
33982 if ac_fn_c_try_link "$LINENO"; then :
33983    echo "*** The test program compiled, but did not run. This usually means"
33984           echo "*** that the run-time linker is not finding SDL or finding the wrong"
33985           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33986           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33987           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
33988           echo "*** is required on your system"
33989           echo "***"
33990           echo "*** If you have an old version installed, it is best to remove it, although"
33991           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33992 else
33993    echo "*** The test program failed to compile or link. See the file config.log for the"
33994           echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33995           echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33996           echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33997 fi
33998 rm -f core conftest.err conftest.$ac_objext \
33999     conftest$ac_exeext conftest.$ac_ext
34000           CFLAGS="$ac_save_CFLAGS"
34001           CXXFLAGS="$ac_save_CXXFLAGS"
34002           LIBS="$ac_save_LIBS"
34003        fi
34004      fi
34005      SDL_CFLAGS=""
34006      SDL_LIBS=""
34007      wxUSE_LIBSDL="no"
34008   fi
34009
34010
34011   rm -f conf.sdltest
34012
34013       if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34014         WITH_PLUGIN_SDL=1
34015       fi
34016     fi
34017   fi
34018 fi
34019
34020 if test "$wxUSE_SOUND" = "yes"; then
34021   $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
34022
34023   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
34024 fi
34025
34026 if test "$WXGTK2" = 1; then
34027
34028
34029 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34030         if test -n "$ac_tool_prefix"; then
34031   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34032 set dummy ${ac_tool_prefix}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_PKG_CONFIG+:} false; then :
34036   $as_echo_n "(cached) " >&6
34037 else
34038   case $PKG_CONFIG in
34039   [\\/]* | ?:[\\/]*)
34040   ac_cv_path_PKG_CONFIG="$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_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 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
34062 if test -n "$PKG_CONFIG"; then
34063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
34064 $as_echo "$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
34071 fi
34072 if test -z "$ac_cv_path_PKG_CONFIG"; then
34073   ac_pt_PKG_CONFIG=$PKG_CONFIG
34074   # Extract the first word of "pkg-config", so it can be a program name with args.
34075 set dummy pkg-config; ac_word=$2
34076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34077 $as_echo_n "checking for $ac_word... " >&6; }
34078 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
34079   $as_echo_n "(cached) " >&6
34080 else
34081   case $ac_pt_PKG_CONFIG in
34082   [\\/]* | ?:[\\/]*)
34083   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34084   ;;
34085   *)
34086   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34087 for as_dir in $PATH
34088 do
34089   IFS=$as_save_IFS
34090   test -z "$as_dir" && as_dir=.
34091     for ac_exec_ext in '' $ac_executable_extensions; do
34092   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34093     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34094     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34095     break 2
34096   fi
34097 done
34098   done
34099 IFS=$as_save_IFS
34100
34101   ;;
34102 esac
34103 fi
34104 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
34105 if test -n "$ac_pt_PKG_CONFIG"; then
34106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
34107 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
34108 else
34109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34110 $as_echo "no" >&6; }
34111 fi
34112
34113   if test "x$ac_pt_PKG_CONFIG" = x; then
34114     PKG_CONFIG=""
34115   else
34116     case $cross_compiling:$ac_tool_warned in
34117 yes:)
34118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
34119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
34120 ac_tool_warned=yes ;;
34121 esac
34122     PKG_CONFIG=$ac_pt_PKG_CONFIG
34123   fi
34124 else
34125   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
34126 fi
34127
34128 fi
34129 if test -n "$PKG_CONFIG"; then
34130         _pkg_min_version=0.9.0
34131         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
34132 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
34133         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34134                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34135 $as_echo "yes" >&6; }
34136         else
34137                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34138 $as_echo "no" >&6; }
34139                 PKG_CONFIG=""
34140         fi
34141
34142 fi
34143
34144     if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34145
34146         if test "$wxUSE_GTKPRINT" = "yes" ; then
34147             if test "$WXGTK3" = 1; then
34148                 gtk_unix_print="gtk+-unix-print-3.0"
34149             else
34150                 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
34151             fi
34152
34153 pkg_failed=no
34154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
34155 $as_echo_n "checking for GTKPRINT... " >&6; }
34156
34157 if test -n "$PKG_CONFIG"; then
34158     if test -n "$GTKPRINT_CFLAGS"; then
34159         pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
34160     else
34161         if test -n "$PKG_CONFIG" && \
34162     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34163   ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34164   ac_status=$?
34165   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34166   test $ac_status = 0; }; then
34167   pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
34168 else
34169   pkg_failed=yes
34170 fi
34171     fi
34172 else
34173         pkg_failed=untried
34174 fi
34175 if test -n "$PKG_CONFIG"; then
34176     if test -n "$GTKPRINT_LIBS"; then
34177         pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
34178     else
34179         if test -n "$PKG_CONFIG" && \
34180     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34181   ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34182   ac_status=$?
34183   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34184   test $ac_status = 0; }; then
34185   pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
34186 else
34187   pkg_failed=yes
34188 fi
34189     fi
34190 else
34191         pkg_failed=untried
34192 fi
34193
34194
34195
34196 if test $pkg_failed = yes; then
34197
34198 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34199         _pkg_short_errors_supported=yes
34200 else
34201         _pkg_short_errors_supported=no
34202 fi
34203         if test $_pkg_short_errors_supported = yes; then
34204                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
34205         else
34206                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
34207         fi
34208         # Put the nasty error message in config.log where it belongs
34209         echo "$GTKPRINT_PKG_ERRORS" >&5
34210
34211
34212                         { $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
34213 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34214                         wxUSE_GTKPRINT="no"
34215
34216
34217 elif test $pkg_failed = untried; then
34218
34219                         { $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
34220 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34221                         wxUSE_GTKPRINT="no"
34222
34223
34224 else
34225         GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
34226         GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
34227         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34228 $as_echo "yes" >&6; }
34229
34230                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
34231                         CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
34232                         CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
34233                         $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
34234
34235
34236 fi
34237         fi
34238
34239         if test "$WXGTK3" = 1; then
34240             wxUSE_LIBGNOMEPRINT=no
34241         fi
34242
34243         if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34244
34245
34246 pkg_failed=no
34247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
34248 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
34249
34250 if test -n "$PKG_CONFIG"; then
34251     if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
34252         pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
34253     else
34254         if test -n "$PKG_CONFIG" && \
34255     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34256   ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34257   ac_status=$?
34258   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34259   test $ac_status = 0; }; then
34260   pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34261 else
34262   pkg_failed=yes
34263 fi
34264     fi
34265 else
34266         pkg_failed=untried
34267 fi
34268 if test -n "$PKG_CONFIG"; then
34269     if test -n "$LIBGNOMEPRINTUI_LIBS"; then
34270         pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
34271     else
34272         if test -n "$PKG_CONFIG" && \
34273     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34274   ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34275   ac_status=$?
34276   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34277   test $ac_status = 0; }; then
34278   pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34279 else
34280   pkg_failed=yes
34281 fi
34282     fi
34283 else
34284         pkg_failed=untried
34285 fi
34286
34287
34288
34289 if test $pkg_failed = yes; then
34290
34291 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34292         _pkg_short_errors_supported=yes
34293 else
34294         _pkg_short_errors_supported=no
34295 fi
34296         if test $_pkg_short_errors_supported = yes; then
34297                 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34298         else
34299                 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34300         fi
34301         # Put the nasty error message in config.log where it belongs
34302         echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
34303
34304
34305                         if test "$wxUSE_GTKPRINT" = yes; then
34306                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34307 $as_echo "no" >&6; }
34308                         else
34309                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34310 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34311                         fi
34312                         wxUSE_LIBGNOMEPRINT="no"
34313
34314
34315 elif test $pkg_failed = untried; then
34316
34317                         if test "$wxUSE_GTKPRINT" = yes; then
34318                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34319 $as_echo "no" >&6; }
34320                         else
34321                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34322 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34323                         fi
34324                         wxUSE_LIBGNOMEPRINT="no"
34325
34326
34327 else
34328         LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
34329         LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
34330         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34331 $as_echo "yes" >&6; }
34332
34333                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
34334                         CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
34335                         CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
34336                         $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
34337
34338
34339 fi
34340         fi
34341     fi
34342
34343     if test "$wxUSE_MIMETYPE" = "yes" ; then
34344         if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34345
34346
34347 pkg_failed=no
34348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34349 $as_echo_n "checking for GNOMEVFS... " >&6; }
34350
34351 if test -n "$PKG_CONFIG"; then
34352     if test -n "$GNOMEVFS_CFLAGS"; then
34353         pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
34354     else
34355         if test -n "$PKG_CONFIG" && \
34356     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34357   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34358   ac_status=$?
34359   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34360   test $ac_status = 0; }; then
34361   pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34362 else
34363   pkg_failed=yes
34364 fi
34365     fi
34366 else
34367         pkg_failed=untried
34368 fi
34369 if test -n "$PKG_CONFIG"; then
34370     if test -n "$GNOMEVFS_LIBS"; then
34371         pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
34372     else
34373         if test -n "$PKG_CONFIG" && \
34374     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34375   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34376   ac_status=$?
34377   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34378   test $ac_status = 0; }; then
34379   pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34380 else
34381   pkg_failed=yes
34382 fi
34383     fi
34384 else
34385         pkg_failed=untried
34386 fi
34387
34388
34389
34390 if test $pkg_failed = yes; then
34391
34392 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34393         _pkg_short_errors_supported=yes
34394 else
34395         _pkg_short_errors_supported=no
34396 fi
34397         if test $_pkg_short_errors_supported = yes; then
34398                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34399         else
34400                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34401         fi
34402         # Put the nasty error message in config.log where it belongs
34403         echo "$GNOMEVFS_PKG_ERRORS" >&5
34404
34405
34406                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34407 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34408                         wxUSE_LIBGNOMEVFS="no"
34409
34410
34411 elif test $pkg_failed = untried; then
34412
34413                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34414 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34415                         wxUSE_LIBGNOMEVFS="no"
34416
34417
34418 else
34419         GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
34420         GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
34421         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34422 $as_echo "yes" >&6; }
34423
34424                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34425                         CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
34426                         CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
34427                         $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34428
34429
34430 fi
34431         fi
34432     fi
34433
34434     if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34435         if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34436             HAVE_LIBNOTIFY=0
34437
34438 pkg_failed=no
34439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34440 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34441
34442 if test -n "$PKG_CONFIG"; then
34443     if test -n "$LIBNOTIFY_CFLAGS"; then
34444         pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34445     else
34446         if test -n "$PKG_CONFIG" && \
34447     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34448   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34449   ac_status=$?
34450   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34451   test $ac_status = 0; }; then
34452   pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34453 else
34454   pkg_failed=yes
34455 fi
34456     fi
34457 else
34458         pkg_failed=untried
34459 fi
34460 if test -n "$PKG_CONFIG"; then
34461     if test -n "$LIBNOTIFY_LIBS"; then
34462         pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34463     else
34464         if test -n "$PKG_CONFIG" && \
34465     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34466   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34467   ac_status=$?
34468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34469   test $ac_status = 0; }; then
34470   pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34471 else
34472   pkg_failed=yes
34473 fi
34474     fi
34475 else
34476         pkg_failed=untried
34477 fi
34478
34479
34480
34481 if test $pkg_failed = yes; then
34482
34483 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34484         _pkg_short_errors_supported=yes
34485 else
34486         _pkg_short_errors_supported=no
34487 fi
34488         if test $_pkg_short_errors_supported = yes; then
34489                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34490         else
34491                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34492         fi
34493         # Put the nasty error message in config.log where it belongs
34494         echo "$LIBNOTIFY_PKG_ERRORS" >&5
34495
34496
34497
34498 pkg_failed=no
34499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34500 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34501
34502 if test -n "$PKG_CONFIG"; then
34503     if test -n "$LIBNOTIFY_CFLAGS"; then
34504         pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34505     else
34506         if test -n "$PKG_CONFIG" && \
34507     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34508   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34509   ac_status=$?
34510   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34511   test $ac_status = 0; }; then
34512   pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34513 else
34514   pkg_failed=yes
34515 fi
34516     fi
34517 else
34518         pkg_failed=untried
34519 fi
34520 if test -n "$PKG_CONFIG"; then
34521     if test -n "$LIBNOTIFY_LIBS"; then
34522         pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34523     else
34524         if test -n "$PKG_CONFIG" && \
34525     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34526   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34527   ac_status=$?
34528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34529   test $ac_status = 0; }; then
34530   pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34531 else
34532   pkg_failed=yes
34533 fi
34534     fi
34535 else
34536         pkg_failed=untried
34537 fi
34538
34539
34540
34541 if test $pkg_failed = yes; then
34542
34543 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34544         _pkg_short_errors_supported=yes
34545 else
34546         _pkg_short_errors_supported=no
34547 fi
34548         if test $_pkg_short_errors_supported = yes; then
34549                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34550         else
34551                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34552         fi
34553         # Put the nasty error message in config.log where it belongs
34554         echo "$LIBNOTIFY_PKG_ERRORS" >&5
34555
34556         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34557 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34558
34559 elif test $pkg_failed = untried; then
34560         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34561 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34562
34563 else
34564         LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34565         LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34566         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34567 $as_echo "yes" >&6; }
34568         HAVE_LIBNOTIFY=1
34569 fi
34570
34571
34572 elif test $pkg_failed = untried; then
34573
34574
34575 pkg_failed=no
34576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34577 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34578
34579 if test -n "$PKG_CONFIG"; then
34580     if test -n "$LIBNOTIFY_CFLAGS"; then
34581         pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34582     else
34583         if test -n "$PKG_CONFIG" && \
34584     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34585   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34586   ac_status=$?
34587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34588   test $ac_status = 0; }; then
34589   pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34590 else
34591   pkg_failed=yes
34592 fi
34593     fi
34594 else
34595         pkg_failed=untried
34596 fi
34597 if test -n "$PKG_CONFIG"; then
34598     if test -n "$LIBNOTIFY_LIBS"; then
34599         pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34600     else
34601         if test -n "$PKG_CONFIG" && \
34602     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34603   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34604   ac_status=$?
34605   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34606   test $ac_status = 0; }; then
34607   pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34608 else
34609   pkg_failed=yes
34610 fi
34611     fi
34612 else
34613         pkg_failed=untried
34614 fi
34615
34616
34617
34618 if test $pkg_failed = yes; then
34619
34620 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34621         _pkg_short_errors_supported=yes
34622 else
34623         _pkg_short_errors_supported=no
34624 fi
34625         if test $_pkg_short_errors_supported = yes; then
34626                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34627         else
34628                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34629         fi
34630         # Put the nasty error message in config.log where it belongs
34631         echo "$LIBNOTIFY_PKG_ERRORS" >&5
34632
34633         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34634 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34635
34636 elif test $pkg_failed = untried; then
34637         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34638 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34639
34640 else
34641         LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34642         LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34643         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34644 $as_echo "yes" >&6; }
34645         HAVE_LIBNOTIFY=1
34646 fi
34647
34648
34649 else
34650         LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34651         LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34652         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34653 $as_echo "yes" >&6; }
34654
34655                     HAVE_LIBNOTIFY=1
34656                     $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34657
34658
34659 fi
34660
34661             if test "$HAVE_LIBNOTIFY" = "1" ; then
34662                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34663                 CFLAGS="$LIBNOTIFY_CFLAGS $CFLAGS"
34664                 CXXFLAGS="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34665                 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34666
34667             fi
34668         fi
34669     fi
34670
34671     if test "$wxUSE_LIBHILDON" = "yes" ; then
34672
34673 pkg_failed=no
34674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34675 $as_echo_n "checking for HILDON... " >&6; }
34676
34677 if test -n "$PKG_CONFIG"; then
34678     if test -n "$HILDON_CFLAGS"; then
34679         pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
34680     else
34681         if test -n "$PKG_CONFIG" && \
34682     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34683   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34684   ac_status=$?
34685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34686   test $ac_status = 0; }; then
34687   pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34688 else
34689   pkg_failed=yes
34690 fi
34691     fi
34692 else
34693         pkg_failed=untried
34694 fi
34695 if test -n "$PKG_CONFIG"; then
34696     if test -n "$HILDON_LIBS"; then
34697         pkg_cv_HILDON_LIBS="$HILDON_LIBS"
34698     else
34699         if test -n "$PKG_CONFIG" && \
34700     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34701   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34702   ac_status=$?
34703   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34704   test $ac_status = 0; }; then
34705   pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34706 else
34707   pkg_failed=yes
34708 fi
34709     fi
34710 else
34711         pkg_failed=untried
34712 fi
34713
34714
34715
34716 if test $pkg_failed = yes; then
34717
34718 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34719         _pkg_short_errors_supported=yes
34720 else
34721         _pkg_short_errors_supported=no
34722 fi
34723         if test $_pkg_short_errors_supported = yes; then
34724                 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34725         else
34726                 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34727         fi
34728         # Put the nasty error message in config.log where it belongs
34729         echo "$HILDON_PKG_ERRORS" >&5
34730
34731
34732                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34733 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34734                         wxUSE_LIBHILDON="no"
34735                         ac_hildon_lgpl=0
34736
34737
34738 elif test $pkg_failed = untried; then
34739
34740                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34741 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34742                         wxUSE_LIBHILDON="no"
34743                         ac_hildon_lgpl=0
34744
34745
34746 else
34747         HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
34748         HILDON_LIBS=$pkg_cv_HILDON_LIBS
34749         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34750 $as_echo "yes" >&6; }
34751
34752                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON_LIBS"
34753                 CFLAGS="$CFLAGS $HILDON_CFLAGS"
34754                 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
34755                 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34756
34757                 ac_hildon_lgpl=1
34758
34759 fi
34760
34761         if test "$ac_hildon_lgpl" = 0 ; then
34762
34763 pkg_failed=no
34764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34765 $as_echo_n "checking for HILDON2... " >&6; }
34766
34767 if test -n "$PKG_CONFIG"; then
34768     if test -n "$HILDON2_CFLAGS"; then
34769         pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34770     else
34771         if test -n "$PKG_CONFIG" && \
34772     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34773   ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34774   ac_status=$?
34775   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34776   test $ac_status = 0; }; then
34777   pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34778 else
34779   pkg_failed=yes
34780 fi
34781     fi
34782 else
34783         pkg_failed=untried
34784 fi
34785 if test -n "$PKG_CONFIG"; then
34786     if test -n "$HILDON2_LIBS"; then
34787         pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34788     else
34789         if test -n "$PKG_CONFIG" && \
34790     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34791   ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34792   ac_status=$?
34793   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34794   test $ac_status = 0; }; then
34795   pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34796 else
34797   pkg_failed=yes
34798 fi
34799     fi
34800 else
34801         pkg_failed=untried
34802 fi
34803
34804
34805
34806 if test $pkg_failed = yes; then
34807
34808 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34809         _pkg_short_errors_supported=yes
34810 else
34811         _pkg_short_errors_supported=no
34812 fi
34813         if test $_pkg_short_errors_supported = yes; then
34814                 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34815         else
34816                 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34817         fi
34818         # Put the nasty error message in config.log where it belongs
34819         echo "$HILDON2_PKG_ERRORS" >&5
34820
34821
34822                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34823 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34824                             wxUSE_LIBHILDON2="no"
34825
34826
34827 elif test $pkg_failed = untried; then
34828
34829                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34830 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34831                             wxUSE_LIBHILDON2="no"
34832
34833
34834 else
34835         HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34836         HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34837         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34838 $as_echo "yes" >&6; }
34839
34840                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON2_LIBS"
34841                     CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34842                     CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34843                     $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34844
34845
34846 fi
34847         fi
34848     fi
34849 fi
34850
34851 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34852   $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34853
34854 fi
34855
34856 if test "$wxUSE_STOPWATCH" = "yes"; then
34857   $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34858
34859 fi
34860
34861 if test "$wxUSE_DATETIME" = "yes"; then
34862   $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34863
34864 fi
34865
34866 if test "$wxUSE_FILE" = "yes"; then
34867   $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34868
34869 fi
34870
34871 if test "$wxUSE_FFILE" = "yes"; then
34872   $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34873
34874 fi
34875
34876 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34877   if test "$wxUSE_STREAMS" != yes; then
34878     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34879 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34880     wxUSE_ARCHIVE_STREAMS=no
34881   else
34882     $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34883
34884   fi
34885 fi
34886
34887 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34888   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34889     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34890 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34891   elif test "$wxUSE_ZLIB" = "no"; then
34892     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34893 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34894   else
34895     $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34896
34897   fi
34898 fi
34899
34900 if test "$wxUSE_TARSTREAM" = "yes"; then
34901   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34902     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34903 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34904   else
34905     $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34906
34907   fi
34908 fi
34909
34910 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34911   $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34912
34913 fi
34914
34915 if test "$wxUSE_FILESYSTEM" = "yes"; then
34916   if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34917     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34918 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34919     wxUSE_FILESYSTEM=no
34920   else
34921     $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34922
34923   fi
34924 fi
34925
34926 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34927   if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34928     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34929 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34930   else
34931     $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34932
34933   fi
34934 fi
34935
34936 if test "$wxUSE_FS_ZIP" = "yes"; then
34937   if test "$wxUSE_FS_ARCHIVE" != yes; then
34938     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34939 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34940   else
34941     $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34942
34943   fi
34944 fi
34945
34946 if test "$wxUSE_FSVOLUME" = "yes"; then
34947   $as_echo "#define wxUSE_FSVOLUME 1" >>confdefs.h
34948
34949 fi
34950
34951 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34952   if test "$USE_UNIX" != 1; then
34953     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34954 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34955     wxUSE_ON_FATAL_EXCEPTION=no
34956   else
34957     $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34958
34959   fi
34960 fi
34961
34962 if test "$wxUSE_STACKWALKER" = "yes"; then
34963     $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34964
34965 fi
34966
34967 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34968     if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34969         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34970 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34971         wxUSE_DEBUGREPORT=no
34972     else
34973         $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34974
34975         if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34976             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34977         fi
34978     fi
34979 fi
34980
34981 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34982   $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34983
34984 fi
34985
34986 if test "$wxUSE_BUSYINFO" = "yes"; then
34987   $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34988
34989 fi
34990
34991 if test "$wxUSE_HOTKEY" = "yes"; then
34992   if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34993     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34994 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34995     wxUSE_HOTKEY=no
34996   fi
34997 elif test "$wxUSE_HOTKEY" = "auto"; then
34998   if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34999     wxUSE_HOTKEY=yes
35000   fi
35001 fi
35002 if test "$wxUSE_HOTKEY" = "yes"; then
35003   $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
35004
35005 fi
35006
35007 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
35008   $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
35009
35010 fi
35011
35012 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35013   $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
35014
35015 fi
35016
35017 if test "$wxUSE_STD_STRING" = "yes"; then
35018   $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
35019
35020 fi
35021
35022 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
35023   $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
35024
35025 fi
35026
35027 if test "$wxUSE_STDPATHS" = "yes"; then
35028   $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
35029
35030 fi
35031
35032 if test "$wxUSE_TEXTBUFFER" = "yes"; then
35033     $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
35034
35035 fi
35036
35037 if test "$wxUSE_TEXTFILE" = "yes"; then
35038   if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35039     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35040 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35041   else
35042     $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
35043
35044   fi
35045 fi
35046
35047 if test "$wxUSE_CONFIG" = "yes" ; then
35048   if test "$wxUSE_TEXTFILE" != "yes"; then
35049     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
35050 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35051   else
35052     $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
35053
35054     $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
35055
35056     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
35057   fi
35058 fi
35059
35060 if test "$wxUSE_INTL" = "yes" ; then
35061   if test "$wxUSE_FILE" != "yes"; then
35062     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
35063 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35064   else
35065     $as_echo "#define wxUSE_INTL 1" >>confdefs.h
35066
35067     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
35068     GUIDIST="$GUIDIST INTL_DIST"
35069   fi
35070 fi
35071
35072 if test "$wxUSE_XLOCALE" = "yes" ; then
35073     $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
35074
35075     ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
35076                     #include <locale.h>
35077 "
35078 if test "x$ac_cv_type_locale_t" = xyes; then :
35079
35080 cat >>confdefs.h <<_ACEOF
35081 #define HAVE_LOCALE_T 1
35082 _ACEOF
35083
35084
35085 fi
35086
35087 fi
35088
35089 if test "$wxUSE_LOG" = "yes"; then
35090   $as_echo "#define wxUSE_LOG 1" >>confdefs.h
35091
35092
35093     if test "$wxUSE_LOGGUI" = "yes"; then
35094       $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
35095
35096     fi
35097
35098     if test "$wxUSE_LOGWINDOW" = "yes"; then
35099       $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
35100
35101     fi
35102
35103     if test "$wxUSE_LOGDIALOG" = "yes"; then
35104       $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
35105
35106     fi
35107
35108         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
35109 fi
35110
35111 if test "$wxUSE_LONGLONG" = "yes"; then
35112   $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
35113
35114 fi
35115
35116 if test "$wxUSE_GEOMETRY" = "yes"; then
35117   $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
35118
35119 fi
35120
35121 if test "$wxUSE_BASE64" = "yes"; then
35122   $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
35123
35124 fi
35125
35126 if test "$wxUSE_STREAMS" = "yes" ; then
35127   $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
35128
35129 fi
35130
35131 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35132   $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
35133
35134 fi
35135
35136 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
35137   $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
35138
35139 fi
35140
35141
35142 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
35143     $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
35144
35145
35146     if test "$wxUSE_UNIX" = "yes"; then
35147         if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
35148             $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
35149
35150         fi
35151
35152         if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
35153             for ac_header in sys/epoll.h
35154 do :
35155   ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
35156 "
35157 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
35158   cat >>confdefs.h <<_ACEOF
35159 #define HAVE_SYS_EPOLL_H 1
35160 _ACEOF
35161
35162 fi
35163
35164 done
35165
35166             if test "$ac_cv_header_sys_epoll_h" = "yes"; then
35167                 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
35168
35169             else
35170                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
35171 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
35172             fi
35173         fi
35174     fi
35175 fi
35176
35177
35178 for ac_func in gettimeofday ftime
35179 do :
35180   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35181 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35182 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
35183   cat >>confdefs.h <<_ACEOF
35184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35185 _ACEOF
35186  break
35187 fi
35188 done
35189
35190
35191 if test "$ac_cv_func_gettimeofday" = "yes"; then
35192     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
35193 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
35194 if ${wx_cv_func_gettimeofday_has_2_args+:} false; then :
35195   $as_echo_n "(cached) " >&6
35196 else
35197
35198                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35199 /* end confdefs.h.  */
35200
35201                 #include <sys/time.h>
35202                 #include <unistd.h>
35203
35204 int
35205 main ()
35206 {
35207
35208                 struct timeval tv;
35209                 gettimeofday(&tv, NULL);
35210
35211   ;
35212   return 0;
35213 }
35214 _ACEOF
35215 if ac_fn_c_try_compile "$LINENO"; then :
35216   wx_cv_func_gettimeofday_has_2_args=yes
35217 else
35218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35219 /* end confdefs.h.  */
35220
35221                     #include <sys/time.h>
35222                     #include <unistd.h>
35223
35224 int
35225 main ()
35226 {
35227
35228                     struct timeval tv;
35229                     gettimeofday(&tv);
35230
35231   ;
35232   return 0;
35233 }
35234 _ACEOF
35235 if ac_fn_c_try_compile "$LINENO"; then :
35236   wx_cv_func_gettimeofday_has_2_args=no
35237 else
35238
35239                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
35240 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35241                     wx_cv_func_gettimeofday_has_2_args=unknown
35242
35243
35244 fi
35245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35246
35247 fi
35248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35249
35250 fi
35251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35252 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
35253
35254     if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35255         $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
35256
35257     fi
35258 fi
35259
35260 if test "$wxUSE_DATETIME" = "yes"; then
35261             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
35262 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
35263 if ${wx_cv_var_timezone+:} false; then :
35264   $as_echo_n "(cached) " >&6
35265 else
35266
35267                         ac_ext=cpp
35268 ac_cpp='$CXXCPP $CPPFLAGS'
35269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35272
35273                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35274 /* end confdefs.h.  */
35275
35276                                 #include <time.h>
35277
35278 int
35279 main ()
35280 {
35281
35282                                 int tz;
35283                                 tz = timezone;
35284
35285   ;
35286   return 0;
35287 }
35288 _ACEOF
35289 if ac_fn_cxx_try_compile "$LINENO"; then :
35290
35291                                 wx_cv_var_timezone=timezone
35292
35293 else
35294
35295                                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35296 /* end confdefs.h.  */
35297
35298                                         #include <time.h>
35299
35300 int
35301 main ()
35302 {
35303
35304                                         int tz;
35305                                         tz = _timezone;
35306
35307   ;
35308   return 0;
35309 }
35310 _ACEOF
35311 if ac_fn_cxx_try_compile "$LINENO"; then :
35312
35313                                         wx_cv_var_timezone=_timezone
35314
35315 else
35316
35317                                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35318 /* end confdefs.h.  */
35319
35320                                                 #include <time.h>
35321
35322 int
35323 main ()
35324 {
35325
35326                                                 int tz;
35327                                                 tz = __timezone;
35328
35329   ;
35330   return 0;
35331 }
35332 _ACEOF
35333 if ac_fn_cxx_try_compile "$LINENO"; then :
35334
35335                                                 wx_cv_var_timezone=__timezone
35336
35337 else
35338
35339                                                 if test "$USE_DOS" = 0 ; then
35340                                                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
35341 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
35342                                                 fi
35343
35344
35345 fi
35346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35347
35348
35349 fi
35350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35351
35352
35353 fi
35354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35355                         ac_ext=c
35356 ac_cpp='$CPP $CPPFLAGS'
35357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35360
35361
35362
35363 fi
35364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
35365 $as_echo "$wx_cv_var_timezone" >&6; }
35366
35367         if test "x$wx_cv_var_timezone" != x ; then
35368         cat >>confdefs.h <<_ACEOF
35369 #define WX_TIMEZONE $wx_cv_var_timezone
35370 _ACEOF
35371
35372     fi
35373
35374         for ac_func in localtime
35375 do :
35376   ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
35377 if test "x$ac_cv_func_localtime" = xyes; then :
35378   cat >>confdefs.h <<_ACEOF
35379 #define HAVE_LOCALTIME 1
35380 _ACEOF
35381
35382 fi
35383 done
35384
35385
35386     if test "$ac_cv_func_localtime" = "yes"; then
35387         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35388 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35389 if ${wx_cv_struct_tm_has_gmtoff+:} false; then :
35390   $as_echo_n "(cached) " >&6
35391 else
35392
35393             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35394 /* end confdefs.h.  */
35395
35396                     #include <time.h>
35397
35398 int
35399 main ()
35400 {
35401
35402                     struct tm tm;
35403                     tm.tm_gmtoff++;
35404
35405   ;
35406   return 0;
35407 }
35408 _ACEOF
35409 if ac_fn_c_try_compile "$LINENO"; then :
35410
35411                     wx_cv_struct_tm_has_gmtoff=yes
35412
35413 else
35414   wx_cv_struct_tm_has_gmtoff=no
35415
35416 fi
35417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35418
35419 fi
35420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35421 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35422     fi
35423
35424     if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35425         $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35426
35427     fi
35428
35429     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35430 fi
35431
35432
35433 for ac_func in setpriority
35434 do :
35435   ac_fn_c_check_func "$LINENO" "setpriority" "ac_cv_func_setpriority"
35436 if test "x$ac_cv_func_setpriority" = xyes; then :
35437   cat >>confdefs.h <<_ACEOF
35438 #define HAVE_SETPRIORITY 1
35439 _ACEOF
35440
35441 fi
35442 done
35443
35444
35445
35446 if test "$wxUSE_SOCKETS" = "yes"; then
35447         if test "$TOOLKIT" != "MSW"; then
35448                 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
35449 if test "x$ac_cv_func_socket" = xyes; then :
35450
35451 else
35452
35453                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35454 $as_echo_n "checking for socket in -lsocket... " >&6; }
35455 if ${ac_cv_lib_socket_socket+:} false; then :
35456   $as_echo_n "(cached) " >&6
35457 else
35458   ac_check_lib_save_LIBS=$LIBS
35459 LIBS="-lsocket  $LIBS"
35460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35461 /* end confdefs.h.  */
35462
35463 /* Override any GCC internal prototype to avoid an error.
35464    Use char because int might match the return type of a GCC
35465    builtin and then its argument prototype would still apply.  */
35466 #ifdef __cplusplus
35467 extern "C"
35468 #endif
35469 char socket ();
35470 int
35471 main ()
35472 {
35473 return socket ();
35474   ;
35475   return 0;
35476 }
35477 _ACEOF
35478 if ac_fn_c_try_link "$LINENO"; then :
35479   ac_cv_lib_socket_socket=yes
35480 else
35481   ac_cv_lib_socket_socket=no
35482 fi
35483 rm -f core conftest.err conftest.$ac_objext \
35484     conftest$ac_exeext conftest.$ac_ext
35485 LIBS=$ac_check_lib_save_LIBS
35486 fi
35487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35488 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35489 if test "x$ac_cv_lib_socket_socket" = xyes; then :
35490   if test "$INET_LINK" != " -lsocket"; then
35491                         INET_LINK="$INET_LINK -lsocket"
35492                     fi
35493 else
35494
35495                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35496 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35497                         wxUSE_SOCKETS=no
35498
35499
35500 fi
35501
35502
35503
35504 fi
35505
35506     fi
35507 fi
35508
35509 if test "$wxUSE_SOCKETS" = "yes" ; then
35510                 if test "$TOOLKIT" != "MSW"; then
35511                                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35512 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35513 if ${wx_cv_type_getsockname3+:} false; then :
35514   $as_echo_n "(cached) " >&6
35515 else
35516
35517                 ac_ext=cpp
35518 ac_cpp='$CXXCPP $CPPFLAGS'
35519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35522
35523                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35524 /* end confdefs.h.  */
35525
35526                         #include <sys/types.h>
35527                         #include <sys/socket.h>
35528
35529 int
35530 main ()
35531 {
35532
35533                         socklen_t len;
35534                         getsockname(0, 0, &len);
35535
35536   ;
35537   return 0;
35538 }
35539 _ACEOF
35540 if ac_fn_cxx_try_compile "$LINENO"; then :
35541   wx_cv_type_getsockname3=socklen_t
35542 else
35543
35544                                                                                                                                                                         CFLAGS_OLD="$CFLAGS"
35545                         if test "$GCC" = yes ; then
35546                             CFLAGS="-Werror $CFLAGS"
35547                         fi
35548
35549                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35550 /* end confdefs.h.  */
35551
35552                                 #include <sys/types.h>
35553                                 #include <sys/socket.h>
35554
35555 int
35556 main ()
35557 {
35558
35559                                 size_t len;
35560                                 getsockname(0, 0, &len);
35561
35562   ;
35563   return 0;
35564 }
35565 _ACEOF
35566 if ac_fn_cxx_try_compile "$LINENO"; then :
35567   wx_cv_type_getsockname3=size_t
35568 else
35569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35570 /* end confdefs.h.  */
35571
35572                                     #include <sys/types.h>
35573                                     #include <sys/socket.h>
35574
35575 int
35576 main ()
35577 {
35578
35579                                     int len;
35580                                     getsockname(0, 0, &len);
35581
35582   ;
35583   return 0;
35584 }
35585 _ACEOF
35586 if ac_fn_cxx_try_compile "$LINENO"; then :
35587   wx_cv_type_getsockname3=int
35588 else
35589   wx_cv_type_getsockname3=unknown
35590
35591 fi
35592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35593
35594 fi
35595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35596
35597                         CFLAGS="$CFLAGS_OLD"
35598
35599
35600 fi
35601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35602                 ac_ext=c
35603 ac_cpp='$CPP $CPPFLAGS'
35604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35607
35608
35609 fi
35610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35611 $as_echo "$wx_cv_type_getsockname3" >&6; }
35612
35613         if test "$wx_cv_type_getsockname3" = "unknown"; then
35614             wxUSE_SOCKETS=no
35615             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35616 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35617         else
35618             cat >>confdefs.h <<_ACEOF
35619 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35620 _ACEOF
35621
35622         fi
35623                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35624 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35625 if ${wx_cv_type_getsockopt5+:} false; then :
35626   $as_echo_n "(cached) " >&6
35627 else
35628
35629                                                                                                 ac_ext=cpp
35630 ac_cpp='$CXXCPP $CPPFLAGS'
35631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35634
35635                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35636 /* end confdefs.h.  */
35637
35638                         #include <sys/types.h>
35639                         #include <sys/socket.h>
35640
35641 int
35642 main ()
35643 {
35644
35645                         socklen_t len;
35646                         getsockopt(0, 0, 0, 0, &len);
35647
35648   ;
35649   return 0;
35650 }
35651 _ACEOF
35652 if ac_fn_cxx_try_compile "$LINENO"; then :
35653   wx_cv_type_getsockopt5=socklen_t
35654 else
35655
35656                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35657 /* end confdefs.h.  */
35658
35659                                 #include <sys/types.h>
35660                                 #include <sys/socket.h>
35661
35662 int
35663 main ()
35664 {
35665
35666                                 size_t len;
35667                                 getsockopt(0, 0, 0, 0, &len);
35668
35669   ;
35670   return 0;
35671 }
35672 _ACEOF
35673 if ac_fn_cxx_try_compile "$LINENO"; then :
35674   wx_cv_type_getsockopt5=size_t
35675 else
35676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35677 /* end confdefs.h.  */
35678
35679                                     #include <sys/types.h>
35680                                     #include <sys/socket.h>
35681
35682 int
35683 main ()
35684 {
35685
35686                                     int len;
35687                                     getsockopt(0, 0, 0, 0, &len);
35688
35689   ;
35690   return 0;
35691 }
35692 _ACEOF
35693 if ac_fn_cxx_try_compile "$LINENO"; then :
35694   wx_cv_type_getsockopt5=int
35695 else
35696   wx_cv_type_getsockopt5=unknown
35697
35698 fi
35699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35700
35701 fi
35702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35703
35704
35705 fi
35706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35707                 ac_ext=c
35708 ac_cpp='$CPP $CPPFLAGS'
35709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35712
35713
35714 fi
35715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35716 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35717
35718         if test "$wx_cv_type_getsockopt5" = "unknown"; then
35719             wxUSE_SOCKETS=no
35720             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35721 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35722         else
35723             cat >>confdefs.h <<_ACEOF
35724 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35725 _ACEOF
35726
35727         fi
35728     fi
35729 fi
35730
35731 if test "$wxUSE_SOCKETS" = "yes" ; then
35732     if test "$wxUSE_IPV6" = "yes"; then
35733         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35734 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35735 if ${wx_cv_type_sockaddr_in6+:} false; then :
35736   $as_echo_n "(cached) " >&6
35737 else
35738
35739                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35740 /* end confdefs.h.  */
35741
35742                         #include <sys/types.h>
35743                         #include <sys/socket.h>
35744                         #include <netinet/in.h>
35745
35746 int
35747 main ()
35748 {
35749
35750                         struct sockaddr_in6 sa6;
35751
35752   ;
35753   return 0;
35754 }
35755 _ACEOF
35756 if ac_fn_c_try_compile "$LINENO"; then :
35757   wx_cv_type_sockaddr_in6=yes
35758 else
35759   wx_cv_type_sockaddr_in6=no
35760
35761 fi
35762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35763
35764
35765 fi
35766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35767 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35768
35769         if test "$wx_cv_type_sockaddr_in6"="yes"; then
35770             $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35771
35772         else
35773             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35774 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35775         fi
35776     fi
35777
35778     $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35779
35780     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35781 fi
35782
35783 if test "$wxUSE_PROTOCOL" = "yes"; then
35784     if test "$wxUSE_SOCKETS" != "yes"; then
35785         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35786 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35787         wxUSE_PROTOCOL=no
35788     fi
35789 fi
35790
35791 if test "$wxUSE_PROTOCOL" = "yes"; then
35792     $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35793
35794
35795     if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35796         $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35797
35798     fi
35799     if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35800         $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35801
35802     fi
35803     if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35804         $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35805
35806     fi
35807 else
35808     if test "$wxUSE_FS_INET" = "yes"; then
35809         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35810 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35811         wxUSE_FS_INET="no"
35812     fi
35813 fi
35814
35815 if test "$wxUSE_URL" = "yes"; then
35816     if test "$wxUSE_PROTOCOL" != "yes"; then
35817         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35818 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35819         wxUSE_URL=no
35820     fi
35821     if test "$wxUSE_URL" = "yes"; then
35822         $as_echo "#define wxUSE_URL 1" >>confdefs.h
35823
35824     fi
35825 fi
35826
35827 if test "$wxUSE_VARIANT" = "yes"; then
35828     $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35829
35830 fi
35831
35832 if test "$wxUSE_FS_INET" = "yes"; then
35833   $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35834
35835 fi
35836
35837
35838 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35839     wxUSE_JOYSTICK=no
35840
35841         if test "$TOOLKIT" = "MSW"; then
35842         wxUSE_JOYSTICK=yes
35843
35844         elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35845         if test "$USE_DARWIN" = 1; then
35846                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35847 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35848             ac_ext=cpp
35849 ac_cpp='$CXXCPP $CPPFLAGS'
35850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35853
35854             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35855 /* end confdefs.h.  */
35856  #include <IOKit/hid/IOHIDLib.h>
35857 int
35858 main ()
35859 {
35860  IOHIDQueueInterface *qi = NULL;
35861                               IOHIDCallbackFunction cb = NULL;
35862                               qi->setEventCallout(NULL, cb, NULL, NULL);
35863   ;
35864   return 0;
35865 }
35866 _ACEOF
35867 if ac_fn_cxx_try_compile "$LINENO"; then :
35868    wxUSE_JOYSTICK=yes
35869
35870 fi
35871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35872             ac_ext=c
35873 ac_cpp='$CPP $CPPFLAGS'
35874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35877
35878             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35879 $as_echo "$wxUSE_JOYSTICK" >&6; }
35880         fi
35881
35882         else
35883                                                         for ac_header in linux/joystick.h
35884 do :
35885   ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35886 "
35887 if test "x$ac_cv_header_linux_joystick_h" = xyes; then :
35888   cat >>confdefs.h <<_ACEOF
35889 #define HAVE_LINUX_JOYSTICK_H 1
35890 _ACEOF
35891  wxUSE_JOYSTICK=yes
35892 fi
35893
35894 done
35895
35896     fi
35897
35898     if test "$wxUSE_JOYSTICK" = "yes"; then
35899         $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35900
35901         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35902     else
35903         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35904 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35905     fi
35906 fi
35907
35908
35909
35910 if test "$wxUSE_FONTENUM" = "yes" ; then
35911   $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35912
35913 fi
35914
35915 if test "$wxUSE_FONTMAP" = "yes" ; then
35916   $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35917
35918 fi
35919
35920 if test "$wxUSE_UNICODE" = "yes" ; then
35921   $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35922
35923
35924   if test "$USE_WIN32" != 1; then
35925       wxUSE_UNICODE_MSLU=no
35926   fi
35927
35928   if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35929         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35930 $as_echo_n "checking for main in -lunicows... " >&6; }
35931 if ${ac_cv_lib_unicows_main+:} false; then :
35932   $as_echo_n "(cached) " >&6
35933 else
35934   ac_check_lib_save_LIBS=$LIBS
35935 LIBS="-lunicows  $LIBS"
35936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35937 /* end confdefs.h.  */
35938
35939
35940 int
35941 main ()
35942 {
35943 return main ();
35944   ;
35945   return 0;
35946 }
35947 _ACEOF
35948 if ac_fn_c_try_link "$LINENO"; then :
35949   ac_cv_lib_unicows_main=yes
35950 else
35951   ac_cv_lib_unicows_main=no
35952 fi
35953 rm -f core conftest.err conftest.$ac_objext \
35954     conftest$ac_exeext conftest.$ac_ext
35955 LIBS=$ac_check_lib_save_LIBS
35956 fi
35957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35958 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35959 if test "x$ac_cv_lib_unicows_main" = xyes; then :
35960
35961                 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35962
35963
35964 else
35965
35966                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35967                              Applications will only run on Windows NT/2000/XP!" >&5
35968 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35969                              Applications will only run on Windows NT/2000/XP!" >&2;}
35970                 wxUSE_UNICODE_MSLU=no
35971
35972 fi
35973
35974     fi
35975 fi
35976
35977 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35978     $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35979
35980
35981     if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35982         $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35983
35984     fi
35985 fi
35986
35987
35988 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35989     $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35990
35991     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35992 fi
35993
35994 if test "$wxUSE_MDI" = "yes"; then
35995     $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35996
35997
35998     if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35999         $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
36000
36001         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
36002     fi
36003 fi
36004
36005 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36006     $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
36007
36008     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
36009 fi
36010
36011 if test "$wxUSE_HELP" = "yes"; then
36012     $as_echo "#define wxUSE_HELP 1" >>confdefs.h
36013
36014     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
36015
36016     if test "$wxUSE_MSW" = 1; then
36017       if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36018         $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
36019
36020       fi
36021     fi
36022
36023     if test "$wxUSE_WXHTML_HELP" = "yes"; then
36024       if test "$wxUSE_HTML" = "yes"; then
36025         $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
36026
36027       else
36028         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36029 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36030         wxUSE_WXHTML_HELP=no
36031       fi
36032     fi
36033 fi
36034
36035 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36036     $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
36037
36038     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
36039 fi
36040
36041 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36042   $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
36043
36044 fi
36045
36046 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
36047
36048
36049 if test "$wxUSE_SVG" = "yes"; then
36050     $as_echo "#define wxUSE_SVG 1" >>confdefs.h
36051
36052 fi
36053
36054
36055 if test "$wxUSE_METAFILE" = "yes"; then
36056     if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
36057         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
36058 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
36059         wxUSE_METAFILE=no
36060     fi
36061 elif test "$wxUSE_METAFILE" = "auto"; then
36062     if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
36063         wxUSE_METAFILE=yes
36064     fi
36065 fi
36066
36067 if test "$wxUSE_METAFILE" = "yes"; then
36068     $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
36069
36070     if test "$wxUSE_MSW" = 1; then
36071                 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
36072
36073     fi
36074 fi
36075
36076
36077 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ"       = "yes" \
36078                           -o "$wxUSE_CLIPBOARD"     = "yes" \
36079                           -o "$wxUSE_OLE"     = "yes" \
36080                           -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
36081     ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
36082 "
36083 if test "x$ac_cv_header_ole2_h" = xyes; then :
36084
36085 fi
36086
36087
36088
36089     if test "$ac_cv_header_ole2_h" = "yes" ; then
36090         if test "$GCC" = yes ; then
36091             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
36092 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
36093             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36094 /* end confdefs.h.  */
36095 #include <windows.h>
36096                             #include <ole2.h>
36097 int
36098 main ()
36099 {
36100
36101   ;
36102   return 0;
36103 }
36104 _ACEOF
36105 if ac_fn_c_try_compile "$LINENO"; then :
36106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36107 $as_echo "no" >&6; }
36108 else
36109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36110 $as_echo "yes" >&6; }
36111                             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
36112 fi
36113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36114             LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36115             if test "$wxUSE_OLE" = "yes" ; then
36116                 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
36117
36118                 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
36119
36120                 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
36121
36122                 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
36123             fi
36124         fi
36125
36126                 if test "$wxUSE_DATAOBJ" = "yes" ; then
36127             $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36128
36129         fi
36130     else
36131         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
36132 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36133
36134         wxUSE_CLIPBOARD=no
36135         wxUSE_DRAG_AND_DROP=no
36136         wxUSE_DATAOBJ=no
36137         wxUSE_OLE=no
36138     fi
36139 fi
36140
36141 if test "$wxUSE_IPC" = "yes"; then
36142     if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
36143         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36144 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36145         wxUSE_IPC=no
36146     fi
36147
36148     if test "$wxUSE_IPC" = "yes"; then
36149         $as_echo "#define wxUSE_IPC 1" >>confdefs.h
36150
36151         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
36152     fi
36153 fi
36154
36155 if test "$wxUSE_DATAOBJ" = "yes"; then
36156     $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36157
36158 else
36159     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
36160 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
36161     wxUSE_CLIPBOARD=no
36162     wxUSE_DRAG_AND_DROP=no
36163 fi
36164
36165 if test "$wxUSE_CLIPBOARD" = "yes"; then
36166     if test "$wxUSE_DFB" = 1; then
36167         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
36168 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
36169         wxUSE_CLIPBOARD=no
36170     fi
36171
36172     if test "$wxUSE_CLIPBOARD" = "yes"; then
36173         $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
36174
36175     fi
36176 fi
36177
36178 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36179     if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
36180         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
36181 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
36182         wxUSE_DRAG_AND_DROP=no
36183     fi
36184
36185     if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36186         $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
36187
36188     fi
36189
36190 fi
36191
36192 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36193     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36194 fi
36195
36196 if test "$wxUSE_CLIPBOARD" = "yes"; then
36197     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
36198 fi
36199
36200 if test "$wxUSE_SPLINES" = "yes" ; then
36201   $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
36202
36203 fi
36204
36205 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
36206   $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
36207
36208 fi
36209
36210 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
36211     $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
36212
36213     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
36214 fi
36215
36216 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
36217     $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
36218
36219 fi
36220
36221
36222 USES_CONTROLS=0
36223 if test "$wxUSE_CONTROLS" = "yes"; then
36224   USES_CONTROLS=1
36225 fi
36226
36227 if test "$wxUSE_MARKUP" = "yes"; then
36228   $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
36229
36230 fi
36231
36232 if test "$wxUSE_ACCEL" = "yes"; then
36233   $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
36234
36235   USES_CONTROLS=1
36236 fi
36237
36238 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
36239   $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
36240
36241   USES_CONTROLS=1
36242   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
36243 fi
36244
36245 if test "$wxUSE_BANNERWINDOW" = "yes"; then
36246   $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
36247
36248 fi
36249
36250 if test "$wxUSE_BUTTON" = "yes"; then
36251   $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
36252
36253   USES_CONTROLS=1
36254 fi
36255
36256 if test "$wxUSE_BMPBUTTON" = "yes"; then
36257   $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
36258
36259   USES_CONTROLS=1
36260 fi
36261
36262 if test "$wxUSE_CALCTRL" = "yes"; then
36263   $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
36264
36265   USES_CONTROLS=1
36266   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36267 fi
36268
36269 if test "$wxUSE_CARET" = "yes"; then
36270   $as_echo "#define wxUSE_CARET 1" >>confdefs.h
36271
36272   USES_CONTROLS=1
36273   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36274 fi
36275
36276 if test "$wxUSE_COLLPANE" = "yes"; then
36277     $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
36278
36279     USES_CONTROLS=1
36280     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
36281 fi
36282
36283 if test "$wxUSE_COMBOBOX" = "yes"; then
36284   $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
36285
36286   USES_CONTROLS=1
36287 fi
36288
36289 if test "$wxUSE_COMBOCTRL" = "yes"; then
36290   $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
36291
36292   USES_CONTROLS=1
36293 fi
36294
36295 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
36296   $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
36297
36298   USES_CONTROLS=1
36299 fi
36300
36301 if test "$wxUSE_CHOICE" = "yes"; then
36302   $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
36303
36304   USES_CONTROLS=1
36305 fi
36306
36307 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36308     $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
36309
36310     USES_CONTROLS=1
36311 fi
36312
36313 if test "$wxUSE_CHECKBOX" = "yes"; then
36314   $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
36315
36316   USES_CONTROLS=1
36317 fi
36318
36319 if test "$wxUSE_CHECKLST" = "yes"; then
36320   $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
36321
36322   USES_CONTROLS=1
36323 fi
36324
36325 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
36326   $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
36327
36328   USES_CONTROLS=1
36329 fi
36330
36331 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
36332   $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
36333
36334   USES_CONTROLS=1
36335 fi
36336
36337 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
36338   $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
36339
36340   USES_CONTROLS=1
36341 fi
36342
36343 if test "$wxUSE_FILECTRL" = "yes"; then
36344   $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
36345
36346   USES_CONTROLS=1
36347 fi
36348
36349 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
36350   $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
36351
36352   USES_CONTROLS=1
36353 fi
36354
36355 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
36356   $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
36357
36358   USES_CONTROLS=1
36359 fi
36360
36361 if test "$wxUSE_DISPLAY" = "yes"; then
36362     if test "$wxUSE_DFB" = 1; then
36363         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
36364 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
36365         wxUSE_DISPLAY=no
36366     else
36367         $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
36368
36369         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36370     fi
36371 fi
36372
36373 if test "$wxUSE_DETECT_SM" = "yes"; then
36374     $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
36375
36376 fi
36377
36378 if test "$wxUSE_GAUGE" = "yes"; then
36379   $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
36380
36381   USES_CONTROLS=1
36382 fi
36383
36384 if test "$wxUSE_GRID" = "yes"; then
36385   $as_echo "#define wxUSE_GRID 1" >>confdefs.h
36386
36387   USES_CONTROLS=1
36388   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36389 fi
36390
36391 if test "$wxUSE_HEADERCTRL" = "yes"; then
36392   $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36393
36394   USES_CONTROLS=1
36395 fi
36396
36397 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36398   $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36399
36400   USES_CONTROLS=1
36401 fi
36402
36403 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36404   $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36405
36406   USES_CONTROLS=1
36407 fi
36408
36409 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36410   $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36411
36412   USES_CONTROLS=1
36413   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
36414 fi
36415
36416 if test "$wxUSE_IMAGLIST" = "yes"; then
36417     $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36418
36419 fi
36420
36421 if test "$wxUSE_INFOBAR" = "yes"; then
36422     $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36423
36424 fi
36425
36426 if test "$wxUSE_LISTBOOK" = "yes"; then
36427     $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36428
36429     USES_CONTROLS=1
36430 fi
36431
36432 if test "$wxUSE_LISTBOX" = "yes"; then
36433     $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36434
36435     USES_CONTROLS=1
36436 fi
36437
36438 if test "$wxUSE_LISTCTRL" = "yes"; then
36439     if test "$wxUSE_IMAGLIST" = "yes"; then
36440         $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36441
36442         USES_CONTROLS=1
36443         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36444     else
36445         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36446 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36447     fi
36448 fi
36449
36450 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36451     $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36452
36453     USES_CONTROLS=1
36454 fi
36455
36456 if test "$wxUSE_NOTEBOOK" = "yes"; then
36457     $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36458
36459     USES_CONTROLS=1
36460     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36461 fi
36462
36463 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36464     $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36465
36466 fi
36467
36468 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36469   $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36470
36471   USES_CONTROLS=1
36472   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
36473 fi
36474
36475 if test "$wxUSE_RADIOBOX" = "yes"; then
36476     $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36477
36478     USES_CONTROLS=1
36479 fi
36480
36481 if test "$wxUSE_RADIOBTN" = "yes"; then
36482     $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36483
36484     USES_CONTROLS=1
36485 fi
36486
36487 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36488     $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36489
36490 fi
36491
36492 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36493     $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36494
36495 fi
36496
36497 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36498     $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36499
36500 fi
36501
36502 if test "$wxUSE_SASH" = "yes"; then
36503     $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36504
36505     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36506 fi
36507
36508 if test "$wxUSE_SCROLLBAR" = "yes"; then
36509     $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36510
36511     USES_CONTROLS=1
36512     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
36513 fi
36514
36515 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36516     $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36517
36518     USES_CONTROLS=1
36519 fi
36520
36521 if test "$wxUSE_SLIDER" = "yes"; then
36522     $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36523
36524     USES_CONTROLS=1
36525 fi
36526
36527 if test "$wxUSE_SPINBTN" = "yes"; then
36528     $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36529
36530     USES_CONTROLS=1
36531 fi
36532
36533 if test "$wxUSE_SPINCTRL" = "yes"; then
36534     $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36535
36536     USES_CONTROLS=1
36537 fi
36538
36539 if test "$wxUSE_SPLITTER" = "yes"; then
36540     $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36541
36542     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36543 fi
36544
36545 if test "$wxUSE_STATBMP" = "yes"; then
36546     $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36547
36548     USES_CONTROLS=1
36549 fi
36550
36551 if test "$wxUSE_STATBOX" = "yes"; then
36552     $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36553
36554     USES_CONTROLS=1
36555 fi
36556
36557 if test "$wxUSE_STATTEXT" = "yes"; then
36558     $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36559
36560     USES_CONTROLS=1
36561 fi
36562
36563 if test "$wxUSE_STATLINE" = "yes"; then
36564     $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36565
36566     USES_CONTROLS=1
36567 fi
36568
36569 if test "$wxUSE_STATUSBAR" = "yes"; then
36570         $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36571
36572     $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36573
36574     USES_CONTROLS=1
36575
36576     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36577 fi
36578
36579 if test "$wxUSE_TEXTCTRL" = "yes"; then
36580     $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36581
36582     USES_CONTROLS=1
36583     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36584
36585             $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36586
36587     $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36588
36589 fi
36590
36591 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36592   $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36593
36594   USES_CONTROLS=1
36595 fi
36596
36597 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36598     if test "$wxUSE_OLD_COCOA" = 1 ; then
36599         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36600 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36601         wxUSE_TOGGLEBTN=no
36602     fi
36603
36604     if test "$wxUSE_TOGGLEBTN" = "yes"; then
36605         $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36606
36607         USES_CONTROLS=1
36608     fi
36609 fi
36610
36611 if test "$wxUSE_TOOLBAR" = "yes"; then
36612     $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36613
36614     USES_CONTROLS=1
36615
36616     if test "$wxUSE_UNIVERSAL" = "yes"; then
36617         wxUSE_TOOLBAR_NATIVE="no"
36618     else
36619         wxUSE_TOOLBAR_NATIVE="yes"
36620         $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36621
36622     fi
36623
36624     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36625 fi
36626
36627 if test "$wxUSE_TOOLTIPS" = "yes"; then
36628     if test "$wxUSE_MOTIF" = 1; then
36629         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36630 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36631     else
36632         if test "$wxUSE_UNIVERSAL" = "yes"; then
36633             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36634 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36635         else
36636             $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36637
36638         fi
36639     fi
36640 fi
36641
36642 if test "$wxUSE_TREEBOOK" = "yes"; then
36643     $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36644
36645     USES_CONTROLS=1
36646 fi
36647
36648 if test "$wxUSE_TOOLBOOK" = "yes"; then
36649     $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36650
36651     USES_CONTROLS=1
36652 fi
36653
36654 if test "$wxUSE_TREECTRL" = "yes"; then
36655     if test "$wxUSE_IMAGLIST" = "yes"; then
36656         $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36657
36658         USES_CONTROLS=1
36659         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36660     else
36661         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36662 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36663     fi
36664 fi
36665
36666 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36667     $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36668
36669     USES_CONTROLS=1
36670     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
36671 fi
36672
36673 if test "$wxUSE_POPUPWIN" = "yes"; then
36674     if test "$wxUSE_OLD_COCOA" = 1 ; then
36675         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36676 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36677     else
36678         if test "$wxUSE_PM" = 1; then
36679             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36680 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36681         else
36682             $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36683
36684             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
36685
36686             USES_CONTROLS=1
36687         fi
36688     fi
36689 fi
36690
36691 if test "$wxUSE_PREFERENCES_EDITOR" = "yes"; then
36692     $as_echo "#define wxUSE_PREFERENCES_EDITOR 1" >>confdefs.h
36693
36694     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS prefseditor"
36695 fi
36696
36697 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36698     if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36699         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36700 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36701     else
36702         $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36703
36704         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
36705     fi
36706 fi
36707
36708 if test "$wxUSE_TIPWINDOW" = "yes"; then
36709     if test "$wxUSE_PM" = 1; then
36710         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36711 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36712     else
36713         $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36714
36715     fi
36716 fi
36717
36718 if test "$USES_CONTROLS" = 1; then
36719     $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36720
36721 fi
36722
36723
36724 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36725     $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36726
36727     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36728 fi
36729
36730 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36731     $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36732
36733 fi
36734
36735 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36736             if test "$wxUSE_GTK" != 1; then
36737                 if test "$wxUSE_LIBPNG" != no -a \
36738                 "$wxUSE_IMAGE" = yes -a \
36739                 "$wxUSE_STREAMS" = yes; then
36740             wxUSE_ARTPROVIDER_TANGO="yes"
36741         fi
36742     fi
36743 fi
36744
36745 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36746     $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36747
36748 fi
36749
36750 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36751     $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36752
36753     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36754 fi
36755
36756 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36757     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36758         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36759 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36760     else
36761         $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36762
36763         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36764     fi
36765 fi
36766
36767 USE_HTML=0
36768 if test "$wxUSE_HTML" = "yes"; then
36769     $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36770
36771     USE_HTML=1
36772     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36773 fi
36774 if test "$wxUSE_WEBKIT" = "yes"; then
36775     if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36776         old_CPPFLAGS="$CPPFLAGS"
36777         CPPFLAGS="-x objective-c++ $CPPFLAGS"
36778         ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36779                            #include <Carbon/Carbon.h>
36780                            #include <WebKit/WebKit.h>
36781
36782 "
36783 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36784
36785                            $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36786
36787                            WEBKIT_LINK="-framework WebKit"
36788
36789 else
36790
36791                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36792 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36793                            wxUSE_WEBKIT=no
36794
36795 fi
36796
36797
36798         CPPFLAGS="$old_CPPFLAGS"
36799     elif test "$wxUSE_OLD_COCOA" = 1; then
36800         $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36801
36802     else
36803         wxUSE_WEBKIT=no
36804     fi
36805     if test "$wxUSE_WEBKIT" = "yes"; then
36806         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36807     fi
36808 fi
36809
36810 USE_XRC=0
36811 if test "$wxUSE_XRC" = "yes"; then
36812     if test "$wxUSE_XML" != "yes"; then
36813         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36814 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36815         wxUSE_XRC=no
36816     else
36817         $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36818
36819         USE_XRC=1
36820         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36821     fi
36822 fi
36823
36824 USE_AUI=0
36825 if test "$wxUSE_AUI" = "yes"; then
36826    $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36827
36828    USE_AUI=1
36829    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36830 fi
36831
36832 USE_PROPGRID=0
36833 if test "$wxUSE_PROPGRID" = "yes"; then
36834    $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36835
36836    USE_PROPGRID=1
36837    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36838 fi
36839
36840 USE_RIBBON=0
36841 if test "$wxUSE_RIBBON" = "yes"; then
36842    $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36843
36844    USE_RIBBON=1
36845    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36846 fi
36847
36848 USE_STC=0
36849 if test "$wxUSE_STC" = "yes"; then
36850    $as_echo "#define wxUSE_STC 1" >>confdefs.h
36851
36852    USE_STC=1
36853    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36854
36855       # Extract the first word of "python", so it can be a program name with args.
36856 set dummy python; ac_word=$2
36857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36858 $as_echo_n "checking for $ac_word... " >&6; }
36859 if ${ac_cv_path_PYTHON+:} false; then :
36860   $as_echo_n "(cached) " >&6
36861 else
36862   case $PYTHON in
36863   [\\/]* | ?:[\\/]*)
36864   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36865   ;;
36866   *)
36867   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36868 for as_dir in $PATH
36869 do
36870   IFS=$as_save_IFS
36871   test -z "$as_dir" && as_dir=.
36872     for ac_exec_ext in '' $ac_executable_extensions; do
36873   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36874     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36875     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36876     break 2
36877   fi
36878 done
36879   done
36880 IFS=$as_save_IFS
36881
36882   ;;
36883 esac
36884 fi
36885 PYTHON=$ac_cv_path_PYTHON
36886 if test -n "$PYTHON"; then
36887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36888 $as_echo "$PYTHON" >&6; }
36889 else
36890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36891 $as_echo "no" >&6; }
36892 fi
36893
36894
36895    if test "x$PYTHON" = "x"; then
36896      COND_PYTHON="#"
36897    fi
36898
36899 fi
36900
36901 if test "$wxUSE_MENUS" = "yes"; then
36902     $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36903
36904     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36905 fi
36906
36907 if test "$wxUSE_MIMETYPE" = "yes"; then
36908     $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36909
36910 fi
36911
36912 if test "$wxUSE_MINIFRAME" = "yes"; then
36913     $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36914
36915 fi
36916
36917 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36918     $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36919
36920 fi
36921
36922 if test "$wxUSE_TASKBARICON" = "yes"; then
36923     $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36924
36925                 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36926
36927     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36928 fi
36929
36930
36931 if test "$wxUSE_VALIDATORS" = "yes"; then
36932     $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36933
36934     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36935 fi
36936
36937 if test "$wxUSE_PALETTE" = "yes" ; then
36938     if test "$wxUSE_DFB" = 1; then
36939         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36940 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36941         wxUSE_PALETTE=no
36942     else
36943         $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36944
36945     fi
36946 fi
36947
36948 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36949     LIBS=" -lunicows $LIBS"
36950 fi
36951
36952 USE_RICHTEXT=0
36953 if test "$wxUSE_RICHTEXT" = "yes"; then
36954     $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36955
36956     USE_RICHTEXT=1
36957     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36958 fi
36959
36960 if test "$wxUSE_WEBVIEW" = "yes"; then
36961     USE_WEBVIEW_WEBKIT=0
36962     if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36963         if test "$wxUSE_GTK" = 1; then
36964             webkitgtk=webkit-1.0
36965             if test "$WXGTK3" = 1; then
36966                 webkitgtk=webkitgtk-3.0
36967             fi
36968
36969 pkg_failed=no
36970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36971 $as_echo_n "checking for WEBKIT... " >&6; }
36972
36973 if test -n "$PKG_CONFIG"; then
36974     if test -n "$WEBKIT_CFLAGS"; then
36975         pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36976     else
36977         if test -n "$PKG_CONFIG" && \
36978     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36979   ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36980   ac_status=$?
36981   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36982   test $ac_status = 0; }; then
36983   pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36984 else
36985   pkg_failed=yes
36986 fi
36987     fi
36988 else
36989         pkg_failed=untried
36990 fi
36991 if test -n "$PKG_CONFIG"; then
36992     if test -n "$WEBKIT_LIBS"; then
36993         pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36994     else
36995         if test -n "$PKG_CONFIG" && \
36996     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36997   ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36998   ac_status=$?
36999   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37000   test $ac_status = 0; }; then
37001   pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
37002 else
37003   pkg_failed=yes
37004 fi
37005     fi
37006 else
37007         pkg_failed=untried
37008 fi
37009
37010
37011
37012 if test $pkg_failed = yes; then
37013
37014 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37015         _pkg_short_errors_supported=yes
37016 else
37017         _pkg_short_errors_supported=no
37018 fi
37019         if test $_pkg_short_errors_supported = yes; then
37020                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
37021         else
37022                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
37023         fi
37024         # Put the nasty error message in config.log where it belongs
37025         echo "$WEBKIT_PKG_ERRORS" >&5
37026
37027
37028                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
37029 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
37030
37031 elif test $pkg_failed = untried; then
37032
37033                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
37034 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
37035
37036 else
37037         WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
37038         WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
37039         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37040 $as_echo "yes" >&6; }
37041
37042                                 USE_WEBVIEW_WEBKIT=1
37043                                 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
37044                                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
37045
37046 fi
37047         elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
37048                                     old_CPPFLAGS="$CPPFLAGS"
37049             CPPFLAGS="-x objective-c++ $CPPFLAGS"
37050             ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
37051                                 #include <Carbon/Carbon.h>
37052                                 #include <WebKit/WebKit.h>
37053
37054 "
37055 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
37056
37057                                 USE_WEBVIEW_WEBKIT=1
37058                                 WEBKIT_LINK="-framework WebKit"
37059
37060 else
37061
37062                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
37063 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
37064
37065 fi
37066
37067
37068             CPPFLAGS="$old_CPPFLAGS"
37069         fi
37070     fi
37071
37072     wxUSE_WEBVIEW="no"
37073     if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
37074         if test "$USE_WEBVIEW_WEBKIT" = 1; then
37075             wxUSE_WEBVIEW="yes"
37076             $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
37077
37078         else
37079             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
37080 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
37081         fi
37082     elif test "$wxUSE_MSW" = 1; then
37083         if test "$wxUSE_WEBVIEW_IE" = "yes"; then
37084                                     wxUSE_WEBVIEW="yes"
37085             $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
37086
37087         fi
37088     fi
37089 fi
37090
37091 if test "$wxUSE_WEBVIEW" = "yes"; then
37092     USE_WEBVIEW=1
37093     $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
37094
37095     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
37096 else
37097     USE_WEBVIEW=0
37098 fi
37099
37100
37101 if test "$wxUSE_IMAGE" = "yes" ; then
37102     $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
37103
37104
37105     if test "$wxUSE_GIF" = "yes" ; then
37106       $as_echo "#define wxUSE_GIF 1" >>confdefs.h
37107
37108     fi
37109
37110     if test "$wxUSE_PCX" = "yes" ; then
37111       $as_echo "#define wxUSE_PCX 1" >>confdefs.h
37112
37113     fi
37114
37115     if test "$wxUSE_TGA" = "yes" ; then
37116       $as_echo "#define wxUSE_TGA 1" >>confdefs.h
37117
37118     fi
37119
37120     if test "$wxUSE_IFF" = "yes" ; then
37121       $as_echo "#define wxUSE_IFF 1" >>confdefs.h
37122
37123     fi
37124
37125     if test "$wxUSE_PNM" = "yes" ; then
37126       $as_echo "#define wxUSE_PNM 1" >>confdefs.h
37127
37128     fi
37129
37130     if test "$wxUSE_XPM" = "yes" ; then
37131       $as_echo "#define wxUSE_XPM 1" >>confdefs.h
37132
37133     fi
37134
37135     if test "$wxUSE_ICO_CUR" = "yes" ; then
37136       $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
37137
37138     fi
37139 fi
37140
37141
37142 if test "$wxUSE_ABOUTDLG" = "yes"; then
37143     $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
37144
37145 fi
37146
37147 if test "$wxUSE_CHOICEDLG" = "yes"; then
37148     $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
37149
37150 fi
37151
37152 if test "$wxUSE_COLOURDLG" = "yes"; then
37153     $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
37154
37155 fi
37156
37157 if test "$wxUSE_FILEDLG" = "yes"; then
37158     $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
37159
37160 fi
37161
37162 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37163     $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
37164
37165 fi
37166
37167 if test "$wxUSE_FONTDLG" = "yes"; then
37168     $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
37169
37170 fi
37171
37172 if test "$wxUSE_DIRDLG" = "yes"; then
37173     if test "$wxUSE_TREECTRL" != "yes"; then
37174         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37175 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37176     else
37177         $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
37178
37179     fi
37180 fi
37181
37182 if test "$wxUSE_MSGDLG" = "yes"; then
37183     $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
37184
37185 fi
37186
37187 if test "$wxUSE_NUMBERDLG" = "yes"; then
37188     $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
37189
37190 fi
37191
37192 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37193     $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
37194
37195 fi
37196
37197 if test "$wxUSE_SPLASH" = "yes"; then
37198     $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
37199
37200     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
37201 fi
37202
37203 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37204     $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
37205
37206 fi
37207
37208 if test "$wxUSE_TEXTDLG" = "yes"; then
37209     $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
37210
37211 fi
37212
37213 if test "$wxUSE_WIZARDDLG" = "yes"; then
37214     $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
37215
37216     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37217 fi
37218
37219
37220 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
37221     if test "$wxUSE_OWNER_DRAWN" = "yes"; then
37222         $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
37223
37224     fi
37225 fi
37226
37227
37228 if test "$wxUSE_MSW" = 1 ; then
37229
37230     if test "$wxUSE_DC_CACHEING" = "yes"; then
37231         $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
37232
37233     fi
37234
37235     if test "$wxUSE_DIB" = "yes"; then
37236         $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
37237
37238     fi
37239
37240     if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
37241         $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
37242
37243     fi
37244
37245     if test "$wxUSE_UXTHEME" = "yes"; then
37246         $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
37247
37248     fi
37249
37250 fi
37251
37252 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
37253     $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
37254
37255 fi
37256
37257 if test "$USE_WIN32" = 1 ; then
37258     if test "$wxUSE_INICONF" = "yes"; then
37259         $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
37260
37261     fi
37262
37263     if test "$wxUSE_REGKEY" = "yes"; then
37264         $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
37265
37266     fi
37267 fi
37268
37269
37270 if test "$wxUSE_MAC" = 1; then
37271     wxUSE_GRAPHICS_CONTEXT="yes"
37272 fi
37273
37274 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
37275     wx_has_graphics=0
37276     if test "$wxUSE_MSW" = 1; then
37277         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
37278 $as_echo_n "checking if GDI+ is available... " >&6; }
37279 if ${wx_cv_lib_gdiplus+:} false; then :
37280   $as_echo_n "(cached) " >&6
37281 else
37282
37283                                                 ac_ext=cpp
37284 ac_cpp='$CXXCPP $CPPFLAGS'
37285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37288
37289                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37290 /* end confdefs.h.  */
37291 #include <windows.h>
37292                      #include <gdiplus.h>
37293 int
37294 main ()
37295 {
37296
37297                         using namespace Gdiplus;
37298
37299   ;
37300   return 0;
37301 }
37302 _ACEOF
37303 if ac_fn_cxx_try_compile "$LINENO"; then :
37304   wx_cv_lib_gdiplus=yes
37305 else
37306   wx_cv_lib_gdiplus=no
37307
37308 fi
37309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37310                 ac_ext=c
37311 ac_cpp='$CPP $CPPFLAGS'
37312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37315
37316
37317
37318 fi
37319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
37320 $as_echo "$wx_cv_lib_gdiplus" >&6; }
37321         if test "$wx_cv_lib_gdiplus" = "yes"; then
37322             wx_has_graphics=1
37323         fi
37324     elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
37325
37326 pkg_failed=no
37327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
37328 $as_echo_n "checking for CAIRO... " >&6; }
37329
37330 if test -n "$PKG_CONFIG"; then
37331     if test -n "$CAIRO_CFLAGS"; then
37332         pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
37333     else
37334         if test -n "$PKG_CONFIG" && \
37335     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37336   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37337   ac_status=$?
37338   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37339   test $ac_status = 0; }; then
37340   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
37341 else
37342   pkg_failed=yes
37343 fi
37344     fi
37345 else
37346         pkg_failed=untried
37347 fi
37348 if test -n "$PKG_CONFIG"; then
37349     if test -n "$CAIRO_LIBS"; then
37350         pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
37351     else
37352         if test -n "$PKG_CONFIG" && \
37353     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37354   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37355   ac_status=$?
37356   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37357   test $ac_status = 0; }; then
37358   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
37359 else
37360   pkg_failed=yes
37361 fi
37362     fi
37363 else
37364         pkg_failed=untried
37365 fi
37366
37367
37368
37369 if test $pkg_failed = yes; then
37370
37371 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37372         _pkg_short_errors_supported=yes
37373 else
37374         _pkg_short_errors_supported=no
37375 fi
37376         if test $_pkg_short_errors_supported = yes; then
37377                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
37378         else
37379                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
37380         fi
37381         # Put the nasty error message in config.log where it belongs
37382         echo "$CAIRO_PKG_ERRORS" >&5
37383
37384         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37385 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37386
37387 elif test $pkg_failed = untried; then
37388         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37389 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37390
37391 else
37392         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
37393         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
37394         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37395 $as_echo "yes" >&6; }
37396         wx_has_graphics=1
37397 fi
37398         if test "$wx_has_graphics" = 1; then
37399                                                 save_LIBS="$LIBS"
37400             LIBS="$LIBS $CAIRO_LIBS"
37401             for ac_func in cairo_push_group
37402 do :
37403   ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37404 if test "x$ac_cv_func_cairo_push_group" = xyes; then :
37405   cat >>confdefs.h <<_ACEOF
37406 #define HAVE_CAIRO_PUSH_GROUP 1
37407 _ACEOF
37408
37409 fi
37410 done
37411
37412             LIBS="$save_LIBS"
37413             if test "$ac_cv_func_cairo_push_group" = "no"; then
37414                 wx_has_graphics=0
37415                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37416 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37417             else
37418                 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37419
37420
37421                                                 if test "$wxUSE_GTK" != 1; then
37422                     CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
37423                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
37424                 fi
37425             fi
37426         fi
37427     else
37428                 wx_has_graphics=1
37429     fi
37430
37431     if test "$wx_has_graphics" = 1; then
37432         $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37433
37434     else
37435         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37436 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37437     fi
37438 fi
37439
37440
37441 USE_MEDIA=0
37442
37443 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37444     USE_MEDIA=1
37445
37446                 if test "$wxUSE_GTK" = 1; then
37447         wxUSE_GSTREAMER="no"
37448
37449                                                                 GST_VERSION_MAJOR=0
37450         GST_VERSION_MINOR=10
37451         GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37452
37453         if test "$wxUSE_GSTREAMER8" = "no"; then
37454
37455 pkg_failed=no
37456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37457 $as_echo_n "checking for GST... " >&6; }
37458
37459 if test -n "$PKG_CONFIG"; then
37460     if test -n "$GST_CFLAGS"; then
37461         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37462     else
37463         if test -n "$PKG_CONFIG" && \
37464     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37465   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37466   ac_status=$?
37467   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37468   test $ac_status = 0; }; then
37469   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37470 else
37471   pkg_failed=yes
37472 fi
37473     fi
37474 else
37475         pkg_failed=untried
37476 fi
37477 if test -n "$PKG_CONFIG"; then
37478     if test -n "$GST_LIBS"; then
37479         pkg_cv_GST_LIBS="$GST_LIBS"
37480     else
37481         if test -n "$PKG_CONFIG" && \
37482     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37483   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37484   ac_status=$?
37485   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37486   test $ac_status = 0; }; then
37487   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37488 else
37489   pkg_failed=yes
37490 fi
37491     fi
37492 else
37493         pkg_failed=untried
37494 fi
37495
37496
37497
37498 if test $pkg_failed = yes; then
37499
37500 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37501         _pkg_short_errors_supported=yes
37502 else
37503         _pkg_short_errors_supported=no
37504 fi
37505         if test $_pkg_short_errors_supported = yes; then
37506                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37507         else
37508                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37509         fi
37510         # Put the nasty error message in config.log where it belongs
37511         echo "$GST_PKG_ERRORS" >&5
37512
37513
37514                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37515 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37516                     GST_VERSION_MINOR=8
37517
37518
37519 elif test $pkg_failed = untried; then
37520
37521                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37522 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37523                     GST_VERSION_MINOR=8
37524
37525
37526 else
37527         GST_CFLAGS=$pkg_cv_GST_CFLAGS
37528         GST_LIBS=$pkg_cv_GST_LIBS
37529         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37530 $as_echo "yes" >&6; }
37531
37532                     wxUSE_GSTREAMER="yes"
37533                     GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37534
37535 fi
37536         else
37537                         GST_VERSION_MINOR=8
37538         fi
37539
37540         if test $GST_VERSION_MINOR = "8"; then
37541             GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37542
37543 pkg_failed=no
37544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37545 $as_echo_n "checking for GST... " >&6; }
37546
37547 if test -n "$PKG_CONFIG"; then
37548     if test -n "$GST_CFLAGS"; then
37549         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37550     else
37551         if test -n "$PKG_CONFIG" && \
37552     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37553   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37554   ac_status=$?
37555   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37556   test $ac_status = 0; }; then
37557   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37558 else
37559   pkg_failed=yes
37560 fi
37561     fi
37562 else
37563         pkg_failed=untried
37564 fi
37565 if test -n "$PKG_CONFIG"; then
37566     if test -n "$GST_LIBS"; then
37567         pkg_cv_GST_LIBS="$GST_LIBS"
37568     else
37569         if test -n "$PKG_CONFIG" && \
37570     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37571   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37572   ac_status=$?
37573   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37574   test $ac_status = 0; }; then
37575   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37576 else
37577   pkg_failed=yes
37578 fi
37579     fi
37580 else
37581         pkg_failed=untried
37582 fi
37583
37584
37585
37586 if test $pkg_failed = yes; then
37587
37588 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37589         _pkg_short_errors_supported=yes
37590 else
37591         _pkg_short_errors_supported=no
37592 fi
37593         if test $_pkg_short_errors_supported = yes; then
37594                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37595         else
37596                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37597         fi
37598         # Put the nasty error message in config.log where it belongs
37599         echo "$GST_PKG_ERRORS" >&5
37600
37601
37602                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37603 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37604
37605 elif test $pkg_failed = untried; then
37606
37607                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37608 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37609
37610 else
37611         GST_CFLAGS=$pkg_cv_GST_CFLAGS
37612         GST_LIBS=$pkg_cv_GST_LIBS
37613         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37614 $as_echo "yes" >&6; }
37615         wxUSE_GSTREAMER="yes"
37616 fi
37617         fi
37618
37619
37620         if test "$wxUSE_GSTREAMER" = "yes"; then
37621             CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
37622             EXTRALIBS_MEDIA="$GST_LIBS"
37623
37624             $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37625
37626         else
37627             USE_MEDIA=0
37628         fi
37629
37630     elif test "$wxUSE_MAC" = 1; then
37631                            GST_LIBS="-framework QTKit"
37632     fi
37633
37634     if test $USE_MEDIA = 1; then
37635         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
37636         $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37637
37638     else
37639         if test "$wxUSE_MEDIACTRL" = "yes"; then
37640             as_fn_error $? "GStreamer not available" "$LINENO" 5
37641         else
37642                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37643 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37644         fi
37645     fi
37646 fi
37647
37648
37649 if test "$cross_compiling" != "no"; then
37650         OSINFO="\"$host\""
37651 else
37652         OSINFO=`uname -s -r -m`
37653     OSINFO="\"$OSINFO\""
37654 fi
37655
37656 cat >>confdefs.h <<_ACEOF
37657 #define WXWIN_OS_DESCRIPTION $OSINFO
37658 _ACEOF
37659
37660
37661
37662 if test "x$prefix" != "xNONE"; then
37663     wxPREFIX=$prefix
37664 else
37665     wxPREFIX=$ac_default_prefix
37666 fi
37667
37668 cat >>confdefs.h <<_ACEOF
37669 #define wxINSTALL_PREFIX "$wxPREFIX"
37670 _ACEOF
37671
37672
37673
37674
37675 STD_BASE_LIBS="base"
37676 STD_GUI_LIBS=""
37677 BUILT_WX_LIBS="base"
37678 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
37679
37680 if test "$wxUSE_SOCKETS" = "yes" ; then
37681     STD_BASE_LIBS="net $STD_BASE_LIBS"
37682     BUILT_WX_LIBS="net $BUILT_WX_LIBS"
37683 fi
37684 if test "$wxUSE_XML" = "yes" ; then
37685     STD_BASE_LIBS="xml $STD_BASE_LIBS"
37686     BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
37687 fi
37688
37689 if test "$wxUSE_GUI" = "yes"; then
37690     STD_GUI_LIBS="adv core"
37691     BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
37692
37693     if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37694         STD_GUI_LIBS="qa $STD_GUI_LIBS"
37695         BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
37696     fi
37697     if test "$wxUSE_HTML" = "yes" ; then
37698         STD_GUI_LIBS="html $STD_GUI_LIBS"
37699         BUILT_WX_LIBS="html $BUILT_WX_LIBS"
37700     fi
37701     if test "$wxUSE_MEDIACTRL" = "yes" ; then
37702         BUILT_WX_LIBS="media $BUILT_WX_LIBS"
37703     fi
37704     if test "$wxUSE_OPENGL" = "yes" ; then
37705         BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
37706     fi
37707     if test "$wxUSE_AUI" = "yes" ; then
37708         BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
37709     fi
37710     if test "$wxUSE_PROPGRID" = "yes" ; then
37711         BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
37712     fi
37713     if test "$wxUSE_RIBBON" = "yes" ; then
37714         BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
37715     fi
37716     if test "$wxUSE_RICHTEXT" = "yes" ; then
37717         BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
37718     fi
37719     if test "$wxUSE_STC" = "yes" ; then
37720         BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
37721     fi
37722     if test "$wxUSE_WEBVIEW" = "yes" ; then
37723         STD_GUI_LIBS="webview $STD_GUI_LIBS"
37724         BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
37725     fi
37726     if test "$wxUSE_XRC" = "yes" ; then
37727         STD_GUI_LIBS="xrc $STD_GUI_LIBS"
37728         BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
37729     fi
37730 fi
37731
37732
37733
37734
37735
37736
37737
37738 EXTRA_FRAMEWORKS=
37739 if test "$wxUSE_MAC" = 1 ; then
37740     if test "$USE_DARWIN" = 1; then
37741         if test "$wxUSE_OSX_IPHONE" = 1; then
37742             EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37743         else
37744             EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37745
37746
37747             if test "$cross_compiling" != "no"; then
37748                                                                                                 wx_cv_target_x86_64=no
37749             else
37750                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37751 $as_echo_n "checking if we target only x86_64... " >&6; }
37752 if ${wx_cv_target_x86_64+:} false; then :
37753   $as_echo_n "(cached) " >&6
37754 else
37755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37756 /* end confdefs.h.  */
37757 int main() { return 0; }
37758 _ACEOF
37759 if ac_fn_c_try_link "$LINENO"; then :
37760   if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
37761                             wx_cv_target_x86_64=no
37762                         else
37763                             wx_cv_target_x86_64=yes
37764                         fi
37765
37766 fi
37767 rm -f core conftest.err conftest.$ac_objext \
37768     conftest$ac_exeext conftest.$ac_ext
37769
37770 fi
37771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37772 $as_echo "$wx_cv_target_x86_64" >&6; }
37773             fi
37774
37775             if test "$wx_cv_target_x86_64" != "yes"; then
37776                 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37777             fi
37778         fi
37779     fi
37780 fi
37781 if test "$wxUSE_OLD_COCOA" = 1 ; then
37782     EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
37783     if test "$wxUSE_MEDIACTRL" = "yes"; then
37784         EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37785     fi
37786 fi
37787 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37788     EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37789 fi
37790
37791 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37792 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37793
37794 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37795
37796 if test "$wxUSE_GUI" = "yes"; then
37797
37798
37799         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37800                      erase event exec font image minimal render \
37801                      shaped svg taborder vscroll widgets wrapsizer"
37802
37803     if test "$wxUSE_MONOLITHIC" != "yes"; then
37804         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37805     fi
37806     if test "$TOOLKIT" = "MSW"; then
37807         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37808         if test "$wxUSE_UNIVERSAL" != "yes"; then
37809             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37810         fi
37811     fi
37812     if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37813         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37814     fi
37815 else
37816     SAMPLES_SUBDIRS="console"
37817     if test "$wxUSE_SOCKETS" = "yes" ; then
37818         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37819     fi
37820     if test "$wxUSE_IPC" = "yes" ; then
37821         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37822     fi
37823 fi
37824
37825
37826 if test "x$INTELCC" = "xyes" ; then
37827                                         CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37828 elif test "$GCC" = yes ; then
37829     CWARNINGS="-Wall -Wundef"
37830 fi
37831
37832 if test "x$INTELCXX" = "xyes" ; then
37833                                                                 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37834 elif test "$GXX" = yes ; then
37835     CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37836     { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37837 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37838 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false; then :
37839   $as_echo_n "(cached) " >&6
37840 else
37841   ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37842
37843  ac_ext=cpp
37844 ac_cpp='$CXXCPP $CPPFLAGS'
37845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37848
37849  ac_save_CXXFLAGS="$CXXFLAGS"
37850 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual"     "-pedantic % -Woverloaded-virtual %% no, obsolete"     #
37851 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37852    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37853 /* end confdefs.h.  */
37854
37855 int
37856 main ()
37857 {
37858 return 0;
37859   ;
37860   return 0;
37861 }
37862 _ACEOF
37863 if ac_fn_cxx_try_compile "$LINENO"; then :
37864   ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37865 fi
37866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37867 done
37868  CXXFLAGS="$ac_save_CXXFLAGS"
37869  ac_ext=c
37870 ac_cpp='$CPP $CPPFLAGS'
37871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37874
37875
37876 fi
37877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37878 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37879 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37880      .ok|.ok,*)  ;;
37881    .|.no|.no,*)  ;;
37882    *)
37883    if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37884    then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37885   (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37886   ac_status=$?
37887   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37888   test $ac_status = 0; }
37889    else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37890   (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37891   ac_status=$?
37892   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37893   test $ac_status = 0; }
37894                       CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37895    fi
37896  ;;
37897 esac
37898
37899
37900                     if test "$wxUSE_MAC" = 1 ; then
37901         CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37902     fi
37903 fi
37904
37905
37906 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37907 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37908
37909
37910 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37911  -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37912  -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37913  $CPPFLAGS `
37914
37915 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37916 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37917 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37918 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37919 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37920
37921 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37922
37923
37924 if test "x$MWCC" = "xyes"; then
37925
37926             CC="$CC -cwd source -I-"
37927     CXX="$CXX -cwd source -I-"
37928 fi
37929
37930
37931 LIBS=`echo $LIBS`
37932 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37933 EXTRALIBS_XML="$EXPAT_LINK"
37934 EXTRALIBS_HTML="$MSPACK_LINK"
37935 EXTRALIBS_MEDIA="$GST_LIBS"
37936 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37937 if test "$wxUSE_GUI" = "yes"; then
37938     EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37939 fi
37940 if test "$wxUSE_OPENGL" = "yes"; then
37941     EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37942 fi
37943
37944 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37945
37946 WXCONFIG_LIBS="$LIBS"
37947
37948 if test "$wxUSE_REGEX" = "builtin" ; then
37949     wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37950 fi
37951 if test "$wxUSE_EXPAT" = "builtin" ; then
37952     wxconfig_3rdparty="expat $wxconfig_3rdparty"
37953 fi
37954 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37955     wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37956 fi
37957 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37958     wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37959 fi
37960 if test "$wxUSE_LIBPNG" = "builtin" ; then
37961     wxconfig_3rdparty="png $wxconfig_3rdparty"
37962 fi
37963 if test "$wxUSE_ZLIB" = "builtin" ; then
37964     wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37965 fi
37966
37967 for i in $wxconfig_3rdparty ; do
37968     WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37969 done
37970
37971
37972 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37973     WXUNIV=1
37974
37975     case "$wxUNIV_THEMES" in
37976         ''|all)
37977             $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37978
37979             ;;
37980
37981         *)
37982             for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37983                 cat >>confdefs.h <<_ACEOF
37984 #define wxUSE_THEME_$t 1
37985 _ACEOF
37986
37987             done
37988     esac
37989 else
37990     WXUNIV=0
37991 fi
37992
37993
37994
37995
37996
37997
37998
37999
38000 if test $wxUSE_MONOLITHIC = "yes" ; then
38001     MONOLITHIC=1
38002 else
38003     MONOLITHIC=0
38004 fi
38005
38006 if test $wxUSE_PLUGINS = "yes" ; then
38007     USE_PLUGINS=1
38008 else
38009     USE_PLUGINS=0
38010 fi
38011
38012 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
38013     USE_QA=1
38014 else
38015     USE_QA=0
38016 fi
38017
38018 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38019     OFFICIAL_BUILD=1
38020 else
38021     OFFICIAL_BUILD=0
38022 fi
38023
38024
38025
38026
38027
38028
38029
38030
38031
38032
38033
38034
38035
38036
38037
38038
38039
38040
38041
38042
38043
38044
38045
38046 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
38047
38048
38049
38050
38051
38052
38053
38054
38055
38056
38057 case "$TOOLKIT" in
38058     GTK)
38059         TOOLKIT_DESC="GTK+"
38060         if test "$WXGTK2" = 1; then
38061             if test "$WXGTK3" = 1; then
38062                 TOOLKIT_DESC="$TOOLKIT_DESC 3"
38063             else
38064                 TOOLKIT_DESC="$TOOLKIT_DESC 2"
38065             fi
38066             if test "$wxUSE_GTKPRINT" = "yes" ; then
38067                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
38068             fi
38069             if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
38070                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
38071             fi
38072             if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
38073                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
38074             fi
38075             if test "$wxUSE_LIBNOTIFY" = "yes" ; then
38076                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA libnotify"
38077             fi
38078             if test "$wxUSE_LIBHILDON" = "yes"; then
38079                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
38080             fi
38081             if test "$wxUSE_LIBHILDON2" = "yes"; then
38082                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
38083             fi
38084
38085             if test "$TOOLKIT_EXTRA" != ""; then
38086                 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
38087             fi
38088         fi
38089         ;;
38090
38091     ?*)
38092         TOOLKIT_DESC=$TOOLKIT_LOWERCASE
38093         ;;
38094
38095     *)
38096         TOOLKIT_DESC="base only"
38097         ;;
38098 esac
38099
38100 if test "$wxUSE_WINE" = "yes"; then
38101     BAKEFILE_FORCE_PLATFORM=win32
38102 fi
38103
38104 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
38105 then
38106     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
38107 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
38108 if ${wx_cv_gcc_pch_bug+:} false; then :
38109   $as_echo_n "(cached) " >&6
38110 else
38111
38112             echo '#include <stdio.h>
38113                   const wchar_t test_var[] = L"awidetest";' > conftest.h
38114
38115             echo '#include "conftest.h"
38116                   int main()
38117                   {
38118                      printf("%ls", test_var);
38119                      return 0;
38120                   }' > conftest.cpp
38121
38122             wx_cv_gcc_pch_bug="pch not supported"
38123
38124             if $CXX conftest.h >/dev/null 2>&1
38125             then
38126                 wx_cv_gcc_pch_bug=
38127
38128                 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
38129                 then
38130                     if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
38131                         grep awidetest >/dev/null
38132                     then
38133                         wx_cv_gcc_pch_bug=no
38134                     else
38135                         wx_cv_gcc_pch_bug=yes
38136                     fi
38137                 fi
38138             fi
38139
38140             rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
38141
38142 fi
38143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
38144 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
38145
38146     if test "$wx_cv_gcc_pch_bug" = yes; then
38147                         bk_use_pch=no
38148     fi
38149 fi
38150
38151 # Find a good install program.  We prefer a C program (faster),
38152 # so one script is as good as another.  But avoid the broken or
38153 # incompatible versions:
38154 # SysV /etc/install, /usr/sbin/install
38155 # SunOS /usr/etc/install
38156 # IRIX /sbin/install
38157 # AIX /bin/install
38158 # AmigaOS /C/install, which installs bootblocks on floppy discs
38159 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38160 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38161 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38162 # OS/2's system install, which has a completely different semantic
38163 # ./install, which can be erroneously created by make from ./install.sh.
38164 # Reject install programs that cannot install multiple files.
38165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
38166 $as_echo_n "checking for a BSD-compatible install... " >&6; }
38167 if test -z "$INSTALL"; then
38168 if ${ac_cv_path_install+:} false; then :
38169   $as_echo_n "(cached) " >&6
38170 else
38171   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38172 for as_dir in $PATH
38173 do
38174   IFS=$as_save_IFS
38175   test -z "$as_dir" && as_dir=.
38176     # Account for people who put trailing slashes in PATH elements.
38177 case $as_dir/ in #((
38178   ./ | .// | /[cC]/* | \
38179   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
38180   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
38181   /usr/ucb/* ) ;;
38182   *)
38183     # OSF1 and SCO ODT 3.0 have their own names for install.
38184     # Don't use installbsd from OSF since it installs stuff as root
38185     # by default.
38186     for ac_prog in ginstall scoinst install; do
38187       for ac_exec_ext in '' $ac_executable_extensions; do
38188         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38189           if test $ac_prog = install &&
38190             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38191             # AIX install.  It has an incompatible calling convention.
38192             :
38193           elif test $ac_prog = install &&
38194             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38195             # program-specific install script used by HP pwplus--don't use.
38196             :
38197           else
38198             rm -rf conftest.one conftest.two conftest.dir
38199             echo one > conftest.one
38200             echo two > conftest.two
38201             mkdir conftest.dir
38202             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
38203               test -s conftest.one && test -s conftest.two &&
38204               test -s conftest.dir/conftest.one &&
38205               test -s conftest.dir/conftest.two
38206             then
38207               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
38208               break 3
38209             fi
38210           fi
38211         fi
38212       done
38213     done
38214     ;;
38215 esac
38216
38217   done
38218 IFS=$as_save_IFS
38219
38220 rm -rf conftest.one conftest.two conftest.dir
38221
38222 fi
38223   if test "${ac_cv_path_install+set}" = set; then
38224     INSTALL=$ac_cv_path_install
38225   else
38226     # As a last resort, use the slow shell script.  Don't cache a
38227     # value for INSTALL within a source directory, because that will
38228     # break other packages using the cache if that directory is
38229     # removed, or if the value is a relative name.
38230     INSTALL=$ac_install_sh
38231   fi
38232 fi
38233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
38234 $as_echo "$INSTALL" >&6; }
38235
38236 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38237 # It thinks the first close brace ends the variable substitution.
38238 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38239
38240 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38241
38242 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38243
38244
38245
38246
38247
38248
38249
38250     if test "x$BAKEFILE_HOST" = "x"; then
38251                if test "x${host}" = "x" ; then
38252                        as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
38253                fi
38254
38255         BAKEFILE_HOST="${host}"
38256     fi
38257
38258     if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38259
38260     if test -n "$ac_tool_prefix"; then
38261   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38262 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
38263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38264 $as_echo_n "checking for $ac_word... " >&6; }
38265 if ${ac_cv_prog_RANLIB+:} false; then :
38266   $as_echo_n "(cached) " >&6
38267 else
38268   if test -n "$RANLIB"; then
38269   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
38270 else
38271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38272 for as_dir in $PATH
38273 do
38274   IFS=$as_save_IFS
38275   test -z "$as_dir" && as_dir=.
38276     for ac_exec_ext in '' $ac_executable_extensions; do
38277   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38278     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38279     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38280     break 2
38281   fi
38282 done
38283   done
38284 IFS=$as_save_IFS
38285
38286 fi
38287 fi
38288 RANLIB=$ac_cv_prog_RANLIB
38289 if test -n "$RANLIB"; then
38290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
38291 $as_echo "$RANLIB" >&6; }
38292 else
38293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38294 $as_echo "no" >&6; }
38295 fi
38296
38297
38298 fi
38299 if test -z "$ac_cv_prog_RANLIB"; then
38300   ac_ct_RANLIB=$RANLIB
38301   # Extract the first word of "ranlib", so it can be a program name with args.
38302 set dummy ranlib; ac_word=$2
38303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38304 $as_echo_n "checking for $ac_word... " >&6; }
38305 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
38306   $as_echo_n "(cached) " >&6
38307 else
38308   if test -n "$ac_ct_RANLIB"; then
38309   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38310 else
38311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38312 for as_dir in $PATH
38313 do
38314   IFS=$as_save_IFS
38315   test -z "$as_dir" && as_dir=.
38316     for ac_exec_ext in '' $ac_executable_extensions; do
38317   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38318     ac_cv_prog_ac_ct_RANLIB="ranlib"
38319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38320     break 2
38321   fi
38322 done
38323   done
38324 IFS=$as_save_IFS
38325
38326 fi
38327 fi
38328 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38329 if test -n "$ac_ct_RANLIB"; then
38330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
38331 $as_echo "$ac_ct_RANLIB" >&6; }
38332 else
38333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38334 $as_echo "no" >&6; }
38335 fi
38336
38337   if test "x$ac_ct_RANLIB" = x; then
38338     RANLIB=":"
38339   else
38340     case $cross_compiling:$ac_tool_warned in
38341 yes:)
38342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38344 ac_tool_warned=yes ;;
38345 esac
38346     RANLIB=$ac_ct_RANLIB
38347   fi
38348 else
38349   RANLIB="$ac_cv_prog_RANLIB"
38350 fi
38351
38352
38353     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
38354 $as_echo_n "checking whether ln -s works... " >&6; }
38355 LN_S=$as_ln_s
38356 if test "$LN_S" = "ln -s"; then
38357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38358 $as_echo "yes" >&6; }
38359 else
38360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
38361 $as_echo "no, using $LN_S" >&6; }
38362 fi
38363
38364
38365     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38366 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
38367 set x ${MAKE-make}
38368 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
38369 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
38370   $as_echo_n "(cached) " >&6
38371 else
38372   cat >conftest.make <<\_ACEOF
38373 SHELL = /bin/sh
38374 all:
38375         @echo '@@@%%%=$(MAKE)=@@@%%%'
38376 _ACEOF
38377 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38378 case `${MAKE-make} -f conftest.make 2>/dev/null` in
38379   *@@@%%%=?*=@@@%%%*)
38380     eval ac_cv_prog_make_${ac_make}_set=yes;;
38381   *)
38382     eval ac_cv_prog_make_${ac_make}_set=no;;
38383 esac
38384 rm -f conftest.make
38385 fi
38386 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
38387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38388 $as_echo "yes" >&6; }
38389   SET_MAKE=
38390 else
38391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38392 $as_echo "no" >&6; }
38393   SET_MAKE="MAKE=${MAKE-make}"
38394 fi
38395
38396
38397
38398     if test "x$SUNCXX" = "xyes"; then
38399                                 AR=$CXX
38400         AROPTIONS="-xar -o"
38401
38402     elif test "x$SGICC" = "xyes"; then
38403                 AR=$CXX
38404         AROPTIONS="-ar -o"
38405
38406     else
38407         if test -n "$ac_tool_prefix"; then
38408   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38409 set dummy ${ac_tool_prefix}ar; ac_word=$2
38410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38411 $as_echo_n "checking for $ac_word... " >&6; }
38412 if ${ac_cv_prog_AR+:} false; then :
38413   $as_echo_n "(cached) " >&6
38414 else
38415   if test -n "$AR"; then
38416   ac_cv_prog_AR="$AR" # Let the user override the test.
38417 else
38418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38419 for as_dir in $PATH
38420 do
38421   IFS=$as_save_IFS
38422   test -z "$as_dir" && as_dir=.
38423     for ac_exec_ext in '' $ac_executable_extensions; do
38424   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38425     ac_cv_prog_AR="${ac_tool_prefix}ar"
38426     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38427     break 2
38428   fi
38429 done
38430   done
38431 IFS=$as_save_IFS
38432
38433 fi
38434 fi
38435 AR=$ac_cv_prog_AR
38436 if test -n "$AR"; then
38437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38438 $as_echo "$AR" >&6; }
38439 else
38440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38441 $as_echo "no" >&6; }
38442 fi
38443
38444
38445 fi
38446 if test -z "$ac_cv_prog_AR"; then
38447   ac_ct_AR=$AR
38448   # Extract the first word of "ar", so it can be a program name with args.
38449 set dummy ar; ac_word=$2
38450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38451 $as_echo_n "checking for $ac_word... " >&6; }
38452 if ${ac_cv_prog_ac_ct_AR+:} false; then :
38453   $as_echo_n "(cached) " >&6
38454 else
38455   if test -n "$ac_ct_AR"; then
38456   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38457 else
38458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38459 for as_dir in $PATH
38460 do
38461   IFS=$as_save_IFS
38462   test -z "$as_dir" && as_dir=.
38463     for ac_exec_ext in '' $ac_executable_extensions; do
38464   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38465     ac_cv_prog_ac_ct_AR="ar"
38466     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38467     break 2
38468   fi
38469 done
38470   done
38471 IFS=$as_save_IFS
38472
38473 fi
38474 fi
38475 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38476 if test -n "$ac_ct_AR"; then
38477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38478 $as_echo "$ac_ct_AR" >&6; }
38479 else
38480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38481 $as_echo "no" >&6; }
38482 fi
38483
38484   if test "x$ac_ct_AR" = x; then
38485     AR="ar"
38486   else
38487     case $cross_compiling:$ac_tool_warned in
38488 yes:)
38489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38491 ac_tool_warned=yes ;;
38492 esac
38493     AR=$ac_ct_AR
38494   fi
38495 else
38496   AR="$ac_cv_prog_AR"
38497 fi
38498
38499         AROPTIONS=rcu
38500     fi
38501
38502
38503     if test -n "$ac_tool_prefix"; then
38504   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38505 set dummy ${ac_tool_prefix}strip; ac_word=$2
38506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38507 $as_echo_n "checking for $ac_word... " >&6; }
38508 if ${ac_cv_prog_STRIP+:} false; then :
38509   $as_echo_n "(cached) " >&6
38510 else
38511   if test -n "$STRIP"; then
38512   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38513 else
38514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38515 for as_dir in $PATH
38516 do
38517   IFS=$as_save_IFS
38518   test -z "$as_dir" && as_dir=.
38519     for ac_exec_ext in '' $ac_executable_extensions; do
38520   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38521     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38523     break 2
38524   fi
38525 done
38526   done
38527 IFS=$as_save_IFS
38528
38529 fi
38530 fi
38531 STRIP=$ac_cv_prog_STRIP
38532 if test -n "$STRIP"; then
38533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38534 $as_echo "$STRIP" >&6; }
38535 else
38536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38537 $as_echo "no" >&6; }
38538 fi
38539
38540
38541 fi
38542 if test -z "$ac_cv_prog_STRIP"; then
38543   ac_ct_STRIP=$STRIP
38544   # Extract the first word of "strip", so it can be a program name with args.
38545 set dummy strip; ac_word=$2
38546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38547 $as_echo_n "checking for $ac_word... " >&6; }
38548 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
38549   $as_echo_n "(cached) " >&6
38550 else
38551   if test -n "$ac_ct_STRIP"; then
38552   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38553 else
38554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38555 for as_dir in $PATH
38556 do
38557   IFS=$as_save_IFS
38558   test -z "$as_dir" && as_dir=.
38559     for ac_exec_ext in '' $ac_executable_extensions; do
38560   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38561     ac_cv_prog_ac_ct_STRIP="strip"
38562     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38563     break 2
38564   fi
38565 done
38566   done
38567 IFS=$as_save_IFS
38568
38569 fi
38570 fi
38571 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38572 if test -n "$ac_ct_STRIP"; then
38573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38574 $as_echo "$ac_ct_STRIP" >&6; }
38575 else
38576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38577 $as_echo "no" >&6; }
38578 fi
38579
38580   if test "x$ac_ct_STRIP" = x; then
38581     STRIP=":"
38582   else
38583     case $cross_compiling:$ac_tool_warned in
38584 yes:)
38585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38587 ac_tool_warned=yes ;;
38588 esac
38589     STRIP=$ac_ct_STRIP
38590   fi
38591 else
38592   STRIP="$ac_cv_prog_STRIP"
38593 fi
38594
38595     if test -n "$ac_tool_prefix"; then
38596   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38597 set dummy ${ac_tool_prefix}nm; ac_word=$2
38598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38599 $as_echo_n "checking for $ac_word... " >&6; }
38600 if ${ac_cv_prog_NM+:} false; then :
38601   $as_echo_n "(cached) " >&6
38602 else
38603   if test -n "$NM"; then
38604   ac_cv_prog_NM="$NM" # Let the user override the test.
38605 else
38606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38607 for as_dir in $PATH
38608 do
38609   IFS=$as_save_IFS
38610   test -z "$as_dir" && as_dir=.
38611     for ac_exec_ext in '' $ac_executable_extensions; do
38612   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38613     ac_cv_prog_NM="${ac_tool_prefix}nm"
38614     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38615     break 2
38616   fi
38617 done
38618   done
38619 IFS=$as_save_IFS
38620
38621 fi
38622 fi
38623 NM=$ac_cv_prog_NM
38624 if test -n "$NM"; then
38625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38626 $as_echo "$NM" >&6; }
38627 else
38628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38629 $as_echo "no" >&6; }
38630 fi
38631
38632
38633 fi
38634 if test -z "$ac_cv_prog_NM"; then
38635   ac_ct_NM=$NM
38636   # Extract the first word of "nm", so it can be a program name with args.
38637 set dummy nm; ac_word=$2
38638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38639 $as_echo_n "checking for $ac_word... " >&6; }
38640 if ${ac_cv_prog_ac_ct_NM+:} false; then :
38641   $as_echo_n "(cached) " >&6
38642 else
38643   if test -n "$ac_ct_NM"; then
38644   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38645 else
38646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38647 for as_dir in $PATH
38648 do
38649   IFS=$as_save_IFS
38650   test -z "$as_dir" && as_dir=.
38651     for ac_exec_ext in '' $ac_executable_extensions; do
38652   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38653     ac_cv_prog_ac_ct_NM="nm"
38654     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38655     break 2
38656   fi
38657 done
38658   done
38659 IFS=$as_save_IFS
38660
38661 fi
38662 fi
38663 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38664 if test -n "$ac_ct_NM"; then
38665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38666 $as_echo "$ac_ct_NM" >&6; }
38667 else
38668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38669 $as_echo "no" >&6; }
38670 fi
38671
38672   if test "x$ac_ct_NM" = x; then
38673     NM=":"
38674   else
38675     case $cross_compiling:$ac_tool_warned in
38676 yes:)
38677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38679 ac_tool_warned=yes ;;
38680 esac
38681     NM=$ac_ct_NM
38682   fi
38683 else
38684   NM="$ac_cv_prog_NM"
38685 fi
38686
38687
38688         INSTALL_DIR="mkdir -p"
38689
38690
38691     LDFLAGS_GUI=
38692     case ${BAKEFILE_HOST} in
38693         *-*-cygwin* | *-*-mingw32* )
38694         LDFLAGS_GUI="-mwindows"
38695     esac
38696
38697
38698     fi
38699
38700         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38701 $as_echo_n "checking if make is GNU make... " >&6; }
38702 if ${bakefile_cv_prog_makeisgnu+:} false; then :
38703   $as_echo_n "(cached) " >&6
38704 else
38705
38706         if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38707                 egrep -s GNU > /dev/null); then
38708             bakefile_cv_prog_makeisgnu="yes"
38709         else
38710             bakefile_cv_prog_makeisgnu="no"
38711         fi
38712
38713 fi
38714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38715 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38716
38717     if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38718         IF_GNU_MAKE=""
38719     else
38720         IF_GNU_MAKE="#"
38721     fi
38722
38723
38724
38725     PLATFORM_UNIX=0
38726     PLATFORM_WIN32=0
38727     PLATFORM_MSDOS=0
38728     PLATFORM_MAC=0
38729     PLATFORM_MACOS=0
38730     PLATFORM_MACOSX=0
38731     PLATFORM_OS2=0
38732     PLATFORM_BEOS=0
38733
38734     if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38735         case "${BAKEFILE_HOST}" in
38736             *-*-mingw32* )
38737                 PLATFORM_WIN32=1
38738             ;;
38739             *-pc-msdosdjgpp )
38740                 PLATFORM_MSDOS=1
38741             ;;
38742             *-pc-os2_emx | *-pc-os2-emx )
38743                 PLATFORM_OS2=1
38744             ;;
38745             *-*-darwin* )
38746                 PLATFORM_MAC=1
38747                 PLATFORM_MACOSX=1
38748             ;;
38749             *-*-beos* )
38750                 PLATFORM_BEOS=1
38751             ;;
38752             powerpc-apple-macos* )
38753                 PLATFORM_MAC=1
38754                 PLATFORM_MACOS=1
38755             ;;
38756             * )
38757                 PLATFORM_UNIX=1
38758             ;;
38759         esac
38760     else
38761         case "$BAKEFILE_FORCE_PLATFORM" in
38762             win32 )
38763                 PLATFORM_WIN32=1
38764             ;;
38765             msdos )
38766                 PLATFORM_MSDOS=1
38767             ;;
38768             os2 )
38769                 PLATFORM_OS2=1
38770             ;;
38771             darwin )
38772                 PLATFORM_MAC=1
38773                 PLATFORM_MACOSX=1
38774             ;;
38775             unix )
38776                 PLATFORM_UNIX=1
38777             ;;
38778             beos )
38779                 PLATFORM_BEOS=1
38780             ;;
38781             * )
38782                 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38783             ;;
38784         esac
38785     fi
38786
38787
38788
38789
38790
38791
38792
38793
38794
38795
38796
38797     # Check whether --enable-omf was given.
38798 if test "${enable_omf+set}" = set; then :
38799   enableval=$enable_omf; bk_os2_use_omf="$enableval"
38800 fi
38801
38802
38803     case "${BAKEFILE_HOST}" in
38804       *-*-darwin* )
38805                         if test "x$GCC" = "xyes"; then
38806             CFLAGS="$CFLAGS -fno-common"
38807             CXXFLAGS="$CXXFLAGS -fno-common"
38808         fi
38809         if test "x$XLCC" = "xyes"; then
38810             CFLAGS="$CFLAGS -qnocommon"
38811             CXXFLAGS="$CXXFLAGS -qnocommon"
38812         fi
38813         ;;
38814
38815       *-pc-os2_emx | *-pc-os2-emx )
38816         if test "x$bk_os2_use_omf" = "xyes" ; then
38817             AR=emxomfar
38818             RANLIB=:
38819             LDFLAGS="-Zomf $LDFLAGS"
38820             CFLAGS="-Zomf $CFLAGS"
38821             CXXFLAGS="-Zomf $CXXFLAGS"
38822             OS2_LIBEXT="lib"
38823         else
38824             OS2_LIBEXT="a"
38825         fi
38826         ;;
38827
38828       i*86-*-beos* )
38829         LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38830         ;;
38831     esac
38832
38833
38834     SO_SUFFIX="so"
38835     SO_SUFFIX_MODULE="so"
38836     EXEEXT=""
38837     LIBPREFIX="lib"
38838     LIBEXT=".a"
38839     DLLPREFIX="lib"
38840     DLLPREFIX_MODULE=""
38841     DLLIMP_SUFFIX=""
38842     dlldir="$libdir"
38843
38844     case "${BAKEFILE_HOST}" in
38845                         ia64-hp-hpux* )
38846         ;;
38847         *-hp-hpux* )
38848             SO_SUFFIX="sl"
38849             SO_SUFFIX_MODULE="sl"
38850         ;;
38851         *-*-aix* )
38852                                                                         SO_SUFFIX="a"
38853             SO_SUFFIX_MODULE="a"
38854         ;;
38855         *-*-cygwin* )
38856             SO_SUFFIX="dll"
38857             SO_SUFFIX_MODULE="dll"
38858             DLLIMP_SUFFIX="dll.a"
38859             EXEEXT=".exe"
38860             DLLPREFIX="cyg"
38861             dlldir="$bindir"
38862         ;;
38863         *-*-mingw32* )
38864             SO_SUFFIX="dll"
38865             SO_SUFFIX_MODULE="dll"
38866             DLLIMP_SUFFIX="dll.a"
38867             EXEEXT=".exe"
38868             DLLPREFIX=""
38869             dlldir="$bindir"
38870         ;;
38871         *-pc-msdosdjgpp )
38872             EXEEXT=".exe"
38873             DLLPREFIX=""
38874             dlldir="$bindir"
38875         ;;
38876         *-pc-os2_emx | *-pc-os2-emx )
38877             SO_SUFFIX="dll"
38878             SO_SUFFIX_MODULE="dll"
38879             DLLIMP_SUFFIX=$OS2_LIBEXT
38880             EXEEXT=".exe"
38881             DLLPREFIX=""
38882             LIBPREFIX=""
38883             LIBEXT=".$OS2_LIBEXT"
38884             dlldir="$bindir"
38885         ;;
38886         *-*-darwin* )
38887             SO_SUFFIX="dylib"
38888             SO_SUFFIX_MODULE="bundle"
38889         ;;
38890     esac
38891
38892     if test "x$DLLIMP_SUFFIX" = "x" ; then
38893         DLLIMP_SUFFIX="$SO_SUFFIX"
38894     fi
38895
38896
38897
38898
38899
38900
38901
38902
38903
38904
38905
38906
38907         PIC_FLAG=""
38908     if test "x$GCC" = "xyes"; then
38909                 PIC_FLAG="-fPIC"
38910     fi
38911
38912         SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38913     SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38914     WINDOWS_IMPLIB=0
38915
38916     case "${BAKEFILE_HOST}" in
38917       *-hp-hpux* )
38918                 if test "x$GCC" != "xyes"; then
38919                         LDFLAGS="$LDFLAGS -L/usr/lib"
38920
38921             SHARED_LD_CC="${CC} -b -o"
38922             SHARED_LD_CXX="${CXX} -b -o"
38923             PIC_FLAG="+Z"
38924         fi
38925       ;;
38926
38927       *-*-linux* )
38928                         if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38929             PIC_FLAG="-KPIC"
38930         elif test "x$SUNCXX" = "xyes"; then
38931             SHARED_LD_CC="${CC} -G -o"
38932             SHARED_LD_CXX="${CXX} -G -o"
38933             PIC_FLAG="-KPIC"
38934         fi
38935       ;;
38936
38937       *-*-solaris2* )
38938         if test "x$SUNCXX" = xyes ; then
38939             SHARED_LD_CC="${CC} -G -o"
38940             SHARED_LD_CXX="${CXX} -G -o"
38941             PIC_FLAG="-KPIC"
38942         fi
38943       ;;
38944
38945       *-*-darwin* )
38946
38947 D='$'
38948 cat <<EOF >shared-ld-sh
38949 #!/bin/sh
38950 #-----------------------------------------------------------------------------
38951 #-- Name:        distrib/mac/shared-ld-sh
38952 #-- Purpose:     Link a mach-o dynamic shared library for Darwin / Mac OS X
38953 #-- Author:      Gilles Depeyrot
38954 #-- Copyright:   (c) 2002 Gilles Depeyrot
38955 #-- Licence:     any use permitted
38956 #-----------------------------------------------------------------------------
38957
38958 verbose=0
38959 args=""
38960 objects=""
38961 linking_flag="-dynamiclib"
38962 ldargs="-r -keep_private_externs -nostdlib"
38963
38964 if test "x${D}CXX" = "x"; then
38965     CXX="c++"
38966 fi
38967
38968 while test ${D}# -gt 0; do
38969     case ${D}1 in
38970
38971        -v)
38972         verbose=1
38973         ;;
38974
38975        -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38976         # collect these options and values
38977         args="${D}{args} ${D}1 ${D}2"
38978         shift
38979         ;;
38980
38981        -arch|-isysroot)
38982         # collect these options and values
38983         ldargs="${D}{ldargs} ${D}1 ${D}2"
38984         shift
38985         ;;
38986
38987        -s|-Wl,*)
38988         # collect these load args
38989         ldargs="${D}{ldargs} ${D}1"
38990         ;;
38991
38992        -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38993         # collect these options
38994         args="${D}{args} ${D}1"
38995         ;;
38996
38997        -dynamiclib|-bundle)
38998         linking_flag="${D}1"
38999         ;;
39000
39001        -*)
39002         echo "shared-ld: unhandled option '${D}1'"
39003         exit 1
39004         ;;
39005
39006         *.o | *.a | *.dylib)
39007         # collect object files
39008         objects="${D}{objects} ${D}1"
39009         ;;
39010
39011         *)
39012         echo "shared-ld: unhandled argument '${D}1'"
39013         exit 1
39014         ;;
39015
39016     esac
39017     shift
39018 done
39019
39020 status=0
39021
39022 #
39023 # Link one module containing all the others
39024 #
39025 if test ${D}{verbose} = 1; then
39026     echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
39027 fi
39028 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
39029 status=${D}?
39030
39031 #
39032 # Link the shared library from the single module created, but only if the
39033 # previous command didn't fail:
39034 #
39035 if test ${D}{status} = 0; then
39036     if test ${D}{verbose} = 1; then
39037         echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39038     fi
39039     ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39040     status=${D}?
39041 fi
39042
39043 #
39044 # Remove intermediate module
39045 #
39046 rm -f master.${D}${D}.o
39047
39048 exit ${D}status
39049 EOF
39050
39051         chmod +x shared-ld-sh
39052
39053         SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39054         SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
39055
39056
39057                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
39058 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
39059 if ${bakefile_cv_gcc31+:} false; then :
39060   $as_echo_n "(cached) " >&6
39061 else
39062
39063            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39064 /* end confdefs.h.  */
39065
39066 int
39067 main ()
39068 {
39069
39070                    #if (__GNUC__ < 3) || \
39071                        ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39072                        This is old gcc
39073                    #endif
39074
39075   ;
39076   return 0;
39077 }
39078 _ACEOF
39079 if ac_fn_c_try_compile "$LINENO"; then :
39080
39081                    bakefile_cv_gcc31=yes
39082
39083 else
39084
39085                    bakefile_cv_gcc31=no
39086
39087
39088 fi
39089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39090
39091 fi
39092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
39093 $as_echo "$bakefile_cv_gcc31" >&6; }
39094         if test "$bakefile_cv_gcc31" = "no"; then
39095                         SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39096             SHARED_LD_CXX="$SHARED_LD_CC"
39097         else
39098                         SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39099             SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39100         fi
39101
39102         if test "x$GCC" == "xyes"; then
39103             PIC_FLAG="-dynamic -fPIC"
39104         fi
39105         if test "x$XLCC" = "xyes"; then
39106             PIC_FLAG="-dynamic -DPIC"
39107         fi
39108       ;;
39109
39110       *-*-aix* )
39111         if test "x$GCC" = "xyes"; then
39112                                                             PIC_FLAG=""
39113
39114                                                                                     case "${BAKEFILE_HOST}" in
39115                 *-*-aix5* )
39116                     LD_EXPFULL="-Wl,-bexpfull"
39117                     ;;
39118             esac
39119
39120             SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
39121             SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
39122         else
39123                                     # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39124 set dummy makeC++SharedLib; ac_word=$2
39125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39126 $as_echo_n "checking for $ac_word... " >&6; }
39127 if ${ac_cv_prog_AIX_CXX_LD+:} false; then :
39128   $as_echo_n "(cached) " >&6
39129 else
39130   if test -n "$AIX_CXX_LD"; then
39131   ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
39132 else
39133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39134 for as_dir in $PATH
39135 do
39136   IFS=$as_save_IFS
39137   test -z "$as_dir" && as_dir=.
39138     for ac_exec_ext in '' $ac_executable_extensions; do
39139   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39140     ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
39141     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39142     break 2
39143   fi
39144 done
39145   done
39146 IFS=$as_save_IFS
39147
39148   test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
39149 fi
39150 fi
39151 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
39152 if test -n "$AIX_CXX_LD"; then
39153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
39154 $as_echo "$AIX_CXX_LD" >&6; }
39155 else
39156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39157 $as_echo "no" >&6; }
39158 fi
39159
39160
39161             SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
39162             SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
39163         fi
39164       ;;
39165
39166       *-*-beos* )
39167                         SHARED_LD_CC="${LD} -nostart -o"
39168         SHARED_LD_CXX="${LD} -nostart -o"
39169       ;;
39170
39171       *-*-irix* )
39172                 if test "x$GCC" != "xyes"; then
39173             PIC_FLAG="-KPIC"
39174         fi
39175       ;;
39176
39177       *-*-cygwin* | *-*-mingw32* )
39178         PIC_FLAG=""
39179         SHARED_LD_CC="\$(CC) -shared -o"
39180         SHARED_LD_CXX="\$(CXX) -shared -o"
39181         WINDOWS_IMPLIB=1
39182       ;;
39183
39184       *-pc-os2_emx | *-pc-os2-emx )
39185         SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39186         SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39187         PIC_FLAG=""
39188
39189 D='$'
39190 cat <<EOF >dllar.sh
39191 #!/bin/sh
39192 #
39193 # dllar - a tool to build both a .dll and an .a file
39194 # from a set of object (.o) files for EMX/OS2.
39195 #
39196 #  Written by Andrew Zabolotny, bit@freya.etu.ru
39197 #  Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39198 #
39199 #  This script will accept a set of files on the command line.
39200 #  All the public symbols from the .o files will be exported into
39201 #  a .DEF file, then linker will be run (through gcc) against them to
39202 #  build a shared library consisting of all given .o files. All libraries
39203 #  (.a) will be first decompressed into component .o files then act as
39204 #  described above. You can optionally give a description (-d "description")
39205 #  which will be put into .DLL. To see the list of accepted options (as well
39206 #  as command-line format) simply run this program without options. The .DLL
39207 #  is built to be imported by name (there is no guarantee that new versions
39208 #  of the library you build will have same ordinals for same symbols).
39209 #
39210 #  dllar is free software; you can redistribute it and/or modify
39211 #  it under the terms of the GNU General Public License as published by
39212 #  the Free Software Foundation; either version 2, or (at your option)
39213 #  any later version.
39214 #
39215 #  dllar is distributed in the hope that it will be useful,
39216 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
39217 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
39218 #  GNU General Public License for more details.
39219 #
39220 #  You should have received a copy of the GNU General Public License
39221 #  along with dllar; see the file COPYING.  If not, write to the Free
39222 #  Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39223 #  02111-1307, USA.
39224
39225 # To successfuly run this program you will need:
39226 #  - Current drive should have LFN support (HPFS, ext2, network, etc)
39227 #    (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39228 #  - gcc
39229 #    (used to build the .dll)
39230 #  - emxexp
39231 #    (used to create .def file from .o files)
39232 #  - emximp
39233 #    (used to create .a file from .def file)
39234 #  - GNU text utilites (cat, sort, uniq)
39235 #    used to process emxexp output
39236 #  - GNU file utilities (mv, rm)
39237 #  - GNU sed
39238 #  - lxlite (optional, see flag below)
39239 #    (used for general .dll cleanup)
39240 #
39241
39242 flag_USE_LXLITE=1;
39243
39244 #
39245 # helper functions
39246 # basnam, variant of basename, which does _not_ remove the path, _iff_
39247 #                              second argument (suffix to remove) is given
39248 basnam(){
39249     case ${D}# in
39250     1)
39251         echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39252         ;;
39253     2)
39254         echo ${D}1 | sed 's/'${D}2'${D}//'
39255         ;;
39256     *)
39257         echo "error in basnam ${D}*"
39258         exit 8
39259         ;;
39260     esac
39261 }
39262
39263 # Cleanup temporary files and output
39264 CleanUp() {
39265     cd ${D}curDir
39266     for i in ${D}inputFiles ; do
39267         case ${D}i in
39268         *!)
39269             rm -rf \`basnam ${D}i !\`
39270             ;;
39271         *)
39272             ;;
39273         esac
39274     done
39275
39276     # Kill result in case of failure as there is just to many stupid make/nmake
39277     # things out there which doesn't do this.
39278     if [ ${D}# -eq 0 ]; then
39279         rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39280     fi
39281 }
39282
39283 # Print usage and exit script with rc=1.
39284 PrintHelp() {
39285  echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39286  echo '       [-name-mangler-script script.sh]'
39287  echo '       [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39288  echo '       [-ord[inals]] -ex[clude] "symbol(s)"'
39289  echo '       [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39290  echo '       [*.o] [*.a]'
39291  echo '*> "output_file" should have no extension.'
39292  echo '   If it has the .o, .a or .dll extension, it is automatically removed.'
39293  echo '   The import library name is derived from this and is set to "name".a,'
39294  echo '   unless overridden by -import'
39295  echo '*> "importlib_name" should have no extension.'
39296  echo '   If it has the .o, or .a extension, it is automatically removed.'
39297  echo '   This name is used as the import library name and may be longer and'
39298  echo '   more descriptive than the DLL name which has to follow the old '
39299  echo '   8.3 convention of FAT.'
39300  echo '*> "script.sh may be given to override the output_file name by a'
39301  echo '   different name. It is mainly useful if the regular make process'
39302  echo '   of some package does not take into account OS/2 restriction of'
39303  echo '   DLL name lengths. It takes the importlib name as input and is'
39304  echo '   supposed to procude a shorter name as output. The script should'
39305  echo '   expect to get importlib_name without extension and should produce'
39306  echo '   a (max.) 8 letter name without extension.'
39307  echo '*> "cc" is used to use another GCC executable.   (default: gcc.exe)'
39308  echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39309  echo '   These flags will be put at the start of GCC command line.'
39310  echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39311  echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39312  echo '   multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39313  echo '   If the last character of a symbol is "*", all symbols beginning'
39314  echo '   with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39315  echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39316  echo '   TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39317  echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
39318  echo '   C runtime DLLs.'
39319  echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
39320  echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39321  echo '   unchanged to GCC at the end of command line.'
39322  echo '*> If you create a DLL from a library and you do not specify -o,'
39323  echo '   the basename for DLL and import library will be set to library name,'
39324  echo '   the initial library will be renamed to 'name'_s.a (_s for static)'
39325  echo '   i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39326  echo '   library will be renamed into gcc_s.a.'
39327  echo '--------'
39328  echo 'Example:'
39329  echo '   dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39330  echo '    -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39331  CleanUp
39332  exit 1
39333 }
39334
39335 # Execute a command.
39336 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39337 # @Uses    Whatever CleanUp() uses.
39338 doCommand() {
39339     echo "${D}*"
39340     eval ${D}*
39341     rcCmd=${D}?
39342
39343     if [ ${D}rcCmd -ne 0 ]; then
39344         echo "command failed, exit code="${D}rcCmd
39345         CleanUp
39346         exit ${D}rcCmd
39347     fi
39348 }
39349
39350 # main routine
39351 # setup globals
39352 cmdLine=${D}*
39353 outFile=""
39354 outimpFile=""
39355 inputFiles=""
39356 renameScript=""
39357 description=""
39358 CC=gcc.exe
39359 CFLAGS="-s -Zcrtdll"
39360 EXTRA_CFLAGS=""
39361 EXPORT_BY_ORDINALS=0
39362 exclude_symbols=""
39363 library_flags=""
39364 curDir=\`pwd\`
39365 curDirS=curDir
39366 case ${D}curDirS in
39367 */)
39368   ;;
39369 *)
39370   curDirS=${D}{curDirS}"/"
39371   ;;
39372 esac
39373 # Parse commandline
39374 libsToLink=0
39375 omfLinking=0
39376 while [ ${D}1 ]; do
39377     case ${D}1 in
39378     -ord*)
39379         EXPORT_BY_ORDINALS=1;
39380         ;;
39381     -o*)
39382         shift
39383         outFile=${D}1
39384         ;;
39385     -i*)
39386         shift
39387         outimpFile=${D}1
39388         ;;
39389     -name-mangler-script)
39390         shift
39391         renameScript=${D}1
39392         ;;
39393     -d*)
39394         shift
39395         description=${D}1
39396         ;;
39397     -f*)
39398         shift
39399         CFLAGS=${D}1
39400         ;;
39401     -c*)
39402         shift
39403         CC=${D}1
39404         ;;
39405     -h*)
39406         PrintHelp
39407         ;;
39408     -ex*)
39409         shift
39410         exclude_symbols=${D}{exclude_symbols}${D}1" "
39411         ;;
39412     -libf*)
39413         shift
39414         library_flags=${D}{library_flags}${D}1" "
39415         ;;
39416     -nocrt*)
39417         CFLAGS="-s"
39418         ;;
39419     -nolxl*)
39420         flag_USE_LXLITE=0
39421         ;;
39422     -* | /*)
39423         case ${D}1 in
39424         -L* | -l*)
39425             libsToLink=1
39426             ;;
39427         -Zomf)
39428             omfLinking=1
39429             ;;
39430         *)
39431             ;;
39432         esac
39433         EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39434         ;;
39435     *.dll)
39436         EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39437         if [ ${D}omfLinking -eq 1 ]; then
39438             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39439         else
39440             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39441         fi
39442         ;;
39443     *)
39444         found=0;
39445         if [ ${D}libsToLink -ne 0 ]; then
39446             EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39447         else
39448             for file in ${D}1 ; do
39449                 if [ -f ${D}file ]; then
39450                     inputFiles="${D}{inputFiles} ${D}file"
39451                     found=1
39452                 fi
39453             done
39454             if [ ${D}found -eq 0 ]; then
39455                 echo "ERROR: No file(s) found: "${D}1
39456                 exit 8
39457             fi
39458         fi
39459       ;;
39460     esac
39461     shift
39462 done # iterate cmdline words
39463
39464 #
39465 if [ -z "${D}inputFiles" ]; then
39466     echo "dllar: no input files"
39467     PrintHelp
39468 fi
39469
39470 # Now extract all .o files from .a files
39471 newInputFiles=""
39472 for file in ${D}inputFiles ; do
39473     case ${D}file in
39474     *.a | *.lib)
39475         case ${D}file in
39476         *.a)
39477             suffix=".a"
39478             AR="ar"
39479             ;;
39480         *.lib)
39481             suffix=".lib"
39482             AR="emxomfar"
39483             EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39484             ;;
39485         *)
39486             ;;
39487         esac
39488         dirname=\`basnam ${D}file ${D}suffix\`"_%"
39489         mkdir ${D}dirname
39490         if [ ${D}? -ne 0 ]; then
39491             echo "Failed to create subdirectory ./${D}dirname"
39492             CleanUp
39493             exit 8;
39494         fi
39495         # Append '!' to indicate archive
39496         newInputFiles="${D}newInputFiles ${D}{dirname}!"
39497         doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39498         cd ${D}curDir
39499         found=0;
39500         for subfile in ${D}dirname/*.o* ; do
39501             if [ -f ${D}subfile ]; then
39502                 found=1
39503                 if [ -s ${D}subfile ]; then
39504                     # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39505                     newInputFiles="${D}newInputFiles ${D}subfile"
39506                 fi
39507             fi
39508         done
39509         if [ ${D}found -eq 0 ]; then
39510             echo "WARNING: there are no files in archive \\'${D}file\\'"
39511         fi
39512         ;;
39513     *)
39514         newInputFiles="${D}{newInputFiles} ${D}file"
39515         ;;
39516     esac
39517 done
39518 inputFiles="${D}newInputFiles"
39519
39520 # Output filename(s).
39521 do_backup=0;
39522 if [ -z ${D}outFile ]; then
39523     do_backup=1;
39524     set outFile ${D}inputFiles; outFile=${D}2
39525 fi
39526
39527 # If it is an archive, remove the '!' and the '_%' suffixes
39528 case ${D}outFile in
39529 *_%!)
39530     outFile=\`basnam ${D}outFile _%!\`
39531     ;;
39532 *)
39533     ;;
39534 esac
39535 case ${D}outFile in
39536 *.dll)
39537     outFile=\`basnam ${D}outFile .dll\`
39538     ;;
39539 *.DLL)
39540     outFile=\`basnam ${D}outFile .DLL\`
39541     ;;
39542 *.o)
39543     outFile=\`basnam ${D}outFile .o\`
39544     ;;
39545 *.obj)
39546     outFile=\`basnam ${D}outFile .obj\`
39547     ;;
39548 *.a)
39549     outFile=\`basnam ${D}outFile .a\`
39550     ;;
39551 *.lib)
39552     outFile=\`basnam ${D}outFile .lib\`
39553     ;;
39554 *)
39555     ;;
39556 esac
39557 case ${D}outimpFile in
39558 *.a)
39559     outimpFile=\`basnam ${D}outimpFile .a\`
39560     ;;
39561 *.lib)
39562     outimpFile=\`basnam ${D}outimpFile .lib\`
39563     ;;
39564 *)
39565     ;;
39566 esac
39567 if [ -z ${D}outimpFile ]; then
39568     outimpFile=${D}outFile
39569 fi
39570 defFile="${D}{outFile}.def"
39571 arcFile="${D}{outimpFile}.a"
39572 arcFile2="${D}{outimpFile}.lib"
39573
39574 #create ${D}dllFile as something matching 8.3 restrictions,
39575 if [ -z ${D}renameScript ] ; then
39576     dllFile="${D}outFile"
39577 else
39578     dllFile=\`${D}renameScript ${D}outimpFile\`
39579 fi
39580
39581 if [ ${D}do_backup -ne 0 ] ; then
39582     if [ -f ${D}arcFile ] ; then
39583         doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39584     fi
39585     if [ -f ${D}arcFile2 ] ; then
39586         doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39587     fi
39588 fi
39589
39590 # Extract public symbols from all the object files.
39591 tmpdefFile=${D}{defFile}_%
39592 rm -f ${D}tmpdefFile
39593 for file in ${D}inputFiles ; do
39594     case ${D}file in
39595     *!)
39596         ;;
39597     *)
39598         doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39599         ;;
39600     esac
39601 done
39602
39603 # Create the def file.
39604 rm -f ${D}defFile
39605 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39606 dllFile="${D}{dllFile}.dll"
39607 if [ ! -z ${D}description ]; then
39608     echo "DESCRIPTION  \\"${D}{description}\\"" >> ${D}defFile
39609 fi
39610 echo "EXPORTS" >> ${D}defFile
39611
39612 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39613 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39614
39615 # Checks if the export is ok or not.
39616 for word in ${D}exclude_symbols; do
39617     grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39618     mv ${D}{tmpdefFile}% ${D}tmpdefFile
39619 done
39620
39621
39622 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39623     sed "=" < ${D}tmpdefFile | \\
39624     sed '
39625       N
39626       : loop
39627       s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39628       t loop
39629     ' > ${D}{tmpdefFile}%
39630     grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39631 else
39632     rm -f ${D}{tmpdefFile}%
39633 fi
39634 cat ${D}tmpdefFile >> ${D}defFile
39635 rm -f ${D}tmpdefFile
39636
39637 # Do linking, create implib, and apply lxlite.
39638 gccCmdl="";
39639 for file in ${D}inputFiles ; do
39640     case ${D}file in
39641     *!)
39642         ;;
39643     *)
39644         gccCmdl="${D}gccCmdl ${D}file"
39645         ;;
39646     esac
39647 done
39648 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39649 touch "${D}{outFile}.dll"
39650
39651 doCommand "emximp -o ${D}arcFile ${D}defFile"
39652 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39653     add_flags="";
39654     if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39655         add_flags="-ynd"
39656     fi
39657     doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39658 fi
39659 doCommand "emxomf -s -l ${D}arcFile"
39660
39661 # Successful exit.
39662 CleanUp 1
39663 exit 0
39664 EOF
39665
39666         chmod +x dllar.sh
39667       ;;
39668
39669       powerpc-apple-macos* | \
39670       *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
39671       *-*-mirbsd* | \
39672       *-*-sunos4* | \
39673       *-*-osf* | \
39674       *-*-dgux5* | \
39675       *-*-sysv5* | \
39676       *-pc-msdosdjgpp )
39677               ;;
39678
39679       *)
39680         as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
39681     esac
39682
39683     if test "x$PIC_FLAG" != "x" ; then
39684         PIC_FLAG="$PIC_FLAG -DPIC"
39685     fi
39686
39687     if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39688         SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39689     fi
39690     if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39691         SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39692     fi
39693
39694
39695
39696
39697
39698
39699
39700
39701
39702     USE_SOVERSION=0
39703     USE_SOVERLINUX=0
39704     USE_SOVERSOLARIS=0
39705     USE_SOVERCYGWIN=0
39706     USE_SOTWOSYMLINKS=0
39707     USE_MACVERSION=0
39708     SONAME_FLAG=
39709
39710     case "${BAKEFILE_HOST}" in
39711       *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39712       *-*-k*bsd*-gnu | *-*-mirbsd* )
39713         if test "x$SUNCXX" = "xyes"; then
39714             SONAME_FLAG="-h "
39715         else
39716             SONAME_FLAG="-Wl,-soname,"
39717         fi
39718         USE_SOVERSION=1
39719         USE_SOVERLINUX=1
39720         USE_SOTWOSYMLINKS=1
39721       ;;
39722
39723       *-*-solaris2* )
39724         SONAME_FLAG="-h "
39725         USE_SOVERSION=1
39726         USE_SOVERSOLARIS=1
39727       ;;
39728
39729       *-*-darwin* )
39730         USE_MACVERSION=1
39731         USE_SOVERSION=1
39732         USE_SOTWOSYMLINKS=1
39733       ;;
39734
39735       *-*-cygwin* )
39736         USE_SOVERSION=1
39737         USE_SOVERCYGWIN=1
39738       ;;
39739     esac
39740
39741
39742
39743
39744
39745
39746
39747
39748
39749
39750     # Check whether --enable-dependency-tracking was given.
39751 if test "${enable_dependency_tracking+set}" = set; then :
39752   enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
39753 fi
39754
39755
39756     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39757 $as_echo_n "checking for dependency tracking method... " >&6; }
39758
39759     BK_DEPS=""
39760     if test "x$bk_use_trackdeps" = "xno" ; then
39761         DEPS_TRACKING=0
39762         { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39763 $as_echo "disabled" >&6; }
39764     else
39765         DEPS_TRACKING=1
39766
39767         if test "x$GCC" = "xyes"; then
39768             DEPSMODE=gcc
39769             DEPSFLAG="-MMD"
39770             { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39771 $as_echo "gcc" >&6; }
39772         elif test "x$MWCC" = "xyes"; then
39773             DEPSMODE=mwcc
39774             DEPSFLAG="-MM"
39775             { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39776 $as_echo "mwcc" >&6; }
39777         elif test "x$SUNCC" = "xyes"; then
39778             DEPSMODE=unixcc
39779             DEPSFLAG="-xM1"
39780             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39781 $as_echo "Sun cc" >&6; }
39782         elif test "x$SGICC" = "xyes"; then
39783             DEPSMODE=unixcc
39784             DEPSFLAG="-M"
39785             { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39786 $as_echo "SGI cc" >&6; }
39787         elif test "x$HPCC" = "xyes"; then
39788             DEPSMODE=unixcc
39789             DEPSFLAG="+make"
39790             { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39791 $as_echo "HP cc" >&6; }
39792         elif test "x$COMPAQCC" = "xyes"; then
39793             DEPSMODE=gcc
39794             DEPSFLAG="-MD"
39795             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39796 $as_echo "Compaq cc" >&6; }
39797         else
39798             DEPS_TRACKING=0
39799             { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39800 $as_echo "none" >&6; }
39801         fi
39802
39803         if test $DEPS_TRACKING = 1 ; then
39804
39805 D='$'
39806 cat <<EOF >bk-deps
39807 #!/bin/sh
39808
39809 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39810 # script. It is used to track C/C++ files dependencies in portable way.
39811 #
39812 # Permission is given to use this file in any way.
39813
39814 DEPSMODE=${DEPSMODE}
39815 DEPSFLAG="${DEPSFLAG}"
39816 DEPSDIRBASE=.deps
39817
39818 if test ${D}DEPSMODE = gcc ; then
39819     ${D}* ${D}{DEPSFLAG}
39820     status=${D}?
39821
39822     # determine location of created files:
39823     while test ${D}# -gt 0; do
39824         case "${D}1" in
39825             -o )
39826                 shift
39827                 objfile=${D}1
39828             ;;
39829             -* )
39830             ;;
39831             * )
39832                 srcfile=${D}1
39833             ;;
39834         esac
39835         shift
39836     done
39837     objfilebase=\`basename ${D}objfile\`
39838     builddir=\`dirname ${D}objfile\`
39839     depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39840     depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39841     depsdir=${D}builddir/${D}DEPSDIRBASE
39842     mkdir -p ${D}depsdir
39843
39844     # if the compiler failed, we're done:
39845     if test ${D}{status} != 0 ; then
39846         rm -f ${D}depfile
39847         exit ${D}{status}
39848     fi
39849
39850     # move created file to the location we want it in:
39851     if test -f ${D}depfile ; then
39852         sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39853         rm -f ${D}depfile
39854     else
39855         # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39856         depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39857         if test ! -f ${D}depfile ; then
39858             # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39859             depfile="${D}objfile.d"
39860         fi
39861         if test -f ${D}depfile ; then
39862             sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39863             rm -f ${D}depfile
39864         fi
39865     fi
39866     exit 0
39867
39868 elif test ${D}DEPSMODE = mwcc ; then
39869     ${D}* || exit ${D}?
39870     # Run mwcc again with -MM and redirect into the dep file we want
39871     # NOTE: We can't use shift here because we need ${D}* to be valid
39872     prevarg=
39873     for arg in ${D}* ; do
39874         if test "${D}prevarg" = "-o"; then
39875             objfile=${D}arg
39876         else
39877             case "${D}arg" in
39878                 -* )
39879                 ;;
39880                 * )
39881                     srcfile=${D}arg
39882                 ;;
39883             esac
39884         fi
39885         prevarg="${D}arg"
39886     done
39887
39888     objfilebase=\`basename ${D}objfile\`
39889     builddir=\`dirname ${D}objfile\`
39890     depsdir=${D}builddir/${D}DEPSDIRBASE
39891     mkdir -p ${D}depsdir
39892
39893     ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39894     exit 0
39895
39896 elif test ${D}DEPSMODE = unixcc; then
39897     ${D}* || exit ${D}?
39898     # Run compiler again with deps flag and redirect into the dep file.
39899     # It doesn't work if the '-o FILE' option is used, but without it the
39900     # dependency file will contain the wrong name for the object. So it is
39901     # removed from the command line, and the dep file is fixed with sed.
39902     cmd=""
39903     while test ${D}# -gt 0; do
39904         case "${D}1" in
39905             -o )
39906                 shift
39907                 objfile=${D}1
39908             ;;
39909             * )
39910                 eval arg${D}#=\\${D}1
39911                 cmd="${D}cmd \\${D}arg${D}#"
39912             ;;
39913         esac
39914         shift
39915     done
39916
39917     objfilebase=\`basename ${D}objfile\`
39918     builddir=\`dirname ${D}objfile\`
39919     depsdir=${D}builddir/${D}DEPSDIRBASE
39920     mkdir -p ${D}depsdir
39921
39922     eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39923     exit 0
39924
39925 else
39926     ${D}*
39927     exit ${D}?
39928 fi
39929 EOF
39930
39931             chmod +x bk-deps
39932                                     BK_DEPS="`pwd`/bk-deps"
39933         fi
39934     fi
39935
39936
39937
39938
39939
39940     case ${BAKEFILE_HOST} in
39941         *-*-cygwin* | *-*-mingw32* )
39942                         if test -n "$ac_tool_prefix"; then
39943   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39944 set dummy ${ac_tool_prefix}windres; ac_word=$2
39945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39946 $as_echo_n "checking for $ac_word... " >&6; }
39947 if ${ac_cv_prog_WINDRES+:} false; then :
39948   $as_echo_n "(cached) " >&6
39949 else
39950   if test -n "$WINDRES"; then
39951   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39952 else
39953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39954 for as_dir in $PATH
39955 do
39956   IFS=$as_save_IFS
39957   test -z "$as_dir" && as_dir=.
39958     for ac_exec_ext in '' $ac_executable_extensions; do
39959   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39960     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39961     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39962     break 2
39963   fi
39964 done
39965   done
39966 IFS=$as_save_IFS
39967
39968 fi
39969 fi
39970 WINDRES=$ac_cv_prog_WINDRES
39971 if test -n "$WINDRES"; then
39972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39973 $as_echo "$WINDRES" >&6; }
39974 else
39975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39976 $as_echo "no" >&6; }
39977 fi
39978
39979
39980 fi
39981 if test -z "$ac_cv_prog_WINDRES"; then
39982   ac_ct_WINDRES=$WINDRES
39983   # Extract the first word of "windres", so it can be a program name with args.
39984 set dummy windres; ac_word=$2
39985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39986 $as_echo_n "checking for $ac_word... " >&6; }
39987 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
39988   $as_echo_n "(cached) " >&6
39989 else
39990   if test -n "$ac_ct_WINDRES"; then
39991   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39992 else
39993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39994 for as_dir in $PATH
39995 do
39996   IFS=$as_save_IFS
39997   test -z "$as_dir" && as_dir=.
39998     for ac_exec_ext in '' $ac_executable_extensions; do
39999   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40000     ac_cv_prog_ac_ct_WINDRES="windres"
40001     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40002     break 2
40003   fi
40004 done
40005   done
40006 IFS=$as_save_IFS
40007
40008 fi
40009 fi
40010 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
40011 if test -n "$ac_ct_WINDRES"; then
40012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
40013 $as_echo "$ac_ct_WINDRES" >&6; }
40014 else
40015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40016 $as_echo "no" >&6; }
40017 fi
40018
40019   if test "x$ac_ct_WINDRES" = x; then
40020     WINDRES=""
40021   else
40022     case $cross_compiling:$ac_tool_warned in
40023 yes:)
40024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
40025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
40026 ac_tool_warned=yes ;;
40027 esac
40028     WINDRES=$ac_ct_WINDRES
40029   fi
40030 else
40031   WINDRES="$ac_cv_prog_WINDRES"
40032 fi
40033
40034          ;;
40035
40036       *-*-darwin* | powerpc-apple-macos* )
40037             # Extract the first word of "Rez", so it can be a program name with args.
40038 set dummy Rez; ac_word=$2
40039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40040 $as_echo_n "checking for $ac_word... " >&6; }
40041 if ${ac_cv_prog_REZ+:} false; then :
40042   $as_echo_n "(cached) " >&6
40043 else
40044   if test -n "$REZ"; then
40045   ac_cv_prog_REZ="$REZ" # Let the user override the test.
40046 else
40047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40048 for as_dir in $PATH
40049 do
40050   IFS=$as_save_IFS
40051   test -z "$as_dir" && as_dir=.
40052     for ac_exec_ext in '' $ac_executable_extensions; do
40053   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40054     ac_cv_prog_REZ="Rez"
40055     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40056     break 2
40057   fi
40058 done
40059   done
40060 IFS=$as_save_IFS
40061
40062   test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
40063 fi
40064 fi
40065 REZ=$ac_cv_prog_REZ
40066 if test -n "$REZ"; then
40067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
40068 $as_echo "$REZ" >&6; }
40069 else
40070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40071 $as_echo "no" >&6; }
40072 fi
40073
40074
40075             # Extract the first word of "SetFile", so it can be a program name with args.
40076 set dummy SetFile; ac_word=$2
40077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40078 $as_echo_n "checking for $ac_word... " >&6; }
40079 if ${ac_cv_prog_SETFILE+:} false; then :
40080   $as_echo_n "(cached) " >&6
40081 else
40082   if test -n "$SETFILE"; then
40083   ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
40084 else
40085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40086 for as_dir in $PATH
40087 do
40088   IFS=$as_save_IFS
40089   test -z "$as_dir" && as_dir=.
40090     for ac_exec_ext in '' $ac_executable_extensions; do
40091   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40092     ac_cv_prog_SETFILE="SetFile"
40093     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40094     break 2
40095   fi
40096 done
40097   done
40098 IFS=$as_save_IFS
40099
40100   test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
40101 fi
40102 fi
40103 SETFILE=$ac_cv_prog_SETFILE
40104 if test -n "$SETFILE"; then
40105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
40106 $as_echo "$SETFILE" >&6; }
40107 else
40108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40109 $as_echo "no" >&6; }
40110 fi
40111
40112
40113         ;;
40114     esac
40115
40116
40117
40118
40119
40120
40121
40122
40123
40124     BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
40125
40126
40127 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
40128
40129
40130
40131     # Check whether --enable-precomp-headers was given.
40132 if test "${enable_precomp_headers+set}" = set; then :
40133   enableval=$enable_precomp_headers; bk_use_pch="$enableval"
40134 fi
40135
40136
40137     GCC_PCH=0
40138     ICC_PCH=0
40139     USE_PCH=0
40140     BK_MAKE_PCH=""
40141
40142     case ${BAKEFILE_HOST} in
40143         *-*-cygwin* )
40144                                                 bk_use_pch="no"
40145             ;;
40146     esac
40147
40148     if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40149         if test "x$GCC" = "xyes"; then
40150                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
40151 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
40152             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40153 /* end confdefs.h.  */
40154
40155 int
40156 main ()
40157 {
40158
40159                     #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40160                         There is no PCH support
40161                     #endif
40162                     #if (__GNUC__ < 3)
40163                         There is no PCH support
40164                     #endif
40165                     #if (__GNUC__ == 3) && \
40166                        ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40167                        ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
40168                        ( defined(__INTEL_COMPILER) )
40169                         There is no PCH support
40170                     #endif
40171
40172   ;
40173   return 0;
40174 }
40175 _ACEOF
40176 if ac_fn_c_try_compile "$LINENO"; then :
40177
40178                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40179 $as_echo "yes" >&6; }
40180                     GCC_PCH=1
40181
40182 else
40183
40184                     if test "$INTELCXX8" = "yes"; then
40185                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40186 $as_echo "yes" >&6; }
40187                         ICC_PCH=1
40188                         if test "$INTELCXX10" = "yes"; then
40189                             ICC_PCH_CREATE_SWITCH="-pch-create"
40190                             ICC_PCH_USE_SWITCH="-pch-use"
40191                         else
40192                             ICC_PCH_CREATE_SWITCH="-create-pch"
40193                             ICC_PCH_USE_SWITCH="-use-pch"
40194                         fi
40195                     else
40196                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40197 $as_echo "no" >&6; }
40198                     fi
40199
40200 fi
40201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40202             if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
40203                 USE_PCH=1
40204
40205 D='$'
40206 cat <<EOF >bk-make-pch
40207 #!/bin/sh
40208
40209 # This script is part of Bakefile (http://www.bakefile.org) autoconf
40210 # script. It is used to generated precompiled headers.
40211 #
40212 # Permission is given to use this file in any way.
40213
40214 outfile="${D}{1}"
40215 header="${D}{2}"
40216 shift
40217 shift
40218
40219 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
40220
40221 compiler=""
40222 headerfile=""
40223
40224 while test ${D}{#} -gt 0; do
40225     add_to_cmdline=1
40226     case "${D}{1}" in
40227         -I* )
40228             incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40229             if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40230                 headerfile="${D}{incdir}/${D}{header}"
40231             fi
40232         ;;
40233         -use-pch|-use_pch|-pch-use )
40234             shift
40235             add_to_cmdline=0
40236         ;;
40237     esac
40238     if test ${D}add_to_cmdline = 1 ; then
40239         compiler="${D}{compiler} ${D}{1}"
40240     fi
40241     shift
40242 done
40243
40244 if test "x${D}{headerfile}" = "x" ; then
40245     echo "error: can't find header ${D}{header} in include paths" >&2
40246 else
40247     if test -f ${D}{outfile} ; then
40248         rm -f ${D}{outfile}
40249     else
40250         mkdir -p \`dirname ${D}{outfile}\`
40251     fi
40252     depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40253     mkdir -p ${D}{builddir}/.deps
40254     if test "x${GCC_PCH}" = "x1" ; then
40255         # can do this because gcc is >= 3.4:
40256         ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40257     elif test "x${ICC_PCH}" = "x1" ; then
40258         filename=pch_gen-${D}${D}
40259         file=${D}{filename}.c
40260         dfile=${D}{filename}.d
40261         cat > ${D}file <<EOT
40262 #include "${D}header"
40263 EOT
40264         # using -MF icc complains about differing command lines in creation/use
40265         ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
40266           sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
40267           rm -f ${D}file ${D}dfile ${D}{filename}.o
40268     fi
40269     exit ${D}{?}
40270 fi
40271 EOF
40272
40273                 chmod +x bk-make-pch
40274                                                                 BK_MAKE_PCH="`pwd`/bk-make-pch"
40275             fi
40276         fi
40277     fi
40278
40279
40280
40281
40282
40283
40284
40285     COND_BUILD_debug="#"
40286     if test "x$BUILD" = "xdebug" ; then
40287         COND_BUILD_debug=""
40288     fi
40289
40290     COND_BUILD_debug_DEBUG_INFO_default="#"
40291     if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40292         COND_BUILD_debug_DEBUG_INFO_default=""
40293     fi
40294
40295     COND_BUILD_release="#"
40296     if test "x$BUILD" = "xrelease" ; then
40297         COND_BUILD_release=""
40298     fi
40299
40300     COND_BUILD_release_DEBUG_INFO_default="#"
40301     if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40302         COND_BUILD_release_DEBUG_INFO_default=""
40303     fi
40304
40305     COND_DEBUG_FLAG_0="#"
40306     if test "x$DEBUG_FLAG" = "x0" ; then
40307         COND_DEBUG_FLAG_0=""
40308     fi
40309
40310     COND_DEBUG_INFO_0="#"
40311     if test "x$DEBUG_INFO" = "x0" ; then
40312         COND_DEBUG_INFO_0=""
40313     fi
40314
40315     COND_DEBUG_INFO_1="#"
40316     if test "x$DEBUG_INFO" = "x1" ; then
40317         COND_DEBUG_INFO_1=""
40318     fi
40319
40320     COND_DEPS_TRACKING_0="#"
40321     if test "x$DEPS_TRACKING" = "x0" ; then
40322         COND_DEPS_TRACKING_0=""
40323     fi
40324
40325     COND_DEPS_TRACKING_1="#"
40326     if test "x$DEPS_TRACKING" = "x1" ; then
40327         COND_DEPS_TRACKING_1=""
40328     fi
40329
40330     COND_GCC_PCH_1="#"
40331     if test "x$GCC_PCH" = "x1" ; then
40332         COND_GCC_PCH_1=""
40333     fi
40334
40335     COND_ICC_PCH_1="#"
40336     if test "x$ICC_PCH" = "x1" ; then
40337         COND_ICC_PCH_1=""
40338     fi
40339
40340     COND_MONOLITHIC_0="#"
40341     if test "x$MONOLITHIC" = "x0" ; then
40342         COND_MONOLITHIC_0=""
40343     fi
40344
40345     COND_MONOLITHIC_0_SHARED_0="#"
40346     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40347         COND_MONOLITHIC_0_SHARED_0=""
40348     fi
40349
40350     COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
40351     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40352         COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
40353     fi
40354
40355     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40356     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40357         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40358     fi
40359
40360     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
40361     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40362         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
40363     fi
40364
40365     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
40366     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40367         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
40368     fi
40369
40370     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
40371     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40372         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
40373     fi
40374
40375     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
40376     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40377         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
40378     fi
40379
40380     COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
40381     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40382         COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
40383     fi
40384
40385     COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
40386     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40387         COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
40388     fi
40389
40390     COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
40391     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40392         COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
40393     fi
40394
40395     COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
40396     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40397         COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
40398     fi
40399
40400     COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40401     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40402         COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40403     fi
40404
40405     COND_MONOLITHIC_0_SHARED_1="#"
40406     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40407         COND_MONOLITHIC_0_SHARED_1=""
40408     fi
40409
40410     COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
40411     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40412         COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
40413     fi
40414
40415     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40416     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40417         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40418     fi
40419
40420     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
40421     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40422         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
40423     fi
40424
40425     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
40426     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40427         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
40428     fi
40429
40430     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
40431     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40432         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
40433     fi
40434
40435     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
40436     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40437         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
40438     fi
40439
40440     COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
40441     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40442         COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
40443     fi
40444
40445     COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
40446     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40447         COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
40448     fi
40449
40450     COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
40451     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40452         COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
40453     fi
40454
40455     COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
40456     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40457         COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
40458     fi
40459
40460     COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40461     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40462         COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40463     fi
40464
40465     COND_MONOLITHIC_0_USE_AUI_1="#"
40466     if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40467         COND_MONOLITHIC_0_USE_AUI_1=""
40468     fi
40469
40470     COND_MONOLITHIC_0_USE_GUI_1="#"
40471     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40472         COND_MONOLITHIC_0_USE_GUI_1=""
40473     fi
40474
40475     COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
40476     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40477         COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
40478     fi
40479
40480     COND_MONOLITHIC_0_USE_HTML_1="#"
40481     if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40482         COND_MONOLITHIC_0_USE_HTML_1=""
40483     fi
40484
40485     COND_MONOLITHIC_0_USE_MEDIA_1="#"
40486     if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40487         COND_MONOLITHIC_0_USE_MEDIA_1=""
40488     fi
40489
40490     COND_MONOLITHIC_0_USE_PROPGRID_1="#"
40491     if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40492         COND_MONOLITHIC_0_USE_PROPGRID_1=""
40493     fi
40494
40495     COND_MONOLITHIC_0_USE_QA_1="#"
40496     if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40497         COND_MONOLITHIC_0_USE_QA_1=""
40498     fi
40499
40500     COND_MONOLITHIC_0_USE_RIBBON_1="#"
40501     if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40502         COND_MONOLITHIC_0_USE_RIBBON_1=""
40503     fi
40504
40505     COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
40506     if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40507         COND_MONOLITHIC_0_USE_RICHTEXT_1=""
40508     fi
40509
40510     COND_MONOLITHIC_0_USE_STC_1="#"
40511     if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40512         COND_MONOLITHIC_0_USE_STC_1=""
40513     fi
40514
40515     COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
40516     if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40517         COND_MONOLITHIC_0_USE_WEBVIEW_1=""
40518     fi
40519
40520     COND_MONOLITHIC_0_USE_XRC_1="#"
40521     if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40522         COND_MONOLITHIC_0_USE_XRC_1=""
40523     fi
40524
40525     COND_MONOLITHIC_1="#"
40526     if test "x$MONOLITHIC" = "x1" ; then
40527         COND_MONOLITHIC_1=""
40528     fi
40529
40530     COND_MONOLITHIC_1_SHARED_0="#"
40531     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40532         COND_MONOLITHIC_1_SHARED_0=""
40533     fi
40534
40535     COND_MONOLITHIC_1_SHARED_1="#"
40536     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40537         COND_MONOLITHIC_1_SHARED_1=""
40538     fi
40539
40540     COND_MONOLITHIC_1_USE_STC_1="#"
40541     if test "x$MONOLITHIC" = "x1" -a "x$USE_STC" = "x1" ; then
40542         COND_MONOLITHIC_1_USE_STC_1=""
40543     fi
40544
40545     COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40546     if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40547         COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40548     fi
40549
40550     COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40551     if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40552         COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40553     fi
40554
40555     COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
40556     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40557         COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
40558     fi
40559
40560     COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40561     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40562         COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40563     fi
40564
40565     COND_PLATFORM_MACOSX_1="#"
40566     if test "x$PLATFORM_MACOSX" = "x1" ; then
40567         COND_PLATFORM_MACOSX_1=""
40568     fi
40569
40570     COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
40571     if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40572         COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
40573     fi
40574
40575     COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
40576     if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40577         COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
40578     fi
40579
40580     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40581     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40582         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40583     fi
40584
40585     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40586     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40587         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40588     fi
40589
40590     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40591     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40592         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40593     fi
40594
40595     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40596     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40597         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40598     fi
40599
40600     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40601     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40602         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40603     fi
40604
40605     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
40606     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40607         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
40608     fi
40609
40610     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40611     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40612         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40613     fi
40614
40615     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
40616     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40617         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
40618     fi
40619
40620     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40621     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40622         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40623     fi
40624
40625     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40626     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40627         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40628     fi
40629
40630     COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40631     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40632         COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40633     fi
40634
40635     COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
40636     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40637         COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
40638     fi
40639
40640     COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40641     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40642         COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40643     fi
40644
40645     COND_PLATFORM_MAC_0="#"
40646     if test "x$PLATFORM_MAC" = "x0" ; then
40647         COND_PLATFORM_MAC_0=""
40648     fi
40649
40650     COND_PLATFORM_MAC_1="#"
40651     if test "x$PLATFORM_MAC" = "x1" ; then
40652         COND_PLATFORM_MAC_1=""
40653     fi
40654
40655     COND_PLATFORM_MSDOS_0="#"
40656     if test "x$PLATFORM_MSDOS" = "x0" ; then
40657         COND_PLATFORM_MSDOS_0=""
40658     fi
40659
40660     COND_PLATFORM_MSDOS_1="#"
40661     if test "x$PLATFORM_MSDOS" = "x1" ; then
40662         COND_PLATFORM_MSDOS_1=""
40663     fi
40664
40665     COND_PLATFORM_OS2_1="#"
40666     if test "x$PLATFORM_OS2" = "x1" ; then
40667         COND_PLATFORM_OS2_1=""
40668     fi
40669
40670     COND_PLATFORM_UNIX_0="#"
40671     if test "x$PLATFORM_UNIX" = "x0" ; then
40672         COND_PLATFORM_UNIX_0=""
40673     fi
40674
40675     COND_PLATFORM_UNIX_1="#"
40676     if test "x$PLATFORM_UNIX" = "x1" ; then
40677         COND_PLATFORM_UNIX_1=""
40678     fi
40679
40680     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40681     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40682         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40683     fi
40684
40685     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40686     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40687         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40688     fi
40689
40690     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40691     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40692         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40693     fi
40694
40695     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40696     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40697         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40698     fi
40699
40700     COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40701     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40702         COND_PLATFORM_UNIX_1_USE_GUI_1=""
40703     fi
40704
40705     COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40706     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40707         COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40708     fi
40709
40710     COND_PLATFORM_WIN32_0="#"
40711     if test "x$PLATFORM_WIN32" = "x0" ; then
40712         COND_PLATFORM_WIN32_0=""
40713     fi
40714
40715     COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40716     if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40717         COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40718     fi
40719
40720     COND_PLATFORM_WIN32_1="#"
40721     if test "x$PLATFORM_WIN32" = "x1" ; then
40722         COND_PLATFORM_WIN32_1=""
40723     fi
40724
40725     COND_PLATFORM_WIN32_1_SHARED_0="#"
40726     if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40727         COND_PLATFORM_WIN32_1_SHARED_0=""
40728     fi
40729
40730     COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40731     if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40732         COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40733     fi
40734
40735     COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40736     if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40737         COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40738     fi
40739
40740     COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40741     if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40742         COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40743     fi
40744
40745     COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40746     if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40747         COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40748     fi
40749
40750     COND_SHARED_0="#"
40751     if test "x$SHARED" = "x0" ; then
40752         COND_SHARED_0=""
40753     fi
40754
40755     COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40756     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40757         COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40758     fi
40759
40760     COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40761     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40762         COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40763     fi
40764
40765     COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40766     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40767         COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40768     fi
40769
40770     COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40771     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40772         COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40773     fi
40774
40775     COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40776     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40777         COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40778     fi
40779
40780     COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40781     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40782         COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40783     fi
40784
40785     COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40786     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40787         COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40788     fi
40789
40790     COND_SHARED_0_USE_STC_1="#"
40791     if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40792         COND_SHARED_0_USE_STC_1=""
40793     fi
40794
40795     COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40796     if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40797         COND_SHARED_0_wxUSE_EXPAT_builtin=""
40798     fi
40799
40800     COND_SHARED_0_wxUSE_REGEX_builtin="#"
40801     if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40802         COND_SHARED_0_wxUSE_REGEX_builtin=""
40803     fi
40804
40805     COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40806     if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40807         COND_SHARED_0_wxUSE_ZLIB_builtin=""
40808     fi
40809
40810     COND_SHARED_1="#"
40811     if test "x$SHARED" = "x1" ; then
40812         COND_SHARED_1=""
40813     fi
40814
40815     COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40816     if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40817         COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40818     fi
40819
40820     COND_TOOLKIT_="#"
40821     if test "x$TOOLKIT" = "x" ; then
40822         COND_TOOLKIT_=""
40823     fi
40824
40825     COND_TOOLKIT_COCOA="#"
40826     if test "x$TOOLKIT" = "xCOCOA" ; then
40827         COND_TOOLKIT_COCOA=""
40828     fi
40829
40830     COND_TOOLKIT_COCOA_USE_GUI_1="#"
40831     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40832         COND_TOOLKIT_COCOA_USE_GUI_1=""
40833     fi
40834
40835     COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40836     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40837         COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40838     fi
40839
40840     COND_TOOLKIT_DFB="#"
40841     if test "x$TOOLKIT" = "xDFB" ; then
40842         COND_TOOLKIT_DFB=""
40843     fi
40844
40845     COND_TOOLKIT_DFB_USE_GUI_1="#"
40846     if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40847         COND_TOOLKIT_DFB_USE_GUI_1=""
40848     fi
40849
40850     COND_TOOLKIT_GTK="#"
40851     if test "x$TOOLKIT" = "xGTK" ; then
40852         COND_TOOLKIT_GTK=""
40853     fi
40854
40855     COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40856     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40857         COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40858     fi
40859
40860     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40861     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40862         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40863     fi
40864
40865     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40866     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40867         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40868     fi
40869
40870     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40871     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40872         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40873     fi
40874
40875     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1="#"
40876     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40877         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1=""
40878     fi
40879
40880     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40881     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40882         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40883     fi
40884
40885     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1="#"
40886     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x1" ; then
40887         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1=""
40888     fi
40889
40890     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40891     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40892         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40893     fi
40894
40895     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40896     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40897         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40898     fi
40899
40900     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40901     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40902         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40903     fi
40904
40905     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40906     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40907         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40908     fi
40909
40910     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40911     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40912         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40913     fi
40914
40915     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40916     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40917         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40918     fi
40919
40920     COND_TOOLKIT_GTK_USE_GUI_1="#"
40921     if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40922         COND_TOOLKIT_GTK_USE_GUI_1=""
40923     fi
40924
40925     COND_TOOLKIT_MAC="#"
40926     if test "x$TOOLKIT" = "xMAC" ; then
40927         COND_TOOLKIT_MAC=""
40928     fi
40929
40930     COND_TOOLKIT_MOTIF="#"
40931     if test "x$TOOLKIT" = "xMOTIF" ; then
40932         COND_TOOLKIT_MOTIF=""
40933     fi
40934
40935     COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40936     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40937         COND_TOOLKIT_MOTIF_USE_GUI_1=""
40938     fi
40939
40940     COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40941     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40942         COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40943     fi
40944
40945     COND_TOOLKIT_MSW="#"
40946     if test "x$TOOLKIT" = "xMSW" ; then
40947         COND_TOOLKIT_MSW=""
40948     fi
40949
40950     COND_TOOLKIT_MSW_USE_GUI_1="#"
40951     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40952         COND_TOOLKIT_MSW_USE_GUI_1=""
40953     fi
40954
40955     COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40956     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40957         COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40958     fi
40959
40960     COND_TOOLKIT_MSW_WXUNIV_0="#"
40961     if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40962         COND_TOOLKIT_MSW_WXUNIV_0=""
40963     fi
40964
40965     COND_TOOLKIT_OSX_CARBON="#"
40966     if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40967         COND_TOOLKIT_OSX_CARBON=""
40968     fi
40969
40970     COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40971     if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40972         COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40973     fi
40974
40975     COND_TOOLKIT_OSX_COCOA="#"
40976     if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40977         COND_TOOLKIT_OSX_COCOA=""
40978     fi
40979
40980     COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40981     if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40982         COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40983     fi
40984
40985     COND_TOOLKIT_OSX_IPHONE="#"
40986     if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40987         COND_TOOLKIT_OSX_IPHONE=""
40988     fi
40989
40990     COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40991     if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40992         COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40993     fi
40994
40995     COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40996     if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40997         COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40998     fi
40999
41000     COND_TOOLKIT_PM="#"
41001     if test "x$TOOLKIT" = "xPM" ; then
41002         COND_TOOLKIT_PM=""
41003     fi
41004
41005     COND_TOOLKIT_PM_USE_GUI_1="#"
41006     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41007         COND_TOOLKIT_PM_USE_GUI_1=""
41008     fi
41009
41010     COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
41011     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41012         COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
41013     fi
41014
41015     COND_TOOLKIT_WINCE="#"
41016     if test "x$TOOLKIT" = "xWINCE" ; then
41017         COND_TOOLKIT_WINCE=""
41018     fi
41019
41020     COND_TOOLKIT_WINCE_USE_GUI_1="#"
41021     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41022         COND_TOOLKIT_WINCE_USE_GUI_1=""
41023     fi
41024
41025     COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
41026     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41027         COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
41028     fi
41029
41030     COND_TOOLKIT_WINCE_WXUNIV_0="#"
41031     if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
41032         COND_TOOLKIT_WINCE_WXUNIV_0=""
41033     fi
41034
41035     COND_TOOLKIT_X11="#"
41036     if test "x$TOOLKIT" = "xX11" ; then
41037         COND_TOOLKIT_X11=""
41038     fi
41039
41040     COND_TOOLKIT_X11_USE_GUI_1="#"
41041     if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41042         COND_TOOLKIT_X11_USE_GUI_1=""
41043     fi
41044
41045     COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1="#"
41046     if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41047         COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1=""
41048     fi
41049
41050     COND_TOOLKIT_X11_WXUNIV_1="#"
41051     if test "x$TOOLKIT" = "xX11" -a "x$WXUNIV" = "x1" ; then
41052         COND_TOOLKIT_X11_WXUNIV_1=""
41053     fi
41054
41055     COND_UNICODE_1="#"
41056     if test "x$UNICODE" = "x1" ; then
41057         COND_UNICODE_1=""
41058     fi
41059
41060     COND_USE_CAIRO_1="#"
41061     if test "x$USE_CAIRO" = "x1" ; then
41062         COND_USE_CAIRO_1=""
41063     fi
41064
41065     COND_USE_EXCEPTIONS_0="#"
41066     if test "x$USE_EXCEPTIONS" = "x0" ; then
41067         COND_USE_EXCEPTIONS_0=""
41068     fi
41069
41070     COND_USE_EXCEPTIONS_1="#"
41071     if test "x$USE_EXCEPTIONS" = "x1" ; then
41072         COND_USE_EXCEPTIONS_1=""
41073     fi
41074
41075     COND_USE_GUI_0="#"
41076     if test "x$USE_GUI" = "x0" ; then
41077         COND_USE_GUI_0=""
41078     fi
41079
41080     COND_USE_GUI_1="#"
41081     if test "x$USE_GUI" = "x1" ; then
41082         COND_USE_GUI_1=""
41083     fi
41084
41085     COND_USE_GUI_1_USE_OPENGL_1="#"
41086     if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41087         COND_USE_GUI_1_USE_OPENGL_1=""
41088     fi
41089
41090     COND_USE_GUI_1_WXUNIV_0="#"
41091     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41092         COND_USE_GUI_1_WXUNIV_0=""
41093     fi
41094
41095     COND_USE_GUI_1_WXUNIV_1="#"
41096     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41097         COND_USE_GUI_1_WXUNIV_1=""
41098     fi
41099
41100     COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
41101     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41102         COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
41103     fi
41104
41105     COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
41106     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41107         COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
41108     fi
41109
41110     COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
41111     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41112         COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
41113     fi
41114
41115     COND_USE_OPENGL_1="#"
41116     if test "x$USE_OPENGL" = "x1" ; then
41117         COND_USE_OPENGL_1=""
41118     fi
41119
41120     COND_USE_PCH_1="#"
41121     if test "x$USE_PCH" = "x1" ; then
41122         COND_USE_PCH_1=""
41123     fi
41124
41125     COND_USE_PLUGINS_0="#"
41126     if test "x$USE_PLUGINS" = "x0" ; then
41127         COND_USE_PLUGINS_0=""
41128     fi
41129
41130     COND_USE_RTTI_0="#"
41131     if test "x$USE_RTTI" = "x0" ; then
41132         COND_USE_RTTI_0=""
41133     fi
41134
41135     COND_USE_RTTI_1="#"
41136     if test "x$USE_RTTI" = "x1" ; then
41137         COND_USE_RTTI_1=""
41138     fi
41139
41140     COND_USE_SOTWOSYMLINKS_1="#"
41141     if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
41142         COND_USE_SOTWOSYMLINKS_1=""
41143     fi
41144
41145     COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
41146     if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41147         COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
41148     fi
41149
41150     COND_USE_SOVERLINUX_1="#"
41151     if test "x$USE_SOVERLINUX" = "x1" ; then
41152         COND_USE_SOVERLINUX_1=""
41153     fi
41154
41155     COND_USE_SOVERSION_0="#"
41156     if test "x$USE_SOVERSION" = "x0" ; then
41157         COND_USE_SOVERSION_0=""
41158     fi
41159
41160     COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
41161     if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
41162         COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
41163     fi
41164
41165     COND_USE_SOVERSOLARIS_1="#"
41166     if test "x$USE_SOVERSOLARIS" = "x1" ; then
41167         COND_USE_SOVERSOLARIS_1=""
41168     fi
41169
41170     COND_USE_STC_1="#"
41171     if test "x$USE_STC" = "x1" ; then
41172         COND_USE_STC_1=""
41173     fi
41174
41175     COND_USE_THREADS_0="#"
41176     if test "x$USE_THREADS" = "x0" ; then
41177         COND_USE_THREADS_0=""
41178     fi
41179
41180     COND_USE_THREADS_1="#"
41181     if test "x$USE_THREADS" = "x1" ; then
41182         COND_USE_THREADS_1=""
41183     fi
41184
41185     COND_USE_XRC_1="#"
41186     if test "x$USE_XRC" = "x1" ; then
41187         COND_USE_XRC_1=""
41188     fi
41189
41190     COND_WINDOWS_IMPLIB_1="#"
41191     if test "x$WINDOWS_IMPLIB" = "x1" ; then
41192         COND_WINDOWS_IMPLIB_1=""
41193     fi
41194
41195     COND_WITH_PLUGIN_SDL_1="#"
41196     if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41197         COND_WITH_PLUGIN_SDL_1=""
41198     fi
41199
41200     COND_WXUNIV_0="#"
41201     if test "x$WXUNIV" = "x0" ; then
41202         COND_WXUNIV_0=""
41203     fi
41204
41205     COND_WXUNIV_1="#"
41206     if test "x$WXUNIV" = "x1" ; then
41207         COND_WXUNIV_1=""
41208     fi
41209
41210     COND_wxUSE_EXPAT_builtin="#"
41211     if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41212         COND_wxUSE_EXPAT_builtin=""
41213     fi
41214
41215     COND_wxUSE_LIBJPEG_builtin="#"
41216     if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41217         COND_wxUSE_LIBJPEG_builtin=""
41218     fi
41219
41220     COND_wxUSE_LIBPNG_builtin="#"
41221     if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41222         COND_wxUSE_LIBPNG_builtin=""
41223     fi
41224
41225     COND_wxUSE_LIBTIFF_builtin="#"
41226     if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41227         COND_wxUSE_LIBTIFF_builtin=""
41228     fi
41229
41230     COND_wxUSE_REGEX_builtin="#"
41231     if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41232         COND_wxUSE_REGEX_builtin=""
41233     fi
41234
41235     COND_wxUSE_ZLIB_builtin="#"
41236     if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41237         COND_wxUSE_ZLIB_builtin=""
41238     fi
41239
41240
41241
41242     if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
41243         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
41244     fi
41245
41246     if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41247         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
41248     fi
41249
41250
41251 case ${INSTALL} in
41252   /* ) # Absolute
41253      ;;
41254   ?:* ) # Drive letter, considered as absolute.
41255      ;;
41256   *)
41257      INSTALL=`pwd`/${INSTALL} ;;
41258 esac
41259
41260 if test "$wxUSE_GUI" = "yes"; then
41261
41262 if test "$wxUSE_MSW" = 1 ; then
41263     if test "x$WINDRES" = "x"; then
41264         as_fn_error $? "Required windres program not found" "$LINENO" 5
41265     fi
41266
41267     RESCOMP="$WINDRES"
41268 fi
41269
41270 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
41271             WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
41272     WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
41273
41274         LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
41275
41276     # Extract the first word of "DeRez", so it can be a program name with args.
41277 set dummy DeRez; ac_word=$2
41278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41279 $as_echo_n "checking for $ac_word... " >&6; }
41280 if ${ac_cv_prog_DEREZ+:} false; then :
41281   $as_echo_n "(cached) " >&6
41282 else
41283   if test -n "$DEREZ"; then
41284   ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
41285 else
41286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41287 for as_dir in $PATH
41288 do
41289   IFS=$as_save_IFS
41290   test -z "$as_dir" && as_dir=.
41291     for ac_exec_ext in '' $ac_executable_extensions; do
41292   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41293     ac_cv_prog_DEREZ="DeRez"
41294     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41295     break 2
41296   fi
41297 done
41298   done
41299 IFS=$as_save_IFS
41300
41301   test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
41302 fi
41303 fi
41304 DEREZ=$ac_cv_prog_DEREZ
41305 if test -n "$DEREZ"; then
41306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
41307 $as_echo "$DEREZ" >&6; }
41308 else
41309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41310 $as_echo "no" >&6; }
41311 fi
41312
41313
41314
41315     MACSETFILE="\$(SETFILE)"
41316
41317             if test "$wxUSE_OSX_CARBON" = 1; then
41318         POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
41319         RESCOMP="$REZ"
41320         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
41321     else
41322         POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
41323         RESCOMP="cat /dev/null \| $REZ"
41324         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41325     fi
41326
41327 else
41328         MACSETFILE="@true"
41329
41330     if test "$wxUSE_PM" = 1; then
41331         RESCOMP="emxbind"
41332         WXCONFIG_RESFLAGS="-ep"
41333
41334                 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
41335     else
41336         POSTLINK_COMMAND="@true"
41337     fi
41338 fi
41339
41340 fi
41341
41342
41343 if test $GCC_PCH = 1
41344 then
41345     if test "$wx_cv_gcc_pch_bug" = yes; then
41346         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41347 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41348         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41349 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41350         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41351 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41352     fi
41353
41354     # Our WX_PRECOMP flag does not make sense for any language except C++ because
41355     # the headers that benefit from precompilation are mostly C++ headers.
41356     CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41357     # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41358     #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41359 fi
41360
41361
41362 if test "$wxUSE_MAC" = 1 ; then
41363     if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41364         if test "x$disable_macosx_deps" = "xyes"; then
41365             sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
41366                 mv temp bk-deps
41367             chmod +x bk-deps
41368         fi
41369     fi
41370 fi
41371
41372 if test "$wxUSE_SHARED" = "yes"; then
41373                 case "${host}" in
41374       *-pc-os2_emx | *-pc-os2-emx )
41375         SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41376         SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41377         cp -p ${srcdir}/src/os2/dllnames.sh .
41378         cp -p ${srcdir}/src/os2/dllar.sh .
41379       ;;
41380     esac
41381 fi
41382 if test "$wxUSE_OMF" = "yes"; then
41383     case "${host}" in
41384       *-pc-os2_emx | *-pc-os2-emx )
41385         LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
41386         LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41387         WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41388       ;;
41389     esac
41390 fi
41391
41392 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41393
41394
41395 case "${host}" in
41396     *-*-solaris2* )
41397                         if test "$GCC" = yes; then
41398             CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
41399             LIBS=`echo $LIBS | sed 's/-mt//g'`
41400             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41401         fi
41402         ;;
41403
41404     *-*-linux* )
41405                         if test "x$SUNCXX" = xyes; then
41406             CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
41407             LIBS=`echo $LIBS | sed 's/-pthread//g'`
41408             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41409         fi
41410         ;;
41411 esac
41412
41413 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
41414 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41415 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
41416 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41417
41418 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41419
41420
41421
41422
41423
41424
41425
41426
41427
41428
41429
41430
41431
41432
41433
41434
41435
41436
41437
41438
41439
41440
41441
41442
41443
41444
41445
41446
41447
41448
41449
41450
41451
41452
41453
41454
41455
41456
41457
41458
41459
41460
41461
41462
41463
41464
41465
41466
41467
41468
41469
41470
41471
41472
41473
41474
41475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41476 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41477 set x ${MAKE-make}
41478 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41479 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
41480   $as_echo_n "(cached) " >&6
41481 else
41482   cat >conftest.make <<\_ACEOF
41483 SHELL = /bin/sh
41484 all:
41485         @echo '@@@%%%=$(MAKE)=@@@%%%'
41486 _ACEOF
41487 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41488 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41489   *@@@%%%=?*=@@@%%%*)
41490     eval ac_cv_prog_make_${ac_make}_set=yes;;
41491   *)
41492     eval ac_cv_prog_make_${ac_make}_set=no;;
41493 esac
41494 rm -f conftest.make
41495 fi
41496 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
41497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41498 $as_echo "yes" >&6; }
41499   SET_MAKE=
41500 else
41501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41502 $as_echo "no" >&6; }
41503   SET_MAKE="MAKE=${MAKE-make}"
41504 fi
41505
41506
41507
41508 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41509
41510
41511 if test "$USE_WIN32" = 1; then
41512     ac_config_commands="$ac_config_commands rcdefs.h"
41513
41514 fi
41515
41516 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41517
41518
41519 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41520
41521
41522 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
41523
41524
41525 if test "$wx_cv_version_script" = "yes"; then
41526     ac_config_files="$ac_config_files version-script"
41527
41528 fi
41529 ac_config_files="$ac_config_files Makefile"
41530
41531
41532 ac_config_commands="$ac_config_commands wx-config"
41533
41534
41535
41536 if test "$wxWITH_SUBDIRS" != "no"; then
41537 if test "$wxUSE_GUI" = "yes"; then
41538     SUBDIRS="samples demos utils"
41539 else
41540             SUBDIRS="samples utils"
41541 fi
41542
41543
41544
41545 # Check whether --with-cppunit-prefix was given.
41546 if test "${with_cppunit_prefix+set}" = set; then :
41547   withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
41548 else
41549   cppunit_config_prefix=""
41550 fi
41551
41552
41553 # Check whether --with-cppunit-exec-prefix was given.
41554 if test "${with_cppunit_exec_prefix+set}" = set; then :
41555   withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
41556 else
41557   cppunit_config_exec_prefix=""
41558 fi
41559
41560
41561   if test x$cppunit_config_exec_prefix != x ; then
41562      cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41563      if test x${CPPUNIT_CONFIG+set} != xset ; then
41564         CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41565      fi
41566   fi
41567   if test x$cppunit_config_prefix != x ; then
41568      cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41569      if test x${CPPUNIT_CONFIG+set} != xset ; then
41570         CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41571      fi
41572   fi
41573
41574   # Extract the first word of "cppunit-config", so it can be a program name with args.
41575 set dummy cppunit-config; ac_word=$2
41576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41577 $as_echo_n "checking for $ac_word... " >&6; }
41578 if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
41579   $as_echo_n "(cached) " >&6
41580 else
41581   case $CPPUNIT_CONFIG in
41582   [\\/]* | ?:[\\/]*)
41583   ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41584   ;;
41585   *)
41586   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41587 for as_dir in $PATH
41588 do
41589   IFS=$as_save_IFS
41590   test -z "$as_dir" && as_dir=.
41591     for ac_exec_ext in '' $ac_executable_extensions; do
41592   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41593     ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41594     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41595     break 2
41596   fi
41597 done
41598   done
41599 IFS=$as_save_IFS
41600
41601   test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41602   ;;
41603 esac
41604 fi
41605 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41606 if test -n "$CPPUNIT_CONFIG"; then
41607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41608 $as_echo "$CPPUNIT_CONFIG" >&6; }
41609 else
41610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41611 $as_echo "no" >&6; }
41612 fi
41613
41614
41615   cppunit_version_min=1.8.0
41616
41617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41618 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41619   no_cppunit=""
41620   if test "$CPPUNIT_CONFIG" = "no" ; then
41621     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41622 $as_echo "no" >&6; }
41623     no_cppunit=yes
41624   else
41625     CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41626     CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41627     cppunit_version=`$CPPUNIT_CONFIG --version`
41628
41629     cppunit_major_version=`echo $cppunit_version | \
41630            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41631     cppunit_minor_version=`echo $cppunit_version | \
41632            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41633     cppunit_micro_version=`echo $cppunit_version | \
41634            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41635
41636     cppunit_major_min=`echo $cppunit_version_min | \
41637            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41638     cppunit_minor_min=`echo $cppunit_version_min | \
41639            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41640     cppunit_micro_min=`echo $cppunit_version_min | \
41641            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41642
41643     cppunit_version_proper=`expr \
41644         $cppunit_major_version \> $cppunit_major_min \| \
41645         $cppunit_major_version \= $cppunit_major_min \& \
41646         $cppunit_minor_version \> $cppunit_minor_min \| \
41647         $cppunit_major_version \= $cppunit_major_min \& \
41648         $cppunit_minor_version \= $cppunit_minor_min \& \
41649         $cppunit_micro_version \>= $cppunit_micro_min `
41650
41651     if test "$cppunit_version_proper" = "1" ; then
41652       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41653 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41654     else
41655       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41656 $as_echo "no" >&6; }
41657       no_cppunit=yes
41658     fi
41659   fi
41660
41661   if test "x$no_cppunit" = x ; then
41662      SUBDIRS="$SUBDIRS tests"
41663   else
41664      CPPUNIT_CFLAGS=""
41665      CPPUNIT_LIBS=""
41666      :
41667   fi
41668
41669
41670
41671
41672
41673 for subdir in $SUBDIRS; do
41674     if test -d ${srcdir}/${subdir} ; then
41675         if test "$wxUSE_GUI" = "yes"; then
41676             if test ${subdir} = "samples"; then
41677                                                 makefiles="samples/Makefile.in $makefiles"
41678                 for sample in $SAMPLES_SUBDIRS; do
41679                     if test -d $srcdir/samples/$sample; then
41680                         makefiles="samples/$sample/Makefile.in $makefiles"
41681                     fi
41682                 done
41683             else
41684                                                                 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
41685                 eval "disabled=\$$disabled_var"
41686                 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
41687                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41688             fi
41689         else
41690                                     if test ${subdir} = "samples"; then
41691                                                 makefiles="samples/Makefile.in $makefiles"
41692                 for sample in `echo $SAMPLES_SUBDIRS`; do
41693                     if test -d $srcdir/samples/$sample; then
41694                         makefiles="samples/$sample/Makefile.in $makefiles"
41695                     fi
41696                 done
41697             elif test ${subdir} = "utils"; then
41698                 makefiles=""
41699                 for util in ifacecheck ; do
41700                     if test -d $srcdir/utils/$util ; then
41701                         makefiles="utils/$util/src/Makefile.in \
41702                                    $makefiles"
41703                     fi
41704                 done
41705             else
41706                                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41707             fi
41708         fi
41709
41710         for mkin in $makefiles ; do
41711             mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41712             ac_config_files="$ac_config_files $mk"
41713
41714         done
41715     fi
41716 done
41717 fi
41718 cat >confcache <<\_ACEOF
41719 # This file is a shell script that caches the results of configure
41720 # tests run on this system so they can be shared between configure
41721 # scripts and configure runs, see configure's option --config-cache.
41722 # It is not useful on other systems.  If it contains results you don't
41723 # want to keep, you may remove or edit it.
41724 #
41725 # config.status only pays attention to the cache file if you give it
41726 # the --recheck option to rerun configure.
41727 #
41728 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41729 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41730 # following values.
41731
41732 _ACEOF
41733
41734 # The following way of writing the cache mishandles newlines in values,
41735 # but we know of no workaround that is simple, portable, and efficient.
41736 # So, we kill variables containing newlines.
41737 # Ultrix sh set writes to stderr and can't be redirected directly,
41738 # and sets the high bit in the cache file unless we assign to the vars.
41739 (
41740   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41741     eval ac_val=\$$ac_var
41742     case $ac_val in #(
41743     *${as_nl}*)
41744       case $ac_var in #(
41745       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41746 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41747       esac
41748       case $ac_var in #(
41749       _ | IFS | as_nl) ;; #(
41750       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41751       *) { eval $ac_var=; unset $ac_var;} ;;
41752       esac ;;
41753     esac
41754   done
41755
41756   (set) 2>&1 |
41757     case $as_nl`(ac_space=' '; set) 2>&1` in #(
41758     *${as_nl}ac_space=\ *)
41759       # `set' does not quote correctly, so add quotes: double-quote
41760       # substitution turns \\\\ into \\, and sed turns \\ into \.
41761       sed -n \
41762         "s/'/'\\\\''/g;
41763           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41764       ;; #(
41765     *)
41766       # `set' quotes correctly as required by POSIX, so do not add quotes.
41767       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41768       ;;
41769     esac |
41770     sort
41771 ) |
41772   sed '
41773      /^ac_cv_env_/b end
41774      t clear
41775      :clear
41776      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41777      t end
41778      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41779      :end' >>confcache
41780 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41781   if test -w "$cache_file"; then
41782     if test "x$cache_file" != "x/dev/null"; then
41783       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41784 $as_echo "$as_me: updating cache $cache_file" >&6;}
41785       if test ! -f "$cache_file" || test -h "$cache_file"; then
41786         cat confcache >"$cache_file"
41787       else
41788         case $cache_file in #(
41789         */* | ?:*)
41790           mv -f confcache "$cache_file"$$ &&
41791           mv -f "$cache_file"$$ "$cache_file" ;; #(
41792         *)
41793           mv -f confcache "$cache_file" ;;
41794         esac
41795       fi
41796     fi
41797   else
41798     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41799 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41800   fi
41801 fi
41802 rm -f confcache
41803
41804 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41805 # Let make expand exec_prefix.
41806 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41807
41808 DEFS=-DHAVE_CONFIG_H
41809
41810 ac_libobjs=
41811 ac_ltlibobjs=
41812 U=
41813 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41814   # 1. Remove the extension, and $U if already installed.
41815   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41816   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41817   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
41818   #    will be set to the directory where LIBOBJS objects are built.
41819   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41820   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41821 done
41822 LIBOBJS=$ac_libobjs
41823
41824 LTLIBOBJS=$ac_ltlibobjs
41825
41826
41827
41828 : "${CONFIG_STATUS=./config.status}"
41829 ac_write_fail=0
41830 ac_clean_files_save=$ac_clean_files
41831 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41832 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41833 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41834 as_write_fail=0
41835 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41836 #! $SHELL
41837 # Generated by $as_me.
41838 # Run this file to recreate the current configuration.
41839 # Compiler output produced by configure, useful for debugging
41840 # configure, is in config.log if it exists.
41841
41842 debug=false
41843 ac_cs_recheck=false
41844 ac_cs_silent=false
41845
41846 SHELL=\${CONFIG_SHELL-$SHELL}
41847 export SHELL
41848 _ASEOF
41849 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41850 ## -------------------- ##
41851 ## M4sh Initialization. ##
41852 ## -------------------- ##
41853
41854 # Be more Bourne compatible
41855 DUALCASE=1; export DUALCASE # for MKS sh
41856 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41857   emulate sh
41858   NULLCMD=:
41859   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41860   # is contrary to our usage.  Disable this feature.
41861   alias -g '${1+"$@"}'='"$@"'
41862   setopt NO_GLOB_SUBST
41863 else
41864   case `(set -o) 2>/dev/null` in #(
41865   *posix*) :
41866     set -o posix ;; #(
41867   *) :
41868      ;;
41869 esac
41870 fi
41871
41872
41873 as_nl='
41874 '
41875 export as_nl
41876 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41877 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41878 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41879 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41880 # Prefer a ksh shell builtin over an external printf program on Solaris,
41881 # but without wasting forks for bash or zsh.
41882 if test -z "$BASH_VERSION$ZSH_VERSION" \
41883     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41884   as_echo='print -r --'
41885   as_echo_n='print -rn --'
41886 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41887   as_echo='printf %s\n'
41888   as_echo_n='printf %s'
41889 else
41890   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41891     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41892     as_echo_n='/usr/ucb/echo -n'
41893   else
41894     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41895     as_echo_n_body='eval
41896       arg=$1;
41897       case $arg in #(
41898       *"$as_nl"*)
41899         expr "X$arg" : "X\\(.*\\)$as_nl";
41900         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41901       esac;
41902       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41903     '
41904     export as_echo_n_body
41905     as_echo_n='sh -c $as_echo_n_body as_echo'
41906   fi
41907   export as_echo_body
41908   as_echo='sh -c $as_echo_body as_echo'
41909 fi
41910
41911 # The user is always right.
41912 if test "${PATH_SEPARATOR+set}" != set; then
41913   PATH_SEPARATOR=:
41914   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41915     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41916       PATH_SEPARATOR=';'
41917   }
41918 fi
41919
41920
41921 # IFS
41922 # We need space, tab and new line, in precisely that order.  Quoting is
41923 # there to prevent editors from complaining about space-tab.
41924 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41925 # splitting by setting IFS to empty value.)
41926 IFS=" ""        $as_nl"
41927
41928 # Find who we are.  Look in the path if we contain no directory separator.
41929 as_myself=
41930 case $0 in #((
41931   *[\\/]* ) as_myself=$0 ;;
41932   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41933 for as_dir in $PATH
41934 do
41935   IFS=$as_save_IFS
41936   test -z "$as_dir" && as_dir=.
41937     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41938   done
41939 IFS=$as_save_IFS
41940
41941      ;;
41942 esac
41943 # We did not find ourselves, most probably we were run as `sh COMMAND'
41944 # in which case we are not to be found in the path.
41945 if test "x$as_myself" = x; then
41946   as_myself=$0
41947 fi
41948 if test ! -f "$as_myself"; then
41949   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41950   exit 1
41951 fi
41952
41953 # Unset variables that we do not need and which cause bugs (e.g. in
41954 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
41955 # suppresses any "Segmentation fault" message there.  '((' could
41956 # trigger a bug in pdksh 5.2.14.
41957 for as_var in BASH_ENV ENV MAIL MAILPATH
41958 do eval test x\${$as_var+set} = xset \
41959   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41960 done
41961 PS1='$ '
41962 PS2='> '
41963 PS4='+ '
41964
41965 # NLS nuisances.
41966 LC_ALL=C
41967 export LC_ALL
41968 LANGUAGE=C
41969 export LANGUAGE
41970
41971 # CDPATH.
41972 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41973
41974
41975 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41976 # ----------------------------------------
41977 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41978 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41979 # script with STATUS, using 1 if that was 0.
41980 as_fn_error ()
41981 {
41982   as_status=$1; test $as_status -eq 0 && as_status=1
41983   if test "$4"; then
41984     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41985     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41986   fi
41987   $as_echo "$as_me: error: $2" >&2
41988   as_fn_exit $as_status
41989 } # as_fn_error
41990
41991
41992 # as_fn_set_status STATUS
41993 # -----------------------
41994 # Set $? to STATUS, without forking.
41995 as_fn_set_status ()
41996 {
41997   return $1
41998 } # as_fn_set_status
41999
42000 # as_fn_exit STATUS
42001 # -----------------
42002 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
42003 as_fn_exit ()
42004 {
42005   set +e
42006   as_fn_set_status $1
42007   exit $1
42008 } # as_fn_exit
42009
42010 # as_fn_unset VAR
42011 # ---------------
42012 # Portably unset VAR.
42013 as_fn_unset ()
42014 {
42015   { eval $1=; unset $1;}
42016 }
42017 as_unset=as_fn_unset
42018 # as_fn_append VAR VALUE
42019 # ----------------------
42020 # Append the text in VALUE to the end of the definition contained in VAR. Take
42021 # advantage of any shell optimizations that allow amortized linear growth over
42022 # repeated appends, instead of the typical quadratic growth present in naive
42023 # implementations.
42024 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
42025   eval 'as_fn_append ()
42026   {
42027     eval $1+=\$2
42028   }'
42029 else
42030   as_fn_append ()
42031   {
42032     eval $1=\$$1\$2
42033   }
42034 fi # as_fn_append
42035
42036 # as_fn_arith ARG...
42037 # ------------------
42038 # Perform arithmetic evaluation on the ARGs, and store the result in the
42039 # global $as_val. Take advantage of shells that can avoid forks. The arguments
42040 # must be portable across $(()) and expr.
42041 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
42042   eval 'as_fn_arith ()
42043   {
42044     as_val=$(( $* ))
42045   }'
42046 else
42047   as_fn_arith ()
42048   {
42049     as_val=`expr "$@" || test $? -eq 1`
42050   }
42051 fi # as_fn_arith
42052
42053
42054 if expr a : '\(a\)' >/dev/null 2>&1 &&
42055    test "X`expr 00001 : '.*\(...\)'`" = X001; then
42056   as_expr=expr
42057 else
42058   as_expr=false
42059 fi
42060
42061 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
42062   as_basename=basename
42063 else
42064   as_basename=false
42065 fi
42066
42067 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
42068   as_dirname=dirname
42069 else
42070   as_dirname=false
42071 fi
42072
42073 as_me=`$as_basename -- "$0" ||
42074 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42075          X"$0" : 'X\(//\)$' \| \
42076          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
42077 $as_echo X/"$0" |
42078     sed '/^.*\/\([^/][^/]*\)\/*$/{
42079             s//\1/
42080             q
42081           }
42082           /^X\/\(\/\/\)$/{
42083             s//\1/
42084             q
42085           }
42086           /^X\/\(\/\).*/{
42087             s//\1/
42088             q
42089           }
42090           s/.*/./; q'`
42091
42092 # Avoid depending upon Character Ranges.
42093 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
42094 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42095 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42096 as_cr_digits='0123456789'
42097 as_cr_alnum=$as_cr_Letters$as_cr_digits
42098
42099 ECHO_C= ECHO_N= ECHO_T=
42100 case `echo -n x` in #(((((
42101 -n*)
42102   case `echo 'xy\c'` in
42103   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
42104   xy)  ECHO_C='\c';;
42105   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
42106        ECHO_T=' ';;
42107   esac;;
42108 *)
42109   ECHO_N='-n';;
42110 esac
42111
42112 rm -f conf$$ conf$$.exe conf$$.file
42113 if test -d conf$$.dir; then
42114   rm -f conf$$.dir/conf$$.file
42115 else
42116   rm -f conf$$.dir
42117   mkdir conf$$.dir 2>/dev/null
42118 fi
42119 if (echo >conf$$.file) 2>/dev/null; then
42120   if ln -s conf$$.file conf$$ 2>/dev/null; then
42121     as_ln_s='ln -s'
42122     # ... but there are two gotchas:
42123     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
42124     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
42125     # In both cases, we have to default to `cp -pR'.
42126     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
42127       as_ln_s='cp -pR'
42128   elif ln conf$$.file conf$$ 2>/dev/null; then
42129     as_ln_s=ln
42130   else
42131     as_ln_s='cp -pR'
42132   fi
42133 else
42134   as_ln_s='cp -pR'
42135 fi
42136 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
42137 rmdir conf$$.dir 2>/dev/null
42138
42139
42140 # as_fn_mkdir_p
42141 # -------------
42142 # Create "$as_dir" as a directory, including parents if necessary.
42143 as_fn_mkdir_p ()
42144 {
42145
42146   case $as_dir in #(
42147   -*) as_dir=./$as_dir;;
42148   esac
42149   test -d "$as_dir" || eval $as_mkdir_p || {
42150     as_dirs=
42151     while :; do
42152       case $as_dir in #(
42153       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
42154       *) as_qdir=$as_dir;;
42155       esac
42156       as_dirs="'$as_qdir' $as_dirs"
42157       as_dir=`$as_dirname -- "$as_dir" ||
42158 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42159          X"$as_dir" : 'X\(//\)[^/]' \| \
42160          X"$as_dir" : 'X\(//\)$' \| \
42161          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
42162 $as_echo X"$as_dir" |
42163     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42164             s//\1/
42165             q
42166           }
42167           /^X\(\/\/\)[^/].*/{
42168             s//\1/
42169             q
42170           }
42171           /^X\(\/\/\)$/{
42172             s//\1/
42173             q
42174           }
42175           /^X\(\/\).*/{
42176             s//\1/
42177             q
42178           }
42179           s/.*/./; q'`
42180       test -d "$as_dir" && break
42181     done
42182     test -z "$as_dirs" || eval "mkdir $as_dirs"
42183   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
42184
42185
42186 } # as_fn_mkdir_p
42187 if mkdir -p . 2>/dev/null; then
42188   as_mkdir_p='mkdir -p "$as_dir"'
42189 else
42190   test -d ./-p && rmdir ./-p
42191   as_mkdir_p=false
42192 fi
42193
42194
42195 # as_fn_executable_p FILE
42196 # -----------------------
42197 # Test if FILE is an executable regular file.
42198 as_fn_executable_p ()
42199 {
42200   test -f "$1" && test -x "$1"
42201 } # as_fn_executable_p
42202 as_test_x='test -x'
42203 as_executable_p=as_fn_executable_p
42204
42205 # Sed expression to map a string onto a valid CPP name.
42206 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42207
42208 # Sed expression to map a string onto a valid variable name.
42209 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42210
42211
42212 exec 6>&1
42213 ## ----------------------------------- ##
42214 ## Main body of $CONFIG_STATUS script. ##
42215 ## ----------------------------------- ##
42216 _ASEOF
42217 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
42218
42219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42220 # Save the log message, to keep $0 and so on meaningful, and to
42221 # report actual input values of CONFIG_FILES etc. instead of their
42222 # values after options handling.
42223 ac_log="
42224 This file was extended by wxWidgets $as_me 2.9.5, which was
42225 generated by GNU Autoconf 2.69.  Invocation command line was
42226
42227   CONFIG_FILES    = $CONFIG_FILES
42228   CONFIG_HEADERS  = $CONFIG_HEADERS
42229   CONFIG_LINKS    = $CONFIG_LINKS
42230   CONFIG_COMMANDS = $CONFIG_COMMANDS
42231   $ $0 $@
42232
42233 on `(hostname || uname -n) 2>/dev/null | sed 1q`
42234 "
42235
42236 _ACEOF
42237
42238 case $ac_config_files in *"
42239 "*) set x $ac_config_files; shift; ac_config_files=$*;;
42240 esac
42241
42242 case $ac_config_headers in *"
42243 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
42244 esac
42245
42246
42247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42248 # Files that config.status was made for.
42249 config_files="$ac_config_files"
42250 config_headers="$ac_config_headers"
42251 config_commands="$ac_config_commands"
42252
42253 _ACEOF
42254
42255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42256 ac_cs_usage="\
42257 \`$as_me' instantiates files and other configuration actions
42258 from templates according to the current configuration.  Unless the files
42259 and actions are specified as TAGs, all are instantiated by default.
42260
42261 Usage: $0 [OPTION]... [TAG]...
42262
42263   -h, --help       print this help, then exit
42264   -V, --version    print version number and configuration settings, then exit
42265       --config     print configuration, then exit
42266   -q, --quiet, --silent
42267                    do not print progress messages
42268   -d, --debug      don't remove temporary files
42269       --recheck    update $as_me by reconfiguring in the same conditions
42270       --file=FILE[:TEMPLATE]
42271                    instantiate the configuration file FILE
42272       --header=FILE[:TEMPLATE]
42273                    instantiate the configuration header FILE
42274
42275 Configuration files:
42276 $config_files
42277
42278 Configuration headers:
42279 $config_headers
42280
42281 Configuration commands:
42282 $config_commands
42283
42284 Report bugs to <wx-dev@lists.wxwidgets.org>."
42285
42286 _ACEOF
42287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42288 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42289 ac_cs_version="\\
42290 wxWidgets config.status 2.9.5
42291 configured by $0, generated by GNU Autoconf 2.69,
42292   with options \\"\$ac_cs_config\\"
42293
42294 Copyright (C) 2012 Free Software Foundation, Inc.
42295 This config.status script is free software; the Free Software Foundation
42296 gives unlimited permission to copy, distribute and modify it."
42297
42298 ac_pwd='$ac_pwd'
42299 srcdir='$srcdir'
42300 INSTALL='$INSTALL'
42301 test -n "\$AWK" || AWK=awk
42302 _ACEOF
42303
42304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42305 # The default lists apply if the user does not specify any file.
42306 ac_need_defaults=:
42307 while test $# != 0
42308 do
42309   case $1 in
42310   --*=?*)
42311     ac_option=`expr "X$1" : 'X\([^=]*\)='`
42312     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
42313     ac_shift=:
42314     ;;
42315   --*=)
42316     ac_option=`expr "X$1" : 'X\([^=]*\)='`
42317     ac_optarg=
42318     ac_shift=:
42319     ;;
42320   *)
42321     ac_option=$1
42322     ac_optarg=$2
42323     ac_shift=shift
42324     ;;
42325   esac
42326
42327   case $ac_option in
42328   # Handling of the options.
42329   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42330     ac_cs_recheck=: ;;
42331   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42332     $as_echo "$ac_cs_version"; exit ;;
42333   --config | --confi | --conf | --con | --co | --c )
42334     $as_echo "$ac_cs_config"; exit ;;
42335   --debug | --debu | --deb | --de | --d | -d )
42336     debug=: ;;
42337   --file | --fil | --fi | --f )
42338     $ac_shift
42339     case $ac_optarg in
42340     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42341     '') as_fn_error $? "missing file argument" ;;
42342     esac
42343     as_fn_append CONFIG_FILES " '$ac_optarg'"
42344     ac_need_defaults=false;;
42345   --header | --heade | --head | --hea )
42346     $ac_shift
42347     case $ac_optarg in
42348     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42349     esac
42350     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
42351     ac_need_defaults=false;;
42352   --he | --h)
42353     # Conflict between --help and --header
42354     as_fn_error $? "ambiguous option: \`$1'
42355 Try \`$0 --help' for more information.";;
42356   --help | --hel | -h )
42357     $as_echo "$ac_cs_usage"; exit ;;
42358   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42359   | -silent | --silent | --silen | --sile | --sil | --si | --s)
42360     ac_cs_silent=: ;;
42361
42362   # This is an error.
42363   -*) as_fn_error $? "unrecognized option: \`$1'
42364 Try \`$0 --help' for more information." ;;
42365
42366   *) as_fn_append ac_config_targets " $1"
42367      ac_need_defaults=false ;;
42368
42369   esac
42370   shift
42371 done
42372
42373 ac_configure_extra_args=
42374
42375 if $ac_cs_silent; then
42376   exec 6>/dev/null
42377   ac_configure_extra_args="$ac_configure_extra_args --silent"
42378 fi
42379
42380 _ACEOF
42381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42382 if \$ac_cs_recheck; then
42383   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42384   shift
42385   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42386   CONFIG_SHELL='$SHELL'
42387   export CONFIG_SHELL
42388   exec "\$@"
42389 fi
42390
42391 _ACEOF
42392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42393 exec 5>>config.log
42394 {
42395   echo
42396   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42397 ## Running $as_me. ##
42398 _ASBOX
42399   $as_echo "$ac_log"
42400 } >&5
42401
42402 _ACEOF
42403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42404 #
42405 # INIT-COMMANDS
42406 #
42407
42408             CPP="$CPP"
42409             infile="$srcdir/include/wx/msw/genrcdefs.h"
42410             outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42411
42412
42413  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42414  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42415  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42416                      LN_S="${LN_S}"
42417
42418
42419 _ACEOF
42420
42421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42422
42423 # Handling of arguments.
42424 for ac_config_target in $ac_config_targets
42425 do
42426   case $ac_config_target in
42427     "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42428     "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
42429     "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42430     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42431     "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42432     "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
42433     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42434     "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42435     "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
42436
42437   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42438   esac
42439 done
42440
42441
42442 # If the user did not use the arguments to specify the items to instantiate,
42443 # then the envvar interface is used.  Set only those that are not.
42444 # We use the long form for the default assignment because of an extremely
42445 # bizarre bug on SunOS 4.1.3.
42446 if $ac_need_defaults; then
42447   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42448   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42449   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42450 fi
42451
42452 # Have a temporary directory for convenience.  Make it in the build tree
42453 # simply because there is no reason against having it here, and in addition,
42454 # creating and moving files from /tmp can sometimes cause problems.
42455 # Hook for its removal unless debugging.
42456 # Note that there is a small window in which the directory will not be cleaned:
42457 # after its creation but before its name has been assigned to `$tmp'.
42458 $debug ||
42459 {
42460   tmp= ac_tmp=
42461   trap 'exit_status=$?
42462   : "${ac_tmp:=$tmp}"
42463   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42464 ' 0
42465   trap 'as_fn_exit 1' 1 2 13 15
42466 }
42467 # Create a (secure) tmp directory for tmp files.
42468
42469 {
42470   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42471   test -d "$tmp"
42472 }  ||
42473 {
42474   tmp=./conf$$-$RANDOM
42475   (umask 077 && mkdir "$tmp")
42476 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
42477 ac_tmp=$tmp
42478
42479 # Set up the scripts for CONFIG_FILES section.
42480 # No need to generate them if there are no CONFIG_FILES.
42481 # This happens for instance with `./config.status config.h'.
42482 if test -n "$CONFIG_FILES"; then
42483
42484
42485 ac_cr=`echo X | tr X '\015'`
42486 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42487 # But we know of no other shell where ac_cr would be empty at this
42488 # point, so we can use a bashism as a fallback.
42489 if test "x$ac_cr" = x; then
42490   eval ac_cr=\$\'\\r\'
42491 fi
42492 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42493 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42494   ac_cs_awk_cr='\\r'
42495 else
42496   ac_cs_awk_cr=$ac_cr
42497 fi
42498
42499 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42500 _ACEOF
42501
42502
42503 {
42504   echo "cat >conf$$subs.awk <<_ACEOF" &&
42505   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42506   echo "_ACEOF"
42507 } >conf$$subs.sh ||
42508   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42509 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42510 ac_delim='%!_!# '
42511 for ac_last_try in false false false false false :; do
42512   . ./conf$$subs.sh ||
42513     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42514
42515   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
42516   if test $ac_delim_n = $ac_delim_num; then
42517     break
42518   elif $ac_last_try; then
42519     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42520   else
42521     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42522   fi
42523 done
42524 rm -f conf$$subs.sh
42525
42526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42527 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
42528 _ACEOF
42529 sed -n '
42530 h
42531 s/^/S["/; s/!.*/"]=/
42532 p
42533 g
42534 s/^[^!]*!//
42535 :repl
42536 t repl
42537 s/'"$ac_delim"'$//
42538 t delim
42539 :nl
42540 h
42541 s/\(.\{148\}\)..*/\1/
42542 t more1
42543 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
42544 p
42545 n
42546 b repl
42547 :more1
42548 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42549 p
42550 g
42551 s/.\{148\}//
42552 t nl
42553 :delim
42554 h
42555 s/\(.\{148\}\)..*/\1/
42556 t more2
42557 s/["\\]/\\&/g; s/^/"/; s/$/"/
42558 p
42559 b
42560 :more2
42561 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42562 p
42563 g
42564 s/.\{148\}//
42565 t delim
42566 ' <conf$$subs.awk | sed '
42567 /^[^""]/{
42568   N
42569   s/\n//
42570 }
42571 ' >>$CONFIG_STATUS || ac_write_fail=1
42572 rm -f conf$$subs.awk
42573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42574 _ACAWK
42575 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
42576   for (key in S) S_is_set[key] = 1
42577   FS = "\a"
42578
42579 }
42580 {
42581   line = $ 0
42582   nfields = split(line, field, "@")
42583   substed = 0
42584   len = length(field[1])
42585   for (i = 2; i < nfields; i++) {
42586     key = field[i]
42587     keylen = length(key)
42588     if (S_is_set[key]) {
42589       value = S[key]
42590       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42591       len += length(value) + length(field[++i])
42592       substed = 1
42593     } else
42594       len += 1 + keylen
42595   }
42596
42597   print line
42598 }
42599
42600 _ACAWK
42601 _ACEOF
42602 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42603 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42604   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
42605 else
42606   cat
42607 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
42608   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
42609 _ACEOF
42610
42611 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42612 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
42613 # trailing colons and then remove the whole line if VPATH becomes empty
42614 # (actually we leave an empty line to preserve line numbers).
42615 if test "x$srcdir" = x.; then
42616   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
42617 h
42618 s///
42619 s/^/:/
42620 s/[      ]*$/:/
42621 s/:\$(srcdir):/:/g
42622 s/:\${srcdir}:/:/g
42623 s/:@srcdir@:/:/g
42624 s/^:*//
42625 s/:*$//
42626 x
42627 s/\(=[   ]*\).*/\1/
42628 G
42629 s/\n//
42630 s/^[^=]*=[       ]*$//
42631 }'
42632 fi
42633
42634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42635 fi # test -n "$CONFIG_FILES"
42636
42637 # Set up the scripts for CONFIG_HEADERS section.
42638 # No need to generate them if there are no CONFIG_HEADERS.
42639 # This happens for instance with `./config.status Makefile'.
42640 if test -n "$CONFIG_HEADERS"; then
42641 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
42642 BEGIN {
42643 _ACEOF
42644
42645 # Transform confdefs.h into an awk script `defines.awk', embedded as
42646 # here-document in config.status, that substitutes the proper values into
42647 # config.h.in to produce config.h.
42648
42649 # Create a delimiter string that does not exist in confdefs.h, to ease
42650 # handling of long lines.
42651 ac_delim='%!_!# '
42652 for ac_last_try in false false :; do
42653   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
42654   if test -z "$ac_tt"; then
42655     break
42656   elif $ac_last_try; then
42657     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
42658   else
42659     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42660   fi
42661 done
42662
42663 # For the awk script, D is an array of macro values keyed by name,
42664 # likewise P contains macro parameters if any.  Preserve backslash
42665 # newline sequences.
42666
42667 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42668 sed -n '
42669 s/.\{148\}/&'"$ac_delim"'/g
42670 t rset
42671 :rset
42672 s/^[     ]*#[    ]*define[       ][      ]*/ /
42673 t def
42674 d
42675 :def
42676 s/\\$//
42677 t bsnl
42678 s/["\\]/\\&/g
42679 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
42680 D["\1"]=" \3"/p
42681 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
42682 d
42683 :bsnl
42684 s/["\\]/\\&/g
42685 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
42686 D["\1"]=" \3\\\\\\n"\\/p
42687 t cont
42688 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
42689 t cont
42690 d
42691 :cont
42692 n
42693 s/.\{148\}/&'"$ac_delim"'/g
42694 t clear
42695 :clear
42696 s/\\$//
42697 t bsnlc
42698 s/["\\]/\\&/g; s/^/"/; s/$/"/p
42699 d
42700 :bsnlc
42701 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
42702 b cont
42703 ' <confdefs.h | sed '
42704 s/'"$ac_delim"'/"\\\
42705 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42706
42707 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42708   for (key in D) D_is_set[key] = 1
42709   FS = "\a"
42710 }
42711 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42712   line = \$ 0
42713   split(line, arg, " ")
42714   if (arg[1] == "#") {
42715     defundef = arg[2]
42716     mac1 = arg[3]
42717   } else {
42718     defundef = substr(arg[1], 2)
42719     mac1 = arg[2]
42720   }
42721   split(mac1, mac2, "(") #)
42722   macro = mac2[1]
42723   prefix = substr(line, 1, index(line, defundef) - 1)
42724   if (D_is_set[macro]) {
42725     # Preserve the white space surrounding the "#".
42726     print prefix "define", macro P[macro] D[macro]
42727     next
42728   } else {
42729     # Replace #undef with comments.  This is necessary, for example,
42730     # in the case of _POSIX_SOURCE, which is predefined and required
42731     # on some systems where configure will not decide to define it.
42732     if (defundef == "undef") {
42733       print "/*", prefix defundef, macro, "*/"
42734       next
42735     }
42736   }
42737 }
42738 { print }
42739 _ACAWK
42740 _ACEOF
42741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42742   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42743 fi # test -n "$CONFIG_HEADERS"
42744
42745
42746 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
42747 shift
42748 for ac_tag
42749 do
42750   case $ac_tag in
42751   :[FHLC]) ac_mode=$ac_tag; continue;;
42752   esac
42753   case $ac_mode$ac_tag in
42754   :[FHL]*:*);;
42755   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
42756   :[FH]-) ac_tag=-:-;;
42757   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42758   esac
42759   ac_save_IFS=$IFS
42760   IFS=:
42761   set x $ac_tag
42762   IFS=$ac_save_IFS
42763   shift
42764   ac_file=$1
42765   shift
42766
42767   case $ac_mode in
42768   :L) ac_source=$1;;
42769   :[FH])
42770     ac_file_inputs=
42771     for ac_f
42772     do
42773       case $ac_f in
42774       -) ac_f="$ac_tmp/stdin";;
42775       *) # Look for the file first in the build tree, then in the source tree
42776          # (if the path is not absolute).  The absolute path cannot be DOS-style,
42777          # because $ac_f cannot contain `:'.
42778          test -f "$ac_f" ||
42779            case $ac_f in
42780            [\\/$]*) false;;
42781            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42782            esac ||
42783            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42784       esac
42785       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42786       as_fn_append ac_file_inputs " '$ac_f'"
42787     done
42788
42789     # Let's still pretend it is `configure' which instantiates (i.e., don't
42790     # use $as_me), people would be surprised to read:
42791     #    /* config.h.  Generated by config.status.  */
42792     configure_input='Generated from '`
42793           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42794         `' by configure.'
42795     if test x"$ac_file" != x-; then
42796       configure_input="$ac_file.  $configure_input"
42797       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42798 $as_echo "$as_me: creating $ac_file" >&6;}
42799     fi
42800     # Neutralize special characters interpreted by sed in replacement strings.
42801     case $configure_input in #(
42802     *\&* | *\|* | *\\* )
42803        ac_sed_conf_input=`$as_echo "$configure_input" |
42804        sed 's/[\\\\&|]/\\\\&/g'`;; #(
42805     *) ac_sed_conf_input=$configure_input;;
42806     esac
42807
42808     case $ac_tag in
42809     *:-:* | *:-) cat >"$ac_tmp/stdin" \
42810       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42811     esac
42812     ;;
42813   esac
42814
42815   ac_dir=`$as_dirname -- "$ac_file" ||
42816 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42817          X"$ac_file" : 'X\(//\)[^/]' \| \
42818          X"$ac_file" : 'X\(//\)$' \| \
42819          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42820 $as_echo X"$ac_file" |
42821     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42822             s//\1/
42823             q
42824           }
42825           /^X\(\/\/\)[^/].*/{
42826             s//\1/
42827             q
42828           }
42829           /^X\(\/\/\)$/{
42830             s//\1/
42831             q
42832           }
42833           /^X\(\/\).*/{
42834             s//\1/
42835             q
42836           }
42837           s/.*/./; q'`
42838   as_dir="$ac_dir"; as_fn_mkdir_p
42839   ac_builddir=.
42840
42841 case "$ac_dir" in
42842 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42843 *)
42844   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42845   # A ".." for each directory in $ac_dir_suffix.
42846   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42847   case $ac_top_builddir_sub in
42848   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42849   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42850   esac ;;
42851 esac
42852 ac_abs_top_builddir=$ac_pwd
42853 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42854 # for backward compatibility:
42855 ac_top_builddir=$ac_top_build_prefix
42856
42857 case $srcdir in
42858   .)  # We are building in place.
42859     ac_srcdir=.
42860     ac_top_srcdir=$ac_top_builddir_sub
42861     ac_abs_top_srcdir=$ac_pwd ;;
42862   [\\/]* | ?:[\\/]* )  # Absolute name.
42863     ac_srcdir=$srcdir$ac_dir_suffix;
42864     ac_top_srcdir=$srcdir
42865     ac_abs_top_srcdir=$srcdir ;;
42866   *) # Relative name.
42867     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42868     ac_top_srcdir=$ac_top_build_prefix$srcdir
42869     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42870 esac
42871 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42872
42873
42874   case $ac_mode in
42875   :F)
42876   #
42877   # CONFIG_FILE
42878   #
42879
42880   case $INSTALL in
42881   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42882   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42883   esac
42884 _ACEOF
42885
42886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42887 # If the template does not know about datarootdir, expand it.
42888 # FIXME: This hack should be removed a few years after 2.60.
42889 ac_datarootdir_hack=; ac_datarootdir_seen=
42890 ac_sed_dataroot='
42891 /datarootdir/ {
42892   p
42893   q
42894 }
42895 /@datadir@/p
42896 /@docdir@/p
42897 /@infodir@/p
42898 /@localedir@/p
42899 /@mandir@/p'
42900 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42901 *datarootdir*) ac_datarootdir_seen=yes;;
42902 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42903   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42904 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42905 _ACEOF
42906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42907   ac_datarootdir_hack='
42908   s&@datadir@&$datadir&g
42909   s&@docdir@&$docdir&g
42910   s&@infodir@&$infodir&g
42911   s&@localedir@&$localedir&g
42912   s&@mandir@&$mandir&g
42913   s&\\\${datarootdir}&$datarootdir&g' ;;
42914 esac
42915 _ACEOF
42916
42917 # Neutralize VPATH when `$srcdir' = `.'.
42918 # Shell code in configure.ac might set extrasub.
42919 # FIXME: do we really want to maintain this feature?
42920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42921 ac_sed_extra="$ac_vpsub
42922 $extrasub
42923 _ACEOF
42924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42925 :t
42926 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42927 s|@configure_input@|$ac_sed_conf_input|;t t
42928 s&@top_builddir@&$ac_top_builddir_sub&;t t
42929 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42930 s&@srcdir@&$ac_srcdir&;t t
42931 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42932 s&@top_srcdir@&$ac_top_srcdir&;t t
42933 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42934 s&@builddir@&$ac_builddir&;t t
42935 s&@abs_builddir@&$ac_abs_builddir&;t t
42936 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42937 s&@INSTALL@&$ac_INSTALL&;t t
42938 $ac_datarootdir_hack
42939 "
42940 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
42941   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42942
42943 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42944   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
42945   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
42946       "$ac_tmp/out"`; test -z "$ac_out"; } &&
42947   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42948 which seems to be undefined.  Please make sure it is defined" >&5
42949 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42950 which seems to be undefined.  Please make sure it is defined" >&2;}
42951
42952   rm -f "$ac_tmp/stdin"
42953   case $ac_file in
42954   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42955   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42956   esac \
42957   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42958  ;;
42959   :H)
42960   #
42961   # CONFIG_HEADER
42962   #
42963   if test x"$ac_file" != x-; then
42964     {
42965       $as_echo "/* $configure_input  */" \
42966       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42967     } >"$ac_tmp/config.h" \
42968       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42969     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42970       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42971 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42972     else
42973       rm -f "$ac_file"
42974       mv "$ac_tmp/config.h" "$ac_file" \
42975         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42976     fi
42977   else
42978     $as_echo "/* $configure_input  */" \
42979       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42980       || as_fn_error $? "could not create -" "$LINENO" 5
42981   fi
42982  ;;
42983
42984   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42985 $as_echo "$as_me: executing $ac_file commands" >&6;}
42986  ;;
42987   esac
42988
42989
42990   case $ac_file$ac_mode in
42991     "rcdefs.h":C)
42992             mkdir -p $outdir &&
42993             $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42994          ;;
42995     "lib/wx/config/${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME}  ;;
42996     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}  ;;
42997     "utils/ifacecheck/rungccxml.sh":F)  chmod +x utils/ifacecheck/rungccxml.sh  ;;
42998     "wx-config":C)  rm -f wx-config
42999                      ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
43000                     ;;
43001
43002   esac
43003 done # for ac_tag
43004
43005
43006 as_fn_exit 0
43007 _ACEOF
43008 ac_clean_files=$ac_clean_files_save
43009
43010 test $ac_write_fail = 0 ||
43011   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
43012
43013
43014 # configure is writing to config.log, and then calls config.status.
43015 # config.status does its own redirection, appending to config.log.
43016 # Unfortunately, on DOS this fails, as config.log is still kept open
43017 # by configure, so config.status won't be able to write to it; its
43018 # output is simply discarded.  So we exec the FD to /dev/null,
43019 # effectively closing config.log, so it can be properly (re)opened and
43020 # appended to by config.status.  When coming back to configure, we
43021 # need to make the FD available again.
43022 if test "$no_create" != yes; then
43023   ac_cs_success=:
43024   ac_config_status_args=
43025   test "$silent" = yes &&
43026     ac_config_status_args="$ac_config_status_args --quiet"
43027   exec 5>/dev/null
43028   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
43029   exec 5>>config.log
43030   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43031   # would make configure fail if this is the last instruction.
43032   $ac_cs_success || as_fn_exit 1
43033 fi
43034
43035 #
43036 # CONFIG_SUBDIRS section.
43037 #
43038 if test "$no_recursion" != yes; then
43039
43040   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
43041   # so they do not pile up.
43042   ac_sub_configure_args=
43043   ac_prev=
43044   eval "set x $ac_configure_args"
43045   shift
43046   for ac_arg
43047   do
43048     if test -n "$ac_prev"; then
43049       ac_prev=
43050       continue
43051     fi
43052     case $ac_arg in
43053     -cache-file | --cache-file | --cache-fil | --cache-fi \
43054     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43055       ac_prev=cache_file ;;
43056     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43057     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43058     | --c=*)
43059       ;;
43060     --config-cache | -C)
43061       ;;
43062     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43063       ac_prev=srcdir ;;
43064     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43065       ;;
43066     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43067       ac_prev=prefix ;;
43068     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43069       ;;
43070     --disable-option-checking)
43071       ;;
43072     *)
43073       case $ac_arg in
43074       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
43075       esac
43076       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
43077     esac
43078   done
43079
43080   # Always prepend --prefix to ensure using the same prefix
43081   # in subdir configurations.
43082   ac_arg="--prefix=$prefix"
43083   case $ac_arg in
43084   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
43085   esac
43086   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
43087
43088   # Pass --silent
43089   if test "$silent" = yes; then
43090     ac_sub_configure_args="--silent $ac_sub_configure_args"
43091   fi
43092
43093   # Always prepend --disable-option-checking to silence warnings, since
43094   # different subdirs can have different --enable and --with options.
43095   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
43096
43097   ac_popdir=`pwd`
43098   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
43099
43100     # Do not complain, so a configure script can configure whichever
43101     # parts of a large source tree are present.
43102     test -d "$srcdir/$ac_dir" || continue
43103
43104     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
43105     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
43106     $as_echo "$ac_msg" >&6
43107     as_dir="$ac_dir"; as_fn_mkdir_p
43108     ac_builddir=.
43109
43110 case "$ac_dir" in
43111 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
43112 *)
43113   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
43114   # A ".." for each directory in $ac_dir_suffix.
43115   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
43116   case $ac_top_builddir_sub in
43117   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
43118   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
43119   esac ;;
43120 esac
43121 ac_abs_top_builddir=$ac_pwd
43122 ac_abs_builddir=$ac_pwd$ac_dir_suffix
43123 # for backward compatibility:
43124 ac_top_builddir=$ac_top_build_prefix
43125
43126 case $srcdir in
43127   .)  # We are building in place.
43128     ac_srcdir=.
43129     ac_top_srcdir=$ac_top_builddir_sub
43130     ac_abs_top_srcdir=$ac_pwd ;;
43131   [\\/]* | ?:[\\/]* )  # Absolute name.
43132     ac_srcdir=$srcdir$ac_dir_suffix;
43133     ac_top_srcdir=$srcdir
43134     ac_abs_top_srcdir=$srcdir ;;
43135   *) # Relative name.
43136     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
43137     ac_top_srcdir=$ac_top_build_prefix$srcdir
43138     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
43139 esac
43140 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
43141
43142
43143     cd "$ac_dir"
43144
43145     # Check for guested configure; otherwise get Cygnus style configure.
43146     if test -f "$ac_srcdir/configure.gnu"; then
43147       ac_sub_configure=$ac_srcdir/configure.gnu
43148     elif test -f "$ac_srcdir/configure"; then
43149       ac_sub_configure=$ac_srcdir/configure
43150     elif test -f "$ac_srcdir/configure.in"; then
43151       # This should be Cygnus configure.
43152       ac_sub_configure=$ac_aux_dir/configure
43153     else
43154       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
43155 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43156       ac_sub_configure=
43157     fi
43158
43159     # The recursion is here.
43160     if test -n "$ac_sub_configure"; then
43161       # Make the cache file name correct relative to the subdirectory.
43162       case $cache_file in
43163       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
43164       *) # Relative name.
43165         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
43166       esac
43167
43168       { $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
43169 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43170       # The eval makes quoting arguments work.
43171       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
43172            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
43173         as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
43174     fi
43175
43176     cd "$ac_popdir"
43177   done
43178 fi
43179 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
43180   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
43181 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
43182 fi
43183
43184
43185 echo
43186 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43187 echo ""
43188 echo "  Which GUI toolkit should wxWidgets use?                 ${TOOLKIT_DESC}"
43189 echo "  Should wxWidgets be compiled into single library?       ${wxUSE_MONOLITHIC:-yes}"
43190 echo "  Should wxWidgets be linked as a shared library?         ${wxUSE_SHARED:-no}"
43191 echo $ECHO_N "  Should wxWidgets support Unicode?                       ${wxUSE_UNICODE:-no}$ECHO_C"
43192 if test "$wxUSE_UNICODE" = "yes"; then
43193     if test "$wxUSE_UNICODE_UTF8" = "yes"; then
43194         echo " (using UTF-8)"
43195     else
43196         echo " (using wchar_t)"
43197     fi
43198 else
43199     echo
43200 fi
43201
43202 echo "  What level of wxWidgets compatibility should be enabled?"
43203 echo "                                       wxWidgets 2.6      ${WXWIN_COMPATIBILITY_2_6:-no}"
43204 echo "                                       wxWidgets 2.8      ${WXWIN_COMPATIBILITY_2_8:-yes}"
43205
43206 echo "  Which libraries should wxWidgets use?"
43207 echo "                                       STL                ${wxUSE_STL}"
43208 echo "                                       jpeg               ${wxUSE_LIBJPEG-none}"
43209 echo "                                       png                ${wxUSE_LIBPNG-none}"
43210 echo "                                       regex              ${wxUSE_REGEX}"
43211 echo "                                       tiff               ${wxUSE_LIBTIFF-none}"
43212 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43213 echo "                                       xpm                ${wxUSE_LIBXPM-none}"
43214 fi
43215 echo "                                       zlib               ${wxUSE_ZLIB}"
43216 echo "                                       expat              ${wxUSE_EXPAT}"
43217 echo "                                       libmspack          ${wxUSE_LIBMSPACK}"
43218 echo "                                       sdl                ${wxUSE_LIBSDL}"
43219
43220 echo ""
43221