A couple of fixes to Brazilian Portuguese translations from Felipe.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for wxWidgets 3.0.0.
4 #
5 # Report bugs to <wx-dev@lists.wxwidgets.org>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202   if (eval "$as_required") 2>/dev/null; then :
203   as_have_required=yes
204 else
205   as_have_required=no
206 fi
207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209 else
210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 do
214   IFS=$as_save_IFS
215   test -z "$as_dir" && as_dir=.
216   as_found=:
217   case $as_dir in #(
218          /*)
219            for as_base in sh bash ksh sh5; do
220              # Try only shells that exist, to save several forks.
221              as_shell=$as_dir/$as_base
222              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224   CONFIG_SHELL=$as_shell as_have_required=yes
225                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226   break 2
227 fi
228 fi
229            done;;
230        esac
231   as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235   CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
238
239
240       if test "x$CONFIG_SHELL" != x; then :
241   export CONFIG_SHELL
242              # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250   *v*x* | *x*v* ) as_opts=-vx ;;
251   *v* ) as_opts=-v ;;
252   *x* ) as_opts=-x ;;
253   * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
260 fi
261
262     if test x$as_have_required = xno; then :
263   $as_echo "$0: This script requires a shell more modern than all"
264   $as_echo "$0: the shells that I found on your system."
265   if test x${ZSH_VERSION+set} = xset ; then
266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268   else
269     $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wx-dev@lists.wxwidgets.org about your system, including
271 $0: any error possibly output before this message. Then
272 $0: install a modern shell, or manually run the script
273 $0: under such a shell if you do have one."
274   fi
275   exit 1
276 fi
277 fi
278 fi
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
284
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
292 {
293   { eval $1=; unset $1;}
294 }
295 as_unset=as_fn_unset
296
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
301 {
302   return $1
303 } # as_fn_set_status
304
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
309 {
310   set +e
311   as_fn_set_status $1
312   exit $1
313 } # as_fn_exit
314
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
319 {
320
321   case $as_dir in #(
322   -*) as_dir=./$as_dir;;
323   esac
324   test -d "$as_dir" || eval $as_mkdir_p || {
325     as_dirs=
326     while :; do
327       case $as_dir in #(
328       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329       *) as_qdir=$as_dir;;
330       esac
331       as_dirs="'$as_qdir' $as_dirs"
332       as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334          X"$as_dir" : 'X\(//\)[^/]' \| \
335          X"$as_dir" : 'X\(//\)$' \| \
336          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339             s//\1/
340             q
341           }
342           /^X\(\/\/\)[^/].*/{
343             s//\1/
344             q
345           }
346           /^X\(\/\/\)$/{
347             s//\1/
348             q
349           }
350           /^X\(\/\).*/{
351             s//\1/
352             q
353           }
354           s/.*/./; q'`
355       test -d "$as_dir" && break
356     done
357     test -z "$as_dirs" || eval "mkdir $as_dirs"
358   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361 } # as_fn_mkdir_p
362
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
367 {
368   test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377   eval 'as_fn_append ()
378   {
379     eval $1+=\$2
380   }'
381 else
382   as_fn_append ()
383   {
384     eval $1=\$$1\$2
385   }
386 fi # as_fn_append
387
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394   eval 'as_fn_arith ()
395   {
396     as_val=$(( $* ))
397   }'
398 else
399   as_fn_arith ()
400   {
401     as_val=`expr "$@" || test $? -eq 1`
402   }
403 fi # as_fn_arith
404
405
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
412 {
413   as_status=$1; test $as_status -eq 0 && as_status=1
414   if test "$4"; then
415     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417   fi
418   $as_echo "$as_me: error: $2" >&2
419   as_fn_exit $as_status
420 } # as_fn_error
421
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423    test "X`expr 00001 : '.*\(...\)'`" = X001; then
424   as_expr=expr
425 else
426   as_expr=false
427 fi
428
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430   as_basename=basename
431 else
432   as_basename=false
433 fi
434
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436   as_dirname=dirname
437 else
438   as_dirname=false
439 fi
440
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443          X"$0" : 'X\(//\)$' \| \
444          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446     sed '/^.*\/\([^/][^/]*\)\/*$/{
447             s//\1/
448             q
449           }
450           /^X\/\(\/\/\)$/{
451             s//\1/
452             q
453           }
454           /^X\/\(\/\).*/{
455             s//\1/
456             q
457           }
458           s/.*/./; q'`
459
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
468   as_lineno_1=$LINENO as_lineno_1a=$LINENO
469   as_lineno_2=$LINENO as_lineno_2a=$LINENO
470   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
473   sed -n '
474     p
475     /[$]LINENO/=
476   ' <$as_myself |
477     sed '
478       s/[$]LINENO.*/&-/
479       t lineno
480       b
481       :lineno
482       N
483       :loop
484       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485       t loop
486       s/-\n.*//
487     ' >$as_me.lineno &&
488   chmod +x "$as_me.lineno" ||
489     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
491   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492   # already done that, so ensure we don't try to do so again and fall
493   # in an infinite loop.  This has already happened in practice.
494   _as_can_reexec=no; export _as_can_reexec
495   # Don't try to exec as it changes $[0], causing all sort of problems
496   # (the dirname of $[0] is not the place where we might find the
497   # original and so on.  Autoconf is especially sensitive to this).
498   . "./$as_me.lineno"
499   # Exit status is that of the last command.
500   exit
501 }
502
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506   case `echo 'xy\c'` in
507   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
508   xy)  ECHO_C='\c';;
509   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
510        ECHO_T=' ';;
511   esac;;
512 *)
513   ECHO_N='-n';;
514 esac
515
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518   rm -f conf$$.dir/conf$$.file
519 else
520   rm -f conf$$.dir
521   mkdir conf$$.dir 2>/dev/null
522 fi
523 if (echo >conf$$.file) 2>/dev/null; then
524   if ln -s conf$$.file conf$$ 2>/dev/null; then
525     as_ln_s='ln -s'
526     # ... but there are two gotchas:
527     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529     # In both cases, we have to default to `cp -pR'.
530     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531       as_ln_s='cp -pR'
532   elif ln conf$$.file conf$$ 2>/dev/null; then
533     as_ln_s=ln
534   else
535     as_ln_s='cp -pR'
536   fi
537 else
538   as_ln_s='cp -pR'
539 fi
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
542
543 if mkdir -p . 2>/dev/null; then
544   as_mkdir_p='mkdir -p "$as_dir"'
545 else
546   test -d ./-p && rmdir ./-p
547   as_mkdir_p=false
548 fi
549
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
552
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
562
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568 #
569 # Initializations.
570 #
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
579
580 # Identity of this package.
581 PACKAGE_NAME='wxWidgets'
582 PACKAGE_TARNAME='wxwidgets'
583 PACKAGE_VERSION='3.0.0'
584 PACKAGE_STRING='wxWidgets 3.0.0'
585 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
586 PACKAGE_URL=''
587
588 ac_unique_file="wx-config.in"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 #  include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 #  include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
624
625 enable_option_checking=no
626 ac_subst_vars='LTLIBOBJS
627 LIBOBJS
628 CPPUNIT_CONFIG
629 DLLTOOL
630 GCC
631 MACSETFILE
632 POSTLINK_COMMAND
633 LIBWXMACRES
634 WX_RESOURCES_MACOSX_DATA
635 WX_RESOURCES_MACOSX_ASCII
636 RESCOMP
637 WX_VERSION_TAG
638 DMALLOC_LIBS
639 OPENGL_LIBS
640 LDFLAGS_GL
641 SAMPLES_SUBDIRS
642 DISTDIR
643 GUIDIST
644 WXCONFIG_RESFLAGS
645 WXCONFIG_LDFLAGS_GUI
646 WXCONFIG_LDFLAGS
647 WXCONFIG_RPATH
648 WXCONFIG_LIBS
649 WXCONFIG_CXXFLAGS
650 WXCONFIG_CFLAGS
651 WXCONFIG_CPPFLAGS
652 WX_CHARTYPE
653 WX_SUBVERSION
654 WX_VERSION
655 WX_RELEASE
656 WIDGET_SET
657 cross_compiling
658 TOOLCHAIN_FULLNAME
659 TOOLCHAIN_NAME
660 TOOLKIT_DIR
661 TOOLKIT
662 USE_GUI
663 WX_LIBRARY_BASENAME_GUI
664 WX_LIBRARY_BASENAME_NOGUI
665 SHARED
666 DEREZ
667 COND_wxUSE_ZLIB_builtin
668 COND_wxUSE_REGEX_builtin
669 COND_wxUSE_LIBTIFF_builtin
670 COND_wxUSE_LIBPNG_builtin
671 COND_wxUSE_LIBJPEG_builtin
672 COND_wxUSE_EXPAT_builtin
673 COND_WXUNIV_1
674 COND_WXUNIV_0
675 COND_WITH_PLUGIN_SDL_1
676 COND_WINDOWS_IMPLIB_1
677 COND_USE_XRC_1
678 COND_USE_THREADS_1
679 COND_USE_THREADS_0
680 COND_USE_STC_1
681 COND_USE_SOVERSOLARIS_1
682 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
683 COND_USE_SOVERSION_0
684 COND_USE_SOVERLINUX_1
685 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
686 COND_USE_SOTWOSYMLINKS_1
687 COND_USE_RTTI_1
688 COND_USE_RTTI_0
689 COND_USE_PLUGINS_0
690 COND_USE_PCH_1
691 COND_USE_OPENGL_1
692 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
693 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
694 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
695 COND_USE_GUI_1_WXUNIV_1
696 COND_USE_GUI_1_WXUNIV_0
697 COND_USE_GUI_1_USE_OPENGL_1
698 COND_USE_GUI_1
699 COND_USE_GUI_0
700 COND_USE_EXCEPTIONS_1
701 COND_USE_EXCEPTIONS_0
702 COND_USE_CAIRO_1
703 COND_UNICODE_1
704 COND_TOOLKIT_X11_WXUNIV_1
705 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
706 COND_TOOLKIT_X11_USE_GUI_1
707 COND_TOOLKIT_X11
708 COND_TOOLKIT_WINCE_WXUNIV_0
709 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
710 COND_TOOLKIT_WINCE_USE_GUI_1
711 COND_TOOLKIT_WINCE
712 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
713 COND_TOOLKIT_PM_USE_GUI_1
714 COND_TOOLKIT_PM
715 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
716 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
717 COND_TOOLKIT_OSX_IPHONE
718 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
719 COND_TOOLKIT_OSX_COCOA
720 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
721 COND_TOOLKIT_OSX_CARBON
722 COND_TOOLKIT_MSW_WXUNIV_0
723 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
724 COND_TOOLKIT_MSW_USE_GUI_1
725 COND_TOOLKIT_MSW
726 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
727 COND_TOOLKIT_MOTIF_USE_GUI_1
728 COND_TOOLKIT_MOTIF
729 COND_TOOLKIT_MAC
730 COND_TOOLKIT_GTK_USE_GUI_1
731 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
732 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
733 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
734 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
735 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
736 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
737 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
738 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
739 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
740 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
741 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
742 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
744 COND_TOOLKIT_GTK
745 COND_TOOLKIT_DFB_USE_GUI_1
746 COND_TOOLKIT_DFB
747 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
748 COND_TOOLKIT_COCOA_USE_GUI_1
749 COND_TOOLKIT_COCOA
750 COND_TOOLKIT_
751 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
752 COND_SHARED_1
753 COND_SHARED_0_wxUSE_ZLIB_builtin
754 COND_SHARED_0_wxUSE_REGEX_builtin
755 COND_SHARED_0_wxUSE_EXPAT_builtin
756 COND_SHARED_0_USE_STC_1
757 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
758 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
759 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
760 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
761 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
762 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
763 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
764 COND_SHARED_0
765 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
766 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
767 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
768 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
769 COND_PLATFORM_WIN32_1_SHARED_0
770 COND_PLATFORM_WIN32_1
771 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
772 COND_PLATFORM_WIN32_0
773 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
774 COND_PLATFORM_UNIX_1_USE_GUI_1
775 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
776 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
777 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
778 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
779 COND_PLATFORM_UNIX_1
780 COND_PLATFORM_UNIX_0
781 COND_PLATFORM_OS2_1
782 COND_PLATFORM_MSDOS_1
783 COND_PLATFORM_MSDOS_0
784 COND_PLATFORM_MAC_1
785 COND_PLATFORM_MAC_0
786 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
787 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
788 COND_PLATFORM_MACOSX_1_USE_GUI_1
789 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
790 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
791 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
792 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
793 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
794 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
795 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
796 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
797 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
798 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
799 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
800 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
801 COND_PLATFORM_MACOSX_1
802 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
803 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
804 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
805 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
806 COND_MONOLITHIC_1_USE_STC_1
807 COND_MONOLITHIC_1_SHARED_1
808 COND_MONOLITHIC_1_SHARED_0
809 COND_MONOLITHIC_1
810 COND_MONOLITHIC_0_USE_XRC_1
811 COND_MONOLITHIC_0_USE_WEBVIEW_1
812 COND_MONOLITHIC_0_USE_STC_1
813 COND_MONOLITHIC_0_USE_RICHTEXT_1
814 COND_MONOLITHIC_0_USE_RIBBON_1
815 COND_MONOLITHIC_0_USE_QA_1
816 COND_MONOLITHIC_0_USE_PROPGRID_1
817 COND_MONOLITHIC_0_USE_MEDIA_1
818 COND_MONOLITHIC_0_USE_HTML_1
819 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
820 COND_MONOLITHIC_0_USE_GUI_1
821 COND_MONOLITHIC_0_USE_AUI_1
822 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
823 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
824 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
825 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
826 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
827 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
832 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
833 COND_MONOLITHIC_0_SHARED_1
834 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
838 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
839 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
844 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
845 COND_MONOLITHIC_0_SHARED_0
846 COND_MONOLITHIC_0
847 COND_ICC_PCH_1
848 COND_GCC_PCH_1
849 COND_DEPS_TRACKING_1
850 COND_DEPS_TRACKING_0
851 COND_DEBUG_INFO_1
852 COND_DEBUG_INFO_0
853 COND_DEBUG_FLAG_0
854 COND_BUILD_release_DEBUG_INFO_default
855 COND_BUILD_release
856 COND_BUILD_debug_DEBUG_INFO_default
857 COND_BUILD_debug
858 BK_MAKE_PCH
859 ICC_PCH_USE_SWITCH
860 ICC_PCH_CREATE_SWITCH
861 ICC_PCH
862 GCC_PCH
863 OBJCXXFLAGS
864 SETFILE
865 REZ
866 WINDRES
867 BK_DEPS
868 DEPS_TRACKING
869 SONAME_FLAG
870 USE_SOTWOSYMLINKS
871 USE_MACVERSION
872 USE_SOVERCYGWIN
873 USE_SOVERSOLARIS
874 USE_SOVERLINUX
875 USE_SOVERSION
876 WINDOWS_IMPLIB
877 PIC_FLAG
878 SHARED_LD_MODULE_CXX
879 SHARED_LD_MODULE_CC
880 SHARED_LD_CXX
881 SHARED_LD_CC
882 AIX_CXX_LD
883 dlldir
884 DLLPREFIX_MODULE
885 DLLPREFIX
886 LIBEXT
887 LIBPREFIX
888 DLLIMP_SUFFIX
889 SO_SUFFIX_MODULE
890 SO_SUFFIX
891 PLATFORM_BEOS
892 PLATFORM_OS2
893 PLATFORM_MACOSX
894 PLATFORM_MACOS
895 PLATFORM_MAC
896 PLATFORM_MSDOS
897 PLATFORM_WIN32
898 PLATFORM_UNIX
899 IF_GNU_MAKE
900 LDFLAGS_GUI
901 INSTALL_DIR
902 NM
903 STRIP
904 AROPTIONS
905 MAKE_SET
906 SET_MAKE
907 LN_S
908 INSTALL_DATA
909 INSTALL_SCRIPT
910 INSTALL_PROGRAM
911 RANLIB
912 CPPUNIT_LIBS
913 CPPUNIT_CFLAGS
914 HOST_SUFFIX
915 HEADER_PAD_OPTION
916 SAMPLES_RPATH_FLAG
917 DYLIB_RPATH_POSTLINK
918 DYLIB_RPATH_INSTALL
919 TOOLKIT_VERSION
920 TOOLKIT_LOWERCASE
921 DEBUG_FLAG
922 DEBUG_INFO
923 UNICODE
924 WITH_PLUGIN_SDL
925 EXTRALIBS_STC
926 EXTRALIBS_SDL
927 EXTRALIBS_OPENGL
928 EXTRALIBS_GUI
929 EXTRALIBS_MEDIA
930 EXTRALIBS_HTML
931 EXTRALIBS_XML
932 EXTRALIBS
933 CXXWARNINGS
934 USE_PLUGINS
935 MONOLITHIC
936 WXUNIV
937 WX_LIB_FLAVOUR
938 WX_FLAVOUR
939 OFFICIAL_BUILD
940 VENDOR
941 wxUSE_LIBTIFF
942 wxUSE_LIBPNG
943 wxUSE_LIBJPEG
944 wxUSE_EXPAT
945 wxUSE_REGEX
946 wxUSE_ZLIB
947 STD_GUI_LIBS
948 STD_BASE_LIBS
949 BUILT_WX_LIBS
950 ALL_WX_LIBS
951 GST_LIBS
952 GST_CFLAGS
953 CAIRO_LIBS
954 CAIRO_CFLAGS
955 WEBKIT_LIBS
956 WEBKIT_CFLAGS
957 COND_PYTHON
958 PYTHON
959 HILDON2_LIBS
960 HILDON2_CFLAGS
961 HILDON_LIBS
962 HILDON_CFLAGS
963 LIBNOTIFY_LIBS
964 LIBNOTIFY_CFLAGS
965 GNOMEVFS_LIBS
966 GNOMEVFS_CFLAGS
967 GTKPRINT_LIBS
968 GTKPRINT_CFLAGS
969 SDL_LIBS
970 SDL_CFLAGS
971 SDL_CONFIG
972 GXX_VERSION
973 LIBICONV
974 CXXFLAGS_VISIBILITY
975 CFLAGS_VISIBILITY
976 MesaGL_LIBS
977 MesaGL_CFLAGS
978 GLU_LIBS
979 GLU_CFLAGS
980 GL_LIBS
981 GL_CFLAGS
982 SM_LIBS
983 SM_CFLAGS
984 Xxf86vm_LIBS
985 Xxf86vm_CFLAGS
986 Xinerama_LIBS
987 Xinerama_CFLAGS
988 PANGOXFT_LIBS
989 PANGOXFT_CFLAGS
990 PANGOFT2_LIBS
991 PANGOFT2_CFLAGS
992 PANGOX_LIBS
993 PANGOX_CFLAGS
994 X_EXTRA_LIBS
995 X_LIBS
996 X_PRE_LIBS
997 X_CFLAGS
998 XMKMF
999 DIRECTFB_LIBS
1000 DIRECTFB_CFLAGS
1001 GTK_CONFIG
1002 GTK_LIBS
1003 GTK_CFLAGS
1004 PKG_CONFIG
1005 subdirs
1006 CXXCPP
1007 AR
1008 ac_ct_CXX
1009 CXXFLAGS
1010 CXX
1011 EGREP
1012 GREP
1013 CPP
1014 OBJEXT
1015 EXEEXT
1016 ac_ct_CC
1017 CPPFLAGS
1018 LDFLAGS
1019 CFLAGS
1020 CC
1021 wx_top_builddir
1022 host_os
1023 host_vendor
1024 host_cpu
1025 host
1026 build_os
1027 build_vendor
1028 build_cpu
1029 build
1030 target_alias
1031 host_alias
1032 build_alias
1033 LIBS
1034 ECHO_T
1035 ECHO_N
1036 ECHO_C
1037 DEFS
1038 mandir
1039 localedir
1040 libdir
1041 psdir
1042 pdfdir
1043 dvidir
1044 htmldir
1045 infodir
1046 docdir
1047 oldincludedir
1048 includedir
1049 localstatedir
1050 sharedstatedir
1051 sysconfdir
1052 datadir
1053 datarootdir
1054 libexecdir
1055 sbindir
1056 bindir
1057 program_transform_name
1058 prefix
1059 exec_prefix
1060 PACKAGE_URL
1061 PACKAGE_BUGREPORT
1062 PACKAGE_STRING
1063 PACKAGE_VERSION
1064 PACKAGE_TARNAME
1065 PACKAGE_NAME
1066 PATH_SEPARATOR
1067 SHELL'
1068 ac_subst_files=''
1069 ac_user_opts='
1070 enable_option_checking
1071 enable_gui
1072 enable_monolithic
1073 enable_plugins
1074 with_subdirs
1075 with_flavour
1076 enable_official_build
1077 enable_vendor
1078 enable_all_features
1079 enable_universal
1080 with_themes
1081 with_gtk
1082 with_motif
1083 with_osx_carbon
1084 with_osx_cocoa
1085 with_osx_iphone
1086 with_osx
1087 with_carbon
1088 with_cocoa
1089 with_iphone
1090 with_mac
1091 with_old_cocoa
1092 with_wine
1093 with_msw
1094 with_pm
1095 with_directfb
1096 with_microwin
1097 with_x11
1098 enable_nanox
1099 enable_gpe
1100 with_libpng
1101 with_libjpeg
1102 with_libtiff
1103 with_libjbig
1104 with_liblzma
1105 with_libxpm
1106 with_libiconv
1107 with_libmspack
1108 with_gtkprint
1109 with_gnomevfs
1110 with_libnotify
1111 with_hildon
1112 with_opengl
1113 with_dmalloc
1114 with_sdl
1115 with_regex
1116 with_zlib
1117 with_expat
1118 with_macosx_sdk
1119 with_macosx_version_min
1120 enable_debug
1121 enable_debug_flag
1122 enable_debug_info
1123 enable_debug_gdb
1124 enable_debug_cntxt
1125 enable_mem_tracing
1126 enable_shared
1127 enable_stl
1128 enable_std_containers
1129 enable_std_iostreams
1130 enable_std_string
1131 enable_std_string_conv_in_wxstring
1132 enable_unicode
1133 enable_mslu
1134 enable_utf8
1135 enable_utf8only
1136 enable_extended_rtti
1137 enable_omf
1138 enable_optimise
1139 enable_profile
1140 enable_no_rtti
1141 enable_no_exceptions
1142 enable_permissive
1143 enable_no_deps
1144 enable_vararg_macros
1145 enable_universal_binary
1146 enable_macosx_arch
1147 enable_compat26
1148 enable_compat28
1149 enable_rpath
1150 enable_objc_uniquifying
1151 enable_visibility
1152 enable_tls
1153 enable_intl
1154 enable_xlocale
1155 enable_config
1156 enable_protocols
1157 enable_ftp
1158 enable_http
1159 enable_fileproto
1160 enable_sockets
1161 enable_ipv6
1162 enable_ole
1163 enable_dataobj
1164 enable_ipc
1165 enable_baseevtloop
1166 enable_epollloop
1167 enable_selectloop
1168 enable_any
1169 enable_apple_ieee
1170 enable_arcstream
1171 enable_base64
1172 enable_backtrace
1173 enable_catch_segvs
1174 enable_cmdline
1175 enable_datetime
1176 enable_debugreport
1177 enable_dialupman
1178 enable_dynlib
1179 enable_dynamicloader
1180 enable_exceptions
1181 enable_ffile
1182 enable_file
1183 enable_filehistory
1184 enable_filesystem
1185 enable_fontenum
1186 enable_fontmap
1187 enable_fs_archive
1188 enable_fs_inet
1189 enable_fs_zip
1190 enable_fsvolume
1191 enable_fswatcher
1192 enable_geometry
1193 enable_log
1194 enable_longlong
1195 enable_mimetype
1196 enable_printfposparam
1197 enable_snglinst
1198 enable_sound
1199 enable_stdpaths
1200 enable_stopwatch
1201 enable_streams
1202 enable_sysoptions
1203 enable_tarstream
1204 enable_textbuf
1205 enable_textfile
1206 enable_timer
1207 enable_variant
1208 enable_zipstream
1209 enable_url
1210 enable_protocol
1211 enable_protocol_http
1212 enable_protocol_ftp
1213 enable_protocol_file
1214 enable_threads
1215 enable_iniconf
1216 enable_regkey
1217 enable_docview
1218 enable_help
1219 enable_mshtmlhelp
1220 enable_html
1221 enable_htmlhelp
1222 enable_xrc
1223 enable_aui
1224 enable_propgrid
1225 enable_ribbon
1226 enable_stc
1227 enable_constraints
1228 enable_loggui
1229 enable_logwin
1230 enable_logdialog
1231 enable_mdi
1232 enable_mdidoc
1233 enable_mediactrl
1234 enable_gstreamer8
1235 enable_richtext
1236 enable_postscript
1237 enable_printarch
1238 enable_svg
1239 enable_webkit
1240 enable_webview
1241 enable_graphics_ctx
1242 enable_clipboard
1243 enable_dnd
1244 enable_controls
1245 enable_markup
1246 enable_accel
1247 enable_animatectrl
1248 enable_bannerwindow
1249 enable_artstd
1250 enable_arttango
1251 enable_bmpbutton
1252 enable_bmpcombobox
1253 enable_button
1254 enable_calendar
1255 enable_caret
1256 enable_checkbox
1257 enable_checklst
1258 enable_choice
1259 enable_choicebook
1260 enable_collpane
1261 enable_colourpicker
1262 enable_combobox
1263 enable_comboctrl
1264 enable_commandlinkbutton
1265 enable_dataviewctrl
1266 enable_datepick
1267 enable_detect_sm
1268 enable_dirpicker
1269 enable_display
1270 enable_editablebox
1271 enable_filectrl
1272 enable_filepicker
1273 enable_fontpicker
1274 enable_gauge
1275 enable_grid
1276 enable_headerctrl
1277 enable_hyperlink
1278 enable_imaglist
1279 enable_infobar
1280 enable_listbook
1281 enable_listbox
1282 enable_listctrl
1283 enable_notebook
1284 enable_notifmsg
1285 enable_odcombobox
1286 enable_popupwin
1287 enable_prefseditor
1288 enable_radiobox
1289 enable_radiobtn
1290 enable_richmsgdlg
1291 enable_richtooltip
1292 enable_rearrangectrl
1293 enable_sash
1294 enable_scrollbar
1295 enable_searchctrl
1296 enable_slider
1297 enable_spinbtn
1298 enable_spinctrl
1299 enable_splitter
1300 enable_statbmp
1301 enable_statbox
1302 enable_statline
1303 enable_stattext
1304 enable_statusbar
1305 enable_taskbaricon
1306 enable_tbarnative
1307 enable_textctrl
1308 enable_tipwindow
1309 enable_togglebtn
1310 enable_toolbar
1311 enable_toolbook
1312 enable_treebook
1313 enable_treectrl
1314 enable_treelist
1315 enable_commondlg
1316 enable_aboutdlg
1317 enable_choicedlg
1318 enable_coldlg
1319 enable_filedlg
1320 enable_finddlg
1321 enable_fontdlg
1322 enable_dirdlg
1323 enable_msgdlg
1324 enable_numberdlg
1325 enable_splash
1326 enable_textdlg
1327 enable_tipdlg
1328 enable_progressdlg
1329 enable_wizarddlg
1330 enable_menus
1331 enable_miniframe
1332 enable_tooltips
1333 enable_splines
1334 enable_mousewheel
1335 enable_validators
1336 enable_busyinfo
1337 enable_hotkey
1338 enable_joystick
1339 enable_metafile
1340 enable_dragimage
1341 enable_accessibility
1342 enable_uiactionsim
1343 enable_dctransform
1344 enable_webviewwebkit
1345 enable_palette
1346 enable_image
1347 enable_gif
1348 enable_pcx
1349 enable_tga
1350 enable_iff
1351 enable_pnm
1352 enable_xpm
1353 enable_ico_cur
1354 enable_dccache
1355 enable_ps_in_msw
1356 enable_ownerdrawn
1357 enable_uxtheme
1358 enable_wxdib
1359 enable_webviewie
1360 enable_autoidman
1361 enable_largefile
1362 enable_gtktest
1363 with_gtk_prefix
1364 with_gtk_exec_prefix
1365 with_x
1366 with_libiconv_prefix
1367 with_sdl_prefix
1368 with_sdl_exec_prefix
1369 enable_sdltest
1370 enable_dependency_tracking
1371 enable_precomp_headers
1372 with_cppunit_prefix
1373 with_cppunit_exec_prefix
1374 '
1375       ac_precious_vars='build_alias
1376 host_alias
1377 target_alias
1378 CC
1379 CFLAGS
1380 LDFLAGS
1381 LIBS
1382 CPPFLAGS
1383 CPP
1384 CXX
1385 CXXFLAGS
1386 CCC
1387 CXXCPP
1388 PKG_CONFIG
1389 DIRECTFB_CFLAGS
1390 DIRECTFB_LIBS
1391 XMKMF
1392 PANGOX_CFLAGS
1393 PANGOX_LIBS
1394 PANGOFT2_CFLAGS
1395 PANGOFT2_LIBS
1396 PANGOXFT_CFLAGS
1397 PANGOXFT_LIBS
1398 Xinerama_CFLAGS
1399 Xinerama_LIBS
1400 Xxf86vm_CFLAGS
1401 Xxf86vm_LIBS
1402 SM_CFLAGS
1403 SM_LIBS
1404 GL_CFLAGS
1405 GL_LIBS
1406 GLU_CFLAGS
1407 GLU_LIBS
1408 MesaGL_CFLAGS
1409 MesaGL_LIBS
1410 GTKPRINT_CFLAGS
1411 GTKPRINT_LIBS
1412 GNOMEVFS_CFLAGS
1413 GNOMEVFS_LIBS
1414 LIBNOTIFY_CFLAGS
1415 LIBNOTIFY_LIBS
1416 HILDON_CFLAGS
1417 HILDON_LIBS
1418 HILDON2_CFLAGS
1419 HILDON2_LIBS
1420 WEBKIT_CFLAGS
1421 WEBKIT_LIBS
1422 CAIRO_CFLAGS
1423 CAIRO_LIBS
1424 GST_CFLAGS
1425 GST_LIBS'
1426 ac_subdirs_all='src/tiff
1427 src/expat'
1428
1429 # Initialize some variables set by options.
1430 ac_init_help=
1431 ac_init_version=false
1432 ac_unrecognized_opts=
1433 ac_unrecognized_sep=
1434 # The variables have the same names as the options, with
1435 # dashes changed to underlines.
1436 cache_file=/dev/null
1437 exec_prefix=NONE
1438 no_create=
1439 no_recursion=
1440 prefix=NONE
1441 program_prefix=NONE
1442 program_suffix=NONE
1443 program_transform_name=s,x,x,
1444 silent=
1445 site=
1446 srcdir=
1447 verbose=
1448 x_includes=NONE
1449 x_libraries=NONE
1450
1451 # Installation directory options.
1452 # These are left unexpanded so users can "make install exec_prefix=/foo"
1453 # and all the variables that are supposed to be based on exec_prefix
1454 # by default will actually change.
1455 # Use braces instead of parens because sh, perl, etc. also accept them.
1456 # (The list follows the same order as the GNU Coding Standards.)
1457 bindir='${exec_prefix}/bin'
1458 sbindir='${exec_prefix}/sbin'
1459 libexecdir='${exec_prefix}/libexec'
1460 datarootdir='${prefix}/share'
1461 datadir='${datarootdir}'
1462 sysconfdir='${prefix}/etc'
1463 sharedstatedir='${prefix}/com'
1464 localstatedir='${prefix}/var'
1465 includedir='${prefix}/include'
1466 oldincludedir='/usr/include'
1467 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1468 infodir='${datarootdir}/info'
1469 htmldir='${docdir}'
1470 dvidir='${docdir}'
1471 pdfdir='${docdir}'
1472 psdir='${docdir}'
1473 libdir='${exec_prefix}/lib'
1474 localedir='${datarootdir}/locale'
1475 mandir='${datarootdir}/man'
1476
1477 ac_prev=
1478 ac_dashdash=
1479 for ac_option
1480 do
1481   # If the previous option needs an argument, assign it.
1482   if test -n "$ac_prev"; then
1483     eval $ac_prev=\$ac_option
1484     ac_prev=
1485     continue
1486   fi
1487
1488   case $ac_option in
1489   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1490   *=)   ac_optarg= ;;
1491   *)    ac_optarg=yes ;;
1492   esac
1493
1494   # Accept the important Cygnus configure options, so we can diagnose typos.
1495
1496   case $ac_dashdash$ac_option in
1497   --)
1498     ac_dashdash=yes ;;
1499
1500   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1501     ac_prev=bindir ;;
1502   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1503     bindir=$ac_optarg ;;
1504
1505   -build | --build | --buil | --bui | --bu)
1506     ac_prev=build_alias ;;
1507   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1508     build_alias=$ac_optarg ;;
1509
1510   -cache-file | --cache-file | --cache-fil | --cache-fi \
1511   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1512     ac_prev=cache_file ;;
1513   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1514   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1515     cache_file=$ac_optarg ;;
1516
1517   --config-cache | -C)
1518     cache_file=config.cache ;;
1519
1520   -datadir | --datadir | --datadi | --datad)
1521     ac_prev=datadir ;;
1522   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1523     datadir=$ac_optarg ;;
1524
1525   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1526   | --dataroo | --dataro | --datar)
1527     ac_prev=datarootdir ;;
1528   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1529   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1530     datarootdir=$ac_optarg ;;
1531
1532   -disable-* | --disable-*)
1533     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1534     # Reject names that are not valid shell variable names.
1535     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1536       as_fn_error $? "invalid feature name: $ac_useropt"
1537     ac_useropt_orig=$ac_useropt
1538     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1539     case $ac_user_opts in
1540       *"
1541 "enable_$ac_useropt"
1542 "*) ;;
1543       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1544          ac_unrecognized_sep=', ';;
1545     esac
1546     eval enable_$ac_useropt=no ;;
1547
1548   -docdir | --docdir | --docdi | --doc | --do)
1549     ac_prev=docdir ;;
1550   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1551     docdir=$ac_optarg ;;
1552
1553   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1554     ac_prev=dvidir ;;
1555   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1556     dvidir=$ac_optarg ;;
1557
1558   -enable-* | --enable-*)
1559     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1560     # Reject names that are not valid shell variable names.
1561     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1562       as_fn_error $? "invalid feature name: $ac_useropt"
1563     ac_useropt_orig=$ac_useropt
1564     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1565     case $ac_user_opts in
1566       *"
1567 "enable_$ac_useropt"
1568 "*) ;;
1569       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1570          ac_unrecognized_sep=', ';;
1571     esac
1572     eval enable_$ac_useropt=\$ac_optarg ;;
1573
1574   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1575   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1576   | --exec | --exe | --ex)
1577     ac_prev=exec_prefix ;;
1578   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1579   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1580   | --exec=* | --exe=* | --ex=*)
1581     exec_prefix=$ac_optarg ;;
1582
1583   -gas | --gas | --ga | --g)
1584     # Obsolete; use --with-gas.
1585     with_gas=yes ;;
1586
1587   -help | --help | --hel | --he | -h)
1588     ac_init_help=long ;;
1589   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1590     ac_init_help=recursive ;;
1591   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1592     ac_init_help=short ;;
1593
1594   -host | --host | --hos | --ho)
1595     ac_prev=host_alias ;;
1596   -host=* | --host=* | --hos=* | --ho=*)
1597     host_alias=$ac_optarg ;;
1598
1599   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1600     ac_prev=htmldir ;;
1601   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1602   | --ht=*)
1603     htmldir=$ac_optarg ;;
1604
1605   -includedir | --includedir | --includedi | --included | --include \
1606   | --includ | --inclu | --incl | --inc)
1607     ac_prev=includedir ;;
1608   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1609   | --includ=* | --inclu=* | --incl=* | --inc=*)
1610     includedir=$ac_optarg ;;
1611
1612   -infodir | --infodir | --infodi | --infod | --info | --inf)
1613     ac_prev=infodir ;;
1614   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1615     infodir=$ac_optarg ;;
1616
1617   -libdir | --libdir | --libdi | --libd)
1618     ac_prev=libdir ;;
1619   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1620     libdir=$ac_optarg ;;
1621
1622   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1623   | --libexe | --libex | --libe)
1624     ac_prev=libexecdir ;;
1625   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1626   | --libexe=* | --libex=* | --libe=*)
1627     libexecdir=$ac_optarg ;;
1628
1629   -localedir | --localedir | --localedi | --localed | --locale)
1630     ac_prev=localedir ;;
1631   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1632     localedir=$ac_optarg ;;
1633
1634   -localstatedir | --localstatedir | --localstatedi | --localstated \
1635   | --localstate | --localstat | --localsta | --localst | --locals)
1636     ac_prev=localstatedir ;;
1637   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1638   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1639     localstatedir=$ac_optarg ;;
1640
1641   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1642     ac_prev=mandir ;;
1643   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1644     mandir=$ac_optarg ;;
1645
1646   -nfp | --nfp | --nf)
1647     # Obsolete; use --without-fp.
1648     with_fp=no ;;
1649
1650   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1651   | --no-cr | --no-c | -n)
1652     no_create=yes ;;
1653
1654   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1655   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1656     no_recursion=yes ;;
1657
1658   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1659   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1660   | --oldin | --oldi | --old | --ol | --o)
1661     ac_prev=oldincludedir ;;
1662   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1663   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1664   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1665     oldincludedir=$ac_optarg ;;
1666
1667   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1668     ac_prev=prefix ;;
1669   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1670     prefix=$ac_optarg ;;
1671
1672   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1673   | --program-pre | --program-pr | --program-p)
1674     ac_prev=program_prefix ;;
1675   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1676   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1677     program_prefix=$ac_optarg ;;
1678
1679   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1680   | --program-suf | --program-su | --program-s)
1681     ac_prev=program_suffix ;;
1682   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1683   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1684     program_suffix=$ac_optarg ;;
1685
1686   -program-transform-name | --program-transform-name \
1687   | --program-transform-nam | --program-transform-na \
1688   | --program-transform-n | --program-transform- \
1689   | --program-transform | --program-transfor \
1690   | --program-transfo | --program-transf \
1691   | --program-trans | --program-tran \
1692   | --progr-tra | --program-tr | --program-t)
1693     ac_prev=program_transform_name ;;
1694   -program-transform-name=* | --program-transform-name=* \
1695   | --program-transform-nam=* | --program-transform-na=* \
1696   | --program-transform-n=* | --program-transform-=* \
1697   | --program-transform=* | --program-transfor=* \
1698   | --program-transfo=* | --program-transf=* \
1699   | --program-trans=* | --program-tran=* \
1700   | --progr-tra=* | --program-tr=* | --program-t=*)
1701     program_transform_name=$ac_optarg ;;
1702
1703   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1704     ac_prev=pdfdir ;;
1705   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1706     pdfdir=$ac_optarg ;;
1707
1708   -psdir | --psdir | --psdi | --psd | --ps)
1709     ac_prev=psdir ;;
1710   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1711     psdir=$ac_optarg ;;
1712
1713   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1714   | -silent | --silent | --silen | --sile | --sil)
1715     silent=yes ;;
1716
1717   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1718     ac_prev=sbindir ;;
1719   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1720   | --sbi=* | --sb=*)
1721     sbindir=$ac_optarg ;;
1722
1723   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1724   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1725   | --sharedst | --shareds | --shared | --share | --shar \
1726   | --sha | --sh)
1727     ac_prev=sharedstatedir ;;
1728   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1729   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1730   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1731   | --sha=* | --sh=*)
1732     sharedstatedir=$ac_optarg ;;
1733
1734   -site | --site | --sit)
1735     ac_prev=site ;;
1736   -site=* | --site=* | --sit=*)
1737     site=$ac_optarg ;;
1738
1739   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1740     ac_prev=srcdir ;;
1741   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1742     srcdir=$ac_optarg ;;
1743
1744   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1745   | --syscon | --sysco | --sysc | --sys | --sy)
1746     ac_prev=sysconfdir ;;
1747   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1748   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1749     sysconfdir=$ac_optarg ;;
1750
1751   -target | --target | --targe | --targ | --tar | --ta | --t)
1752     ac_prev=target_alias ;;
1753   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1754     target_alias=$ac_optarg ;;
1755
1756   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1757     verbose=yes ;;
1758
1759   -version | --version | --versio | --versi | --vers | -V)
1760     ac_init_version=: ;;
1761
1762   -with-* | --with-*)
1763     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1764     # Reject names that are not valid shell variable names.
1765     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1766       as_fn_error $? "invalid package name: $ac_useropt"
1767     ac_useropt_orig=$ac_useropt
1768     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1769     case $ac_user_opts in
1770       *"
1771 "with_$ac_useropt"
1772 "*) ;;
1773       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1774          ac_unrecognized_sep=', ';;
1775     esac
1776     eval with_$ac_useropt=\$ac_optarg ;;
1777
1778   -without-* | --without-*)
1779     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1780     # Reject names that are not valid shell variable names.
1781     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1782       as_fn_error $? "invalid package name: $ac_useropt"
1783     ac_useropt_orig=$ac_useropt
1784     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1785     case $ac_user_opts in
1786       *"
1787 "with_$ac_useropt"
1788 "*) ;;
1789       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1790          ac_unrecognized_sep=', ';;
1791     esac
1792     eval with_$ac_useropt=no ;;
1793
1794   --x)
1795     # Obsolete; use --with-x.
1796     with_x=yes ;;
1797
1798   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1799   | --x-incl | --x-inc | --x-in | --x-i)
1800     ac_prev=x_includes ;;
1801   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1802   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1803     x_includes=$ac_optarg ;;
1804
1805   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1806   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1807     ac_prev=x_libraries ;;
1808   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1809   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1810     x_libraries=$ac_optarg ;;
1811
1812   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1813 Try \`$0 --help' for more information"
1814     ;;
1815
1816   *=*)
1817     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1818     # Reject names that are not valid shell variable names.
1819     case $ac_envvar in #(
1820       '' | [0-9]* | *[!_$as_cr_alnum]* )
1821       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1822     esac
1823     eval $ac_envvar=\$ac_optarg
1824     export $ac_envvar ;;
1825
1826   *)
1827     # FIXME: should be removed in autoconf 3.0.
1828     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1829     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1830       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1831     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1832     ;;
1833
1834   esac
1835 done
1836
1837 if test -n "$ac_prev"; then
1838   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1839   as_fn_error $? "missing argument to $ac_option"
1840 fi
1841
1842 if test -n "$ac_unrecognized_opts"; then
1843   case $enable_option_checking in
1844     no) ;;
1845     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1846     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1847   esac
1848 fi
1849
1850 # Check all directory arguments for consistency.
1851 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1852                 datadir sysconfdir sharedstatedir localstatedir includedir \
1853                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1854                 libdir localedir mandir
1855 do
1856   eval ac_val=\$$ac_var
1857   # Remove trailing slashes.
1858   case $ac_val in
1859     */ )
1860       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1861       eval $ac_var=\$ac_val;;
1862   esac
1863   # Be sure to have absolute directory names.
1864   case $ac_val in
1865     [\\/$]* | ?:[\\/]* )  continue;;
1866     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1867   esac
1868   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1869 done
1870
1871 # There might be people who depend on the old broken behavior: `$host'
1872 # used to hold the argument of --host etc.
1873 # FIXME: To remove some day.
1874 build=$build_alias
1875 host=$host_alias
1876 target=$target_alias
1877
1878 # FIXME: To remove some day.
1879 if test "x$host_alias" != x; then
1880   if test "x$build_alias" = x; then
1881     cross_compiling=maybe
1882   elif test "x$build_alias" != "x$host_alias"; then
1883     cross_compiling=yes
1884   fi
1885 fi
1886
1887 ac_tool_prefix=
1888 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1889
1890 test "$silent" = yes && exec 6>/dev/null
1891
1892
1893 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1894 ac_ls_di=`ls -di .` &&
1895 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1896   as_fn_error $? "working directory cannot be determined"
1897 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1898   as_fn_error $? "pwd does not report name of working directory"
1899
1900
1901 # Find the source files, if location was not specified.
1902 if test -z "$srcdir"; then
1903   ac_srcdir_defaulted=yes
1904   # Try the directory containing this script, then the parent directory.
1905   ac_confdir=`$as_dirname -- "$as_myself" ||
1906 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1907          X"$as_myself" : 'X\(//\)[^/]' \| \
1908          X"$as_myself" : 'X\(//\)$' \| \
1909          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1910 $as_echo X"$as_myself" |
1911     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1912             s//\1/
1913             q
1914           }
1915           /^X\(\/\/\)[^/].*/{
1916             s//\1/
1917             q
1918           }
1919           /^X\(\/\/\)$/{
1920             s//\1/
1921             q
1922           }
1923           /^X\(\/\).*/{
1924             s//\1/
1925             q
1926           }
1927           s/.*/./; q'`
1928   srcdir=$ac_confdir
1929   if test ! -r "$srcdir/$ac_unique_file"; then
1930     srcdir=..
1931   fi
1932 else
1933   ac_srcdir_defaulted=no
1934 fi
1935 if test ! -r "$srcdir/$ac_unique_file"; then
1936   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1937   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1938 fi
1939 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1940 ac_abs_confdir=`(
1941         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1942         pwd)`
1943 # When building in place, set srcdir=.
1944 if test "$ac_abs_confdir" = "$ac_pwd"; then
1945   srcdir=.
1946 fi
1947 # Remove unnecessary trailing slashes from srcdir.
1948 # Double slashes in file names in object file debugging info
1949 # mess up M-x gdb in Emacs.
1950 case $srcdir in
1951 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1952 esac
1953 for ac_var in $ac_precious_vars; do
1954   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1955   eval ac_env_${ac_var}_value=\$${ac_var}
1956   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1957   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1958 done
1959
1960 #
1961 # Report the --help message.
1962 #
1963 if test "$ac_init_help" = "long"; then
1964   # Omit some internal or obsolete options to make the list less imposing.
1965   # This message is too long to be a string in the A/UX 3.1 sh.
1966   cat <<_ACEOF
1967 \`configure' configures wxWidgets 3.0.0 to adapt to many kinds of systems.
1968
1969 Usage: $0 [OPTION]... [VAR=VALUE]...
1970
1971 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1972 VAR=VALUE.  See below for descriptions of some of the useful variables.
1973
1974 Defaults for the options are specified in brackets.
1975
1976 Configuration:
1977   -h, --help              display this help and exit
1978       --help=short        display options specific to this package
1979       --help=recursive    display the short help of all the included packages
1980   -V, --version           display version information and exit
1981   -q, --quiet, --silent   do not print \`checking ...' messages
1982       --cache-file=FILE   cache test results in FILE [disabled]
1983   -C, --config-cache      alias for \`--cache-file=config.cache'
1984   -n, --no-create         do not create output files
1985       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1986
1987 Installation directories:
1988   --prefix=PREFIX         install architecture-independent files in PREFIX
1989                           [$ac_default_prefix]
1990   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1991                           [PREFIX]
1992
1993 By default, \`make install' will install all the files in
1994 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1995 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1996 for instance \`--prefix=\$HOME'.
1997
1998 For better control, use the options below.
1999
2000 Fine tuning of the installation directories:
2001   --bindir=DIR            user executables [EPREFIX/bin]
2002   --sbindir=DIR           system admin executables [EPREFIX/sbin]
2003   --libexecdir=DIR        program executables [EPREFIX/libexec]
2004   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
2005   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
2006   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
2007   --libdir=DIR            object code libraries [EPREFIX/lib]
2008   --includedir=DIR        C header files [PREFIX/include]
2009   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
2010   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
2011   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
2012   --infodir=DIR           info documentation [DATAROOTDIR/info]
2013   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
2014   --mandir=DIR            man documentation [DATAROOTDIR/man]
2015   --docdir=DIR            documentation root [DATAROOTDIR/doc/wxwidgets]
2016   --htmldir=DIR           html documentation [DOCDIR]
2017   --dvidir=DIR            dvi documentation [DOCDIR]
2018   --pdfdir=DIR            pdf documentation [DOCDIR]
2019   --psdir=DIR             ps documentation [DOCDIR]
2020 _ACEOF
2021
2022   cat <<\_ACEOF
2023
2024 X features:
2025   --x-includes=DIR    X include files are in DIR
2026   --x-libraries=DIR   X library files are in DIR
2027
2028 System types:
2029   --build=BUILD     configure for building on BUILD [guessed]
2030   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
2031 _ACEOF
2032 fi
2033
2034 if test -n "$ac_init_help"; then
2035   case $ac_init_help in
2036      short | recursive ) echo "Configuration of wxWidgets 3.0.0:";;
2037    esac
2038   cat <<\_ACEOF
2039
2040 Optional Features:
2041   --disable-option-checking  ignore unrecognized --enable/--with options
2042   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
2043   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
2044   --disable-gui           don't build GUI parts of the library
2045   --enable-monolithic     build wxWidgets as single library
2046   --enable-plugins        build parts of wxWidgets as loadable components
2047   --enable-official_build official build of wxWidgets (win32 DLL only)
2048   --enable-vendor=VENDOR  vendor name (win32 DLL only)
2049   --disable-all-features  disable all optional features to build minimal library
2050   --enable-universal      use wxWidgets GUI controls instead of native ones
2051   --enable-nanox          use NanoX
2052   --enable-gpe            use GNOME PDA Environment features if possible
2053   --enable-debug          build library for debugging
2054   --disable-debug_flag    disable all debugging support
2055   --enable-debug_info     generate debug information
2056   --enable-debug_gdb      create code with extra GDB debugging information
2057   --enable-debug_cntxt    obsolete, don't use: use wxDebugContext
2058   --enable-mem_tracing    obsolete, don't use: create code with memory tracing
2059   --disable-shared        create static library instead of shared
2060   --enable-stl            use standard C++ classes for everything
2061   --enable-std_containers use standard C++ container classes
2062   --enable-std_iostreams  use standard C++ stream classes
2063   --enable-std_string     use standard C++ string classes
2064  --enable-std_string_conv_in_wxstring     provide implicit conversion to std::string in wxString
2065   --disable-unicode       compile without Unicode support
2066   --enable-mslu           use MS Layer for Unicode on Windows 9x (Win32 only)
2067   --enable-utf8           use UTF-8 representation for strings (Unix only)
2068   --enable-utf8only       only support UTF-8 locales in UTF-8 build (Unix only)
2069   --enable-extended_rtti  use extended RTTI (XTI)
2070   --enable-omf            use OMF object format
2071   --disable-optimise      compile without optimisations
2072   --enable-profile        create code with profiling information
2073   --enable-no_rtti        create code without RTTI information
2074   --enable-no_exceptions  create code without C++ exceptions handling
2075   --enable-permissive     compile code disregarding strict ANSI
2076   --enable-no_deps        create code without dependency information
2077   --disable-vararg_macros don't use vararg macros, even if they are supported
2078   --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2079   --enable-macosx_arch=ARCH  build for just the specified architecture
2080   --enable-compat26       enable wxWidgets 2.6 compatibility
2081   --disable-compat28      disable wxWidgets 2.8 compatibility
2082   --disable-rpath         disable use of rpath for uninstalled builds
2083   --enable-objc_uniquifying enable Objective-C class name uniquifying
2084   --disable-visibility    disable use of ELF symbols visibility even if supported
2085   --disable-tls           disable use of compiler TLS support
2086   --enable-intl           use internationalization system
2087   --enable-xlocale        use x-locale support (requires wxLocale)
2088   --enable-config         use wxConfig (and derived) classes
2089   --enable-protocols      use wxProtocol and derived classes
2090   --enable-ftp            use wxFTP (requires wxProtocol
2091   --enable-http           use wxHTTP (requires wxProtocol
2092   --enable-fileproto      use wxFileProto class (requires wxProtocol
2093   --enable-sockets        use socket/network classes
2094   --enable-ipv6           enable IPv6 support in wxSocket
2095   --enable-ole            use OLE classes (Win32 only)
2096   --enable-dataobj        use data object classes
2097   --enable-ipc            use interprocess communication (wxSocket etc.)
2098   --enable-baseevtloop    use event loop in console programs too
2099   --enable-epollloop      use wxEpollDispatcher class (Linux only)
2100   --enable-selectloop     use wxSelectDispatcher class
2101   --enable-any            use wxAny class
2102   --enable-apple_ieee     use the Apple IEEE codec
2103   --enable-arcstream      use wxArchive streams
2104   --enable-base64         use base64 encoding/decoding functions
2105   --enable-backtrace      use wxStackWalker class for getting backtraces
2106   --enable-catch_segvs    catch signals in wxApp::OnFatalException (Unix only)
2107   --enable-cmdline        use wxCmdLineParser class
2108   --enable-datetime       use wxDateTime class
2109   --enable-debugreport    use wxDebugReport class
2110   --enable-dialupman      use dialup network classes
2111   --enable-dynlib         use wxLibrary class for DLL loading
2112   --enable-dynamicloader  use (new) wxDynamicLibrary class
2113   --enable-exceptions     build exception-safe library
2114   --enable-ffile          use wxFFile class
2115   --enable-file           use wxFile class
2116   --enable-filehistory    use wxFileHistory class
2117   --enable-filesystem     use virtual file systems classes
2118   --enable-fontenum       use wxFontEnumerator class
2119   --enable-fontmap        use font encodings conversion classes
2120   --enable-fs_archive     use virtual archive filesystems
2121   --enable-fs_inet        use virtual HTTP/FTP filesystems
2122   --enable-fs_zip         now replaced by fs_archive
2123   --enable-fsvolume       use wxFSVolume class
2124   --enable-fswatcher      use wxFileSystemWatcher class
2125   --enable-geometry       use geometry class
2126   --enable-log            use logging system
2127   --enable-longlong       use wxLongLong class
2128   --enable-mimetype       use wxMimeTypesManager
2129   --enable-printfposparam use wxVsnprintf() which supports positional parameters
2130   --enable-snglinst       use wxSingleInstanceChecker class
2131   --enable-sound          use wxSound class
2132   --enable-stdpaths       use wxStandardPaths class
2133   --enable-stopwatch      use wxStopWatch class
2134   --enable-streams        use wxStream etc classes
2135   --enable-sysoptions     use wxSystemOptions
2136   --enable-tarstream      use wxTar streams
2137   --enable-textbuf        use wxTextBuffer class
2138   --enable-textfile       use wxTextFile class
2139   --enable-timer          use wxTimer class
2140   --enable-variant        use wxVariant class
2141   --enable-zipstream      use wxZip streams
2142   --enable-url            use wxURL class
2143   --enable-protocol       use wxProtocol class
2144   --enable-protocol-http  HTTP support in wxProtocol
2145   --enable-protocol-ftp   FTP support in wxProtocol
2146   --enable-protocol-file  FILE support in wxProtocol
2147   --enable-threads        use threads
2148   --enable-iniconf        use wxIniConfig (Win32 only)
2149   --enable-regkey         use wxRegKey class (Win32 only)
2150   --enable-docview        use document view architecture
2151   --enable-help           use help subsystem
2152   --enable-mshtmlhelp     use MS HTML Help (win32)
2153   --enable-html           use wxHTML sub-library
2154   --enable-htmlhelp       use wxHTML-based help
2155   --enable-xrc            use XRC resources sub-library
2156   --enable-aui            use AUI docking library
2157   --enable-propgrid       use wxPropertyGrid library
2158   --enable-ribbon         use wxRibbon library
2159   --enable-stc            use wxStyledTextCtrl library
2160   --enable-constraints    use layout-constraints system
2161   --enable-loggui         use standard GUI logger
2162   --enable-logwin         use wxLogWindow
2163   --enable-logdialog      use wxLogDialog
2164   --enable-mdi            use multiple document interface architecture
2165   --enable-mdidoc         use docview architecture with MDI
2166   --enable-mediactrl      use wxMediaCtrl class
2167   --enable-gstreamer8     force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2168   --enable-richtext       use wxRichTextCtrl
2169   --enable-postscript     use wxPostscriptDC device context (default for gtk+)
2170   --enable-printarch      use printing architecture
2171   --enable-svg            use wxSVGFileDC device context
2172   --enable-webkit         use wxWebKitCtrl (Mac-only, use wxWebView instead)
2173   --enable-webview        use wxWebView library
2174   --enable-graphics_ctx   use graphics context 2D drawing API
2175   --enable-clipboard      use wxClipboard class
2176   --enable-dnd            use Drag'n'Drop classes
2177   --disable-controls      disable compilation of all standard controls
2178   --enable-markup         support wxControl::SetLabelMarkup
2179   --enable-accel          use accelerators
2180   --enable-animatectrl    use wxAnimationCtrl class
2181   --enable-bannerwindow   use wxBannerWindow class
2182   --enable-artstd         use standard XPM icons in wxArtProvider
2183   --enable-arttango       use Tango icons in wxArtProvider
2184   --enable-bmpbutton      use wxBitmapButton class
2185   --enable-bmpcombobox    use wxBitmapComboBox class
2186   --enable-button         use wxButton class
2187   --enable-calendar       use wxCalendarCtrl class
2188   --enable-caret          use wxCaret class
2189   --enable-checkbox       use wxCheckBox class
2190   --enable-checklst       use wxCheckListBox (listbox with checkboxes) class
2191   --enable-choice         use wxChoice class
2192   --enable-choicebook     use wxChoicebook class
2193   --enable-collpane       use wxCollapsiblePane class
2194   --enable-colourpicker   use wxColourPickerCtrl class
2195   --enable-combobox       use wxComboBox class
2196   --enable-comboctrl      use wxComboCtrl class
2197   --enable-commandlinkbutton      use wxCommmandLinkButton class
2198   --enable-dataviewctrl   use wxDataViewCtrl class
2199   --enable-datepick       use wxDatePickerCtrl class
2200   --enable-detect_sm      use code to detect X11 session manager
2201   --enable-dirpicker      use wxDirPickerCtrl class
2202   --enable-display        use wxDisplay class
2203   --enable-editablebox    use wxEditableListBox class
2204   --enable-filectrl       use wxFileCtrl class
2205   --enable-filepicker     use wxFilePickerCtrl class
2206   --enable-fontpicker     use wxFontPickerCtrl class
2207   --enable-gauge          use wxGauge class
2208   --enable-grid           use wxGrid class
2209   --enable-headerctrl     use wxHeaderCtrl class
2210   --enable-hyperlink      use wxHyperlinkCtrl class
2211   --enable-imaglist       use wxImageList class
2212   --enable-infobar        use wxInfoBar class
2213   --enable-listbook       use wxListbook class
2214   --enable-listbox        use wxListBox class
2215   --enable-listctrl       use wxListCtrl class
2216   --enable-notebook       use wxNotebook class
2217   --enable-notifmsg       use wxNotificationMessage class
2218   --enable-odcombobox     use wxOwnerDrawnComboBox class
2219   --enable-popupwin       use wxPopUpWindow class
2220   --enable-prefseditor    use wxPreferencesEditor class
2221   --enable-radiobox       use wxRadioBox class
2222   --enable-radiobtn       use wxRadioButton class
2223   --enable-richmsgdlg     use wxRichMessageDialog class
2224   --enable-richtooltip    use wxRichToolTip class
2225   --enable-rearrangectrl  use wxRearrangeList/Ctrl/Dialog
2226   --enable-sash           use wxSashWindow class
2227   --enable-scrollbar      use wxScrollBar class and scrollable windows
2228   --enable-searchctrl     use wxSearchCtrl class
2229   --enable-slider         use wxSlider class
2230   --enable-spinbtn        use wxSpinButton class
2231   --enable-spinctrl       use wxSpinCtrl class
2232   --enable-splitter       use wxSplitterWindow class
2233   --enable-statbmp        use wxStaticBitmap class
2234   --enable-statbox        use wxStaticBox class
2235   --enable-statline       use wxStaticLine class
2236   --enable-stattext       use wxStaticText class
2237   --enable-statusbar      use wxStatusBar class
2238   --enable-taskbaricon    use wxTaskBarIcon class
2239   --enable-tbarnative     use native wxToolBar class
2240   --enable-textctrl       use wxTextCtrl class
2241   --enable-timepick       use wxTimePickerCtrl class
2242   --enable-tipwindow      use wxTipWindow class
2243   --enable-togglebtn      use wxToggleButton class
2244   --enable-toolbar        use wxToolBar class
2245   --enable-toolbook       use wxToolbook class
2246   --enable-treebook       use wxTreebook class
2247   --enable-treectrl       use wxTreeCtrl class
2248   --enable-treelist       use wxTreeListCtrl class
2249   --enable-commondlg      use all common dialogs
2250   --enable-aboutdlg       use wxAboutBox
2251   --enable-choicedlg      use wxChoiceDialog
2252   --enable-coldlg         use wxColourDialog
2253   --enable-filedlg        use wxFileDialog
2254   --enable-finddlg        use wxFindReplaceDialog
2255   --enable-fontdlg        use wxFontDialog
2256   --enable-dirdlg         use wxDirDialog
2257   --enable-msgdlg         use wxMessageDialog
2258   --enable-numberdlg      use wxNumberEntryDialog
2259   --enable-splash         use wxSplashScreen
2260   --enable-textdlg        use wxTextDialog
2261   --enable-tipdlg         use startup tips
2262   --enable-progressdlg    use wxProgressDialog
2263   --enable-wizarddlg      use wxWizard
2264   --enable-menus          use wxMenu/wxMenuBar/wxMenuItem classes
2265   --enable-miniframe      use wxMiniFrame class
2266   --enable-tooltips       use wxToolTip class
2267   --enable-splines        use spline drawing code
2268   --enable-mousewheel     use mousewheel
2269   --enable-validators     use wxValidator and derived classes
2270   --enable-busyinfo       use wxBusyInfo
2271   --enable-hotkey         use wxWindow::RegisterHotKey()
2272   --enable-joystick       use wxJoystick
2273   --enable-metafiles      use wxMetaFile
2274   --enable-dragimage      use wxDragImage
2275   --enable-accessibility  enable accessibility support
2276   --enable-uiactionsim    use wxUIActionSimulator (experimental)
2277   --enable-dctransform    use wxDC::SetTransformMatrix and related
2278   --enable-webviewwebkit  use wxWebView WebKit backend
2279   --enable-palette        use wxPalette class
2280   --enable-image          use wxImage class
2281   --enable-gif            use gif images (GIF file format)
2282   --enable-pcx            use pcx images (PCX file format)
2283   --enable-tga            use tga images (TGA file format)
2284   --enable-iff            use iff images (IFF file format)
2285   --enable-pnm            use pnm images (PNM file format)
2286   --enable-xpm            use xpm images (XPM file format)
2287   --enable-ico_cur        use Windows ICO and CUR formats
2288   --enable-dccache        cache temporary wxDC objects (Win32 only)
2289   --enable-ps-in-msw      use PS printing in wxMSW (Win32 only)
2290   --enable-ownerdrawn     use owner drawn controls (Win32 and OS/2 only)
2291   --enable-uxtheme        enable support for Windows XP themed look (Win32 only)
2292   --enable-wxdib          use wxDIB class (Win32 only)
2293   --enable-webviewie      use wxWebView IE backend (Win32 only)
2294   --enable-autoidman      use automatic ids management
2295   --disable-largefile     omit support for large files
2296   --disable-gtktest       do not try to compile and run a test GTK+ program
2297   --disable-gtktest       Do not try to compile and run a test GTK program
2298   --disable-sdltest       Do not try to compile and run a test SDL program
2299   --enable-omf            use OMF object format (OS/2)
2300   --disable-dependency-tracking
2301                           don't use dependency tracking even if the compiler
2302                           can
2303   --disable-precomp-headers
2304                           don't use precompiled headers even if compiler can
2305
2306 Optional Packages:
2307   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2308   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2309   --without-subdirs       don't generate makefiles for samples/demos/...
2310   --with-flavour=NAME     specify a name to identify this build
2311   --with-themes=all|list  use only the specified comma-separated list of wxUniversal themes
2312   --with-gtk[=VERSION]    use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2313   --with-motif            use Motif/Lesstif
2314   --with-osx_carbon       use Mac OS X (Carbon)
2315   --with-osx_cocoa        use Mac OS X (Cocoa)
2316   --with-osx_iphone       use iPhone OS X port
2317   --with-osx              use Mac OS X (default port, currently Carbon)
2318   --with-carbon           same as --with-osx_carbon
2319   --with-cocoa            same as --with-osx_cocoa
2320   --with-iphone           same as --with-osx_iphone
2321   --with-mac              same as --with-osx
2322   --with-old_cocoa        use old, deprecated, Cocoa port
2323   --with-wine             use Wine
2324   --with-msw              use MS-Windows
2325   --with-pm               use OS/2 Presentation Manager
2326   --with-directfb         use DirectFB
2327   --with-microwin         use MicroWindows
2328   --with-x11              use X11
2329   --with-libpng           use libpng (PNG image format)
2330   --with-libjpeg          use libjpeg (JPEG file format)
2331   --with-libtiff          use libtiff (TIFF file format)
2332   --without-libjbig       don't use libjbig in libtiff even if available)
2333   --without-liblzma       don't use liblzma in libtiff even if available)
2334   --with-libxpm           use libxpm (XPM file format)
2335   --with-libiconv         use libiconv (character conversion)
2336   --with-libmspack        use libmspack (CHM help files loading)
2337   --without-gtkprint      don't use GTK printing support
2338   --with-gnomevfs         use GNOME VFS for associating MIME types
2339   --with-libnotify        use libnotify for notifications
2340   --with-hildon           use Hildon framework for Nokia 770/800/810
2341   --with-opengl           use OpenGL (or Mesa)
2342   --with-dmalloc          use dmalloc library (http://dmalloc.com/)
2343   --with-sdl              use SDL for audio on Unix
2344   --with-regex            enable support for wxRegEx class
2345   --with-zlib             use zlib for LZW compression
2346   --with-expat            enable XML support using expat parser
2347   --with-macosx-sdk=PATH  use an OS X SDK at PATH
2348   --with-macosx-version-min=VER   build binaries which require at least this OS X version
2349   --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)
2350   --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2351   --with-x                use the X Window System
2352   --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
2353   --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
2354   --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2355   --with-cppunit-prefix=PFX   Prefix where CppUnit is installed (optional)
2356   --with-cppunit-exec-prefix=PFX  Exec prefix where CppUnit is installed (optional)
2357
2358 Some influential environment variables:
2359   CC          C compiler command
2360   CFLAGS      C compiler flags
2361   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
2362               nonstandard directory <lib dir>
2363   LIBS        libraries to pass to the linker, e.g. -l<library>
2364   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2365               you have headers in a nonstandard directory <include dir>
2366   CPP         C preprocessor
2367   CXX         C++ compiler command
2368   CXXFLAGS    C++ compiler flags
2369   CXXCPP      C++ preprocessor
2370   PKG_CONFIG  path to pkg-config utility
2371   DIRECTFB_CFLAGS
2372               C compiler flags for DIRECTFB, overriding pkg-config
2373   DIRECTFB_LIBS
2374               linker flags for DIRECTFB, overriding pkg-config
2375   XMKMF       Path to xmkmf, Makefile generator for X Window System
2376   PANGOX_CFLAGS
2377               C compiler flags for PANGOX, overriding pkg-config
2378   PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2379   PANGOFT2_CFLAGS
2380               C compiler flags for PANGOFT2, overriding pkg-config
2381   PANGOFT2_LIBS
2382               linker flags for PANGOFT2, overriding pkg-config
2383   PANGOXFT_CFLAGS
2384               C compiler flags for PANGOXFT, overriding pkg-config
2385   PANGOXFT_LIBS
2386               linker flags for PANGOXFT, overriding pkg-config
2387   Xinerama_CFLAGS
2388               C compiler flags for Xinerama, overriding pkg-config
2389   Xinerama_LIBS
2390               linker flags for Xinerama, overriding pkg-config
2391   Xxf86vm_CFLAGS
2392               C compiler flags for Xxf86vm, overriding pkg-config
2393   Xxf86vm_LIBS
2394               linker flags for Xxf86vm, overriding pkg-config
2395   SM_CFLAGS   C compiler flags for SM, overriding pkg-config
2396   SM_LIBS     linker flags for SM, overriding pkg-config
2397   GL_CFLAGS   C compiler flags for GL, overriding pkg-config
2398   GL_LIBS     linker flags for GL, overriding pkg-config
2399   GLU_CFLAGS  C compiler flags for GLU, overriding pkg-config
2400   GLU_LIBS    linker flags for GLU, overriding pkg-config
2401   MesaGL_CFLAGS
2402               C compiler flags for MesaGL, overriding pkg-config
2403   MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2404   GTKPRINT_CFLAGS
2405               C compiler flags for GTKPRINT, overriding pkg-config
2406   GTKPRINT_LIBS
2407               linker flags for GTKPRINT, overriding pkg-config
2408   GNOMEVFS_CFLAGS
2409               C compiler flags for GNOMEVFS, overriding pkg-config
2410   GNOMEVFS_LIBS
2411               linker flags for GNOMEVFS, overriding pkg-config
2412   LIBNOTIFY_CFLAGS
2413               C compiler flags for LIBNOTIFY, overriding pkg-config
2414   LIBNOTIFY_LIBS
2415               linker flags for LIBNOTIFY, overriding pkg-config
2416   HILDON_CFLAGS
2417               C compiler flags for HILDON, overriding pkg-config
2418   HILDON_LIBS linker flags for HILDON, overriding pkg-config
2419   HILDON2_CFLAGS
2420               C compiler flags for HILDON2, overriding pkg-config
2421   HILDON2_LIBS
2422               linker flags for HILDON2, overriding pkg-config
2423   WEBKIT_CFLAGS
2424               C compiler flags for WEBKIT, overriding pkg-config
2425   WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2426   CAIRO_CFLAGS
2427               C compiler flags for CAIRO, overriding pkg-config
2428   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
2429   GST_CFLAGS  C compiler flags for GST, overriding pkg-config
2430   GST_LIBS    linker flags for GST, overriding pkg-config
2431
2432 Use these variables to override the choices made by `configure' or to help
2433 it to find libraries and programs with nonstandard names/locations.
2434
2435 Report bugs to <wx-dev@lists.wxwidgets.org>.
2436 _ACEOF
2437 ac_status=$?
2438 fi
2439
2440 if test "$ac_init_help" = "recursive"; then
2441   # If there are subdirs, report their specific --help.
2442   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2443     test -d "$ac_dir" ||
2444       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2445       continue
2446     ac_builddir=.
2447
2448 case "$ac_dir" in
2449 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2450 *)
2451   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2452   # A ".." for each directory in $ac_dir_suffix.
2453   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2454   case $ac_top_builddir_sub in
2455   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2456   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2457   esac ;;
2458 esac
2459 ac_abs_top_builddir=$ac_pwd
2460 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2461 # for backward compatibility:
2462 ac_top_builddir=$ac_top_build_prefix
2463
2464 case $srcdir in
2465   .)  # We are building in place.
2466     ac_srcdir=.
2467     ac_top_srcdir=$ac_top_builddir_sub
2468     ac_abs_top_srcdir=$ac_pwd ;;
2469   [\\/]* | ?:[\\/]* )  # Absolute name.
2470     ac_srcdir=$srcdir$ac_dir_suffix;
2471     ac_top_srcdir=$srcdir
2472     ac_abs_top_srcdir=$srcdir ;;
2473   *) # Relative name.
2474     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2475     ac_top_srcdir=$ac_top_build_prefix$srcdir
2476     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2477 esac
2478 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2479
2480     cd "$ac_dir" || { ac_status=$?; continue; }
2481     # Check for guested configure.
2482     if test -f "$ac_srcdir/configure.gnu"; then
2483       echo &&
2484       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2485     elif test -f "$ac_srcdir/configure"; then
2486       echo &&
2487       $SHELL "$ac_srcdir/configure" --help=recursive
2488     else
2489       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2490     fi || ac_status=$?
2491     cd "$ac_pwd" || { ac_status=$?; break; }
2492   done
2493 fi
2494
2495 test -n "$ac_init_help" && exit $ac_status
2496 if $ac_init_version; then
2497   cat <<\_ACEOF
2498 wxWidgets configure 3.0.0
2499 generated by GNU Autoconf 2.69
2500
2501 Copyright (C) 2012 Free Software Foundation, Inc.
2502 This configure script is free software; the Free Software Foundation
2503 gives unlimited permission to copy, distribute and modify it.
2504 _ACEOF
2505   exit
2506 fi
2507
2508 ## ------------------------ ##
2509 ## Autoconf initialization. ##
2510 ## ------------------------ ##
2511
2512 # ac_fn_c_try_compile LINENO
2513 # --------------------------
2514 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2515 ac_fn_c_try_compile ()
2516 {
2517   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2518   rm -f conftest.$ac_objext
2519   if { { ac_try="$ac_compile"
2520 case "(($ac_try" in
2521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2522   *) ac_try_echo=$ac_try;;
2523 esac
2524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2525 $as_echo "$ac_try_echo"; } >&5
2526   (eval "$ac_compile") 2>conftest.err
2527   ac_status=$?
2528   if test -s conftest.err; then
2529     grep -v '^ *+' conftest.err >conftest.er1
2530     cat conftest.er1 >&5
2531     mv -f conftest.er1 conftest.err
2532   fi
2533   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2534   test $ac_status = 0; } && {
2535          test -z "$ac_c_werror_flag" ||
2536          test ! -s conftest.err
2537        } && test -s conftest.$ac_objext; then :
2538   ac_retval=0
2539 else
2540   $as_echo "$as_me: failed program was:" >&5
2541 sed 's/^/| /' conftest.$ac_ext >&5
2542
2543         ac_retval=1
2544 fi
2545   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2546   as_fn_set_status $ac_retval
2547
2548 } # ac_fn_c_try_compile
2549
2550 # ac_fn_c_try_cpp LINENO
2551 # ----------------------
2552 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2553 ac_fn_c_try_cpp ()
2554 {
2555   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2556   if { { ac_try="$ac_cpp conftest.$ac_ext"
2557 case "(($ac_try" in
2558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2559   *) ac_try_echo=$ac_try;;
2560 esac
2561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2562 $as_echo "$ac_try_echo"; } >&5
2563   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2564   ac_status=$?
2565   if test -s conftest.err; then
2566     grep -v '^ *+' conftest.err >conftest.er1
2567     cat conftest.er1 >&5
2568     mv -f conftest.er1 conftest.err
2569   fi
2570   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2571   test $ac_status = 0; } > conftest.i && {
2572          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2573          test ! -s conftest.err
2574        }; then :
2575   ac_retval=0
2576 else
2577   $as_echo "$as_me: failed program was:" >&5
2578 sed 's/^/| /' conftest.$ac_ext >&5
2579
2580     ac_retval=1
2581 fi
2582   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2583   as_fn_set_status $ac_retval
2584
2585 } # ac_fn_c_try_cpp
2586
2587 # ac_fn_cxx_try_compile LINENO
2588 # ----------------------------
2589 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2590 ac_fn_cxx_try_compile ()
2591 {
2592   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2593   rm -f conftest.$ac_objext
2594   if { { ac_try="$ac_compile"
2595 case "(($ac_try" in
2596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2597   *) ac_try_echo=$ac_try;;
2598 esac
2599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2600 $as_echo "$ac_try_echo"; } >&5
2601   (eval "$ac_compile") 2>conftest.err
2602   ac_status=$?
2603   if test -s conftest.err; then
2604     grep -v '^ *+' conftest.err >conftest.er1
2605     cat conftest.er1 >&5
2606     mv -f conftest.er1 conftest.err
2607   fi
2608   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2609   test $ac_status = 0; } && {
2610          test -z "$ac_cxx_werror_flag" ||
2611          test ! -s conftest.err
2612        } && test -s conftest.$ac_objext; then :
2613   ac_retval=0
2614 else
2615   $as_echo "$as_me: failed program was:" >&5
2616 sed 's/^/| /' conftest.$ac_ext >&5
2617
2618         ac_retval=1
2619 fi
2620   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2621   as_fn_set_status $ac_retval
2622
2623 } # ac_fn_cxx_try_compile
2624
2625 # ac_fn_c_try_link LINENO
2626 # -----------------------
2627 # Try to link conftest.$ac_ext, and return whether this succeeded.
2628 ac_fn_c_try_link ()
2629 {
2630   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2631   rm -f conftest.$ac_objext conftest$ac_exeext
2632   if { { ac_try="$ac_link"
2633 case "(($ac_try" in
2634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2635   *) ac_try_echo=$ac_try;;
2636 esac
2637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2638 $as_echo "$ac_try_echo"; } >&5
2639   (eval "$ac_link") 2>conftest.err
2640   ac_status=$?
2641   if test -s conftest.err; then
2642     grep -v '^ *+' conftest.err >conftest.er1
2643     cat conftest.er1 >&5
2644     mv -f conftest.er1 conftest.err
2645   fi
2646   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2647   test $ac_status = 0; } && {
2648          test -z "$ac_c_werror_flag" ||
2649          test ! -s conftest.err
2650        } && test -s conftest$ac_exeext && {
2651          test "$cross_compiling" = yes ||
2652          test -x conftest$ac_exeext
2653        }; then :
2654   ac_retval=0
2655 else
2656   $as_echo "$as_me: failed program was:" >&5
2657 sed 's/^/| /' conftest.$ac_ext >&5
2658
2659         ac_retval=1
2660 fi
2661   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2662   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2663   # interfere with the next link command; also delete a directory that is
2664   # left behind by Apple's compiler.  We do this before executing the actions.
2665   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2666   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2667   as_fn_set_status $ac_retval
2668
2669 } # ac_fn_c_try_link
2670
2671 # ac_fn_cxx_try_link LINENO
2672 # -------------------------
2673 # Try to link conftest.$ac_ext, and return whether this succeeded.
2674 ac_fn_cxx_try_link ()
2675 {
2676   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2677   rm -f conftest.$ac_objext conftest$ac_exeext
2678   if { { ac_try="$ac_link"
2679 case "(($ac_try" in
2680   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2681   *) ac_try_echo=$ac_try;;
2682 esac
2683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2684 $as_echo "$ac_try_echo"; } >&5
2685   (eval "$ac_link") 2>conftest.err
2686   ac_status=$?
2687   if test -s conftest.err; then
2688     grep -v '^ *+' conftest.err >conftest.er1
2689     cat conftest.er1 >&5
2690     mv -f conftest.er1 conftest.err
2691   fi
2692   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2693   test $ac_status = 0; } && {
2694          test -z "$ac_cxx_werror_flag" ||
2695          test ! -s conftest.err
2696        } && test -s conftest$ac_exeext && {
2697          test "$cross_compiling" = yes ||
2698          test -x conftest$ac_exeext
2699        }; then :
2700   ac_retval=0
2701 else
2702   $as_echo "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.$ac_ext >&5
2704
2705         ac_retval=1
2706 fi
2707   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2708   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2709   # interfere with the next link command; also delete a directory that is
2710   # left behind by Apple's compiler.  We do this before executing the actions.
2711   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2712   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2713   as_fn_set_status $ac_retval
2714
2715 } # ac_fn_cxx_try_link
2716
2717 # ac_fn_c_try_run LINENO
2718 # ----------------------
2719 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2720 # that executables *can* be run.
2721 ac_fn_c_try_run ()
2722 {
2723   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2724   if { { ac_try="$ac_link"
2725 case "(($ac_try" in
2726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727   *) ac_try_echo=$ac_try;;
2728 esac
2729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2730 $as_echo "$ac_try_echo"; } >&5
2731   (eval "$ac_link") 2>&5
2732   ac_status=$?
2733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2734   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2735   { { case "(($ac_try" in
2736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2737   *) ac_try_echo=$ac_try;;
2738 esac
2739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2740 $as_echo "$ac_try_echo"; } >&5
2741   (eval "$ac_try") 2>&5
2742   ac_status=$?
2743   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2744   test $ac_status = 0; }; }; then :
2745   ac_retval=0
2746 else
2747   $as_echo "$as_me: program exited with status $ac_status" >&5
2748        $as_echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2750
2751        ac_retval=$ac_status
2752 fi
2753   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2754   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2755   as_fn_set_status $ac_retval
2756
2757 } # ac_fn_c_try_run
2758
2759 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2760 # -------------------------------------------------------
2761 # Tests whether HEADER exists and can be compiled using the include files in
2762 # INCLUDES, setting the cache variable VAR accordingly.
2763 ac_fn_c_check_header_compile ()
2764 {
2765   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2767 $as_echo_n "checking for $2... " >&6; }
2768 if eval \${$3+:} false; then :
2769   $as_echo_n "(cached) " >&6
2770 else
2771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2772 /* end confdefs.h.  */
2773 $4
2774 #include <$2>
2775 _ACEOF
2776 if ac_fn_c_try_compile "$LINENO"; then :
2777   eval "$3=yes"
2778 else
2779   eval "$3=no"
2780 fi
2781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2782 fi
2783 eval ac_res=\$$3
2784                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2785 $as_echo "$ac_res" >&6; }
2786   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2787
2788 } # ac_fn_c_check_header_compile
2789
2790 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2791 # ---------------------------------------------------------
2792 # Tests whether HEADER exists and can be compiled using the include files in
2793 # INCLUDES, setting the cache variable VAR accordingly.
2794 ac_fn_cxx_check_header_compile ()
2795 {
2796   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2798 $as_echo_n "checking for $2... " >&6; }
2799 if eval \${$3+:} false; then :
2800   $as_echo_n "(cached) " >&6
2801 else
2802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2803 /* end confdefs.h.  */
2804 $4
2805 #include <$2>
2806 _ACEOF
2807 if ac_fn_cxx_try_compile "$LINENO"; then :
2808   eval "$3=yes"
2809 else
2810   eval "$3=no"
2811 fi
2812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2813 fi
2814 eval ac_res=\$$3
2815                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2816 $as_echo "$ac_res" >&6; }
2817   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2818
2819 } # ac_fn_cxx_check_header_compile
2820
2821 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2822 # --------------------------------------------
2823 # Tries to find the compile-time value of EXPR in a program that includes
2824 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2825 # computed
2826 ac_fn_c_compute_int ()
2827 {
2828   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2829   if test "$cross_compiling" = yes; then
2830     # Depending upon the size, compute the lo and hi bounds.
2831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2832 /* end confdefs.h.  */
2833 $4
2834 int
2835 main ()
2836 {
2837 static int test_array [1 - 2 * !(($2) >= 0)];
2838 test_array [0] = 0;
2839 return test_array [0];
2840
2841   ;
2842   return 0;
2843 }
2844 _ACEOF
2845 if ac_fn_c_try_compile "$LINENO"; then :
2846   ac_lo=0 ac_mid=0
2847   while :; do
2848     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2849 /* end confdefs.h.  */
2850 $4
2851 int
2852 main ()
2853 {
2854 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2855 test_array [0] = 0;
2856 return test_array [0];
2857
2858   ;
2859   return 0;
2860 }
2861 _ACEOF
2862 if ac_fn_c_try_compile "$LINENO"; then :
2863   ac_hi=$ac_mid; break
2864 else
2865   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2866                         if test $ac_lo -le $ac_mid; then
2867                           ac_lo= ac_hi=
2868                           break
2869                         fi
2870                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2871 fi
2872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2873   done
2874 else
2875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2876 /* end confdefs.h.  */
2877 $4
2878 int
2879 main ()
2880 {
2881 static int test_array [1 - 2 * !(($2) < 0)];
2882 test_array [0] = 0;
2883 return test_array [0];
2884
2885   ;
2886   return 0;
2887 }
2888 _ACEOF
2889 if ac_fn_c_try_compile "$LINENO"; then :
2890   ac_hi=-1 ac_mid=-1
2891   while :; do
2892     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2893 /* end confdefs.h.  */
2894 $4
2895 int
2896 main ()
2897 {
2898 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2899 test_array [0] = 0;
2900 return test_array [0];
2901
2902   ;
2903   return 0;
2904 }
2905 _ACEOF
2906 if ac_fn_c_try_compile "$LINENO"; then :
2907   ac_lo=$ac_mid; break
2908 else
2909   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2910                         if test $ac_mid -le $ac_hi; then
2911                           ac_lo= ac_hi=
2912                           break
2913                         fi
2914                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2915 fi
2916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2917   done
2918 else
2919   ac_lo= ac_hi=
2920 fi
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 fi
2923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2924 # Binary search between lo and hi bounds.
2925 while test "x$ac_lo" != "x$ac_hi"; do
2926   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2928 /* end confdefs.h.  */
2929 $4
2930 int
2931 main ()
2932 {
2933 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2934 test_array [0] = 0;
2935 return test_array [0];
2936
2937   ;
2938   return 0;
2939 }
2940 _ACEOF
2941 if ac_fn_c_try_compile "$LINENO"; then :
2942   ac_hi=$ac_mid
2943 else
2944   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2945 fi
2946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2947 done
2948 case $ac_lo in #((
2949 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2950 '') ac_retval=1 ;;
2951 esac
2952   else
2953     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2954 /* end confdefs.h.  */
2955 $4
2956 static long int longval () { return $2; }
2957 static unsigned long int ulongval () { return $2; }
2958 #include <stdio.h>
2959 #include <stdlib.h>
2960 int
2961 main ()
2962 {
2963
2964   FILE *f = fopen ("conftest.val", "w");
2965   if (! f)
2966     return 1;
2967   if (($2) < 0)
2968     {
2969       long int i = longval ();
2970       if (i != ($2))
2971         return 1;
2972       fprintf (f, "%ld", i);
2973     }
2974   else
2975     {
2976       unsigned long int i = ulongval ();
2977       if (i != ($2))
2978         return 1;
2979       fprintf (f, "%lu", i);
2980     }
2981   /* Do not output a trailing newline, as this causes \r\n confusion
2982      on some platforms.  */
2983   return ferror (f) || fclose (f) != 0;
2984
2985   ;
2986   return 0;
2987 }
2988 _ACEOF
2989 if ac_fn_c_try_run "$LINENO"; then :
2990   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2991 else
2992   ac_retval=1
2993 fi
2994 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2995   conftest.$ac_objext conftest.beam conftest.$ac_ext
2996 rm -f conftest.val
2997
2998   fi
2999   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3000   as_fn_set_status $ac_retval
3001
3002 } # ac_fn_c_compute_int
3003
3004 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3005 # ---------------------------------------------
3006 # Tests whether TYPE exists after having included INCLUDES, setting cache
3007 # variable VAR accordingly.
3008 ac_fn_cxx_check_type ()
3009 {
3010   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3012 $as_echo_n "checking for $2... " >&6; }
3013 if eval \${$3+:} false; then :
3014   $as_echo_n "(cached) " >&6
3015 else
3016   eval "$3=no"
3017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3018 /* end confdefs.h.  */
3019 $4
3020 int
3021 main ()
3022 {
3023 if (sizeof ($2))
3024          return 0;
3025   ;
3026   return 0;
3027 }
3028 _ACEOF
3029 if ac_fn_cxx_try_compile "$LINENO"; then :
3030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3031 /* end confdefs.h.  */
3032 $4
3033 int
3034 main ()
3035 {
3036 if (sizeof (($2)))
3037             return 0;
3038   ;
3039   return 0;
3040 }
3041 _ACEOF
3042 if ac_fn_cxx_try_compile "$LINENO"; then :
3043
3044 else
3045   eval "$3=yes"
3046 fi
3047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3048 fi
3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3050 fi
3051 eval ac_res=\$$3
3052                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3053 $as_echo "$ac_res" >&6; }
3054   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3055
3056 } # ac_fn_cxx_check_type
3057
3058 # ac_fn_cxx_try_cpp LINENO
3059 # ------------------------
3060 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3061 ac_fn_cxx_try_cpp ()
3062 {
3063   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3064   if { { ac_try="$ac_cpp conftest.$ac_ext"
3065 case "(($ac_try" in
3066   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067   *) ac_try_echo=$ac_try;;
3068 esac
3069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3070 $as_echo "$ac_try_echo"; } >&5
3071   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3072   ac_status=$?
3073   if test -s conftest.err; then
3074     grep -v '^ *+' conftest.err >conftest.er1
3075     cat conftest.er1 >&5
3076     mv -f conftest.er1 conftest.err
3077   fi
3078   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3079   test $ac_status = 0; } > conftest.i && {
3080          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3081          test ! -s conftest.err
3082        }; then :
3083   ac_retval=0
3084 else
3085   $as_echo "$as_me: failed program was:" >&5
3086 sed 's/^/| /' conftest.$ac_ext >&5
3087
3088     ac_retval=1
3089 fi
3090   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3091   as_fn_set_status $ac_retval
3092
3093 } # ac_fn_cxx_try_cpp
3094
3095 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3096 # ---------------------------------------------------------
3097 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3098 # the include files in INCLUDES and setting the cache variable VAR
3099 # accordingly.
3100 ac_fn_cxx_check_header_mongrel ()
3101 {
3102   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3103   if eval \${$3+:} false; then :
3104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3105 $as_echo_n "checking for $2... " >&6; }
3106 if eval \${$3+:} false; then :
3107   $as_echo_n "(cached) " >&6
3108 fi
3109 eval ac_res=\$$3
3110                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3111 $as_echo "$ac_res" >&6; }
3112 else
3113   # Is the header compilable?
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3115 $as_echo_n "checking $2 usability... " >&6; }
3116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3117 /* end confdefs.h.  */
3118 $4
3119 #include <$2>
3120 _ACEOF
3121 if ac_fn_cxx_try_compile "$LINENO"; then :
3122   ac_header_compiler=yes
3123 else
3124   ac_header_compiler=no
3125 fi
3126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3128 $as_echo "$ac_header_compiler" >&6; }
3129
3130 # Is the header present?
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3132 $as_echo_n "checking $2 presence... " >&6; }
3133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3134 /* end confdefs.h.  */
3135 #include <$2>
3136 _ACEOF
3137 if ac_fn_cxx_try_cpp "$LINENO"; then :
3138   ac_header_preproc=yes
3139 else
3140   ac_header_preproc=no
3141 fi
3142 rm -f conftest.err conftest.i conftest.$ac_ext
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3144 $as_echo "$ac_header_preproc" >&6; }
3145
3146 # So?  What about this header?
3147 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3148   yes:no: )
3149     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3150 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3151     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3152 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3153     ;;
3154   no:yes:* )
3155     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3156 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3157     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
3158 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
3159     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3160 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3161     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
3162 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
3163     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3164 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3165 ( $as_echo "## ----------------------------------------- ##
3166 ## Report this to wx-dev@lists.wxwidgets.org ##
3167 ## ----------------------------------------- ##"
3168      ) | sed "s/^/$as_me: WARNING:     /" >&2
3169     ;;
3170 esac
3171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3172 $as_echo_n "checking for $2... " >&6; }
3173 if eval \${$3+:} false; then :
3174   $as_echo_n "(cached) " >&6
3175 else
3176   eval "$3=\$ac_header_compiler"
3177 fi
3178 eval ac_res=\$$3
3179                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3180 $as_echo "$ac_res" >&6; }
3181 fi
3182   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3183
3184 } # ac_fn_cxx_check_header_mongrel
3185
3186 # ac_fn_c_check_func LINENO FUNC VAR
3187 # ----------------------------------
3188 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3189 ac_fn_c_check_func ()
3190 {
3191   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3193 $as_echo_n "checking for $2... " >&6; }
3194 if eval \${$3+:} false; then :
3195   $as_echo_n "(cached) " >&6
3196 else
3197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3198 /* end confdefs.h.  */
3199 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3200    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3201 #define $2 innocuous_$2
3202
3203 /* System header to define __stub macros and hopefully few prototypes,
3204     which can conflict with char $2 (); below.
3205     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3206     <limits.h> exists even on freestanding compilers.  */
3207
3208 #ifdef __STDC__
3209 # include <limits.h>
3210 #else
3211 # include <assert.h>
3212 #endif
3213
3214 #undef $2
3215
3216 /* Override any GCC internal prototype to avoid an error.
3217    Use char because int might match the return type of a GCC
3218    builtin and then its argument prototype would still apply.  */
3219 #ifdef __cplusplus
3220 extern "C"
3221 #endif
3222 char $2 ();
3223 /* The GNU C library defines this for functions which it implements
3224     to always fail with ENOSYS.  Some functions are actually named
3225     something starting with __ and the normal name is an alias.  */
3226 #if defined __stub_$2 || defined __stub___$2
3227 choke me
3228 #endif
3229
3230 int
3231 main ()
3232 {
3233 return $2 ();
3234   ;
3235   return 0;
3236 }
3237 _ACEOF
3238 if ac_fn_c_try_link "$LINENO"; then :
3239   eval "$3=yes"
3240 else
3241   eval "$3=no"
3242 fi
3243 rm -f core conftest.err conftest.$ac_objext \
3244     conftest$ac_exeext conftest.$ac_ext
3245 fi
3246 eval ac_res=\$$3
3247                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3248 $as_echo "$ac_res" >&6; }
3249   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3250
3251 } # ac_fn_c_check_func
3252
3253 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3254 # -------------------------------------------
3255 # Tests whether TYPE exists after having included INCLUDES, setting cache
3256 # variable VAR accordingly.
3257 ac_fn_c_check_type ()
3258 {
3259   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3261 $as_echo_n "checking for $2... " >&6; }
3262 if eval \${$3+:} false; then :
3263   $as_echo_n "(cached) " >&6
3264 else
3265   eval "$3=no"
3266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267 /* end confdefs.h.  */
3268 $4
3269 int
3270 main ()
3271 {
3272 if (sizeof ($2))
3273          return 0;
3274   ;
3275   return 0;
3276 }
3277 _ACEOF
3278 if ac_fn_c_try_compile "$LINENO"; then :
3279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3280 /* end confdefs.h.  */
3281 $4
3282 int
3283 main ()
3284 {
3285 if (sizeof (($2)))
3286             return 0;
3287   ;
3288   return 0;
3289 }
3290 _ACEOF
3291 if ac_fn_c_try_compile "$LINENO"; then :
3292
3293 else
3294   eval "$3=yes"
3295 fi
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 fi
3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 fi
3300 eval ac_res=\$$3
3301                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3302 $as_echo "$ac_res" >&6; }
3303   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3304
3305 } # ac_fn_c_check_type
3306
3307 # ac_fn_cxx_try_run LINENO
3308 # ------------------------
3309 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3310 # that executables *can* be run.
3311 ac_fn_cxx_try_run ()
3312 {
3313   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3314   if { { ac_try="$ac_link"
3315 case "(($ac_try" in
3316   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3317   *) ac_try_echo=$ac_try;;
3318 esac
3319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3320 $as_echo "$ac_try_echo"; } >&5
3321   (eval "$ac_link") 2>&5
3322   ac_status=$?
3323   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3324   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3325   { { case "(($ac_try" in
3326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3327   *) ac_try_echo=$ac_try;;
3328 esac
3329 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3330 $as_echo "$ac_try_echo"; } >&5
3331   (eval "$ac_try") 2>&5
3332   ac_status=$?
3333   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3334   test $ac_status = 0; }; }; then :
3335   ac_retval=0
3336 else
3337   $as_echo "$as_me: program exited with status $ac_status" >&5
3338        $as_echo "$as_me: failed program was:" >&5
3339 sed 's/^/| /' conftest.$ac_ext >&5
3340
3341        ac_retval=$ac_status
3342 fi
3343   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3344   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3345   as_fn_set_status $ac_retval
3346
3347 } # ac_fn_cxx_try_run
3348 cat >config.log <<_ACEOF
3349 This file contains any messages produced by compilers while
3350 running configure, to aid debugging if configure makes a mistake.
3351
3352 It was created by wxWidgets $as_me 3.0.0, which was
3353 generated by GNU Autoconf 2.69.  Invocation command line was
3354
3355   $ $0 $@
3356
3357 _ACEOF
3358 exec 5>>config.log
3359 {
3360 cat <<_ASUNAME
3361 ## --------- ##
3362 ## Platform. ##
3363 ## --------- ##
3364
3365 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3366 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3367 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3368 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3369 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3370
3371 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3372 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
3373
3374 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
3375 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
3376 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3377 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
3378 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
3379 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
3380 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
3381
3382 _ASUNAME
3383
3384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3385 for as_dir in $PATH
3386 do
3387   IFS=$as_save_IFS
3388   test -z "$as_dir" && as_dir=.
3389     $as_echo "PATH: $as_dir"
3390   done
3391 IFS=$as_save_IFS
3392
3393 } >&5
3394
3395 cat >&5 <<_ACEOF
3396
3397
3398 ## ----------- ##
3399 ## Core tests. ##
3400 ## ----------- ##
3401
3402 _ACEOF
3403
3404
3405 # Keep a trace of the command line.
3406 # Strip out --no-create and --no-recursion so they do not pile up.
3407 # Strip out --silent because we don't want to record it for future runs.
3408 # Also quote any args containing shell meta-characters.
3409 # Make two passes to allow for proper duplicate-argument suppression.
3410 ac_configure_args=
3411 ac_configure_args0=
3412 ac_configure_args1=
3413 ac_must_keep_next=false
3414 for ac_pass in 1 2
3415 do
3416   for ac_arg
3417   do
3418     case $ac_arg in
3419     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3420     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3421     | -silent | --silent | --silen | --sile | --sil)
3422       continue ;;
3423     *\'*)
3424       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3425     esac
3426     case $ac_pass in
3427     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3428     2)
3429       as_fn_append ac_configure_args1 " '$ac_arg'"
3430       if test $ac_must_keep_next = true; then
3431         ac_must_keep_next=false # Got value, back to normal.
3432       else
3433         case $ac_arg in
3434           *=* | --config-cache | -C | -disable-* | --disable-* \
3435           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3436           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3437           | -with-* | --with-* | -without-* | --without-* | --x)
3438             case "$ac_configure_args0 " in
3439               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3440             esac
3441             ;;
3442           -* ) ac_must_keep_next=true ;;
3443         esac
3444       fi
3445       as_fn_append ac_configure_args " '$ac_arg'"
3446       ;;
3447     esac
3448   done
3449 done
3450 { ac_configure_args0=; unset ac_configure_args0;}
3451 { ac_configure_args1=; unset ac_configure_args1;}
3452
3453 # When interrupted or exit'd, cleanup temporary files, and complete
3454 # config.log.  We remove comments because anyway the quotes in there
3455 # would cause problems or look ugly.
3456 # WARNING: Use '\'' to represent an apostrophe within the trap.
3457 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3458 trap 'exit_status=$?
3459   # Save into config.log some information that might help in debugging.
3460   {
3461     echo
3462
3463     $as_echo "## ---------------- ##
3464 ## Cache variables. ##
3465 ## ---------------- ##"
3466     echo
3467     # The following way of writing the cache mishandles newlines in values,
3468 (
3469   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3470     eval ac_val=\$$ac_var
3471     case $ac_val in #(
3472     *${as_nl}*)
3473       case $ac_var in #(
3474       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3475 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3476       esac
3477       case $ac_var in #(
3478       _ | IFS | as_nl) ;; #(
3479       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3480       *) { eval $ac_var=; unset $ac_var;} ;;
3481       esac ;;
3482     esac
3483   done
3484   (set) 2>&1 |
3485     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3486     *${as_nl}ac_space=\ *)
3487       sed -n \
3488         "s/'\''/'\''\\\\'\'''\''/g;
3489           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3490       ;; #(
3491     *)
3492       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3493       ;;
3494     esac |
3495     sort
3496 )
3497     echo
3498
3499     $as_echo "## ----------------- ##
3500 ## Output variables. ##
3501 ## ----------------- ##"
3502     echo
3503     for ac_var in $ac_subst_vars
3504     do
3505       eval ac_val=\$$ac_var
3506       case $ac_val in
3507       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3508       esac
3509       $as_echo "$ac_var='\''$ac_val'\''"
3510     done | sort
3511     echo
3512
3513     if test -n "$ac_subst_files"; then
3514       $as_echo "## ------------------- ##
3515 ## File substitutions. ##
3516 ## ------------------- ##"
3517       echo
3518       for ac_var in $ac_subst_files
3519       do
3520         eval ac_val=\$$ac_var
3521         case $ac_val in
3522         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3523         esac
3524         $as_echo "$ac_var='\''$ac_val'\''"
3525       done | sort
3526       echo
3527     fi
3528
3529     if test -s confdefs.h; then
3530       $as_echo "## ----------- ##
3531 ## confdefs.h. ##
3532 ## ----------- ##"
3533       echo
3534       cat confdefs.h
3535       echo
3536     fi
3537     test "$ac_signal" != 0 &&
3538       $as_echo "$as_me: caught signal $ac_signal"
3539     $as_echo "$as_me: exit $exit_status"
3540   } >&5
3541   rm -f core *.core core.conftest.* &&
3542     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3543     exit $exit_status
3544 ' 0
3545 for ac_signal in 1 2 13 15; do
3546   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3547 done
3548 ac_signal=0
3549
3550 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3551 rm -f -r conftest* confdefs.h
3552
3553 $as_echo "/* confdefs.h */" > confdefs.h
3554
3555 # Predefined preprocessor variables.
3556
3557 cat >>confdefs.h <<_ACEOF
3558 #define PACKAGE_NAME "$PACKAGE_NAME"
3559 _ACEOF
3560
3561 cat >>confdefs.h <<_ACEOF
3562 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3563 _ACEOF
3564
3565 cat >>confdefs.h <<_ACEOF
3566 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3567 _ACEOF
3568
3569 cat >>confdefs.h <<_ACEOF
3570 #define PACKAGE_STRING "$PACKAGE_STRING"
3571 _ACEOF
3572
3573 cat >>confdefs.h <<_ACEOF
3574 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3575 _ACEOF
3576
3577 cat >>confdefs.h <<_ACEOF
3578 #define PACKAGE_URL "$PACKAGE_URL"
3579 _ACEOF
3580
3581
3582 # Let the site file select an alternate cache file if it wants to.
3583 # Prefer an explicitly selected file to automatically selected ones.
3584 ac_site_file1=NONE
3585 ac_site_file2=NONE
3586 if test -n "$CONFIG_SITE"; then
3587   # We do not want a PATH search for config.site.
3588   case $CONFIG_SITE in #((
3589     -*)  ac_site_file1=./$CONFIG_SITE;;
3590     */*) ac_site_file1=$CONFIG_SITE;;
3591     *)   ac_site_file1=./$CONFIG_SITE;;
3592   esac
3593 elif test "x$prefix" != xNONE; then
3594   ac_site_file1=$prefix/share/config.site
3595   ac_site_file2=$prefix/etc/config.site
3596 else
3597   ac_site_file1=$ac_default_prefix/share/config.site
3598   ac_site_file2=$ac_default_prefix/etc/config.site
3599 fi
3600 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3601 do
3602   test "x$ac_site_file" = xNONE && continue
3603   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3604     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3605 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3606     sed 's/^/| /' "$ac_site_file" >&5
3607     . "$ac_site_file" \
3608       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3610 as_fn_error $? "failed to load site script $ac_site_file
3611 See \`config.log' for more details" "$LINENO" 5; }
3612   fi
3613 done
3614
3615 if test -r "$cache_file"; then
3616   # Some versions of bash will fail to source /dev/null (special files
3617   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3618   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3619     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3620 $as_echo "$as_me: loading cache $cache_file" >&6;}
3621     case $cache_file in
3622       [\\/]* | ?:[\\/]* ) . "$cache_file";;
3623       *)                      . "./$cache_file";;
3624     esac
3625   fi
3626 else
3627   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3628 $as_echo "$as_me: creating cache $cache_file" >&6;}
3629   >$cache_file
3630 fi
3631
3632 # Check that the precious variables saved in the cache have kept the same
3633 # value.
3634 ac_cache_corrupted=false
3635 for ac_var in $ac_precious_vars; do
3636   eval ac_old_set=\$ac_cv_env_${ac_var}_set
3637   eval ac_new_set=\$ac_env_${ac_var}_set
3638   eval ac_old_val=\$ac_cv_env_${ac_var}_value
3639   eval ac_new_val=\$ac_env_${ac_var}_value
3640   case $ac_old_set,$ac_new_set in
3641     set,)
3642       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3643 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3644       ac_cache_corrupted=: ;;
3645     ,set)
3646       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3647 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3648       ac_cache_corrupted=: ;;
3649     ,);;
3650     *)
3651       if test "x$ac_old_val" != "x$ac_new_val"; then
3652         # differences in whitespace do not lead to failure.
3653         ac_old_val_w=`echo x $ac_old_val`
3654         ac_new_val_w=`echo x $ac_new_val`
3655         if test "$ac_old_val_w" != "$ac_new_val_w"; then
3656           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3657 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3658           ac_cache_corrupted=:
3659         else
3660           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3661 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3662           eval $ac_var=\$ac_old_val
3663         fi
3664         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3665 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3666         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3667 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3668       fi;;
3669   esac
3670   # Pass precious variables to config.status.
3671   if test "$ac_new_set" = set; then
3672     case $ac_new_val in
3673     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3674     *) ac_arg=$ac_var=$ac_new_val ;;
3675     esac
3676     case " $ac_configure_args " in
3677       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3678       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3679     esac
3680   fi
3681 done
3682 if $ac_cache_corrupted; then
3683   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3685   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3686 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3687   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3688 fi
3689 ## -------------------- ##
3690 ## Main body of script. ##
3691 ## -------------------- ##
3692
3693 ac_ext=c
3694 ac_cpp='$CPP $CPPFLAGS'
3695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3698
3699
3700
3701
3702
3703 ac_aux_dir=
3704 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3705   if test -f "$ac_dir/install-sh"; then
3706     ac_aux_dir=$ac_dir
3707     ac_install_sh="$ac_aux_dir/install-sh -c"
3708     break
3709   elif test -f "$ac_dir/install.sh"; then
3710     ac_aux_dir=$ac_dir
3711     ac_install_sh="$ac_aux_dir/install.sh -c"
3712     break
3713   elif test -f "$ac_dir/shtool"; then
3714     ac_aux_dir=$ac_dir
3715     ac_install_sh="$ac_aux_dir/shtool install -c"
3716     break
3717   fi
3718 done
3719 if test -z "$ac_aux_dir"; then
3720   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3721 fi
3722
3723 # These three variables are undocumented and unsupported,
3724 # and are intended to be withdrawn in a future Autoconf release.
3725 # They can cause serious problems if a builder's source tree is in a directory
3726 # whose full name contains unusual characters.
3727 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3728 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3729 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3730
3731
3732 # Make sure we can run config.sub.
3733 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3734   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3735
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3737 $as_echo_n "checking build system type... " >&6; }
3738 if ${ac_cv_build+:} false; then :
3739   $as_echo_n "(cached) " >&6
3740 else
3741   ac_build_alias=$build_alias
3742 test "x$ac_build_alias" = x &&
3743   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3744 test "x$ac_build_alias" = x &&
3745   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3746 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3747   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3748
3749 fi
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3751 $as_echo "$ac_cv_build" >&6; }
3752 case $ac_cv_build in
3753 *-*-*) ;;
3754 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3755 esac
3756 build=$ac_cv_build
3757 ac_save_IFS=$IFS; IFS='-'
3758 set x $ac_cv_build
3759 shift
3760 build_cpu=$1
3761 build_vendor=$2
3762 shift; shift
3763 # Remember, the first character of IFS is used to create $*,
3764 # except with old shells:
3765 build_os=$*
3766 IFS=$ac_save_IFS
3767 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3768
3769
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3771 $as_echo_n "checking host system type... " >&6; }
3772 if ${ac_cv_host+:} false; then :
3773   $as_echo_n "(cached) " >&6
3774 else
3775   if test "x$host_alias" = x; then
3776   ac_cv_host=$ac_cv_build
3777 else
3778   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3779     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3780 fi
3781
3782 fi
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3784 $as_echo "$ac_cv_host" >&6; }
3785 case $ac_cv_host in
3786 *-*-*) ;;
3787 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3788 esac
3789 host=$ac_cv_host
3790 ac_save_IFS=$IFS; IFS='-'
3791 set x $ac_cv_host
3792 shift
3793 host_cpu=$1
3794 host_vendor=$2
3795 shift; shift
3796 # Remember, the first character of IFS is used to create $*,
3797 # except with old shells:
3798 host_os=$*
3799 IFS=$ac_save_IFS
3800 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3801
3802
3803
3804 if test "$cross_compiling" != "no"; then
3805     HOST_PREFIX="${host_alias}-"
3806     HOST_SUFFIX="-$host_alias"
3807 else
3808     HOST_PREFIX=
3809     HOST_SUFFIX=
3810 fi
3811
3812
3813 wx_major_version_number=3
3814 wx_minor_version_number=0
3815 wx_release_number=0
3816 wx_subrelease_number=0
3817
3818 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3819 WX_VERSION=$WX_RELEASE.$wx_release_number
3820 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3821
3822 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3823
3824
3825 wx_top_builddir="`pwd`"
3826
3827
3828
3829
3830 USE_UNIX=1
3831 USE_OS2=0
3832 USE_WIN32=0
3833 USE_DOS=0
3834 USE_BEOS=0
3835 USE_MAC=0
3836
3837 USE_AIX=
3838 USE_BSD=                            USE_DARWIN=                         USE_FREEBSD=
3839 USE_GNU=                            USE_HPUX=
3840 USE_LINUX=
3841 USE_NETBSD=
3842 USE_OPENBSD=
3843 USE_OSF=                            USE_SGI=
3844 USE_SOLARIS=                        USE_SUN=                            USE_SUNOS=                          USE_SVR4=                           USE_SYSV=                           USE_VMS=
3845 USE_ULTRIX=
3846 USE_UNIXWARE=
3847
3848 USE_ALPHA=
3849
3850 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3851
3852 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3853
3854 DEFAULT_wxUSE_OLD_COCOA=0
3855 DEFAULT_wxUSE_GTK=0
3856 DEFAULT_wxUSE_OSX_CARBON=0
3857 DEFAULT_wxUSE_OSX_COCOA=0
3858 DEFAULT_wxUSE_OSX_IPHONE=0
3859 DEFAULT_wxUSE_MICROWIN=0
3860 DEFAULT_wxUSE_MOTIF=0
3861 DEFAULT_wxUSE_MSW=0
3862 DEFAULT_wxUSE_PM=0
3863 DEFAULT_wxUSE_X11=0
3864 DEFAULT_wxUSE_DFB=0
3865
3866 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3867 DEFAULT_DEFAULT_wxUSE_GTK=0
3868 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3869 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3870 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3871 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3872 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3873 DEFAULT_DEFAULT_wxUSE_MSW=0
3874 DEFAULT_DEFAULT_wxUSE_PM=0
3875 DEFAULT_DEFAULT_wxUSE_X11=0
3876 DEFAULT_DEFAULT_wxUSE_DFB=0
3877
3878 PROGRAM_EXT=
3879 SAMPLES_RPATH_FLAG=
3880 DYLIB_RPATH_INSTALL=
3881 DYLIB_RPATH_POSTLINK=
3882
3883 DEFAULT_STD_FLAG=yes
3884
3885 case "${host}" in
3886   *-hp-hpux* )
3887     USE_HPUX=1
3888     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3889     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3890     $as_echo "#define __HPUX__ 1" >>confdefs.h
3891
3892
3893             CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3894   ;;
3895   *-*-linux* )
3896     USE_LINUX=1
3897     $as_echo "#define __LINUX__ 1" >>confdefs.h
3898
3899     TMP=`uname -m`
3900     if test "x$TMP" = "xalpha"; then
3901       USE_ALPHA=1
3902       $as_echo "#define __ALPHA__ 1" >>confdefs.h
3903
3904     fi
3905     DEFAULT_DEFAULT_wxUSE_GTK=1
3906   ;;
3907   *-*-gnu* | *-*-k*bsd*-gnu )
3908     USE_GNU=1
3909     TMP=`uname -m`
3910     if test "x$TMP" = "xalpha"; then
3911       USE_ALPHA=1
3912       $as_echo "#define __ALPHA__ 1" >>confdefs.h
3913
3914     fi
3915     DEFAULT_DEFAULT_wxUSE_GTK=1
3916   ;;
3917   *-*-irix5* | *-*-irix6* )
3918     USE_SGI=1
3919     USE_SVR4=1
3920     $as_echo "#define __SGI__ 1" >>confdefs.h
3921
3922     $as_echo "#define __SVR4__ 1" >>confdefs.h
3923
3924     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3925   ;;
3926   *-*-qnx*)
3927     USE_QNX=1
3928     $as_echo "#define __QNX__ 1" >>confdefs.h
3929
3930     DEFAULT_DEFAULT_wxUSE_X11=1
3931   ;;
3932   *-*-solaris2* )
3933     USE_SUN=1
3934     USE_SOLARIS=1
3935     USE_SVR4=1
3936     $as_echo "#define __SUN__ 1" >>confdefs.h
3937
3938     $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3939
3940     $as_echo "#define __SVR4__ 1" >>confdefs.h
3941
3942     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3943     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3944   ;;
3945   *-*-sunos4* )
3946     USE_SUN=1
3947     USE_SUNOS=1
3948     USE_BSD=1
3949     $as_echo "#define __SUN__ 1" >>confdefs.h
3950
3951     $as_echo "#define __SUNOS__ 1" >>confdefs.h
3952
3953     $as_echo "#define __BSD__ 1" >>confdefs.h
3954
3955     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3956   ;;
3957   *-*-freebsd*)
3958     USE_BSD=1
3959     USE_FREEBSD=1
3960     $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3961
3962     $as_echo "#define __BSD__ 1" >>confdefs.h
3963
3964     DEFAULT_DEFAULT_wxUSE_GTK=1
3965   ;;
3966   *-*-openbsd*|*-*-mirbsd*)
3967     USE_BSD=1
3968     USE_OPENBSD=1
3969     $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3970
3971     $as_echo "#define __BSD__ 1" >>confdefs.h
3972
3973     DEFAULT_DEFAULT_wxUSE_GTK=1
3974   ;;
3975   *-*-netbsd*)
3976     USE_BSD=1
3977     USE_NETBSD=1
3978     $as_echo "#define __NETBSD__ 1" >>confdefs.h
3979
3980     $as_echo "#define __BSD__ 1" >>confdefs.h
3981
3982     DEFAULT_DEFAULT_wxUSE_GTK=1
3983     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3984
3985             CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3986   ;;
3987   *-*-osf* )
3988     USE_ALPHA=1
3989     USE_OSF=1
3990     $as_echo "#define __ALPHA__ 1" >>confdefs.h
3991
3992     $as_echo "#define __OSF__ 1" >>confdefs.h
3993
3994     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3995     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3996   ;;
3997   *-*-dgux5* )
3998     USE_ALPHA=1
3999     USE_SVR4=1
4000     $as_echo "#define __ALPHA__ 1" >>confdefs.h
4001
4002     $as_echo "#define __SVR4__ 1" >>confdefs.h
4003
4004     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4005   ;;
4006   *-*-sysv5* )
4007     USE_SYSV=1
4008     USE_SVR4=1
4009     $as_echo "#define __SYSV__ 1" >>confdefs.h
4010
4011     $as_echo "#define __SVR4__ 1" >>confdefs.h
4012
4013     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4014   ;;
4015   *-*-aix* )
4016     USE_AIX=1
4017     USE_SYSV=1
4018     USE_SVR4=1
4019     $as_echo "#define __AIX__ 1" >>confdefs.h
4020
4021     $as_echo "#define __SYSV__ 1" >>confdefs.h
4022
4023     $as_echo "#define __SVR4__ 1" >>confdefs.h
4024
4025     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4026   ;;
4027
4028   *-*-*UnixWare*)
4029     USE_SYSV=1
4030     USE_SVR4=1
4031     USE_UNIXWARE=1
4032     $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4033
4034   ;;
4035
4036   *-*-cygwin* | *-*-mingw32* )
4037                 PROGRAM_EXT=".exe"
4038     DEFAULT_DEFAULT_wxUSE_MSW=1
4039   ;;
4040
4041   *-pc-msdosdjgpp )
4042     USE_UNIX=0
4043     USE_DOS=1
4044     $as_echo "#define __DOS__ 1" >>confdefs.h
4045
4046     PROGRAM_EXT=".exe"
4047   ;;
4048
4049   *-pc-os2_emx | *-pc-os2-emx )
4050     $as_echo "#define __EMX__ 1" >>confdefs.h
4051
4052     USE_OS2=1
4053     $as_echo "#define __OS2__ 1" >>confdefs.h
4054
4055     PROGRAM_EXT=".exe"
4056     DEFAULT_DEFAULT_wxUSE_PM=1
4057         CXX=gcc
4058     LDFLAGS="$LDFLAGS -Zcrtdll"
4059                         ac_executable_extensions=".exe"
4060     export ac_executable_extensions
4061             ac_save_IFS="$IFS"
4062     IFS='\\'
4063     ac_TEMP_PATH=
4064     for ac_dir in $PATH; do
4065       IFS=$ac_save_IFS
4066       if test -z "$ac_TEMP_PATH"; then
4067         ac_TEMP_PATH="$ac_dir"
4068       else
4069         ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4070       fi
4071     done
4072     export PATH="$ac_TEMP_PATH"
4073     unset ac_TEMP_PATH
4074     DEFAULT_STD_FLAG=no
4075   ;;
4076
4077   arm-apple-darwin*)
4078         USE_BSD=1
4079     USE_DARWIN=1
4080     $as_echo "#define __BSD__ 1" >>confdefs.h
4081
4082     $as_echo "#define __DARWIN__ 1" >>confdefs.h
4083
4084     DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4085   ;;
4086
4087   *-*-darwin* )
4088         USE_BSD=1
4089     USE_DARWIN=1
4090     $as_echo "#define __BSD__ 1" >>confdefs.h
4091
4092     $as_echo "#define __DARWIN__ 1" >>confdefs.h
4093
4094     $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4095
4096     DEFAULT_DEFAULT_wxUSE_OSX_COCOA=1
4097   ;;
4098
4099   *-*-beos* )
4100         USE_BEOS=1
4101     $as_echo "#define __BEOS__ 1" >>confdefs.h
4102
4103   ;;
4104
4105   *)
4106     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4107 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4108     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4109 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4110
4111     DEFAULT_DEFAULT_wxUSE_X11=1
4112     DEFAULT_wxUSE_SHARED=no
4113 esac
4114
4115
4116
4117 DEFAULT_wxUSE_ALL_FEATURES=yes
4118
4119 DEFAULT_wxUSE_STD_CONTAINERS=no
4120 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4121 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4122
4123 DEFAULT_wxUSE_DMALLOC=no
4124 DEFAULT_wxUSE_LIBGNOMEVFS=no
4125 DEFAULT_wxUSE_LIBHILDON=no
4126 DEFAULT_wxUSE_LIBHILDON2=no
4127 DEFAULT_wxUSE_LIBMSPACK=no
4128 DEFAULT_wxUSE_LIBSDL=no
4129
4130 DEFAULT_wxUSE_ACCESSIBILITY=no
4131 DEFAULT_wxUSE_IPV6=no
4132 DEFAULT_wxUSE_GSTREAMER8=no
4133 DEFAULT_wxUSE_UNICODE_UTF8=no
4134 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4135
4136 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4137 DEFAULT_wxUSE_OPENGL=auto
4138 DEFAULT_wxUSE_MEDIACTRL=auto
4139 DEFAULT_wxUSE_COMPILER_TLS=auto
4140 DEFAULT_wxUSE_HOTKEY=auto
4141 DEFAULT_wxUSE_METAFILE=auto
4142
4143 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4144 DEFAULT_wxUSE_MAC_ARCH=no
4145
4146 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4147
4148 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4149
4150
4151
4152
4153
4154           enablestring=disable
4155           defaultval=
4156           if test -z "$defaultval"; then
4157               if test x"$enablestring" = xdisable; then
4158                   defaultval=yes
4159               else
4160                   defaultval=no
4161               fi
4162           fi
4163
4164           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4165 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4166           # Check whether --enable-gui was given.
4167 if test "${enable_gui+set}" = set; then :
4168   enableval=$enable_gui;
4169                           if test "$enableval" = yes; then
4170                             wx_cv_use_gui='wxUSE_GUI=yes'
4171                           else
4172                             wx_cv_use_gui='wxUSE_GUI=no'
4173                           fi
4174
4175 else
4176
4177                           wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4178
4179 fi
4180
4181
4182           eval "$wx_cv_use_gui"
4183
4184           if test x"$enablestring" = xdisable; then
4185             if test $wxUSE_GUI = no; then
4186               result=yes
4187             else
4188               result=no
4189             fi
4190           else
4191             result=$wxUSE_GUI
4192           fi
4193
4194           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4195 $as_echo "$result" >&6; }
4196
4197
4198           enablestring=
4199           defaultval=
4200           if test -z "$defaultval"; then
4201               if test x"$enablestring" = xdisable; then
4202                   defaultval=yes
4203               else
4204                   defaultval=no
4205               fi
4206           fi
4207
4208           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4209 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4210           # Check whether --enable-monolithic was given.
4211 if test "${enable_monolithic+set}" = set; then :
4212   enableval=$enable_monolithic;
4213                           if test "$enableval" = yes; then
4214                             wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4215                           else
4216                             wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4217                           fi
4218
4219 else
4220
4221                           wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4222
4223 fi
4224
4225
4226           eval "$wx_cv_use_monolithic"
4227
4228           if test x"$enablestring" = xdisable; then
4229             if test $wxUSE_MONOLITHIC = no; then
4230               result=yes
4231             else
4232               result=no
4233             fi
4234           else
4235             result=$wxUSE_MONOLITHIC
4236           fi
4237
4238           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4239 $as_echo "$result" >&6; }
4240
4241
4242           enablestring=
4243           defaultval=
4244           if test -z "$defaultval"; then
4245               if test x"$enablestring" = xdisable; then
4246                   defaultval=yes
4247               else
4248                   defaultval=no
4249               fi
4250           fi
4251
4252           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4253 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4254           # Check whether --enable-plugins was given.
4255 if test "${enable_plugins+set}" = set; then :
4256   enableval=$enable_plugins;
4257                           if test "$enableval" = yes; then
4258                             wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4259                           else
4260                             wx_cv_use_plugins='wxUSE_PLUGINS=no'
4261                           fi
4262
4263 else
4264
4265                           wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4266
4267 fi
4268
4269
4270           eval "$wx_cv_use_plugins"
4271
4272           if test x"$enablestring" = xdisable; then
4273             if test $wxUSE_PLUGINS = no; then
4274               result=yes
4275             else
4276               result=no
4277             fi
4278           else
4279             result=$wxUSE_PLUGINS
4280           fi
4281
4282           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4283 $as_echo "$result" >&6; }
4284
4285
4286           withstring=without
4287           defaultval=$wxUSE_ALL_FEATURES
4288           if test -z "$defaultval"; then
4289               if test x"$withstring" = xwithout; then
4290                   defaultval=yes
4291               else
4292                   defaultval=no
4293               fi
4294           fi
4295           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4296 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4297
4298 # Check whether --with-subdirs was given.
4299 if test "${with_subdirs+set}" = set; then :
4300   withval=$with_subdirs;
4301                         if test "$withval" = yes; then
4302                           wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4303                         else
4304                           wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4305                         fi
4306
4307 else
4308
4309                         wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4310
4311 fi
4312
4313
4314           eval "$wx_cv_use_subdirs"
4315
4316           if test x"$withstring" = xwithout; then
4317             if test $wxWITH_SUBDIRS = yes; then
4318               result=no
4319             else
4320               result=yes
4321             fi
4322           else
4323             result=$wxWITH_SUBDIRS
4324           fi
4325
4326           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4327 $as_echo "$result" >&6; }
4328
4329
4330 # Check whether --with-flavour was given.
4331 if test "${with_flavour+set}" = set; then :
4332   withval=$with_flavour; WX_FLAVOUR="$withval"
4333 fi
4334
4335
4336           enablestring=
4337           defaultval=
4338           if test -z "$defaultval"; then
4339               if test x"$enablestring" = xdisable; then
4340                   defaultval=yes
4341               else
4342                   defaultval=no
4343               fi
4344           fi
4345
4346           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4347 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4348           # Check whether --enable-official_build was given.
4349 if test "${enable_official_build+set}" = set; then :
4350   enableval=$enable_official_build;
4351                           if test "$enableval" = yes; then
4352                             wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4353                           else
4354                             wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4355                           fi
4356
4357 else
4358
4359                           wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4360
4361 fi
4362
4363
4364           eval "$wx_cv_use_official_build"
4365
4366           if test x"$enablestring" = xdisable; then
4367             if test $wxUSE_OFFICIAL_BUILD = no; then
4368               result=yes
4369             else
4370               result=no
4371             fi
4372           else
4373             result=$wxUSE_OFFICIAL_BUILD
4374           fi
4375
4376           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4377 $as_echo "$result" >&6; }
4378
4379 # Check whether --enable-vendor was given.
4380 if test "${enable_vendor+set}" = set; then :
4381   enableval=$enable_vendor; VENDOR="$enableval"
4382 fi
4383
4384 if test "x$VENDOR" = "x"; then
4385     VENDOR="custom"
4386 fi
4387
4388
4389           enablestring=disable
4390           defaultval=
4391           if test -z "$defaultval"; then
4392               if test x"$enablestring" = xdisable; then
4393                   defaultval=yes
4394               else
4395                   defaultval=no
4396               fi
4397           fi
4398
4399           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4400 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4401           # Check whether --enable-all-features was given.
4402 if test "${enable_all_features+set}" = set; then :
4403   enableval=$enable_all_features;
4404                           if test "$enableval" = yes; then
4405                             wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4406                           else
4407                             wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4408                           fi
4409
4410 else
4411
4412                           wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4413
4414 fi
4415
4416
4417           eval "$wx_cv_use_all_features"
4418
4419           if test x"$enablestring" = xdisable; then
4420             if test $wxUSE_ALL_FEATURES = no; then
4421               result=yes
4422             else
4423               result=no
4424             fi
4425           else
4426             result=$wxUSE_ALL_FEATURES
4427           fi
4428
4429           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4430 $as_echo "$result" >&6; }
4431
4432
4433 if test "$wxUSE_ALL_FEATURES" = "no"; then
4434                     DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4435     DEFAULT_wxUSE_MEDIACTRL=no
4436 fi
4437
4438
4439 if test "$wxUSE_GUI" = "yes"; then
4440
4441
4442           enablestring=
4443           defaultval=
4444           if test -z "$defaultval"; then
4445               if test x"$enablestring" = xdisable; then
4446                   defaultval=yes
4447               else
4448                   defaultval=no
4449               fi
4450           fi
4451
4452           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4453 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4454           # Check whether --enable-universal was given.
4455 if test "${enable_universal+set}" = set; then :
4456   enableval=$enable_universal;
4457                           if test "$enableval" = yes; then
4458                             wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4459                           else
4460                             wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4461                           fi
4462
4463 else
4464
4465                           wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4466
4467 fi
4468
4469
4470           eval "$wx_cv_use_universal"
4471
4472           if test x"$enablestring" = xdisable; then
4473             if test $wxUSE_UNIVERSAL = no; then
4474               result=yes
4475             else
4476               result=no
4477             fi
4478           else
4479             result=$wxUSE_UNIVERSAL
4480           fi
4481
4482           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4483 $as_echo "$result" >&6; }
4484
4485 if test "$wxUSE_UNIVERSAL" = "yes"; then
4486
4487 # Check whether --with-themes was given.
4488 if test "${with_themes+set}" = set; then :
4489   withval=$with_themes; wxUNIV_THEMES="$withval"
4490 fi
4491
4492 fi
4493
4494
4495 # Check whether --with-gtk was given.
4496 if test "${with_gtk+set}" = set; then :
4497   withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4498 fi
4499
4500
4501 # Check whether --with-motif was given.
4502 if test "${with_motif+set}" = set; then :
4503   withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4504 fi
4505
4506
4507 # Check whether --with-osx_carbon was given.
4508 if test "${with_osx_carbon+set}" = set; then :
4509   withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4510 fi
4511
4512
4513 # Check whether --with-osx_cocoa was given.
4514 if test "${with_osx_cocoa+set}" = set; then :
4515   withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4516 fi
4517
4518
4519 # Check whether --with-osx_iphone was given.
4520 if test "${with_osx_iphone+set}" = set; then :
4521   withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4522 fi
4523
4524
4525 # Check whether --with-osx was given.
4526 if test "${with_osx+set}" = set; then :
4527   withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4528 fi
4529
4530
4531 # Check whether --with-carbon was given.
4532 if test "${with_carbon+set}" = set; then :
4533   withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4534 fi
4535
4536
4537 # Check whether --with-cocoa was given.
4538 if test "${with_cocoa+set}" = set; then :
4539   withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4540 fi
4541
4542
4543 # Check whether --with-iphone was given.
4544 if test "${with_iphone+set}" = set; then :
4545   withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4546 fi
4547
4548
4549 # Check whether --with-mac was given.
4550 if test "${with_mac+set}" = set; then :
4551   withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4552 fi
4553
4554
4555 # Check whether --with-old_cocoa was given.
4556 if test "${with_old_cocoa+set}" = set; then :
4557   withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4558 fi
4559
4560
4561 # Check whether --with-wine was given.
4562 if test "${with_wine+set}" = set; then :
4563   withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4564 fi
4565
4566
4567 # Check whether --with-msw was given.
4568 if test "${with_msw+set}" = set; then :
4569   withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4570 fi
4571
4572
4573 # Check whether --with-pm was given.
4574 if test "${with_pm+set}" = set; then :
4575   withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4576 fi
4577
4578
4579 # Check whether --with-directfb was given.
4580 if test "${with_directfb+set}" = set; then :
4581   withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4582 fi
4583
4584
4585 # Check whether --with-microwin was given.
4586 if test "${with_microwin+set}" = set; then :
4587   withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4588 fi
4589
4590
4591 # Check whether --with-x11 was given.
4592 if test "${with_x11+set}" = set; then :
4593   withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4594 fi
4595
4596
4597           enablestring=
4598           defaultval=
4599           if test -z "$defaultval"; then
4600               if test x"$enablestring" = xdisable; then
4601                   defaultval=yes
4602               else
4603                   defaultval=no
4604               fi
4605           fi
4606
4607           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4608 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4609           # Check whether --enable-nanox was given.
4610 if test "${enable_nanox+set}" = set; then :
4611   enableval=$enable_nanox;
4612                           if test "$enableval" = yes; then
4613                             wx_cv_use_nanox='wxUSE_NANOX=yes'
4614                           else
4615                             wx_cv_use_nanox='wxUSE_NANOX=no'
4616                           fi
4617
4618 else
4619
4620                           wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4621
4622 fi
4623
4624
4625           eval "$wx_cv_use_nanox"
4626
4627           if test x"$enablestring" = xdisable; then
4628             if test $wxUSE_NANOX = no; then
4629               result=yes
4630             else
4631               result=no
4632             fi
4633           else
4634             result=$wxUSE_NANOX
4635           fi
4636
4637           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4638 $as_echo "$result" >&6; }
4639
4640
4641           enablestring=
4642           defaultval=
4643           if test -z "$defaultval"; then
4644               if test x"$enablestring" = xdisable; then
4645                   defaultval=yes
4646               else
4647                   defaultval=no
4648               fi
4649           fi
4650
4651           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4652 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4653           # Check whether --enable-gpe was given.
4654 if test "${enable_gpe+set}" = set; then :
4655   enableval=$enable_gpe;
4656                           if test "$enableval" = yes; then
4657                             wx_cv_use_gpe='wxUSE_GPE=yes'
4658                           else
4659                             wx_cv_use_gpe='wxUSE_GPE=no'
4660                           fi
4661
4662 else
4663
4664                           wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4665
4666 fi
4667
4668
4669           eval "$wx_cv_use_gpe"
4670
4671           if test x"$enablestring" = xdisable; then
4672             if test $wxUSE_GPE = no; then
4673               result=yes
4674             else
4675               result=no
4676             fi
4677           else
4678             result=$wxUSE_GPE
4679           fi
4680
4681           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4682 $as_echo "$result" >&6; }
4683
4684
4685
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4687 $as_echo_n "checking for toolkit... " >&6; }
4688
4689
4690
4691 # In Wine, we need to default to MSW, not GTK or MOTIF
4692 if test "$wxUSE_WINE" = "yes"; then
4693     DEFAULT_DEFAULT_wxUSE_GTK=0
4694     DEFAULT_DEFAULT_wxUSE_MOTIF=0
4695     DEFAULT_DEFAULT_wxUSE_MSW=1
4696     wxUSE_SHARED=no
4697     CC=${CC:-winegcc}
4698     CXX=${CXX:-wineg++}
4699 fi
4700
4701
4702 if test "$wxUSE_GUI" = "yes"; then
4703
4704     if test "$USE_BEOS" = 1; then
4705         as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4706     fi
4707
4708     if test "$TOOLKIT_GIVEN" = 1; then
4709             for toolkit in $ALL_TOOLKITS; do
4710         var=wxUSE_$toolkit
4711         eval "value=\$${var}"
4712         if test "x$value" = "xno"; then
4713           eval "$var=0"
4714         elif test "x$value" != "x"; then
4715           eval "$var=1"
4716         fi
4717
4718         if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4719           eval "wx${toolkit}_VERSION=$value"
4720         fi
4721       done
4722     else
4723             for toolkit in $ALL_TOOLKITS; do
4724         var=DEFAULT_DEFAULT_wxUSE_$toolkit
4725         eval "wxUSE_$toolkit=\$${var}"
4726       done
4727     fi
4728
4729             NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4730                   + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4731                   + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4732
4733         case "${host}" in
4734       *-pc-os2_emx | *-pc-os2-emx )
4735         NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4736     esac
4737
4738     case "$NUM_TOOLKITS" in
4739       1)
4740       ;;
4741       0)
4742         as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4743       ;;
4744       *)
4745         as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4746     esac
4747
4748     for toolkit in $ALL_TOOLKITS; do
4749         var=wxUSE_$toolkit
4750         eval "value=\$${var}"
4751         if test "$value" = 1; then
4752           toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4753           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4754 $as_echo "$toolkit_echo" >&6; }
4755         fi
4756     done
4757 else
4758     if test "x$host_alias" != "x"; then
4759         { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4760 $as_echo "base ($host_alias hosted) only" >&6; }
4761     else
4762         { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4763 $as_echo "base only" >&6; }
4764     fi
4765 fi
4766
4767 wxUSE_MAC=0
4768 if test "$wxUSE_OSX_CARBON" = 1 \
4769        -o "$wxUSE_OSX_COCOA" = 1 \
4770        -o "$wxUSE_OSX_IPHONE" = 1; then
4771     wxUSE_MAC=1
4772 fi
4773
4774
4775
4776           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4777 $as_echo_n "checking for --with-libpng... " >&6; }
4778
4779 # Check whether --with-libpng was given.
4780 if test "${with_libpng+set}" = set; then :
4781   withval=$with_libpng;
4782                         if test "$withval" = yes; then
4783                           wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4784                         elif test "$withval" = no; then
4785                           wx_cv_use_libpng='wxUSE_LIBPNG=no'
4786                         elif test "$withval" = sys; then
4787                           wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4788                         elif test "$withval" = builtin; then
4789                           wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4790                         else
4791                           as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4792                         fi
4793
4794 else
4795
4796                         wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4797
4798 fi
4799
4800
4801           eval "$wx_cv_use_libpng"
4802
4803           if test "$wxUSE_LIBPNG" = yes; then
4804             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4805 $as_echo "yes" >&6; }
4806           elif test "$wxUSE_LIBPNG" = no; then
4807             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 $as_echo "no" >&6; }
4809           elif test "$wxUSE_LIBPNG" = sys; then
4810             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4811 $as_echo "system version" >&6; }
4812           elif test "$wxUSE_LIBPNG" = builtin; then
4813             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4814 $as_echo "builtin version" >&6; }
4815           else
4816             as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4817           fi
4818
4819
4820           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4821 $as_echo_n "checking for --with-libjpeg... " >&6; }
4822
4823 # Check whether --with-libjpeg was given.
4824 if test "${with_libjpeg+set}" = set; then :
4825   withval=$with_libjpeg;
4826                         if test "$withval" = yes; then
4827                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4828                         elif test "$withval" = no; then
4829                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4830                         elif test "$withval" = sys; then
4831                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4832                         elif test "$withval" = builtin; then
4833                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4834                         else
4835                           as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4836                         fi
4837
4838 else
4839
4840                         wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4841
4842 fi
4843
4844
4845           eval "$wx_cv_use_libjpeg"
4846
4847           if test "$wxUSE_LIBJPEG" = yes; then
4848             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4849 $as_echo "yes" >&6; }
4850           elif test "$wxUSE_LIBJPEG" = no; then
4851             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4852 $as_echo "no" >&6; }
4853           elif test "$wxUSE_LIBJPEG" = sys; then
4854             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4855 $as_echo "system version" >&6; }
4856           elif test "$wxUSE_LIBJPEG" = builtin; then
4857             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4858 $as_echo "builtin version" >&6; }
4859           else
4860             as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4861           fi
4862
4863
4864           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4865 $as_echo_n "checking for --with-libtiff... " >&6; }
4866
4867 # Check whether --with-libtiff was given.
4868 if test "${with_libtiff+set}" = set; then :
4869   withval=$with_libtiff;
4870                         if test "$withval" = yes; then
4871                           wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4872                         elif test "$withval" = no; then
4873                           wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4874                         elif test "$withval" = sys; then
4875                           wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4876                         elif test "$withval" = builtin; then
4877                           wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4878                         else
4879                           as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4880                         fi
4881
4882 else
4883
4884                         wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4885
4886 fi
4887
4888
4889           eval "$wx_cv_use_libtiff"
4890
4891           if test "$wxUSE_LIBTIFF" = yes; then
4892             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4893 $as_echo "yes" >&6; }
4894           elif test "$wxUSE_LIBTIFF" = no; then
4895             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4896 $as_echo "no" >&6; }
4897           elif test "$wxUSE_LIBTIFF" = sys; then
4898             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4899 $as_echo "system version" >&6; }
4900           elif test "$wxUSE_LIBTIFF" = builtin; then
4901             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4902 $as_echo "builtin version" >&6; }
4903           else
4904             as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4905           fi
4906
4907
4908           withstring=without
4909           defaultval=$wxUSE_ALL_FEATURES
4910           if test -z "$defaultval"; then
4911               if test x"$withstring" = xwithout; then
4912                   defaultval=yes
4913               else
4914                   defaultval=no
4915               fi
4916           fi
4917           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libjbig" >&5
4918 $as_echo_n "checking for --${withstring:-with}-libjbig... " >&6; }
4919
4920 # Check whether --with-libjbig was given.
4921 if test "${with_libjbig+set}" = set; then :
4922   withval=$with_libjbig;
4923                         if test "$withval" = yes; then
4924                           wx_cv_use_libjbig='wxUSE_LIBJBIG=yes'
4925                         else
4926                           wx_cv_use_libjbig='wxUSE_LIBJBIG=no'
4927                         fi
4928
4929 else
4930
4931                         wx_cv_use_libjbig='wxUSE_LIBJBIG=${'DEFAULT_wxUSE_LIBJBIG":-$defaultval}"
4932
4933 fi
4934
4935
4936           eval "$wx_cv_use_libjbig"
4937
4938           if test x"$withstring" = xwithout; then
4939             if test $wxUSE_LIBJBIG = yes; then
4940               result=no
4941             else
4942               result=yes
4943             fi
4944           else
4945             result=$wxUSE_LIBJBIG
4946           fi
4947
4948           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4949 $as_echo "$result" >&6; }
4950
4951
4952           withstring=without
4953           defaultval=$wxUSE_ALL_FEATURES
4954           if test -z "$defaultval"; then
4955               if test x"$withstring" = xwithout; then
4956                   defaultval=yes
4957               else
4958                   defaultval=no
4959               fi
4960           fi
4961           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-liblzma" >&5
4962 $as_echo_n "checking for --${withstring:-with}-liblzma... " >&6; }
4963
4964 # Check whether --with-liblzma was given.
4965 if test "${with_liblzma+set}" = set; then :
4966   withval=$with_liblzma;
4967                         if test "$withval" = yes; then
4968                           wx_cv_use_liblzma='wxUSE_LIBLZMA=yes'
4969                         else
4970                           wx_cv_use_liblzma='wxUSE_LIBLZMA=no'
4971                         fi
4972
4973 else
4974
4975                         wx_cv_use_liblzma='wxUSE_LIBLZMA=${'DEFAULT_wxUSE_LIBLZMA":-$defaultval}"
4976
4977 fi
4978
4979
4980           eval "$wx_cv_use_liblzma"
4981
4982           if test x"$withstring" = xwithout; then
4983             if test $wxUSE_LIBLZMA = yes; then
4984               result=no
4985             else
4986               result=yes
4987             fi
4988           else
4989             result=$wxUSE_LIBLZMA
4990           fi
4991
4992           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4993 $as_echo "$result" >&6; }
4994
4995
4996           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4997 $as_echo_n "checking for --with-libxpm... " >&6; }
4998
4999 # Check whether --with-libxpm was given.
5000 if test "${with_libxpm+set}" = set; then :
5001   withval=$with_libxpm;
5002                         if test "$withval" = yes; then
5003                           wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
5004                         elif test "$withval" = no; then
5005                           wx_cv_use_libxpm='wxUSE_LIBXPM=no'
5006                         elif test "$withval" = sys; then
5007                           wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
5008                         elif test "$withval" = builtin; then
5009                           wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
5010                         else
5011                           as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
5012                         fi
5013
5014 else
5015
5016                         wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
5017
5018 fi
5019
5020
5021           eval "$wx_cv_use_libxpm"
5022
5023           if test "$wxUSE_LIBXPM" = yes; then
5024             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5025 $as_echo "yes" >&6; }
5026           elif test "$wxUSE_LIBXPM" = no; then
5027             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 $as_echo "no" >&6; }
5029           elif test "$wxUSE_LIBXPM" = sys; then
5030             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5031 $as_echo "system version" >&6; }
5032           elif test "$wxUSE_LIBXPM" = builtin; then
5033             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5034 $as_echo "builtin version" >&6; }
5035           else
5036             as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
5037           fi
5038
5039
5040           withstring=
5041           defaultval=$wxUSE_ALL_FEATURES
5042           if test -z "$defaultval"; then
5043               if test x"$withstring" = xwithout; then
5044                   defaultval=yes
5045               else
5046                   defaultval=no
5047               fi
5048           fi
5049           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
5050 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
5051
5052 # Check whether --with-libiconv was given.
5053 if test "${with_libiconv+set}" = set; then :
5054   withval=$with_libiconv;
5055                         if test "$withval" = yes; then
5056                           wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
5057                         else
5058                           wx_cv_use_libiconv='wxUSE_LIBICONV=no'
5059                         fi
5060
5061 else
5062
5063                         wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
5064
5065 fi
5066
5067
5068           eval "$wx_cv_use_libiconv"
5069
5070           if test x"$withstring" = xwithout; then
5071             if test $wxUSE_LIBICONV = yes; then
5072               result=no
5073             else
5074               result=yes
5075             fi
5076           else
5077             result=$wxUSE_LIBICONV
5078           fi
5079
5080           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5081 $as_echo "$result" >&6; }
5082
5083
5084           withstring=
5085           defaultval=$wxUSE_ALL_FEATURES
5086           if test -z "$defaultval"; then
5087               if test x"$withstring" = xwithout; then
5088                   defaultval=yes
5089               else
5090                   defaultval=no
5091               fi
5092           fi
5093           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5094 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5095
5096 # Check whether --with-libmspack was given.
5097 if test "${with_libmspack+set}" = set; then :
5098   withval=$with_libmspack;
5099                         if test "$withval" = yes; then
5100                           wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5101                         else
5102                           wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5103                         fi
5104
5105 else
5106
5107                         wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5108
5109 fi
5110
5111
5112           eval "$wx_cv_use_libmspack"
5113
5114           if test x"$withstring" = xwithout; then
5115             if test $wxUSE_LIBMSPACK = yes; then
5116               result=no
5117             else
5118               result=yes
5119             fi
5120           else
5121             result=$wxUSE_LIBMSPACK
5122           fi
5123
5124           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5125 $as_echo "$result" >&6; }
5126
5127
5128           withstring=without
5129           defaultval=$wxUSE_ALL_FEATURES
5130           if test -z "$defaultval"; then
5131               if test x"$withstring" = xwithout; then
5132                   defaultval=yes
5133               else
5134                   defaultval=no
5135               fi
5136           fi
5137           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5138 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5139
5140 # Check whether --with-gtkprint was given.
5141 if test "${with_gtkprint+set}" = set; then :
5142   withval=$with_gtkprint;
5143                         if test "$withval" = yes; then
5144                           wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5145                         else
5146                           wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5147                         fi
5148
5149 else
5150
5151                         wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5152
5153 fi
5154
5155
5156           eval "$wx_cv_use_gtkprint"
5157
5158           if test x"$withstring" = xwithout; then
5159             if test $wxUSE_GTKPRINT = yes; then
5160               result=no
5161             else
5162               result=yes
5163             fi
5164           else
5165             result=$wxUSE_GTKPRINT
5166           fi
5167
5168           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5169 $as_echo "$result" >&6; }
5170
5171
5172           withstring=
5173           defaultval=$wxUSE_ALL_FEATURES
5174           if test -z "$defaultval"; then
5175               if test x"$withstring" = xwithout; then
5176                   defaultval=yes
5177               else
5178                   defaultval=no
5179               fi
5180           fi
5181           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5182 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5183
5184 # Check whether --with-gnomevfs was given.
5185 if test "${with_gnomevfs+set}" = set; then :
5186   withval=$with_gnomevfs;
5187                         if test "$withval" = yes; then
5188                           wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5189                         else
5190                           wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5191                         fi
5192
5193 else
5194
5195                         wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5196
5197 fi
5198
5199
5200           eval "$wx_cv_use_gnomevfs"
5201
5202           if test x"$withstring" = xwithout; then
5203             if test $wxUSE_LIBGNOMEVFS = yes; then
5204               result=no
5205             else
5206               result=yes
5207             fi
5208           else
5209             result=$wxUSE_LIBGNOMEVFS
5210           fi
5211
5212           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5213 $as_echo "$result" >&6; }
5214
5215
5216           withstring=
5217           defaultval=$wxUSE_ALL_FEATURES
5218           if test -z "$defaultval"; then
5219               if test x"$withstring" = xwithout; then
5220                   defaultval=yes
5221               else
5222                   defaultval=no
5223               fi
5224           fi
5225           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libnotify" >&5
5226 $as_echo_n "checking for --${withstring:-with}-libnotify... " >&6; }
5227
5228 # Check whether --with-libnotify was given.
5229 if test "${with_libnotify+set}" = set; then :
5230   withval=$with_libnotify;
5231                         if test "$withval" = yes; then
5232                           wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes'
5233                         else
5234                           wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no'
5235                         fi
5236
5237 else
5238
5239                         wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5240
5241 fi
5242
5243
5244           eval "$wx_cv_use_libnotify"
5245
5246           if test x"$withstring" = xwithout; then
5247             if test $wxUSE_LIBNOTIFY = yes; then
5248               result=no
5249             else
5250               result=yes
5251             fi
5252           else
5253             result=$wxUSE_LIBNOTIFY
5254           fi
5255
5256           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5257 $as_echo "$result" >&6; }
5258
5259
5260           withstring=
5261           defaultval=$wxUSE_ALL_FEATURES
5262           if test -z "$defaultval"; then
5263               if test x"$withstring" = xwithout; then
5264                   defaultval=yes
5265               else
5266                   defaultval=no
5267               fi
5268           fi
5269           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5270 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5271
5272 # Check whether --with-hildon was given.
5273 if test "${with_hildon+set}" = set; then :
5274   withval=$with_hildon;
5275                         if test "$withval" = yes; then
5276                           wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5277                         else
5278                           wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5279                         fi
5280
5281 else
5282
5283                         wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5284
5285 fi
5286
5287
5288           eval "$wx_cv_use_hildon"
5289
5290           if test x"$withstring" = xwithout; then
5291             if test $wxUSE_LIBHILDON = yes; then
5292               result=no
5293             else
5294               result=yes
5295             fi
5296           else
5297             result=$wxUSE_LIBHILDON
5298           fi
5299
5300           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5301 $as_echo "$result" >&6; }
5302
5303
5304           withstring=
5305           defaultval=$wxUSE_ALL_FEATURES
5306           if test -z "$defaultval"; then
5307               if test x"$withstring" = xwithout; then
5308                   defaultval=yes
5309               else
5310                   defaultval=no
5311               fi
5312           fi
5313           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5314 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5315
5316 # Check whether --with-opengl was given.
5317 if test "${with_opengl+set}" = set; then :
5318   withval=$with_opengl;
5319                         if test "$withval" = yes; then
5320                           wx_cv_use_opengl='wxUSE_OPENGL=yes'
5321                         else
5322                           wx_cv_use_opengl='wxUSE_OPENGL=no'
5323                         fi
5324
5325 else
5326
5327                         wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5328
5329 fi
5330
5331
5332           eval "$wx_cv_use_opengl"
5333
5334           if test x"$withstring" = xwithout; then
5335             if test $wxUSE_OPENGL = yes; then
5336               result=no
5337             else
5338               result=yes
5339             fi
5340           else
5341             result=$wxUSE_OPENGL
5342           fi
5343
5344           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5345 $as_echo "$result" >&6; }
5346
5347
5348 fi
5349
5350
5351           withstring=
5352           defaultval=$wxUSE_ALL_FEATURES
5353           if test -z "$defaultval"; then
5354               if test x"$withstring" = xwithout; then
5355                   defaultval=yes
5356               else
5357                   defaultval=no
5358               fi
5359           fi
5360           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5361 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5362
5363 # Check whether --with-dmalloc was given.
5364 if test "${with_dmalloc+set}" = set; then :
5365   withval=$with_dmalloc;
5366                         if test "$withval" = yes; then
5367                           wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5368                         else
5369                           wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5370                         fi
5371
5372 else
5373
5374                         wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5375
5376 fi
5377
5378
5379           eval "$wx_cv_use_dmalloc"
5380
5381           if test x"$withstring" = xwithout; then
5382             if test $wxUSE_DMALLOC = yes; then
5383               result=no
5384             else
5385               result=yes
5386             fi
5387           else
5388             result=$wxUSE_DMALLOC
5389           fi
5390
5391           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5392 $as_echo "$result" >&6; }
5393
5394
5395           withstring=
5396           defaultval=$wxUSE_ALL_FEATURES
5397           if test -z "$defaultval"; then
5398               if test x"$withstring" = xwithout; then
5399                   defaultval=yes
5400               else
5401                   defaultval=no
5402               fi
5403           fi
5404           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5405 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5406
5407 # Check whether --with-sdl was given.
5408 if test "${with_sdl+set}" = set; then :
5409   withval=$with_sdl;
5410                         if test "$withval" = yes; then
5411                           wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5412                         else
5413                           wx_cv_use_sdl='wxUSE_LIBSDL=no'
5414                         fi
5415
5416 else
5417
5418                         wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5419
5420 fi
5421
5422
5423           eval "$wx_cv_use_sdl"
5424
5425           if test x"$withstring" = xwithout; then
5426             if test $wxUSE_LIBSDL = yes; then
5427               result=no
5428             else
5429               result=yes
5430             fi
5431           else
5432             result=$wxUSE_LIBSDL
5433           fi
5434
5435           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5436 $as_echo "$result" >&6; }
5437
5438
5439           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5440 $as_echo_n "checking for --with-regex... " >&6; }
5441
5442 # Check whether --with-regex was given.
5443 if test "${with_regex+set}" = set; then :
5444   withval=$with_regex;
5445                         if test "$withval" = yes; then
5446                           wx_cv_use_regex='wxUSE_REGEX=yes'
5447                         elif test "$withval" = no; then
5448                           wx_cv_use_regex='wxUSE_REGEX=no'
5449                         elif test "$withval" = sys; then
5450                           wx_cv_use_regex='wxUSE_REGEX=sys'
5451                         elif test "$withval" = builtin; then
5452                           wx_cv_use_regex='wxUSE_REGEX=builtin'
5453                         else
5454                           as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5455                         fi
5456
5457 else
5458
5459                         wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5460
5461 fi
5462
5463
5464           eval "$wx_cv_use_regex"
5465
5466           if test "$wxUSE_REGEX" = yes; then
5467             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5468 $as_echo "yes" >&6; }
5469           elif test "$wxUSE_REGEX" = no; then
5470             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5471 $as_echo "no" >&6; }
5472           elif test "$wxUSE_REGEX" = sys; then
5473             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5474 $as_echo "system version" >&6; }
5475           elif test "$wxUSE_REGEX" = builtin; then
5476             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5477 $as_echo "builtin version" >&6; }
5478           else
5479             as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5480           fi
5481
5482
5483           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5484 $as_echo_n "checking for --with-zlib... " >&6; }
5485
5486 # Check whether --with-zlib was given.
5487 if test "${with_zlib+set}" = set; then :
5488   withval=$with_zlib;
5489                         if test "$withval" = yes; then
5490                           wx_cv_use_zlib='wxUSE_ZLIB=yes'
5491                         elif test "$withval" = no; then
5492                           wx_cv_use_zlib='wxUSE_ZLIB=no'
5493                         elif test "$withval" = sys; then
5494                           wx_cv_use_zlib='wxUSE_ZLIB=sys'
5495                         elif test "$withval" = builtin; then
5496                           wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5497                         else
5498                           as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5499                         fi
5500
5501 else
5502
5503                         wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5504
5505 fi
5506
5507
5508           eval "$wx_cv_use_zlib"
5509
5510           if test "$wxUSE_ZLIB" = yes; then
5511             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5512 $as_echo "yes" >&6; }
5513           elif test "$wxUSE_ZLIB" = no; then
5514             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5515 $as_echo "no" >&6; }
5516           elif test "$wxUSE_ZLIB" = sys; then
5517             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5518 $as_echo "system version" >&6; }
5519           elif test "$wxUSE_ZLIB" = builtin; then
5520             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5521 $as_echo "builtin version" >&6; }
5522           else
5523             as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5524           fi
5525
5526
5527           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5528 $as_echo_n "checking for --with-expat... " >&6; }
5529
5530 # Check whether --with-expat was given.
5531 if test "${with_expat+set}" = set; then :
5532   withval=$with_expat;
5533                         if test "$withval" = yes; then
5534                           wx_cv_use_expat='wxUSE_EXPAT=yes'
5535                         elif test "$withval" = no; then
5536                           wx_cv_use_expat='wxUSE_EXPAT=no'
5537                         elif test "$withval" = sys; then
5538                           wx_cv_use_expat='wxUSE_EXPAT=sys'
5539                         elif test "$withval" = builtin; then
5540                           wx_cv_use_expat='wxUSE_EXPAT=builtin'
5541                         else
5542                           as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5543                         fi
5544
5545 else
5546
5547                         wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5548
5549 fi
5550
5551
5552           eval "$wx_cv_use_expat"
5553
5554           if test "$wxUSE_EXPAT" = yes; then
5555             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5556 $as_echo "yes" >&6; }
5557           elif test "$wxUSE_EXPAT" = no; then
5558             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5559 $as_echo "no" >&6; }
5560           elif test "$wxUSE_EXPAT" = sys; then
5561             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5562 $as_echo "system version" >&6; }
5563           elif test "$wxUSE_EXPAT" = builtin; then
5564             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5565 $as_echo "builtin version" >&6; }
5566           else
5567             as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5568           fi
5569
5570
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5572 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5573
5574 # Check whether --with-macosx-sdk was given.
5575 if test "${with_macosx_sdk+set}" = set; then :
5576   withval=$with_macosx_sdk;
5577         wxUSE_MACOSX_SDK=$withval
5578         wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5579
5580 fi
5581
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5583 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5584
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5586 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5587
5588 # Check whether --with-macosx-version-min was given.
5589 if test "${with_macosx_version_min+set}" = set; then :
5590   withval=$with_macosx_version_min;
5591         wxUSE_MACOSX_VERSION_MIN=$withval
5592         wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5593
5594 fi
5595
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5597 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5598
5599
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5601 $as_echo_n "checking for --enable-debug... " >&6; }
5602 # Check whether --enable-debug was given.
5603 if test "${enable_debug+set}" = set; then :
5604   enableval=$enable_debug;
5605         if test "$enableval" = yes; then
5606             wxUSE_DEBUG=yes
5607         elif test "$enableval" = no; then
5608             wxUSE_DEBUG=no
5609         elif test "$enableval" = max; then
5610             wxUSE_DEBUG=yes
5611             WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5612         else
5613             as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5614         fi
5615
5616 else
5617   wxUSE_DEBUG=default
5618
5619 fi
5620
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5622 $as_echo "${enable_debug-default}" >&6; }
5623
5624 case "$wxUSE_DEBUG" in
5625     yes)
5626                         DEFAULT_wxUSE_DEBUG_FLAG=yes
5627         DEFAULT_wxUSE_DEBUG_INFO=yes
5628
5629                         DEFAULT_wxUSE_OPTIMISE=no
5630         ;;
5631
5632     no)
5633                         DEFAULT_wxUSE_DEBUG_FLAG=no
5634         DEFAULT_wxUSE_DEBUG_INFO=no
5635         ;;
5636
5637     default)
5638                         DEFAULT_wxUSE_DEBUG_FLAG=yes
5639         DEFAULT_wxUSE_DEBUG_INFO=no
5640         ;;
5641 esac
5642
5643
5644           enablestring=disable
5645           defaultval=
5646           if test -z "$defaultval"; then
5647               if test x"$enablestring" = xdisable; then
5648                   defaultval=yes
5649               else
5650                   defaultval=no
5651               fi
5652           fi
5653
5654           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5655 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5656           # Check whether --enable-debug_flag was given.
5657 if test "${enable_debug_flag+set}" = set; then :
5658   enableval=$enable_debug_flag;
5659                           if test "$enableval" = yes; then
5660                             wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5661                           else
5662                             wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5663                           fi
5664
5665 else
5666
5667                           wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5668
5669 fi
5670
5671
5672           eval "$wx_cv_use_debug_flag"
5673
5674           if test x"$enablestring" = xdisable; then
5675             if test $wxUSE_DEBUG_FLAG = no; then
5676               result=yes
5677             else
5678               result=no
5679             fi
5680           else
5681             result=$wxUSE_DEBUG_FLAG
5682           fi
5683
5684           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5685 $as_echo "$result" >&6; }
5686
5687
5688           enablestring=
5689           defaultval=
5690           if test -z "$defaultval"; then
5691               if test x"$enablestring" = xdisable; then
5692                   defaultval=yes
5693               else
5694                   defaultval=no
5695               fi
5696           fi
5697
5698           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5699 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5700           # Check whether --enable-debug_info was given.
5701 if test "${enable_debug_info+set}" = set; then :
5702   enableval=$enable_debug_info;
5703                           if test "$enableval" = yes; then
5704                             wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5705                           else
5706                             wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5707                           fi
5708
5709 else
5710
5711                           wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5712
5713 fi
5714
5715
5716           eval "$wx_cv_use_debug_info"
5717
5718           if test x"$enablestring" = xdisable; then
5719             if test $wxUSE_DEBUG_INFO = no; then
5720               result=yes
5721             else
5722               result=no
5723             fi
5724           else
5725             result=$wxUSE_DEBUG_INFO
5726           fi
5727
5728           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5729 $as_echo "$result" >&6; }
5730
5731
5732
5733
5734           enablestring=
5735           defaultval=
5736           if test -z "$defaultval"; then
5737               if test x"$enablestring" = xdisable; then
5738                   defaultval=yes
5739               else
5740                   defaultval=no
5741               fi
5742           fi
5743
5744           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5745 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5746           # Check whether --enable-debug_gdb was given.
5747 if test "${enable_debug_gdb+set}" = set; then :
5748   enableval=$enable_debug_gdb;
5749                           if test "$enableval" = yes; then
5750                             wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5751                           else
5752                             wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5753                           fi
5754
5755 else
5756
5757                           wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5758
5759 fi
5760
5761
5762           eval "$wx_cv_use_debug_gdb"
5763
5764           if test x"$enablestring" = xdisable; then
5765             if test $wxUSE_DEBUG_GDB = no; then
5766               result=yes
5767             else
5768               result=no
5769             fi
5770           else
5771             result=$wxUSE_DEBUG_GDB
5772           fi
5773
5774           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5775 $as_echo "$result" >&6; }
5776
5777
5778           enablestring=
5779           defaultval=
5780           if test -z "$defaultval"; then
5781               if test x"$enablestring" = xdisable; then
5782                   defaultval=yes
5783               else
5784                   defaultval=no
5785               fi
5786           fi
5787
5788           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5789 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5790           # Check whether --enable-debug_cntxt was given.
5791 if test "${enable_debug_cntxt+set}" = set; then :
5792   enableval=$enable_debug_cntxt;
5793                           if test "$enableval" = yes; then
5794                             wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5795                           else
5796                             wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5797                           fi
5798
5799 else
5800
5801                           wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5802
5803 fi
5804
5805
5806           eval "$wx_cv_use_debug_cntxt"
5807
5808           if test x"$enablestring" = xdisable; then
5809             if test $wxUSE_DEBUG_CONTEXT = no; then
5810               result=yes
5811             else
5812               result=no
5813             fi
5814           else
5815             result=$wxUSE_DEBUG_CONTEXT
5816           fi
5817
5818           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5819 $as_echo "$result" >&6; }
5820
5821
5822           enablestring=
5823           defaultval=
5824           if test -z "$defaultval"; then
5825               if test x"$enablestring" = xdisable; then
5826                   defaultval=yes
5827               else
5828                   defaultval=no
5829               fi
5830           fi
5831
5832           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5833 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5834           # Check whether --enable-mem_tracing was given.
5835 if test "${enable_mem_tracing+set}" = set; then :
5836   enableval=$enable_mem_tracing;
5837                           if test "$enableval" = yes; then
5838                             wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5839                           else
5840                             wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5841                           fi
5842
5843 else
5844
5845                           wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5846
5847 fi
5848
5849
5850           eval "$wx_cv_use_mem_tracing"
5851
5852           if test x"$enablestring" = xdisable; then
5853             if test $wxUSE_MEM_TRACING = no; then
5854               result=yes
5855             else
5856               result=no
5857             fi
5858           else
5859             result=$wxUSE_MEM_TRACING
5860           fi
5861
5862           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5863 $as_echo "$result" >&6; }
5864
5865
5866
5867
5868           enablestring=disable
5869           defaultval=
5870           if test -z "$defaultval"; then
5871               if test x"$enablestring" = xdisable; then
5872                   defaultval=yes
5873               else
5874                   defaultval=no
5875               fi
5876           fi
5877
5878           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5879 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5880           # Check whether --enable-shared was given.
5881 if test "${enable_shared+set}" = set; then :
5882   enableval=$enable_shared;
5883                           if test "$enableval" = yes; then
5884                             wx_cv_use_shared='wxUSE_SHARED=yes'
5885                           else
5886                             wx_cv_use_shared='wxUSE_SHARED=no'
5887                           fi
5888
5889 else
5890
5891                           wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5892
5893 fi
5894
5895
5896           eval "$wx_cv_use_shared"
5897
5898           if test x"$enablestring" = xdisable; then
5899             if test $wxUSE_SHARED = no; then
5900               result=yes
5901             else
5902               result=no
5903             fi
5904           else
5905             result=$wxUSE_SHARED
5906           fi
5907
5908           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5909 $as_echo "$result" >&6; }
5910
5911
5912           enablestring=
5913           defaultval=
5914           if test -z "$defaultval"; then
5915               if test x"$enablestring" = xdisable; then
5916                   defaultval=yes
5917               else
5918                   defaultval=no
5919               fi
5920           fi
5921
5922           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5923 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5924           # Check whether --enable-stl was given.
5925 if test "${enable_stl+set}" = set; then :
5926   enableval=$enable_stl;
5927                           if test "$enableval" = yes; then
5928                             wx_cv_use_stl='wxUSE_STL=yes'
5929                           else
5930                             wx_cv_use_stl='wxUSE_STL=no'
5931                           fi
5932
5933 else
5934
5935                           wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5936
5937 fi
5938
5939
5940           eval "$wx_cv_use_stl"
5941
5942           if test x"$enablestring" = xdisable; then
5943             if test $wxUSE_STL = no; then
5944               result=yes
5945             else
5946               result=no
5947             fi
5948           else
5949             result=$wxUSE_STL
5950           fi
5951
5952           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5953 $as_echo "$result" >&6; }
5954
5955 if test "$wxUSE_STL" = "yes"; then
5956     DEFAULT_wxUSE_STD_CONTAINERS=yes
5957     DEFAULT_wxUSE_STD_IOSTREAM=yes
5958     DEFAULT_wxUSE_STD_STRING=yes
5959 fi
5960
5961           enablestring=
5962           defaultval=
5963           if test -z "$defaultval"; then
5964               if test x"$enablestring" = xdisable; then
5965                   defaultval=yes
5966               else
5967                   defaultval=no
5968               fi
5969           fi
5970
5971           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
5972 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
5973           # Check whether --enable-std_containers was given.
5974 if test "${enable_std_containers+set}" = set; then :
5975   enableval=$enable_std_containers;
5976                           if test "$enableval" = yes; then
5977                             wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5978                           else
5979                             wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5980                           fi
5981
5982 else
5983
5984                           wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5985
5986 fi
5987
5988
5989           eval "$wx_cv_use_std_containers"
5990
5991           if test x"$enablestring" = xdisable; then
5992             if test $wxUSE_STD_CONTAINERS = no; then
5993               result=yes
5994             else
5995               result=no
5996             fi
5997           else
5998             result=$wxUSE_STD_CONTAINERS
5999           fi
6000
6001           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6002 $as_echo "$result" >&6; }
6003
6004
6005           enablestring=
6006           defaultval=
6007           if test -z "$defaultval"; then
6008               if test x"$enablestring" = xdisable; then
6009                   defaultval=yes
6010               else
6011                   defaultval=no
6012               fi
6013           fi
6014
6015           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
6016 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
6017           # Check whether --enable-std_iostreams was given.
6018 if test "${enable_std_iostreams+set}" = set; then :
6019   enableval=$enable_std_iostreams;
6020                           if test "$enableval" = yes; then
6021                             wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6022                           else
6023                             wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6024                           fi
6025
6026 else
6027
6028                           wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
6029
6030 fi
6031
6032
6033           eval "$wx_cv_use_std_iostreams"
6034
6035           if test x"$enablestring" = xdisable; then
6036             if test $wxUSE_STD_IOSTREAM = no; then
6037               result=yes
6038             else
6039               result=no
6040             fi
6041           else
6042             result=$wxUSE_STD_IOSTREAM
6043           fi
6044
6045           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6046 $as_echo "$result" >&6; }
6047
6048
6049           enablestring=
6050           defaultval=
6051           if test -z "$defaultval"; then
6052               if test x"$enablestring" = xdisable; then
6053                   defaultval=yes
6054               else
6055                   defaultval=no
6056               fi
6057           fi
6058
6059           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
6060 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
6061           # Check whether --enable-std_string was given.
6062 if test "${enable_std_string+set}" = set; then :
6063   enableval=$enable_std_string;
6064                           if test "$enableval" = yes; then
6065                             wx_cv_use_std_string='wxUSE_STD_STRING=yes'
6066                           else
6067                             wx_cv_use_std_string='wxUSE_STD_STRING=no'
6068                           fi
6069
6070 else
6071
6072                           wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6073
6074 fi
6075
6076
6077           eval "$wx_cv_use_std_string"
6078
6079           if test x"$enablestring" = xdisable; then
6080             if test $wxUSE_STD_STRING = no; then
6081               result=yes
6082             else
6083               result=no
6084             fi
6085           else
6086             result=$wxUSE_STD_STRING
6087           fi
6088
6089           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6090 $as_echo "$result" >&6; }
6091
6092
6093           enablestring=
6094           defaultval=
6095           if test -z "$defaultval"; then
6096               if test x"$enablestring" = xdisable; then
6097                   defaultval=yes
6098               else
6099                   defaultval=no
6100               fi
6101           fi
6102
6103           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6104 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6105           # Check whether --enable-std_string_conv_in_wxstring was given.
6106 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6107   enableval=$enable_std_string_conv_in_wxstring;
6108                           if test "$enableval" = yes; then
6109                             wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6110                           else
6111                             wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6112                           fi
6113
6114 else
6115
6116                           wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6117
6118 fi
6119
6120
6121           eval "$wx_cv_use_std_string_conv_in_wxstring"
6122
6123           if test x"$enablestring" = xdisable; then
6124             if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6125               result=yes
6126             else
6127               result=no
6128             fi
6129           else
6130             result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6131           fi
6132
6133           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6134 $as_echo "$result" >&6; }
6135
6136
6137           enablestring=disable
6138           defaultval=
6139           if test -z "$defaultval"; then
6140               if test x"$enablestring" = xdisable; then
6141                   defaultval=yes
6142               else
6143                   defaultval=no
6144               fi
6145           fi
6146
6147           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6148 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6149           # Check whether --enable-unicode was given.
6150 if test "${enable_unicode+set}" = set; then :
6151   enableval=$enable_unicode;
6152                           if test "$enableval" = yes; then
6153                             wx_cv_use_unicode='wxUSE_UNICODE=yes'
6154                           else
6155                             wx_cv_use_unicode='wxUSE_UNICODE=no'
6156                           fi
6157
6158 else
6159
6160                           wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6161
6162 fi
6163
6164
6165           eval "$wx_cv_use_unicode"
6166
6167           if test x"$enablestring" = xdisable; then
6168             if test $wxUSE_UNICODE = no; then
6169               result=yes
6170             else
6171               result=no
6172             fi
6173           else
6174             result=$wxUSE_UNICODE
6175           fi
6176
6177           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6178 $as_echo "$result" >&6; }
6179
6180
6181           enablestring=
6182           defaultval=
6183           if test -z "$defaultval"; then
6184               if test x"$enablestring" = xdisable; then
6185                   defaultval=yes
6186               else
6187                   defaultval=no
6188               fi
6189           fi
6190
6191           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6192 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6193           # Check whether --enable-mslu was given.
6194 if test "${enable_mslu+set}" = set; then :
6195   enableval=$enable_mslu;
6196                           if test "$enableval" = yes; then
6197                             wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6198                           else
6199                             wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6200                           fi
6201
6202 else
6203
6204                           wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6205
6206 fi
6207
6208
6209           eval "$wx_cv_use_mslu"
6210
6211           if test x"$enablestring" = xdisable; then
6212             if test $wxUSE_UNICODE_MSLU = no; then
6213               result=yes
6214             else
6215               result=no
6216             fi
6217           else
6218             result=$wxUSE_UNICODE_MSLU
6219           fi
6220
6221           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6222 $as_echo "$result" >&6; }
6223
6224
6225           enablestring=
6226           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6227 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6228           # Check whether --enable-utf8 was given.
6229 if test "${enable_utf8+set}" = set; then :
6230   enableval=$enable_utf8;
6231                           wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6232
6233 else
6234
6235                           wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6236
6237 fi
6238
6239
6240           eval "$wx_cv_use_utf8"
6241
6242           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6243 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6244
6245
6246           enablestring=
6247           defaultval=
6248           if test -z "$defaultval"; then
6249               if test x"$enablestring" = xdisable; then
6250                   defaultval=yes
6251               else
6252                   defaultval=no
6253               fi
6254           fi
6255
6256           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6257 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6258           # Check whether --enable-utf8only was given.
6259 if test "${enable_utf8only+set}" = set; then :
6260   enableval=$enable_utf8only;
6261                           if test "$enableval" = yes; then
6262                             wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6263                           else
6264                             wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6265                           fi
6266
6267 else
6268
6269                           wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6270
6271 fi
6272
6273
6274           eval "$wx_cv_use_utf8only"
6275
6276           if test x"$enablestring" = xdisable; then
6277             if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6278               result=yes
6279             else
6280               result=no
6281             fi
6282           else
6283             result=$wxUSE_UNICODE_UTF8_LOCALE
6284           fi
6285
6286           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6287 $as_echo "$result" >&6; }
6288
6289
6290           enablestring=
6291           defaultval=
6292           if test -z "$defaultval"; then
6293               if test x"$enablestring" = xdisable; then
6294                   defaultval=yes
6295               else
6296                   defaultval=no
6297               fi
6298           fi
6299
6300           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6301 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6302           # Check whether --enable-extended_rtti was given.
6303 if test "${enable_extended_rtti+set}" = set; then :
6304   enableval=$enable_extended_rtti;
6305                           if test "$enableval" = yes; then
6306                             wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6307                           else
6308                             wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6309                           fi
6310
6311 else
6312
6313                           wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6314
6315 fi
6316
6317
6318           eval "$wx_cv_use_extended_rtti"
6319
6320           if test x"$enablestring" = xdisable; then
6321             if test $wxUSE_EXTENDED_RTTI = no; then
6322               result=yes
6323             else
6324               result=no
6325             fi
6326           else
6327             result=$wxUSE_EXTENDED_RTTI
6328           fi
6329
6330           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6331 $as_echo "$result" >&6; }
6332
6333 if test "$USE_OS2" = 1; then
6334     DEFAULT_wxUSE_OMF=no
6335
6336           enablestring=
6337           defaultval=
6338           if test -z "$defaultval"; then
6339               if test x"$enablestring" = xdisable; then
6340                   defaultval=yes
6341               else
6342                   defaultval=no
6343               fi
6344           fi
6345
6346           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6347 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6348           # Check whether --enable-omf was given.
6349 if test "${enable_omf+set}" = set; then :
6350   enableval=$enable_omf;
6351                           if test "$enableval" = yes; then
6352                             wx_cv_use_omf='wxUSE_OMF=yes'
6353                           else
6354                             wx_cv_use_omf='wxUSE_OMF=no'
6355                           fi
6356
6357 else
6358
6359                           wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6360
6361 fi
6362
6363
6364           eval "$wx_cv_use_omf"
6365
6366           if test x"$enablestring" = xdisable; then
6367             if test $wxUSE_OMF = no; then
6368               result=yes
6369             else
6370               result=no
6371             fi
6372           else
6373             result=$wxUSE_OMF
6374           fi
6375
6376           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6377 $as_echo "$result" >&6; }
6378
6379 fi
6380
6381
6382           enablestring=disable
6383           defaultval=
6384           if test -z "$defaultval"; then
6385               if test x"$enablestring" = xdisable; then
6386                   defaultval=yes
6387               else
6388                   defaultval=no
6389               fi
6390           fi
6391
6392           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6393 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6394           # Check whether --enable-optimise was given.
6395 if test "${enable_optimise+set}" = set; then :
6396   enableval=$enable_optimise;
6397                           if test "$enableval" = yes; then
6398                             wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6399                           else
6400                             wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6401                           fi
6402
6403 else
6404
6405                           wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6406
6407 fi
6408
6409
6410           eval "$wx_cv_use_optimise"
6411
6412           if test x"$enablestring" = xdisable; then
6413             if test $wxUSE_OPTIMISE = no; then
6414               result=yes
6415             else
6416               result=no
6417             fi
6418           else
6419             result=$wxUSE_OPTIMISE
6420           fi
6421
6422           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6423 $as_echo "$result" >&6; }
6424
6425
6426
6427           enablestring=
6428           defaultval=
6429           if test -z "$defaultval"; then
6430               if test x"$enablestring" = xdisable; then
6431                   defaultval=yes
6432               else
6433                   defaultval=no
6434               fi
6435           fi
6436
6437           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6438 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6439           # Check whether --enable-profile was given.
6440 if test "${enable_profile+set}" = set; then :
6441   enableval=$enable_profile;
6442                           if test "$enableval" = yes; then
6443                             wx_cv_use_profile='wxUSE_PROFILE=yes'
6444                           else
6445                             wx_cv_use_profile='wxUSE_PROFILE=no'
6446                           fi
6447
6448 else
6449
6450                           wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6451
6452 fi
6453
6454
6455           eval "$wx_cv_use_profile"
6456
6457           if test x"$enablestring" = xdisable; then
6458             if test $wxUSE_PROFILE = no; then
6459               result=yes
6460             else
6461               result=no
6462             fi
6463           else
6464             result=$wxUSE_PROFILE
6465           fi
6466
6467           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6468 $as_echo "$result" >&6; }
6469
6470
6471           enablestring=
6472           defaultval=
6473           if test -z "$defaultval"; then
6474               if test x"$enablestring" = xdisable; then
6475                   defaultval=yes
6476               else
6477                   defaultval=no
6478               fi
6479           fi
6480
6481           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6482 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6483           # Check whether --enable-no_rtti was given.
6484 if test "${enable_no_rtti+set}" = set; then :
6485   enableval=$enable_no_rtti;
6486                           if test "$enableval" = yes; then
6487                             wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6488                           else
6489                             wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6490                           fi
6491
6492 else
6493
6494                           wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6495
6496 fi
6497
6498
6499           eval "$wx_cv_use_no_rtti"
6500
6501           if test x"$enablestring" = xdisable; then
6502             if test $wxUSE_NO_RTTI = no; then
6503               result=yes
6504             else
6505               result=no
6506             fi
6507           else
6508             result=$wxUSE_NO_RTTI
6509           fi
6510
6511           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6512 $as_echo "$result" >&6; }
6513
6514
6515           enablestring=
6516           defaultval=
6517           if test -z "$defaultval"; then
6518               if test x"$enablestring" = xdisable; then
6519                   defaultval=yes
6520               else
6521                   defaultval=no
6522               fi
6523           fi
6524
6525           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6526 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6527           # Check whether --enable-no_exceptions was given.
6528 if test "${enable_no_exceptions+set}" = set; then :
6529   enableval=$enable_no_exceptions;
6530                           if test "$enableval" = yes; then
6531                             wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6532                           else
6533                             wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6534                           fi
6535
6536 else
6537
6538                           wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6539
6540 fi
6541
6542
6543           eval "$wx_cv_use_no_exceptions"
6544
6545           if test x"$enablestring" = xdisable; then
6546             if test $wxUSE_NO_EXCEPTIONS = no; then
6547               result=yes
6548             else
6549               result=no
6550             fi
6551           else
6552             result=$wxUSE_NO_EXCEPTIONS
6553           fi
6554
6555           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6556 $as_echo "$result" >&6; }
6557
6558
6559           enablestring=
6560           defaultval=
6561           if test -z "$defaultval"; then
6562               if test x"$enablestring" = xdisable; then
6563                   defaultval=yes
6564               else
6565                   defaultval=no
6566               fi
6567           fi
6568
6569           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6570 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6571           # Check whether --enable-permissive was given.
6572 if test "${enable_permissive+set}" = set; then :
6573   enableval=$enable_permissive;
6574                           if test "$enableval" = yes; then
6575                             wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6576                           else
6577                             wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6578                           fi
6579
6580 else
6581
6582                           wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6583
6584 fi
6585
6586
6587           eval "$wx_cv_use_permissive"
6588
6589           if test x"$enablestring" = xdisable; then
6590             if test $wxUSE_PERMISSIVE = no; then
6591               result=yes
6592             else
6593               result=no
6594             fi
6595           else
6596             result=$wxUSE_PERMISSIVE
6597           fi
6598
6599           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6600 $as_echo "$result" >&6; }
6601
6602
6603           enablestring=
6604           defaultval=
6605           if test -z "$defaultval"; then
6606               if test x"$enablestring" = xdisable; then
6607                   defaultval=yes
6608               else
6609                   defaultval=no
6610               fi
6611           fi
6612
6613           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6614 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6615           # Check whether --enable-no_deps was given.
6616 if test "${enable_no_deps+set}" = set; then :
6617   enableval=$enable_no_deps;
6618                           if test "$enableval" = yes; then
6619                             wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6620                           else
6621                             wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6622                           fi
6623
6624 else
6625
6626                           wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6627
6628 fi
6629
6630
6631           eval "$wx_cv_use_no_deps"
6632
6633           if test x"$enablestring" = xdisable; then
6634             if test $wxUSE_NO_DEPS = no; then
6635               result=yes
6636             else
6637               result=no
6638             fi
6639           else
6640             result=$wxUSE_NO_DEPS
6641           fi
6642
6643           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6644 $as_echo "$result" >&6; }
6645
6646
6647           enablestring=disable
6648           defaultval=
6649           if test -z "$defaultval"; then
6650               if test x"$enablestring" = xdisable; then
6651                   defaultval=yes
6652               else
6653                   defaultval=no
6654               fi
6655           fi
6656
6657           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6658 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6659           # Check whether --enable-vararg_macros was given.
6660 if test "${enable_vararg_macros+set}" = set; then :
6661   enableval=$enable_vararg_macros;
6662                           if test "$enableval" = yes; then
6663                             wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6664                           else
6665                             wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6666                           fi
6667
6668 else
6669
6670                           wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6671
6672 fi
6673
6674
6675           eval "$wx_cv_use_vararg_macros"
6676
6677           if test x"$enablestring" = xdisable; then
6678             if test $wxUSE_VARARG_MACROS = no; then
6679               result=yes
6680             else
6681               result=no
6682             fi
6683           else
6684             result=$wxUSE_VARARG_MACROS
6685           fi
6686
6687           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6688 $as_echo "$result" >&6; }
6689
6690
6691
6692           enablestring=
6693           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6694 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6695           # Check whether --enable-universal_binary was given.
6696 if test "${enable_universal_binary+set}" = set; then :
6697   enableval=$enable_universal_binary;
6698                           wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6699
6700 else
6701
6702                           wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6703
6704 fi
6705
6706
6707           eval "$wx_cv_use_universal_binary"
6708
6709           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6710 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6711
6712
6713           enablestring=
6714           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6715 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6716           # Check whether --enable-macosx_arch was given.
6717 if test "${enable_macosx_arch+set}" = set; then :
6718   enableval=$enable_macosx_arch;
6719                           wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6720
6721 else
6722
6723                           wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6724
6725 fi
6726
6727
6728           eval "$wx_cv_use_macosx_arch"
6729
6730           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6731 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6732
6733
6734
6735           enablestring=
6736           defaultval=
6737           if test -z "$defaultval"; then
6738               if test x"$enablestring" = xdisable; then
6739                   defaultval=yes
6740               else
6741                   defaultval=no
6742               fi
6743           fi
6744
6745           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6746 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6747           # Check whether --enable-compat26 was given.
6748 if test "${enable_compat26+set}" = set; then :
6749   enableval=$enable_compat26;
6750                           if test "$enableval" = yes; then
6751                             wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6752                           else
6753                             wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6754                           fi
6755
6756 else
6757
6758                           wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6759
6760 fi
6761
6762
6763           eval "$wx_cv_use_compat26"
6764
6765           if test x"$enablestring" = xdisable; then
6766             if test $WXWIN_COMPATIBILITY_2_6 = no; then
6767               result=yes
6768             else
6769               result=no
6770             fi
6771           else
6772             result=$WXWIN_COMPATIBILITY_2_6
6773           fi
6774
6775           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6776 $as_echo "$result" >&6; }
6777
6778
6779           enablestring=disable
6780           defaultval=
6781           if test -z "$defaultval"; then
6782               if test x"$enablestring" = xdisable; then
6783                   defaultval=yes
6784               else
6785                   defaultval=no
6786               fi
6787           fi
6788
6789           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6790 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6791           # Check whether --enable-compat28 was given.
6792 if test "${enable_compat28+set}" = set; then :
6793   enableval=$enable_compat28;
6794                           if test "$enableval" = yes; then
6795                             wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6796                           else
6797                             wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6798                           fi
6799
6800 else
6801
6802                           wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6803
6804 fi
6805
6806
6807           eval "$wx_cv_use_compat28"
6808
6809           if test x"$enablestring" = xdisable; then
6810             if test $WXWIN_COMPATIBILITY_2_8 = no; then
6811               result=yes
6812             else
6813               result=no
6814             fi
6815           else
6816             result=$WXWIN_COMPATIBILITY_2_8
6817           fi
6818
6819           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6820 $as_echo "$result" >&6; }
6821
6822
6823
6824           enablestring=disable
6825           defaultval=
6826           if test -z "$defaultval"; then
6827               if test x"$enablestring" = xdisable; then
6828                   defaultval=yes
6829               else
6830                   defaultval=no
6831               fi
6832           fi
6833
6834           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6835 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6836           # Check whether --enable-rpath was given.
6837 if test "${enable_rpath+set}" = set; then :
6838   enableval=$enable_rpath;
6839                           if test "$enableval" = yes; then
6840                             wx_cv_use_rpath='wxUSE_RPATH=yes'
6841                           else
6842                             wx_cv_use_rpath='wxUSE_RPATH=no'
6843                           fi
6844
6845 else
6846
6847                           wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6848
6849 fi
6850
6851
6852           eval "$wx_cv_use_rpath"
6853
6854           if test x"$enablestring" = xdisable; then
6855             if test $wxUSE_RPATH = no; then
6856               result=yes
6857             else
6858               result=no
6859             fi
6860           else
6861             result=$wxUSE_RPATH
6862           fi
6863
6864           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6865 $as_echo "$result" >&6; }
6866
6867
6868
6869           enablestring=
6870           defaultval=
6871           if test -z "$defaultval"; then
6872               if test x"$enablestring" = xdisable; then
6873                   defaultval=yes
6874               else
6875                   defaultval=no
6876               fi
6877           fi
6878
6879           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6880 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6881           # Check whether --enable-objc_uniquifying was given.
6882 if test "${enable_objc_uniquifying+set}" = set; then :
6883   enableval=$enable_objc_uniquifying;
6884                           if test "$enableval" = yes; then
6885                             wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6886                           else
6887                             wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6888                           fi
6889
6890 else
6891
6892                           wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6893
6894 fi
6895
6896
6897           eval "$wx_cv_use_objc_uniquifying"
6898
6899           if test x"$enablestring" = xdisable; then
6900             if test $wxUSE_OBJC_UNIQUIFYING = no; then
6901               result=yes
6902             else
6903               result=no
6904             fi
6905           else
6906             result=$wxUSE_OBJC_UNIQUIFYING
6907           fi
6908
6909           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6910 $as_echo "$result" >&6; }
6911
6912
6913
6914           enablestring=disable
6915           defaultval=
6916           if test -z "$defaultval"; then
6917               if test x"$enablestring" = xdisable; then
6918                   defaultval=yes
6919               else
6920                   defaultval=no
6921               fi
6922           fi
6923
6924           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6925 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6926           # Check whether --enable-visibility was given.
6927 if test "${enable_visibility+set}" = set; then :
6928   enableval=$enable_visibility;
6929                           if test "$enableval" = yes; then
6930                             wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6931                           else
6932                             wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6933                           fi
6934
6935 else
6936
6937                           wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6938
6939 fi
6940
6941
6942           eval "$wx_cv_use_visibility"
6943
6944           if test x"$enablestring" = xdisable; then
6945             if test $wxUSE_VISIBILITY = no; then
6946               result=yes
6947             else
6948               result=no
6949             fi
6950           else
6951             result=$wxUSE_VISIBILITY
6952           fi
6953
6954           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6955 $as_echo "$result" >&6; }
6956
6957
6958           enablestring=disable
6959           defaultval=
6960           if test -z "$defaultval"; then
6961               if test x"$enablestring" = xdisable; then
6962                   defaultval=yes
6963               else
6964                   defaultval=no
6965               fi
6966           fi
6967
6968           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
6969 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
6970           # Check whether --enable-tls was given.
6971 if test "${enable_tls+set}" = set; then :
6972   enableval=$enable_tls;
6973                           if test "$enableval" = yes; then
6974                             wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6975                           else
6976                             wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6977                           fi
6978
6979 else
6980
6981                           wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6982
6983 fi
6984
6985
6986           eval "$wx_cv_use_tls"
6987
6988           if test x"$enablestring" = xdisable; then
6989             if test $wxUSE_COMPILER_TLS = no; then
6990               result=yes
6991             else
6992               result=no
6993             fi
6994           else
6995             result=$wxUSE_COMPILER_TLS
6996           fi
6997
6998           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6999 $as_echo "$result" >&6; }
7000
7001
7002
7003
7004           enablestring=
7005           defaultval=$wxUSE_ALL_FEATURES
7006           if test -z "$defaultval"; then
7007               if test x"$enablestring" = xdisable; then
7008                   defaultval=yes
7009               else
7010                   defaultval=no
7011               fi
7012           fi
7013
7014           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
7015 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
7016           # Check whether --enable-intl was given.
7017 if test "${enable_intl+set}" = set; then :
7018   enableval=$enable_intl;
7019                           if test "$enableval" = yes; then
7020                             wx_cv_use_intl='wxUSE_INTL=yes'
7021                           else
7022                             wx_cv_use_intl='wxUSE_INTL=no'
7023                           fi
7024
7025 else
7026
7027                           wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
7028
7029 fi
7030
7031
7032           eval "$wx_cv_use_intl"
7033
7034           if test x"$enablestring" = xdisable; then
7035             if test $wxUSE_INTL = no; then
7036               result=yes
7037             else
7038               result=no
7039             fi
7040           else
7041             result=$wxUSE_INTL
7042           fi
7043
7044           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7045 $as_echo "$result" >&6; }
7046
7047
7048           enablestring=
7049           defaultval=$wxUSE_ALL_FEATURES
7050           if test -z "$defaultval"; then
7051               if test x"$enablestring" = xdisable; then
7052                   defaultval=yes
7053               else
7054                   defaultval=no
7055               fi
7056           fi
7057
7058           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
7059 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
7060           # Check whether --enable-xlocale was given.
7061 if test "${enable_xlocale+set}" = set; then :
7062   enableval=$enable_xlocale;
7063                           if test "$enableval" = yes; then
7064                             wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
7065                           else
7066                             wx_cv_use_xlocale='wxUSE_XLOCALE=no'
7067                           fi
7068
7069 else
7070
7071                           wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7072
7073 fi
7074
7075
7076           eval "$wx_cv_use_xlocale"
7077
7078           if test x"$enablestring" = xdisable; then
7079             if test $wxUSE_XLOCALE = no; then
7080               result=yes
7081             else
7082               result=no
7083             fi
7084           else
7085             result=$wxUSE_XLOCALE
7086           fi
7087
7088           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7089 $as_echo "$result" >&6; }
7090
7091
7092           enablestring=
7093           defaultval=$wxUSE_ALL_FEATURES
7094           if test -z "$defaultval"; then
7095               if test x"$enablestring" = xdisable; then
7096                   defaultval=yes
7097               else
7098                   defaultval=no
7099               fi
7100           fi
7101
7102           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7103 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7104           # Check whether --enable-config was given.
7105 if test "${enable_config+set}" = set; then :
7106   enableval=$enable_config;
7107                           if test "$enableval" = yes; then
7108                             wx_cv_use_config='wxUSE_CONFIG=yes'
7109                           else
7110                             wx_cv_use_config='wxUSE_CONFIG=no'
7111                           fi
7112
7113 else
7114
7115                           wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7116
7117 fi
7118
7119
7120           eval "$wx_cv_use_config"
7121
7122           if test x"$enablestring" = xdisable; then
7123             if test $wxUSE_CONFIG = no; then
7124               result=yes
7125             else
7126               result=no
7127             fi
7128           else
7129             result=$wxUSE_CONFIG
7130           fi
7131
7132           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7133 $as_echo "$result" >&6; }
7134
7135
7136
7137           enablestring=
7138           defaultval=$wxUSE_ALL_FEATURES
7139           if test -z "$defaultval"; then
7140               if test x"$enablestring" = xdisable; then
7141                   defaultval=yes
7142               else
7143                   defaultval=no
7144               fi
7145           fi
7146
7147           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7148 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7149           # Check whether --enable-protocols was given.
7150 if test "${enable_protocols+set}" = set; then :
7151   enableval=$enable_protocols;
7152                           if test "$enableval" = yes; then
7153                             wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7154                           else
7155                             wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7156                           fi
7157
7158 else
7159
7160                           wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7161
7162 fi
7163
7164
7165           eval "$wx_cv_use_protocols"
7166
7167           if test x"$enablestring" = xdisable; then
7168             if test $wxUSE_PROTOCOL = no; then
7169               result=yes
7170             else
7171               result=no
7172             fi
7173           else
7174             result=$wxUSE_PROTOCOL
7175           fi
7176
7177           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7178 $as_echo "$result" >&6; }
7179
7180
7181           enablestring=
7182           defaultval=$wxUSE_ALL_FEATURES
7183           if test -z "$defaultval"; then
7184               if test x"$enablestring" = xdisable; then
7185                   defaultval=yes
7186               else
7187                   defaultval=no
7188               fi
7189           fi
7190
7191           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7192 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7193           # Check whether --enable-ftp was given.
7194 if test "${enable_ftp+set}" = set; then :
7195   enableval=$enable_ftp;
7196                           if test "$enableval" = yes; then
7197                             wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7198                           else
7199                             wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7200                           fi
7201
7202 else
7203
7204                           wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7205
7206 fi
7207
7208
7209           eval "$wx_cv_use_ftp"
7210
7211           if test x"$enablestring" = xdisable; then
7212             if test $wxUSE_PROTOCOL_FTP = no; then
7213               result=yes
7214             else
7215               result=no
7216             fi
7217           else
7218             result=$wxUSE_PROTOCOL_FTP
7219           fi
7220
7221           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7222 $as_echo "$result" >&6; }
7223
7224
7225           enablestring=
7226           defaultval=$wxUSE_ALL_FEATURES
7227           if test -z "$defaultval"; then
7228               if test x"$enablestring" = xdisable; then
7229                   defaultval=yes
7230               else
7231                   defaultval=no
7232               fi
7233           fi
7234
7235           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7236 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7237           # Check whether --enable-http was given.
7238 if test "${enable_http+set}" = set; then :
7239   enableval=$enable_http;
7240                           if test "$enableval" = yes; then
7241                             wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7242                           else
7243                             wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7244                           fi
7245
7246 else
7247
7248                           wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7249
7250 fi
7251
7252
7253           eval "$wx_cv_use_http"
7254
7255           if test x"$enablestring" = xdisable; then
7256             if test $wxUSE_PROTOCOL_HTTP = no; then
7257               result=yes
7258             else
7259               result=no
7260             fi
7261           else
7262             result=$wxUSE_PROTOCOL_HTTP
7263           fi
7264
7265           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7266 $as_echo "$result" >&6; }
7267
7268
7269           enablestring=
7270           defaultval=$wxUSE_ALL_FEATURES
7271           if test -z "$defaultval"; then
7272               if test x"$enablestring" = xdisable; then
7273                   defaultval=yes
7274               else
7275                   defaultval=no
7276               fi
7277           fi
7278
7279           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7280 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7281           # Check whether --enable-fileproto was given.
7282 if test "${enable_fileproto+set}" = set; then :
7283   enableval=$enable_fileproto;
7284                           if test "$enableval" = yes; then
7285                             wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7286                           else
7287                             wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7288                           fi
7289
7290 else
7291
7292                           wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7293
7294 fi
7295
7296
7297           eval "$wx_cv_use_fileproto"
7298
7299           if test x"$enablestring" = xdisable; then
7300             if test $wxUSE_PROTOCOL_FILE = no; then
7301               result=yes
7302             else
7303               result=no
7304             fi
7305           else
7306             result=$wxUSE_PROTOCOL_FILE
7307           fi
7308
7309           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7310 $as_echo "$result" >&6; }
7311
7312
7313           enablestring=
7314           defaultval=$wxUSE_ALL_FEATURES
7315           if test -z "$defaultval"; then
7316               if test x"$enablestring" = xdisable; then
7317                   defaultval=yes
7318               else
7319                   defaultval=no
7320               fi
7321           fi
7322
7323           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7324 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7325           # Check whether --enable-sockets was given.
7326 if test "${enable_sockets+set}" = set; then :
7327   enableval=$enable_sockets;
7328                           if test "$enableval" = yes; then
7329                             wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7330                           else
7331                             wx_cv_use_sockets='wxUSE_SOCKETS=no'
7332                           fi
7333
7334 else
7335
7336                           wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7337
7338 fi
7339
7340
7341           eval "$wx_cv_use_sockets"
7342
7343           if test x"$enablestring" = xdisable; then
7344             if test $wxUSE_SOCKETS = no; then
7345               result=yes
7346             else
7347               result=no
7348             fi
7349           else
7350             result=$wxUSE_SOCKETS
7351           fi
7352
7353           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7354 $as_echo "$result" >&6; }
7355
7356
7357           enablestring=
7358           defaultval=$wxUSE_ALL_FEATURES
7359           if test -z "$defaultval"; then
7360               if test x"$enablestring" = xdisable; then
7361                   defaultval=yes
7362               else
7363                   defaultval=no
7364               fi
7365           fi
7366
7367           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7368 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7369           # Check whether --enable-ipv6 was given.
7370 if test "${enable_ipv6+set}" = set; then :
7371   enableval=$enable_ipv6;
7372                           if test "$enableval" = yes; then
7373                             wx_cv_use_ipv6='wxUSE_IPV6=yes'
7374                           else
7375                             wx_cv_use_ipv6='wxUSE_IPV6=no'
7376                           fi
7377
7378 else
7379
7380                           wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7381
7382 fi
7383
7384
7385           eval "$wx_cv_use_ipv6"
7386
7387           if test x"$enablestring" = xdisable; then
7388             if test $wxUSE_IPV6 = no; then
7389               result=yes
7390             else
7391               result=no
7392             fi
7393           else
7394             result=$wxUSE_IPV6
7395           fi
7396
7397           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7398 $as_echo "$result" >&6; }
7399
7400
7401           enablestring=
7402           defaultval=$wxUSE_ALL_FEATURES
7403           if test -z "$defaultval"; then
7404               if test x"$enablestring" = xdisable; then
7405                   defaultval=yes
7406               else
7407                   defaultval=no
7408               fi
7409           fi
7410
7411           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7412 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7413           # Check whether --enable-ole was given.
7414 if test "${enable_ole+set}" = set; then :
7415   enableval=$enable_ole;
7416                           if test "$enableval" = yes; then
7417                             wx_cv_use_ole='wxUSE_OLE=yes'
7418                           else
7419                             wx_cv_use_ole='wxUSE_OLE=no'
7420                           fi
7421
7422 else
7423
7424                           wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7425
7426 fi
7427
7428
7429           eval "$wx_cv_use_ole"
7430
7431           if test x"$enablestring" = xdisable; then
7432             if test $wxUSE_OLE = no; then
7433               result=yes
7434             else
7435               result=no
7436             fi
7437           else
7438             result=$wxUSE_OLE
7439           fi
7440
7441           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7442 $as_echo "$result" >&6; }
7443
7444
7445           enablestring=
7446           defaultval=$wxUSE_ALL_FEATURES
7447           if test -z "$defaultval"; then
7448               if test x"$enablestring" = xdisable; then
7449                   defaultval=yes
7450               else
7451                   defaultval=no
7452               fi
7453           fi
7454
7455           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7456 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7457           # Check whether --enable-dataobj was given.
7458 if test "${enable_dataobj+set}" = set; then :
7459   enableval=$enable_dataobj;
7460                           if test "$enableval" = yes; then
7461                             wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7462                           else
7463                             wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7464                           fi
7465
7466 else
7467
7468                           wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7469
7470 fi
7471
7472
7473           eval "$wx_cv_use_dataobj"
7474
7475           if test x"$enablestring" = xdisable; then
7476             if test $wxUSE_DATAOBJ = no; then
7477               result=yes
7478             else
7479               result=no
7480             fi
7481           else
7482             result=$wxUSE_DATAOBJ
7483           fi
7484
7485           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7486 $as_echo "$result" >&6; }
7487
7488
7489
7490           enablestring=
7491           defaultval=$wxUSE_ALL_FEATURES
7492           if test -z "$defaultval"; then
7493               if test x"$enablestring" = xdisable; then
7494                   defaultval=yes
7495               else
7496                   defaultval=no
7497               fi
7498           fi
7499
7500           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7501 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7502           # Check whether --enable-ipc was given.
7503 if test "${enable_ipc+set}" = set; then :
7504   enableval=$enable_ipc;
7505                           if test "$enableval" = yes; then
7506                             wx_cv_use_ipc='wxUSE_IPC=yes'
7507                           else
7508                             wx_cv_use_ipc='wxUSE_IPC=no'
7509                           fi
7510
7511 else
7512
7513                           wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7514
7515 fi
7516
7517
7518           eval "$wx_cv_use_ipc"
7519
7520           if test x"$enablestring" = xdisable; then
7521             if test $wxUSE_IPC = no; then
7522               result=yes
7523             else
7524               result=no
7525             fi
7526           else
7527             result=$wxUSE_IPC
7528           fi
7529
7530           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7531 $as_echo "$result" >&6; }
7532
7533
7534
7535           enablestring=
7536           defaultval=$wxUSE_ALL_FEATURES
7537           if test -z "$defaultval"; then
7538               if test x"$enablestring" = xdisable; then
7539                   defaultval=yes
7540               else
7541                   defaultval=no
7542               fi
7543           fi
7544
7545           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7546 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7547           # Check whether --enable-baseevtloop was given.
7548 if test "${enable_baseevtloop+set}" = set; then :
7549   enableval=$enable_baseevtloop;
7550                           if test "$enableval" = yes; then
7551                             wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7552                           else
7553                             wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7554                           fi
7555
7556 else
7557
7558                           wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7559
7560 fi
7561
7562
7563           eval "$wx_cv_use_baseevtloop"
7564
7565           if test x"$enablestring" = xdisable; then
7566             if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7567               result=yes
7568             else
7569               result=no
7570             fi
7571           else
7572             result=$wxUSE_CONSOLE_EVENTLOOP
7573           fi
7574
7575           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7576 $as_echo "$result" >&6; }
7577
7578
7579           enablestring=
7580           defaultval=$wxUSE_ALL_FEATURES
7581           if test -z "$defaultval"; then
7582               if test x"$enablestring" = xdisable; then
7583                   defaultval=yes
7584               else
7585                   defaultval=no
7586               fi
7587           fi
7588
7589           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7590 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7591           # Check whether --enable-epollloop was given.
7592 if test "${enable_epollloop+set}" = set; then :
7593   enableval=$enable_epollloop;
7594                           if test "$enableval" = yes; then
7595                             wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7596                           else
7597                             wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7598                           fi
7599
7600 else
7601
7602                           wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7603
7604 fi
7605
7606
7607           eval "$wx_cv_use_epollloop"
7608
7609           if test x"$enablestring" = xdisable; then
7610             if test $wxUSE_EPOLL_DISPATCHER = no; then
7611               result=yes
7612             else
7613               result=no
7614             fi
7615           else
7616             result=$wxUSE_EPOLL_DISPATCHER
7617           fi
7618
7619           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7620 $as_echo "$result" >&6; }
7621
7622
7623           enablestring=
7624           defaultval=$wxUSE_ALL_FEATURES
7625           if test -z "$defaultval"; then
7626               if test x"$enablestring" = xdisable; then
7627                   defaultval=yes
7628               else
7629                   defaultval=no
7630               fi
7631           fi
7632
7633           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7634 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7635           # Check whether --enable-selectloop was given.
7636 if test "${enable_selectloop+set}" = set; then :
7637   enableval=$enable_selectloop;
7638                           if test "$enableval" = yes; then
7639                             wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7640                           else
7641                             wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7642                           fi
7643
7644 else
7645
7646                           wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7647
7648 fi
7649
7650
7651           eval "$wx_cv_use_selectloop"
7652
7653           if test x"$enablestring" = xdisable; then
7654             if test $wxUSE_SELECT_DISPATCHER = no; then
7655               result=yes
7656             else
7657               result=no
7658             fi
7659           else
7660             result=$wxUSE_SELECT_DISPATCHER
7661           fi
7662
7663           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7664 $as_echo "$result" >&6; }
7665
7666
7667
7668           enablestring=
7669           defaultval=$wxUSE_ALL_FEATURES
7670           if test -z "$defaultval"; then
7671               if test x"$enablestring" = xdisable; then
7672                   defaultval=yes
7673               else
7674                   defaultval=no
7675               fi
7676           fi
7677
7678           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7679 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7680           # Check whether --enable-any was given.
7681 if test "${enable_any+set}" = set; then :
7682   enableval=$enable_any;
7683                           if test "$enableval" = yes; then
7684                             wx_cv_use_any='wxUSE_ANY=yes'
7685                           else
7686                             wx_cv_use_any='wxUSE_ANY=no'
7687                           fi
7688
7689 else
7690
7691                           wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7692
7693 fi
7694
7695
7696           eval "$wx_cv_use_any"
7697
7698           if test x"$enablestring" = xdisable; then
7699             if test $wxUSE_ANY = no; then
7700               result=yes
7701             else
7702               result=no
7703             fi
7704           else
7705             result=$wxUSE_ANY
7706           fi
7707
7708           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7709 $as_echo "$result" >&6; }
7710
7711
7712           enablestring=
7713           defaultval=$wxUSE_ALL_FEATURES
7714           if test -z "$defaultval"; then
7715               if test x"$enablestring" = xdisable; then
7716                   defaultval=yes
7717               else
7718                   defaultval=no
7719               fi
7720           fi
7721
7722           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7723 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7724           # Check whether --enable-apple_ieee was given.
7725 if test "${enable_apple_ieee+set}" = set; then :
7726   enableval=$enable_apple_ieee;
7727                           if test "$enableval" = yes; then
7728                             wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7729                           else
7730                             wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7731                           fi
7732
7733 else
7734
7735                           wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7736
7737 fi
7738
7739
7740           eval "$wx_cv_use_apple_ieee"
7741
7742           if test x"$enablestring" = xdisable; then
7743             if test $wxUSE_APPLE_IEEE = no; then
7744               result=yes
7745             else
7746               result=no
7747             fi
7748           else
7749             result=$wxUSE_APPLE_IEEE
7750           fi
7751
7752           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7753 $as_echo "$result" >&6; }
7754
7755
7756           enablestring=
7757           defaultval=$wxUSE_ALL_FEATURES
7758           if test -z "$defaultval"; then
7759               if test x"$enablestring" = xdisable; then
7760                   defaultval=yes
7761               else
7762                   defaultval=no
7763               fi
7764           fi
7765
7766           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7767 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7768           # Check whether --enable-arcstream was given.
7769 if test "${enable_arcstream+set}" = set; then :
7770   enableval=$enable_arcstream;
7771                           if test "$enableval" = yes; then
7772                             wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7773                           else
7774                             wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7775                           fi
7776
7777 else
7778
7779                           wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7780
7781 fi
7782
7783
7784           eval "$wx_cv_use_arcstream"
7785
7786           if test x"$enablestring" = xdisable; then
7787             if test $wxUSE_ARCHIVE_STREAMS = no; then
7788               result=yes
7789             else
7790               result=no
7791             fi
7792           else
7793             result=$wxUSE_ARCHIVE_STREAMS
7794           fi
7795
7796           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7797 $as_echo "$result" >&6; }
7798
7799
7800           enablestring=
7801           defaultval=$wxUSE_ALL_FEATURES
7802           if test -z "$defaultval"; then
7803               if test x"$enablestring" = xdisable; then
7804                   defaultval=yes
7805               else
7806                   defaultval=no
7807               fi
7808           fi
7809
7810           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7811 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7812           # Check whether --enable-base64 was given.
7813 if test "${enable_base64+set}" = set; then :
7814   enableval=$enable_base64;
7815                           if test "$enableval" = yes; then
7816                             wx_cv_use_base64='wxUSE_BASE64=yes'
7817                           else
7818                             wx_cv_use_base64='wxUSE_BASE64=no'
7819                           fi
7820
7821 else
7822
7823                           wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7824
7825 fi
7826
7827
7828           eval "$wx_cv_use_base64"
7829
7830           if test x"$enablestring" = xdisable; then
7831             if test $wxUSE_BASE64 = no; then
7832               result=yes
7833             else
7834               result=no
7835             fi
7836           else
7837             result=$wxUSE_BASE64
7838           fi
7839
7840           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7841 $as_echo "$result" >&6; }
7842
7843
7844           enablestring=
7845           defaultval=$wxUSE_ALL_FEATURES
7846           if test -z "$defaultval"; then
7847               if test x"$enablestring" = xdisable; then
7848                   defaultval=yes
7849               else
7850                   defaultval=no
7851               fi
7852           fi
7853
7854           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7855 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7856           # Check whether --enable-backtrace was given.
7857 if test "${enable_backtrace+set}" = set; then :
7858   enableval=$enable_backtrace;
7859                           if test "$enableval" = yes; then
7860                             wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7861                           else
7862                             wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7863                           fi
7864
7865 else
7866
7867                           wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7868
7869 fi
7870
7871
7872           eval "$wx_cv_use_backtrace"
7873
7874           if test x"$enablestring" = xdisable; then
7875             if test $wxUSE_STACKWALKER = no; then
7876               result=yes
7877             else
7878               result=no
7879             fi
7880           else
7881             result=$wxUSE_STACKWALKER
7882           fi
7883
7884           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7885 $as_echo "$result" >&6; }
7886
7887
7888           enablestring=
7889           defaultval=$wxUSE_ALL_FEATURES
7890           if test -z "$defaultval"; then
7891               if test x"$enablestring" = xdisable; then
7892                   defaultval=yes
7893               else
7894                   defaultval=no
7895               fi
7896           fi
7897
7898           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7899 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7900           # Check whether --enable-catch_segvs was given.
7901 if test "${enable_catch_segvs+set}" = set; then :
7902   enableval=$enable_catch_segvs;
7903                           if test "$enableval" = yes; then
7904                             wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7905                           else
7906                             wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7907                           fi
7908
7909 else
7910
7911                           wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7912
7913 fi
7914
7915
7916           eval "$wx_cv_use_catch_segvs"
7917
7918           if test x"$enablestring" = xdisable; then
7919             if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7920               result=yes
7921             else
7922               result=no
7923             fi
7924           else
7925             result=$wxUSE_ON_FATAL_EXCEPTION
7926           fi
7927
7928           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7929 $as_echo "$result" >&6; }
7930
7931
7932           enablestring=
7933           defaultval=$wxUSE_ALL_FEATURES
7934           if test -z "$defaultval"; then
7935               if test x"$enablestring" = xdisable; then
7936                   defaultval=yes
7937               else
7938                   defaultval=no
7939               fi
7940           fi
7941
7942           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7943 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7944           # Check whether --enable-cmdline was given.
7945 if test "${enable_cmdline+set}" = set; then :
7946   enableval=$enable_cmdline;
7947                           if test "$enableval" = yes; then
7948                             wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7949                           else
7950                             wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7951                           fi
7952
7953 else
7954
7955                           wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7956
7957 fi
7958
7959
7960           eval "$wx_cv_use_cmdline"
7961
7962           if test x"$enablestring" = xdisable; then
7963             if test $wxUSE_CMDLINE_PARSER = no; then
7964               result=yes
7965             else
7966               result=no
7967             fi
7968           else
7969             result=$wxUSE_CMDLINE_PARSER
7970           fi
7971
7972           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7973 $as_echo "$result" >&6; }
7974
7975
7976           enablestring=
7977           defaultval=$wxUSE_ALL_FEATURES
7978           if test -z "$defaultval"; then
7979               if test x"$enablestring" = xdisable; then
7980                   defaultval=yes
7981               else
7982                   defaultval=no
7983               fi
7984           fi
7985
7986           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7987 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7988           # Check whether --enable-datetime was given.
7989 if test "${enable_datetime+set}" = set; then :
7990   enableval=$enable_datetime;
7991                           if test "$enableval" = yes; then
7992                             wx_cv_use_datetime='wxUSE_DATETIME=yes'
7993                           else
7994                             wx_cv_use_datetime='wxUSE_DATETIME=no'
7995                           fi
7996
7997 else
7998
7999                           wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
8000
8001 fi
8002
8003
8004           eval "$wx_cv_use_datetime"
8005
8006           if test x"$enablestring" = xdisable; then
8007             if test $wxUSE_DATETIME = no; then
8008               result=yes
8009             else
8010               result=no
8011             fi
8012           else
8013             result=$wxUSE_DATETIME
8014           fi
8015
8016           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8017 $as_echo "$result" >&6; }
8018
8019
8020           enablestring=
8021           defaultval=$wxUSE_ALL_FEATURES
8022           if test -z "$defaultval"; then
8023               if test x"$enablestring" = xdisable; then
8024                   defaultval=yes
8025               else
8026                   defaultval=no
8027               fi
8028           fi
8029
8030           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
8031 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
8032           # Check whether --enable-debugreport was given.
8033 if test "${enable_debugreport+set}" = set; then :
8034   enableval=$enable_debugreport;
8035                           if test "$enableval" = yes; then
8036                             wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
8037                           else
8038                             wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
8039                           fi
8040
8041 else
8042
8043                           wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8044
8045 fi
8046
8047
8048           eval "$wx_cv_use_debugreport"
8049
8050           if test x"$enablestring" = xdisable; then
8051             if test $wxUSE_DEBUGREPORT = no; then
8052               result=yes
8053             else
8054               result=no
8055             fi
8056           else
8057             result=$wxUSE_DEBUGREPORT
8058           fi
8059
8060           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8061 $as_echo "$result" >&6; }
8062
8063
8064           enablestring=
8065           defaultval=$wxUSE_ALL_FEATURES
8066           if test -z "$defaultval"; then
8067               if test x"$enablestring" = xdisable; then
8068                   defaultval=yes
8069               else
8070                   defaultval=no
8071               fi
8072           fi
8073
8074           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8075 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8076           # Check whether --enable-dialupman was given.
8077 if test "${enable_dialupman+set}" = set; then :
8078   enableval=$enable_dialupman;
8079                           if test "$enableval" = yes; then
8080                             wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
8081                           else
8082                             wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
8083                           fi
8084
8085 else
8086
8087                           wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8088
8089 fi
8090
8091
8092           eval "$wx_cv_use_dialupman"
8093
8094           if test x"$enablestring" = xdisable; then
8095             if test $wxUSE_DIALUP_MANAGER = no; then
8096               result=yes
8097             else
8098               result=no
8099             fi
8100           else
8101             result=$wxUSE_DIALUP_MANAGER
8102           fi
8103
8104           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8105 $as_echo "$result" >&6; }
8106
8107
8108           enablestring=
8109           defaultval=$wxUSE_ALL_FEATURES
8110           if test -z "$defaultval"; then
8111               if test x"$enablestring" = xdisable; then
8112                   defaultval=yes
8113               else
8114                   defaultval=no
8115               fi
8116           fi
8117
8118           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8119 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8120           # Check whether --enable-dynlib was given.
8121 if test "${enable_dynlib+set}" = set; then :
8122   enableval=$enable_dynlib;
8123                           if test "$enableval" = yes; then
8124                             wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8125                           else
8126                             wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8127                           fi
8128
8129 else
8130
8131                           wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8132
8133 fi
8134
8135
8136           eval "$wx_cv_use_dynlib"
8137
8138           if test x"$enablestring" = xdisable; then
8139             if test $wxUSE_DYNLIB_CLASS = no; then
8140               result=yes
8141             else
8142               result=no
8143             fi
8144           else
8145             result=$wxUSE_DYNLIB_CLASS
8146           fi
8147
8148           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8149 $as_echo "$result" >&6; }
8150
8151
8152           enablestring=
8153           defaultval=$wxUSE_ALL_FEATURES
8154           if test -z "$defaultval"; then
8155               if test x"$enablestring" = xdisable; then
8156                   defaultval=yes
8157               else
8158                   defaultval=no
8159               fi
8160           fi
8161
8162           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8163 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8164           # Check whether --enable-dynamicloader was given.
8165 if test "${enable_dynamicloader+set}" = set; then :
8166   enableval=$enable_dynamicloader;
8167                           if test "$enableval" = yes; then
8168                             wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8169                           else
8170                             wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8171                           fi
8172
8173 else
8174
8175                           wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8176
8177 fi
8178
8179
8180           eval "$wx_cv_use_dynamicloader"
8181
8182           if test x"$enablestring" = xdisable; then
8183             if test $wxUSE_DYNAMIC_LOADER = no; then
8184               result=yes
8185             else
8186               result=no
8187             fi
8188           else
8189             result=$wxUSE_DYNAMIC_LOADER
8190           fi
8191
8192           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8193 $as_echo "$result" >&6; }
8194
8195
8196           enablestring=
8197           defaultval=$wxUSE_ALL_FEATURES
8198           if test -z "$defaultval"; then
8199               if test x"$enablestring" = xdisable; then
8200                   defaultval=yes
8201               else
8202                   defaultval=no
8203               fi
8204           fi
8205
8206           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8207 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8208           # Check whether --enable-exceptions was given.
8209 if test "${enable_exceptions+set}" = set; then :
8210   enableval=$enable_exceptions;
8211                           if test "$enableval" = yes; then
8212                             wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8213                           else
8214                             wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8215                           fi
8216
8217 else
8218
8219                           wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8220
8221 fi
8222
8223
8224           eval "$wx_cv_use_exceptions"
8225
8226           if test x"$enablestring" = xdisable; then
8227             if test $wxUSE_EXCEPTIONS = no; then
8228               result=yes
8229             else
8230               result=no
8231             fi
8232           else
8233             result=$wxUSE_EXCEPTIONS
8234           fi
8235
8236           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8237 $as_echo "$result" >&6; }
8238
8239
8240           enablestring=
8241           defaultval=$wxUSE_ALL_FEATURES
8242           if test -z "$defaultval"; then
8243               if test x"$enablestring" = xdisable; then
8244                   defaultval=yes
8245               else
8246                   defaultval=no
8247               fi
8248           fi
8249
8250           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8251 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8252           # Check whether --enable-ffile was given.
8253 if test "${enable_ffile+set}" = set; then :
8254   enableval=$enable_ffile;
8255                           if test "$enableval" = yes; then
8256                             wx_cv_use_ffile='wxUSE_FFILE=yes'
8257                           else
8258                             wx_cv_use_ffile='wxUSE_FFILE=no'
8259                           fi
8260
8261 else
8262
8263                           wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8264
8265 fi
8266
8267
8268           eval "$wx_cv_use_ffile"
8269
8270           if test x"$enablestring" = xdisable; then
8271             if test $wxUSE_FFILE = no; then
8272               result=yes
8273             else
8274               result=no
8275             fi
8276           else
8277             result=$wxUSE_FFILE
8278           fi
8279
8280           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8281 $as_echo "$result" >&6; }
8282
8283
8284           enablestring=
8285           defaultval=$wxUSE_ALL_FEATURES
8286           if test -z "$defaultval"; then
8287               if test x"$enablestring" = xdisable; then
8288                   defaultval=yes
8289               else
8290                   defaultval=no
8291               fi
8292           fi
8293
8294           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8295 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8296           # Check whether --enable-file was given.
8297 if test "${enable_file+set}" = set; then :
8298   enableval=$enable_file;
8299                           if test "$enableval" = yes; then
8300                             wx_cv_use_file='wxUSE_FILE=yes'
8301                           else
8302                             wx_cv_use_file='wxUSE_FILE=no'
8303                           fi
8304
8305 else
8306
8307                           wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8308
8309 fi
8310
8311
8312           eval "$wx_cv_use_file"
8313
8314           if test x"$enablestring" = xdisable; then
8315             if test $wxUSE_FILE = no; then
8316               result=yes
8317             else
8318               result=no
8319             fi
8320           else
8321             result=$wxUSE_FILE
8322           fi
8323
8324           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8325 $as_echo "$result" >&6; }
8326
8327
8328           enablestring=
8329           defaultval=$wxUSE_ALL_FEATURES
8330           if test -z "$defaultval"; then
8331               if test x"$enablestring" = xdisable; then
8332                   defaultval=yes
8333               else
8334                   defaultval=no
8335               fi
8336           fi
8337
8338           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8339 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8340           # Check whether --enable-filehistory was given.
8341 if test "${enable_filehistory+set}" = set; then :
8342   enableval=$enable_filehistory;
8343                           if test "$enableval" = yes; then
8344                             wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8345                           else
8346                             wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8347                           fi
8348
8349 else
8350
8351                           wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8352
8353 fi
8354
8355
8356           eval "$wx_cv_use_filehistory"
8357
8358           if test x"$enablestring" = xdisable; then
8359             if test $wxUSE_FILE_HISTORY = no; then
8360               result=yes
8361             else
8362               result=no
8363             fi
8364           else
8365             result=$wxUSE_FILE_HISTORY
8366           fi
8367
8368           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8369 $as_echo "$result" >&6; }
8370
8371
8372           enablestring=
8373           defaultval=$wxUSE_ALL_FEATURES
8374           if test -z "$defaultval"; then
8375               if test x"$enablestring" = xdisable; then
8376                   defaultval=yes
8377               else
8378                   defaultval=no
8379               fi
8380           fi
8381
8382           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8383 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8384           # Check whether --enable-filesystem was given.
8385 if test "${enable_filesystem+set}" = set; then :
8386   enableval=$enable_filesystem;
8387                           if test "$enableval" = yes; then
8388                             wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8389                           else
8390                             wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8391                           fi
8392
8393 else
8394
8395                           wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8396
8397 fi
8398
8399
8400           eval "$wx_cv_use_filesystem"
8401
8402           if test x"$enablestring" = xdisable; then
8403             if test $wxUSE_FILESYSTEM = no; then
8404               result=yes
8405             else
8406               result=no
8407             fi
8408           else
8409             result=$wxUSE_FILESYSTEM
8410           fi
8411
8412           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8413 $as_echo "$result" >&6; }
8414
8415
8416           enablestring=
8417           defaultval=$wxUSE_ALL_FEATURES
8418           if test -z "$defaultval"; then
8419               if test x"$enablestring" = xdisable; then
8420                   defaultval=yes
8421               else
8422                   defaultval=no
8423               fi
8424           fi
8425
8426           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8427 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8428           # Check whether --enable-fontenum was given.
8429 if test "${enable_fontenum+set}" = set; then :
8430   enableval=$enable_fontenum;
8431                           if test "$enableval" = yes; then
8432                             wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8433                           else
8434                             wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8435                           fi
8436
8437 else
8438
8439                           wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8440
8441 fi
8442
8443
8444           eval "$wx_cv_use_fontenum"
8445
8446           if test x"$enablestring" = xdisable; then
8447             if test $wxUSE_FONTENUM = no; then
8448               result=yes
8449             else
8450               result=no
8451             fi
8452           else
8453             result=$wxUSE_FONTENUM
8454           fi
8455
8456           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8457 $as_echo "$result" >&6; }
8458
8459
8460           enablestring=
8461           defaultval=$wxUSE_ALL_FEATURES
8462           if test -z "$defaultval"; then
8463               if test x"$enablestring" = xdisable; then
8464                   defaultval=yes
8465               else
8466                   defaultval=no
8467               fi
8468           fi
8469
8470           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8471 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8472           # Check whether --enable-fontmap was given.
8473 if test "${enable_fontmap+set}" = set; then :
8474   enableval=$enable_fontmap;
8475                           if test "$enableval" = yes; then
8476                             wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8477                           else
8478                             wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8479                           fi
8480
8481 else
8482
8483                           wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8484
8485 fi
8486
8487
8488           eval "$wx_cv_use_fontmap"
8489
8490           if test x"$enablestring" = xdisable; then
8491             if test $wxUSE_FONTMAP = no; then
8492               result=yes
8493             else
8494               result=no
8495             fi
8496           else
8497             result=$wxUSE_FONTMAP
8498           fi
8499
8500           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8501 $as_echo "$result" >&6; }
8502
8503
8504           enablestring=
8505           defaultval=$wxUSE_ALL_FEATURES
8506           if test -z "$defaultval"; then
8507               if test x"$enablestring" = xdisable; then
8508                   defaultval=yes
8509               else
8510                   defaultval=no
8511               fi
8512           fi
8513
8514           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8515 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8516           # Check whether --enable-fs_archive was given.
8517 if test "${enable_fs_archive+set}" = set; then :
8518   enableval=$enable_fs_archive;
8519                           if test "$enableval" = yes; then
8520                             wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8521                           else
8522                             wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8523                           fi
8524
8525 else
8526
8527                           wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8528
8529 fi
8530
8531
8532           eval "$wx_cv_use_fs_archive"
8533
8534           if test x"$enablestring" = xdisable; then
8535             if test $wxUSE_FS_ARCHIVE = no; then
8536               result=yes
8537             else
8538               result=no
8539             fi
8540           else
8541             result=$wxUSE_FS_ARCHIVE
8542           fi
8543
8544           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8545 $as_echo "$result" >&6; }
8546
8547
8548           enablestring=
8549           defaultval=$wxUSE_ALL_FEATURES
8550           if test -z "$defaultval"; then
8551               if test x"$enablestring" = xdisable; then
8552                   defaultval=yes
8553               else
8554                   defaultval=no
8555               fi
8556           fi
8557
8558           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8559 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8560           # Check whether --enable-fs_inet was given.
8561 if test "${enable_fs_inet+set}" = set; then :
8562   enableval=$enable_fs_inet;
8563                           if test "$enableval" = yes; then
8564                             wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8565                           else
8566                             wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8567                           fi
8568
8569 else
8570
8571                           wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8572
8573 fi
8574
8575
8576           eval "$wx_cv_use_fs_inet"
8577
8578           if test x"$enablestring" = xdisable; then
8579             if test $wxUSE_FS_INET = no; then
8580               result=yes
8581             else
8582               result=no
8583             fi
8584           else
8585             result=$wxUSE_FS_INET
8586           fi
8587
8588           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8589 $as_echo "$result" >&6; }
8590
8591
8592           enablestring=
8593           defaultval=$wxUSE_ALL_FEATURES
8594           if test -z "$defaultval"; then
8595               if test x"$enablestring" = xdisable; then
8596                   defaultval=yes
8597               else
8598                   defaultval=no
8599               fi
8600           fi
8601
8602           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8603 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8604           # Check whether --enable-fs_zip was given.
8605 if test "${enable_fs_zip+set}" = set; then :
8606   enableval=$enable_fs_zip;
8607                           if test "$enableval" = yes; then
8608                             wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8609                           else
8610                             wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8611                           fi
8612
8613 else
8614
8615                           wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8616
8617 fi
8618
8619
8620           eval "$wx_cv_use_fs_zip"
8621
8622           if test x"$enablestring" = xdisable; then
8623             if test $wxUSE_FS_ZIP = no; then
8624               result=yes
8625             else
8626               result=no
8627             fi
8628           else
8629             result=$wxUSE_FS_ZIP
8630           fi
8631
8632           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8633 $as_echo "$result" >&6; }
8634
8635
8636           enablestring=
8637           defaultval=$wxUSE_ALL_FEATURES
8638           if test -z "$defaultval"; then
8639               if test x"$enablestring" = xdisable; then
8640                   defaultval=yes
8641               else
8642                   defaultval=no
8643               fi
8644           fi
8645
8646           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fsvolume" >&5
8647 $as_echo_n "checking for --${enablestring:-enable}-fsvolume... " >&6; }
8648           # Check whether --enable-fsvolume was given.
8649 if test "${enable_fsvolume+set}" = set; then :
8650   enableval=$enable_fsvolume;
8651                           if test "$enableval" = yes; then
8652                             wx_cv_use_fsvolume='wxUSE_FSVOLUME=yes'
8653                           else
8654                             wx_cv_use_fsvolume='wxUSE_FSVOLUME=no'
8655                           fi
8656
8657 else
8658
8659                           wx_cv_use_fsvolume='wxUSE_FSVOLUME=${'DEFAULT_wxUSE_FSVOLUME":-$defaultval}"
8660
8661 fi
8662
8663
8664           eval "$wx_cv_use_fsvolume"
8665
8666           if test x"$enablestring" = xdisable; then
8667             if test $wxUSE_FSVOLUME = no; then
8668               result=yes
8669             else
8670               result=no
8671             fi
8672           else
8673             result=$wxUSE_FSVOLUME
8674           fi
8675
8676           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8677 $as_echo "$result" >&6; }
8678
8679
8680           enablestring=
8681           defaultval=$wxUSE_ALL_FEATURES
8682           if test -z "$defaultval"; then
8683               if test x"$enablestring" = xdisable; then
8684                   defaultval=yes
8685               else
8686                   defaultval=no
8687               fi
8688           fi
8689
8690           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8691 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8692           # Check whether --enable-fswatcher was given.
8693 if test "${enable_fswatcher+set}" = set; then :
8694   enableval=$enable_fswatcher;
8695                           if test "$enableval" = yes; then
8696                             wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8697                           else
8698                             wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8699                           fi
8700
8701 else
8702
8703                           wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8704
8705 fi
8706
8707
8708           eval "$wx_cv_use_fswatcher"
8709
8710           if test x"$enablestring" = xdisable; then
8711             if test $wxUSE_FSWATCHER = no; then
8712               result=yes
8713             else
8714               result=no
8715             fi
8716           else
8717             result=$wxUSE_FSWATCHER
8718           fi
8719
8720           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8721 $as_echo "$result" >&6; }
8722
8723
8724           enablestring=
8725           defaultval=$wxUSE_ALL_FEATURES
8726           if test -z "$defaultval"; then
8727               if test x"$enablestring" = xdisable; then
8728                   defaultval=yes
8729               else
8730                   defaultval=no
8731               fi
8732           fi
8733
8734           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8735 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8736           # Check whether --enable-geometry was given.
8737 if test "${enable_geometry+set}" = set; then :
8738   enableval=$enable_geometry;
8739                           if test "$enableval" = yes; then
8740                             wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8741                           else
8742                             wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8743                           fi
8744
8745 else
8746
8747                           wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8748
8749 fi
8750
8751
8752           eval "$wx_cv_use_geometry"
8753
8754           if test x"$enablestring" = xdisable; then
8755             if test $wxUSE_GEOMETRY = no; then
8756               result=yes
8757             else
8758               result=no
8759             fi
8760           else
8761             result=$wxUSE_GEOMETRY
8762           fi
8763
8764           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8765 $as_echo "$result" >&6; }
8766
8767
8768           enablestring=
8769           defaultval=$wxUSE_ALL_FEATURES
8770           if test -z "$defaultval"; then
8771               if test x"$enablestring" = xdisable; then
8772                   defaultval=yes
8773               else
8774                   defaultval=no
8775               fi
8776           fi
8777
8778           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8779 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8780           # Check whether --enable-log was given.
8781 if test "${enable_log+set}" = set; then :
8782   enableval=$enable_log;
8783                           if test "$enableval" = yes; then
8784                             wx_cv_use_log='wxUSE_LOG=yes'
8785                           else
8786                             wx_cv_use_log='wxUSE_LOG=no'
8787                           fi
8788
8789 else
8790
8791                           wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8792
8793 fi
8794
8795
8796           eval "$wx_cv_use_log"
8797
8798           if test x"$enablestring" = xdisable; then
8799             if test $wxUSE_LOG = no; then
8800               result=yes
8801             else
8802               result=no
8803             fi
8804           else
8805             result=$wxUSE_LOG
8806           fi
8807
8808           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8809 $as_echo "$result" >&6; }
8810
8811
8812           enablestring=
8813           defaultval=$wxUSE_ALL_FEATURES
8814           if test -z "$defaultval"; then
8815               if test x"$enablestring" = xdisable; then
8816                   defaultval=yes
8817               else
8818                   defaultval=no
8819               fi
8820           fi
8821
8822           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8823 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8824           # Check whether --enable-longlong was given.
8825 if test "${enable_longlong+set}" = set; then :
8826   enableval=$enable_longlong;
8827                           if test "$enableval" = yes; then
8828                             wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8829                           else
8830                             wx_cv_use_longlong='wxUSE_LONGLONG=no'
8831                           fi
8832
8833 else
8834
8835                           wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8836
8837 fi
8838
8839
8840           eval "$wx_cv_use_longlong"
8841
8842           if test x"$enablestring" = xdisable; then
8843             if test $wxUSE_LONGLONG = no; then
8844               result=yes
8845             else
8846               result=no
8847             fi
8848           else
8849             result=$wxUSE_LONGLONG
8850           fi
8851
8852           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8853 $as_echo "$result" >&6; }
8854
8855
8856           enablestring=
8857           defaultval=$wxUSE_ALL_FEATURES
8858           if test -z "$defaultval"; then
8859               if test x"$enablestring" = xdisable; then
8860                   defaultval=yes
8861               else
8862                   defaultval=no
8863               fi
8864           fi
8865
8866           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8867 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8868           # Check whether --enable-mimetype was given.
8869 if test "${enable_mimetype+set}" = set; then :
8870   enableval=$enable_mimetype;
8871                           if test "$enableval" = yes; then
8872                             wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8873                           else
8874                             wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8875                           fi
8876
8877 else
8878
8879                           wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8880
8881 fi
8882
8883
8884           eval "$wx_cv_use_mimetype"
8885
8886           if test x"$enablestring" = xdisable; then
8887             if test $wxUSE_MIMETYPE = no; then
8888               result=yes
8889             else
8890               result=no
8891             fi
8892           else
8893             result=$wxUSE_MIMETYPE
8894           fi
8895
8896           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8897 $as_echo "$result" >&6; }
8898
8899
8900           enablestring=
8901           defaultval=$wxUSE_ALL_FEATURES
8902           if test -z "$defaultval"; then
8903               if test x"$enablestring" = xdisable; then
8904                   defaultval=yes
8905               else
8906                   defaultval=no
8907               fi
8908           fi
8909
8910           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8911 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8912           # Check whether --enable-printfposparam was given.
8913 if test "${enable_printfposparam+set}" = set; then :
8914   enableval=$enable_printfposparam;
8915                           if test "$enableval" = yes; then
8916                             wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8917                           else
8918                             wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8919                           fi
8920
8921 else
8922
8923                           wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8924
8925 fi
8926
8927
8928           eval "$wx_cv_use_printfposparam"
8929
8930           if test x"$enablestring" = xdisable; then
8931             if test $wxUSE_PRINTF_POS_PARAMS = no; then
8932               result=yes
8933             else
8934               result=no
8935             fi
8936           else
8937             result=$wxUSE_PRINTF_POS_PARAMS
8938           fi
8939
8940           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8941 $as_echo "$result" >&6; }
8942
8943
8944           enablestring=
8945           defaultval=$wxUSE_ALL_FEATURES
8946           if test -z "$defaultval"; then
8947               if test x"$enablestring" = xdisable; then
8948                   defaultval=yes
8949               else
8950                   defaultval=no
8951               fi
8952           fi
8953
8954           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8955 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8956           # Check whether --enable-snglinst was given.
8957 if test "${enable_snglinst+set}" = set; then :
8958   enableval=$enable_snglinst;
8959                           if test "$enableval" = yes; then
8960                             wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8961                           else
8962                             wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8963                           fi
8964
8965 else
8966
8967                           wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8968
8969 fi
8970
8971
8972           eval "$wx_cv_use_snglinst"
8973
8974           if test x"$enablestring" = xdisable; then
8975             if test $wxUSE_SNGLINST_CHECKER = no; then
8976               result=yes
8977             else
8978               result=no
8979             fi
8980           else
8981             result=$wxUSE_SNGLINST_CHECKER
8982           fi
8983
8984           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8985 $as_echo "$result" >&6; }
8986
8987
8988           enablestring=
8989           defaultval=$wxUSE_ALL_FEATURES
8990           if test -z "$defaultval"; then
8991               if test x"$enablestring" = xdisable; then
8992                   defaultval=yes
8993               else
8994                   defaultval=no
8995               fi
8996           fi
8997
8998           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
8999 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
9000           # Check whether --enable-sound was given.
9001 if test "${enable_sound+set}" = set; then :
9002   enableval=$enable_sound;
9003                           if test "$enableval" = yes; then
9004                             wx_cv_use_sound='wxUSE_SOUND=yes'
9005                           else
9006                             wx_cv_use_sound='wxUSE_SOUND=no'
9007                           fi
9008
9009 else
9010
9011                           wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
9012
9013 fi
9014
9015
9016           eval "$wx_cv_use_sound"
9017
9018           if test x"$enablestring" = xdisable; then
9019             if test $wxUSE_SOUND = no; then
9020               result=yes
9021             else
9022               result=no
9023             fi
9024           else
9025             result=$wxUSE_SOUND
9026           fi
9027
9028           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9029 $as_echo "$result" >&6; }
9030
9031
9032           enablestring=
9033           defaultval=$wxUSE_ALL_FEATURES
9034           if test -z "$defaultval"; then
9035               if test x"$enablestring" = xdisable; then
9036                   defaultval=yes
9037               else
9038                   defaultval=no
9039               fi
9040           fi
9041
9042           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
9043 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
9044           # Check whether --enable-stdpaths was given.
9045 if test "${enable_stdpaths+set}" = set; then :
9046   enableval=$enable_stdpaths;
9047                           if test "$enableval" = yes; then
9048                             wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
9049                           else
9050                             wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
9051                           fi
9052
9053 else
9054
9055                           wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
9056
9057 fi
9058
9059
9060           eval "$wx_cv_use_stdpaths"
9061
9062           if test x"$enablestring" = xdisable; then
9063             if test $wxUSE_STDPATHS = no; then
9064               result=yes
9065             else
9066               result=no
9067             fi
9068           else
9069             result=$wxUSE_STDPATHS
9070           fi
9071
9072           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9073 $as_echo "$result" >&6; }
9074
9075
9076           enablestring=
9077           defaultval=$wxUSE_ALL_FEATURES
9078           if test -z "$defaultval"; then
9079               if test x"$enablestring" = xdisable; then
9080                   defaultval=yes
9081               else
9082                   defaultval=no
9083               fi
9084           fi
9085
9086           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
9087 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
9088           # Check whether --enable-stopwatch was given.
9089 if test "${enable_stopwatch+set}" = set; then :
9090   enableval=$enable_stopwatch;
9091                           if test "$enableval" = yes; then
9092                             wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
9093                           else
9094                             wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
9095                           fi
9096
9097 else
9098
9099                           wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9100
9101 fi
9102
9103
9104           eval "$wx_cv_use_stopwatch"
9105
9106           if test x"$enablestring" = xdisable; then
9107             if test $wxUSE_STOPWATCH = no; then
9108               result=yes
9109             else
9110               result=no
9111             fi
9112           else
9113             result=$wxUSE_STOPWATCH
9114           fi
9115
9116           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9117 $as_echo "$result" >&6; }
9118
9119
9120           enablestring=
9121           defaultval=$wxUSE_ALL_FEATURES
9122           if test -z "$defaultval"; then
9123               if test x"$enablestring" = xdisable; then
9124                   defaultval=yes
9125               else
9126                   defaultval=no
9127               fi
9128           fi
9129
9130           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9131 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9132           # Check whether --enable-streams was given.
9133 if test "${enable_streams+set}" = set; then :
9134   enableval=$enable_streams;
9135                           if test "$enableval" = yes; then
9136                             wx_cv_use_streams='wxUSE_STREAMS=yes'
9137                           else
9138                             wx_cv_use_streams='wxUSE_STREAMS=no'
9139                           fi
9140
9141 else
9142
9143                           wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9144
9145 fi
9146
9147
9148           eval "$wx_cv_use_streams"
9149
9150           if test x"$enablestring" = xdisable; then
9151             if test $wxUSE_STREAMS = no; then
9152               result=yes
9153             else
9154               result=no
9155             fi
9156           else
9157             result=$wxUSE_STREAMS
9158           fi
9159
9160           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9161 $as_echo "$result" >&6; }
9162
9163
9164           enablestring=
9165           defaultval=$wxUSE_ALL_FEATURES
9166           if test -z "$defaultval"; then
9167               if test x"$enablestring" = xdisable; then
9168                   defaultval=yes
9169               else
9170                   defaultval=no
9171               fi
9172           fi
9173
9174           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9175 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9176           # Check whether --enable-sysoptions was given.
9177 if test "${enable_sysoptions+set}" = set; then :
9178   enableval=$enable_sysoptions;
9179                           if test "$enableval" = yes; then
9180                             wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9181                           else
9182                             wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9183                           fi
9184
9185 else
9186
9187                           wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9188
9189 fi
9190
9191
9192           eval "$wx_cv_use_sysoptions"
9193
9194           if test x"$enablestring" = xdisable; then
9195             if test $wxUSE_SYSTEM_OPTIONS = no; then
9196               result=yes
9197             else
9198               result=no
9199             fi
9200           else
9201             result=$wxUSE_SYSTEM_OPTIONS
9202           fi
9203
9204           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9205 $as_echo "$result" >&6; }
9206
9207
9208           enablestring=
9209           defaultval=$wxUSE_ALL_FEATURES
9210           if test -z "$defaultval"; then
9211               if test x"$enablestring" = xdisable; then
9212                   defaultval=yes
9213               else
9214                   defaultval=no
9215               fi
9216           fi
9217
9218           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9219 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9220           # Check whether --enable-tarstream was given.
9221 if test "${enable_tarstream+set}" = set; then :
9222   enableval=$enable_tarstream;
9223                           if test "$enableval" = yes; then
9224                             wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9225                           else
9226                             wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9227                           fi
9228
9229 else
9230
9231                           wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9232
9233 fi
9234
9235
9236           eval "$wx_cv_use_tarstream"
9237
9238           if test x"$enablestring" = xdisable; then
9239             if test $wxUSE_TARSTREAM = no; then
9240               result=yes
9241             else
9242               result=no
9243             fi
9244           else
9245             result=$wxUSE_TARSTREAM
9246           fi
9247
9248           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9249 $as_echo "$result" >&6; }
9250
9251
9252           enablestring=
9253           defaultval=$wxUSE_ALL_FEATURES
9254           if test -z "$defaultval"; then
9255               if test x"$enablestring" = xdisable; then
9256                   defaultval=yes
9257               else
9258                   defaultval=no
9259               fi
9260           fi
9261
9262           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9263 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9264           # Check whether --enable-textbuf was given.
9265 if test "${enable_textbuf+set}" = set; then :
9266   enableval=$enable_textbuf;
9267                           if test "$enableval" = yes; then
9268                             wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9269                           else
9270                             wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9271                           fi
9272
9273 else
9274
9275                           wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9276
9277 fi
9278
9279
9280           eval "$wx_cv_use_textbuf"
9281
9282           if test x"$enablestring" = xdisable; then
9283             if test $wxUSE_TEXTBUFFER = no; then
9284               result=yes
9285             else
9286               result=no
9287             fi
9288           else
9289             result=$wxUSE_TEXTBUFFER
9290           fi
9291
9292           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9293 $as_echo "$result" >&6; }
9294
9295
9296           enablestring=
9297           defaultval=$wxUSE_ALL_FEATURES
9298           if test -z "$defaultval"; then
9299               if test x"$enablestring" = xdisable; then
9300                   defaultval=yes
9301               else
9302                   defaultval=no
9303               fi
9304           fi
9305
9306           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9307 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9308           # Check whether --enable-textfile was given.
9309 if test "${enable_textfile+set}" = set; then :
9310   enableval=$enable_textfile;
9311                           if test "$enableval" = yes; then
9312                             wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9313                           else
9314                             wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9315                           fi
9316
9317 else
9318
9319                           wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9320
9321 fi
9322
9323
9324           eval "$wx_cv_use_textfile"
9325
9326           if test x"$enablestring" = xdisable; then
9327             if test $wxUSE_TEXTFILE = no; then
9328               result=yes
9329             else
9330               result=no
9331             fi
9332           else
9333             result=$wxUSE_TEXTFILE
9334           fi
9335
9336           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9337 $as_echo "$result" >&6; }
9338
9339
9340           enablestring=
9341           defaultval=$wxUSE_ALL_FEATURES
9342           if test -z "$defaultval"; then
9343               if test x"$enablestring" = xdisable; then
9344                   defaultval=yes
9345               else
9346                   defaultval=no
9347               fi
9348           fi
9349
9350           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9351 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9352           # Check whether --enable-timer was given.
9353 if test "${enable_timer+set}" = set; then :
9354   enableval=$enable_timer;
9355                           if test "$enableval" = yes; then
9356                             wx_cv_use_timer='wxUSE_TIMER=yes'
9357                           else
9358                             wx_cv_use_timer='wxUSE_TIMER=no'
9359                           fi
9360
9361 else
9362
9363                           wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9364
9365 fi
9366
9367
9368           eval "$wx_cv_use_timer"
9369
9370           if test x"$enablestring" = xdisable; then
9371             if test $wxUSE_TIMER = no; then
9372               result=yes
9373             else
9374               result=no
9375             fi
9376           else
9377             result=$wxUSE_TIMER
9378           fi
9379
9380           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9381 $as_echo "$result" >&6; }
9382
9383
9384           enablestring=
9385           defaultval=$wxUSE_ALL_FEATURES
9386           if test -z "$defaultval"; then
9387               if test x"$enablestring" = xdisable; then
9388                   defaultval=yes
9389               else
9390                   defaultval=no
9391               fi
9392           fi
9393
9394           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9395 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9396           # Check whether --enable-variant was given.
9397 if test "${enable_variant+set}" = set; then :
9398   enableval=$enable_variant;
9399                           if test "$enableval" = yes; then
9400                             wx_cv_use_variant='wxUSE_VARIANT=yes'
9401                           else
9402                             wx_cv_use_variant='wxUSE_VARIANT=no'
9403                           fi
9404
9405 else
9406
9407                           wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9408
9409 fi
9410
9411
9412           eval "$wx_cv_use_variant"
9413
9414           if test x"$enablestring" = xdisable; then
9415             if test $wxUSE_VARIANT = no; then
9416               result=yes
9417             else
9418               result=no
9419             fi
9420           else
9421             result=$wxUSE_VARIANT
9422           fi
9423
9424           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9425 $as_echo "$result" >&6; }
9426
9427
9428           enablestring=
9429           defaultval=$wxUSE_ALL_FEATURES
9430           if test -z "$defaultval"; then
9431               if test x"$enablestring" = xdisable; then
9432                   defaultval=yes
9433               else
9434                   defaultval=no
9435               fi
9436           fi
9437
9438           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9439 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9440           # Check whether --enable-zipstream was given.
9441 if test "${enable_zipstream+set}" = set; then :
9442   enableval=$enable_zipstream;
9443                           if test "$enableval" = yes; then
9444                             wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9445                           else
9446                             wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9447                           fi
9448
9449 else
9450
9451                           wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9452
9453 fi
9454
9455
9456           eval "$wx_cv_use_zipstream"
9457
9458           if test x"$enablestring" = xdisable; then
9459             if test $wxUSE_ZIPSTREAM = no; then
9460               result=yes
9461             else
9462               result=no
9463             fi
9464           else
9465             result=$wxUSE_ZIPSTREAM
9466           fi
9467
9468           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9469 $as_echo "$result" >&6; }
9470
9471
9472
9473           enablestring=
9474           defaultval=$wxUSE_ALL_FEATURES
9475           if test -z "$defaultval"; then
9476               if test x"$enablestring" = xdisable; then
9477                   defaultval=yes
9478               else
9479                   defaultval=no
9480               fi
9481           fi
9482
9483           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9484 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9485           # Check whether --enable-url was given.
9486 if test "${enable_url+set}" = set; then :
9487   enableval=$enable_url;
9488                           if test "$enableval" = yes; then
9489                             wx_cv_use_url='wxUSE_URL=yes'
9490                           else
9491                             wx_cv_use_url='wxUSE_URL=no'
9492                           fi
9493
9494 else
9495
9496                           wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9497
9498 fi
9499
9500
9501           eval "$wx_cv_use_url"
9502
9503           if test x"$enablestring" = xdisable; then
9504             if test $wxUSE_URL = no; then
9505               result=yes
9506             else
9507               result=no
9508             fi
9509           else
9510             result=$wxUSE_URL
9511           fi
9512
9513           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9514 $as_echo "$result" >&6; }
9515
9516
9517           enablestring=
9518           defaultval=$wxUSE_ALL_FEATURES
9519           if test -z "$defaultval"; then
9520               if test x"$enablestring" = xdisable; then
9521                   defaultval=yes
9522               else
9523                   defaultval=no
9524               fi
9525           fi
9526
9527           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9528 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9529           # Check whether --enable-protocol was given.
9530 if test "${enable_protocol+set}" = set; then :
9531   enableval=$enable_protocol;
9532                           if test "$enableval" = yes; then
9533                             wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9534                           else
9535                             wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9536                           fi
9537
9538 else
9539
9540                           wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9541
9542 fi
9543
9544
9545           eval "$wx_cv_use_protocol"
9546
9547           if test x"$enablestring" = xdisable; then
9548             if test $wxUSE_PROTOCOL = no; then
9549               result=yes
9550             else
9551               result=no
9552             fi
9553           else
9554             result=$wxUSE_PROTOCOL
9555           fi
9556
9557           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9558 $as_echo "$result" >&6; }
9559
9560
9561           enablestring=
9562           defaultval=$wxUSE_ALL_FEATURES
9563           if test -z "$defaultval"; then
9564               if test x"$enablestring" = xdisable; then
9565                   defaultval=yes
9566               else
9567                   defaultval=no
9568               fi
9569           fi
9570
9571           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9572 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9573           # Check whether --enable-protocol_http was given.
9574 if test "${enable_protocol_http+set}" = set; then :
9575   enableval=$enable_protocol_http;
9576                           if test "$enableval" = yes; then
9577                             wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9578                           else
9579                             wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9580                           fi
9581
9582 else
9583
9584                           wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9585
9586 fi
9587
9588
9589           eval "$wx_cv_use_protocol_http"
9590
9591           if test x"$enablestring" = xdisable; then
9592             if test $wxUSE_PROTOCOL_HTTP = no; then
9593               result=yes
9594             else
9595               result=no
9596             fi
9597           else
9598             result=$wxUSE_PROTOCOL_HTTP
9599           fi
9600
9601           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9602 $as_echo "$result" >&6; }
9603
9604
9605           enablestring=
9606           defaultval=$wxUSE_ALL_FEATURES
9607           if test -z "$defaultval"; then
9608               if test x"$enablestring" = xdisable; then
9609                   defaultval=yes
9610               else
9611                   defaultval=no
9612               fi
9613           fi
9614
9615           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9616 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9617           # Check whether --enable-protocol_ftp was given.
9618 if test "${enable_protocol_ftp+set}" = set; then :
9619   enableval=$enable_protocol_ftp;
9620                           if test "$enableval" = yes; then
9621                             wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9622                           else
9623                             wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9624                           fi
9625
9626 else
9627
9628                           wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9629
9630 fi
9631
9632
9633           eval "$wx_cv_use_protocol_ftp"
9634
9635           if test x"$enablestring" = xdisable; then
9636             if test $wxUSE_PROTOCOL_FTP = no; then
9637               result=yes
9638             else
9639               result=no
9640             fi
9641           else
9642             result=$wxUSE_PROTOCOL_FTP
9643           fi
9644
9645           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9646 $as_echo "$result" >&6; }
9647
9648
9649           enablestring=
9650           defaultval=$wxUSE_ALL_FEATURES
9651           if test -z "$defaultval"; then
9652               if test x"$enablestring" = xdisable; then
9653                   defaultval=yes
9654               else
9655                   defaultval=no
9656               fi
9657           fi
9658
9659           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9660 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9661           # Check whether --enable-protocol_file was given.
9662 if test "${enable_protocol_file+set}" = set; then :
9663   enableval=$enable_protocol_file;
9664                           if test "$enableval" = yes; then
9665                             wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9666                           else
9667                             wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9668                           fi
9669
9670 else
9671
9672                           wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9673
9674 fi
9675
9676
9677           eval "$wx_cv_use_protocol_file"
9678
9679           if test x"$enablestring" = xdisable; then
9680             if test $wxUSE_PROTOCOL_FILE = no; then
9681               result=yes
9682             else
9683               result=no
9684             fi
9685           else
9686             result=$wxUSE_PROTOCOL_FILE
9687           fi
9688
9689           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9690 $as_echo "$result" >&6; }
9691
9692
9693
9694           enablestring=
9695           defaultval=$wxUSE_ALL_FEATURES
9696           if test -z "$defaultval"; then
9697               if test x"$enablestring" = xdisable; then
9698                   defaultval=yes
9699               else
9700                   defaultval=no
9701               fi
9702           fi
9703
9704           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9705 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9706           # Check whether --enable-threads was given.
9707 if test "${enable_threads+set}" = set; then :
9708   enableval=$enable_threads;
9709                           if test "$enableval" = yes; then
9710                             wx_cv_use_threads='wxUSE_THREADS=yes'
9711                           else
9712                             wx_cv_use_threads='wxUSE_THREADS=no'
9713                           fi
9714
9715 else
9716
9717                           wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9718
9719 fi
9720
9721
9722           eval "$wx_cv_use_threads"
9723
9724           if test x"$enablestring" = xdisable; then
9725             if test $wxUSE_THREADS = no; then
9726               result=yes
9727             else
9728               result=no
9729             fi
9730           else
9731             result=$wxUSE_THREADS
9732           fi
9733
9734           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9735 $as_echo "$result" >&6; }
9736
9737
9738
9739           enablestring=
9740           defaultval=
9741           if test -z "$defaultval"; then
9742               if test x"$enablestring" = xdisable; then
9743                   defaultval=yes
9744               else
9745                   defaultval=no
9746               fi
9747           fi
9748
9749           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9750 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9751           # Check whether --enable-iniconf was given.
9752 if test "${enable_iniconf+set}" = set; then :
9753   enableval=$enable_iniconf;
9754                           if test "$enableval" = yes; then
9755                             wx_cv_use_iniconf='wxUSE_INICONF=yes'
9756                           else
9757                             wx_cv_use_iniconf='wxUSE_INICONF=no'
9758                           fi
9759
9760 else
9761
9762                           wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9763
9764 fi
9765
9766
9767           eval "$wx_cv_use_iniconf"
9768
9769           if test x"$enablestring" = xdisable; then
9770             if test $wxUSE_INICONF = no; then
9771               result=yes
9772             else
9773               result=no
9774             fi
9775           else
9776             result=$wxUSE_INICONF
9777           fi
9778
9779           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9780 $as_echo "$result" >&6; }
9781
9782
9783           enablestring=
9784           defaultval=$wxUSE_ALL_FEATURES
9785           if test -z "$defaultval"; then
9786               if test x"$enablestring" = xdisable; then
9787                   defaultval=yes
9788               else
9789                   defaultval=no
9790               fi
9791           fi
9792
9793           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9794 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9795           # Check whether --enable-regkey was given.
9796 if test "${enable_regkey+set}" = set; then :
9797   enableval=$enable_regkey;
9798                           if test "$enableval" = yes; then
9799                             wx_cv_use_regkey='wxUSE_REGKEY=yes'
9800                           else
9801                             wx_cv_use_regkey='wxUSE_REGKEY=no'
9802                           fi
9803
9804 else
9805
9806                           wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9807
9808 fi
9809
9810
9811           eval "$wx_cv_use_regkey"
9812
9813           if test x"$enablestring" = xdisable; then
9814             if test $wxUSE_REGKEY = no; then
9815               result=yes
9816             else
9817               result=no
9818             fi
9819           else
9820             result=$wxUSE_REGKEY
9821           fi
9822
9823           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9824 $as_echo "$result" >&6; }
9825
9826
9827 if test "$wxUSE_GUI" = "yes"; then
9828
9829
9830
9831           enablestring=
9832           defaultval=$wxUSE_ALL_FEATURES
9833           if test -z "$defaultval"; then
9834               if test x"$enablestring" = xdisable; then
9835                   defaultval=yes
9836               else
9837                   defaultval=no
9838               fi
9839           fi
9840
9841           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9842 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9843           # Check whether --enable-docview was given.
9844 if test "${enable_docview+set}" = set; then :
9845   enableval=$enable_docview;
9846                           if test "$enableval" = yes; then
9847                             wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9848                           else
9849                             wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9850                           fi
9851
9852 else
9853
9854                           wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9855
9856 fi
9857
9858
9859           eval "$wx_cv_use_docview"
9860
9861           if test x"$enablestring" = xdisable; then
9862             if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9863               result=yes
9864             else
9865               result=no
9866             fi
9867           else
9868             result=$wxUSE_DOC_VIEW_ARCHITECTURE
9869           fi
9870
9871           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9872 $as_echo "$result" >&6; }
9873
9874
9875           enablestring=
9876           defaultval=$wxUSE_ALL_FEATURES
9877           if test -z "$defaultval"; then
9878               if test x"$enablestring" = xdisable; then
9879                   defaultval=yes
9880               else
9881                   defaultval=no
9882               fi
9883           fi
9884
9885           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9886 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9887           # Check whether --enable-help was given.
9888 if test "${enable_help+set}" = set; then :
9889   enableval=$enable_help;
9890                           if test "$enableval" = yes; then
9891                             wx_cv_use_help='wxUSE_HELP=yes'
9892                           else
9893                             wx_cv_use_help='wxUSE_HELP=no'
9894                           fi
9895
9896 else
9897
9898                           wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9899
9900 fi
9901
9902
9903           eval "$wx_cv_use_help"
9904
9905           if test x"$enablestring" = xdisable; then
9906             if test $wxUSE_HELP = no; then
9907               result=yes
9908             else
9909               result=no
9910             fi
9911           else
9912             result=$wxUSE_HELP
9913           fi
9914
9915           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9916 $as_echo "$result" >&6; }
9917
9918
9919           enablestring=
9920           defaultval=$wxUSE_ALL_FEATURES
9921           if test -z "$defaultval"; then
9922               if test x"$enablestring" = xdisable; then
9923                   defaultval=yes
9924               else
9925                   defaultval=no
9926               fi
9927           fi
9928
9929           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9930 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9931           # Check whether --enable-mshtmlhelp was given.
9932 if test "${enable_mshtmlhelp+set}" = set; then :
9933   enableval=$enable_mshtmlhelp;
9934                           if test "$enableval" = yes; then
9935                             wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9936                           else
9937                             wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9938                           fi
9939
9940 else
9941
9942                           wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9943
9944 fi
9945
9946
9947           eval "$wx_cv_use_mshtmlhelp"
9948
9949           if test x"$enablestring" = xdisable; then
9950             if test $wxUSE_MS_HTML_HELP = no; then
9951               result=yes
9952             else
9953               result=no
9954             fi
9955           else
9956             result=$wxUSE_MS_HTML_HELP
9957           fi
9958
9959           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9960 $as_echo "$result" >&6; }
9961
9962
9963           enablestring=
9964           defaultval=$wxUSE_ALL_FEATURES
9965           if test -z "$defaultval"; then
9966               if test x"$enablestring" = xdisable; then
9967                   defaultval=yes
9968               else
9969                   defaultval=no
9970               fi
9971           fi
9972
9973           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9974 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9975           # Check whether --enable-html was given.
9976 if test "${enable_html+set}" = set; then :
9977   enableval=$enable_html;
9978                           if test "$enableval" = yes; then
9979                             wx_cv_use_html='wxUSE_HTML=yes'
9980                           else
9981                             wx_cv_use_html='wxUSE_HTML=no'
9982                           fi
9983
9984 else
9985
9986                           wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9987
9988 fi
9989
9990
9991           eval "$wx_cv_use_html"
9992
9993           if test x"$enablestring" = xdisable; then
9994             if test $wxUSE_HTML = no; then
9995               result=yes
9996             else
9997               result=no
9998             fi
9999           else
10000             result=$wxUSE_HTML
10001           fi
10002
10003           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10004 $as_echo "$result" >&6; }
10005
10006
10007           enablestring=
10008           defaultval=$wxUSE_ALL_FEATURES
10009           if test -z "$defaultval"; then
10010               if test x"$enablestring" = xdisable; then
10011                   defaultval=yes
10012               else
10013                   defaultval=no
10014               fi
10015           fi
10016
10017           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
10018 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
10019           # Check whether --enable-htmlhelp was given.
10020 if test "${enable_htmlhelp+set}" = set; then :
10021   enableval=$enable_htmlhelp;
10022                           if test "$enableval" = yes; then
10023                             wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
10024                           else
10025                             wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
10026                           fi
10027
10028 else
10029
10030                           wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
10031
10032 fi
10033
10034
10035           eval "$wx_cv_use_htmlhelp"
10036
10037           if test x"$enablestring" = xdisable; then
10038             if test $wxUSE_WXHTML_HELP = no; then
10039               result=yes
10040             else
10041               result=no
10042             fi
10043           else
10044             result=$wxUSE_WXHTML_HELP
10045           fi
10046
10047           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10048 $as_echo "$result" >&6; }
10049
10050
10051           enablestring=
10052           defaultval=$wxUSE_ALL_FEATURES
10053           if test -z "$defaultval"; then
10054               if test x"$enablestring" = xdisable; then
10055                   defaultval=yes
10056               else
10057                   defaultval=no
10058               fi
10059           fi
10060
10061           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
10062 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
10063           # Check whether --enable-xrc was given.
10064 if test "${enable_xrc+set}" = set; then :
10065   enableval=$enable_xrc;
10066                           if test "$enableval" = yes; then
10067                             wx_cv_use_xrc='wxUSE_XRC=yes'
10068                           else
10069                             wx_cv_use_xrc='wxUSE_XRC=no'
10070                           fi
10071
10072 else
10073
10074                           wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10075
10076 fi
10077
10078
10079           eval "$wx_cv_use_xrc"
10080
10081           if test x"$enablestring" = xdisable; then
10082             if test $wxUSE_XRC = no; then
10083               result=yes
10084             else
10085               result=no
10086             fi
10087           else
10088             result=$wxUSE_XRC
10089           fi
10090
10091           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10092 $as_echo "$result" >&6; }
10093
10094
10095           enablestring=
10096           defaultval=$wxUSE_ALL_FEATURES
10097           if test -z "$defaultval"; then
10098               if test x"$enablestring" = xdisable; then
10099                   defaultval=yes
10100               else
10101                   defaultval=no
10102               fi
10103           fi
10104
10105           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
10106 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
10107           # Check whether --enable-aui was given.
10108 if test "${enable_aui+set}" = set; then :
10109   enableval=$enable_aui;
10110                           if test "$enableval" = yes; then
10111                             wx_cv_use_aui='wxUSE_AUI=yes'
10112                           else
10113                             wx_cv_use_aui='wxUSE_AUI=no'
10114                           fi
10115
10116 else
10117
10118                           wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10119
10120 fi
10121
10122
10123           eval "$wx_cv_use_aui"
10124
10125           if test x"$enablestring" = xdisable; then
10126             if test $wxUSE_AUI = no; then
10127               result=yes
10128             else
10129               result=no
10130             fi
10131           else
10132             result=$wxUSE_AUI
10133           fi
10134
10135           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10136 $as_echo "$result" >&6; }
10137
10138
10139           enablestring=
10140           defaultval=$wxUSE_ALL_FEATURES
10141           if test -z "$defaultval"; then
10142               if test x"$enablestring" = xdisable; then
10143                   defaultval=yes
10144               else
10145                   defaultval=no
10146               fi
10147           fi
10148
10149           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10150 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10151           # Check whether --enable-propgrid was given.
10152 if test "${enable_propgrid+set}" = set; then :
10153   enableval=$enable_propgrid;
10154                           if test "$enableval" = yes; then
10155                             wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10156                           else
10157                             wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10158                           fi
10159
10160 else
10161
10162                           wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10163
10164 fi
10165
10166
10167           eval "$wx_cv_use_propgrid"
10168
10169           if test x"$enablestring" = xdisable; then
10170             if test $wxUSE_PROPGRID = no; then
10171               result=yes
10172             else
10173               result=no
10174             fi
10175           else
10176             result=$wxUSE_PROPGRID
10177           fi
10178
10179           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10180 $as_echo "$result" >&6; }
10181
10182
10183           enablestring=
10184           defaultval=$wxUSE_ALL_FEATURES
10185           if test -z "$defaultval"; then
10186               if test x"$enablestring" = xdisable; then
10187                   defaultval=yes
10188               else
10189                   defaultval=no
10190               fi
10191           fi
10192
10193           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10194 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10195           # Check whether --enable-ribbon was given.
10196 if test "${enable_ribbon+set}" = set; then :
10197   enableval=$enable_ribbon;
10198                           if test "$enableval" = yes; then
10199                             wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10200                           else
10201                             wx_cv_use_ribbon='wxUSE_RIBBON=no'
10202                           fi
10203
10204 else
10205
10206                           wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10207
10208 fi
10209
10210
10211           eval "$wx_cv_use_ribbon"
10212
10213           if test x"$enablestring" = xdisable; then
10214             if test $wxUSE_RIBBON = no; then
10215               result=yes
10216             else
10217               result=no
10218             fi
10219           else
10220             result=$wxUSE_RIBBON
10221           fi
10222
10223           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10224 $as_echo "$result" >&6; }
10225
10226
10227           enablestring=
10228           defaultval=$wxUSE_ALL_FEATURES
10229           if test -z "$defaultval"; then
10230               if test x"$enablestring" = xdisable; then
10231                   defaultval=yes
10232               else
10233                   defaultval=no
10234               fi
10235           fi
10236
10237           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10238 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10239           # Check whether --enable-stc was given.
10240 if test "${enable_stc+set}" = set; then :
10241   enableval=$enable_stc;
10242                           if test "$enableval" = yes; then
10243                             wx_cv_use_stc='wxUSE_STC=yes'
10244                           else
10245                             wx_cv_use_stc='wxUSE_STC=no'
10246                           fi
10247
10248 else
10249
10250                           wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10251
10252 fi
10253
10254
10255           eval "$wx_cv_use_stc"
10256
10257           if test x"$enablestring" = xdisable; then
10258             if test $wxUSE_STC = no; then
10259               result=yes
10260             else
10261               result=no
10262             fi
10263           else
10264             result=$wxUSE_STC
10265           fi
10266
10267           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10268 $as_echo "$result" >&6; }
10269
10270
10271           enablestring=
10272           defaultval=$wxUSE_ALL_FEATURES
10273           if test -z "$defaultval"; then
10274               if test x"$enablestring" = xdisable; then
10275                   defaultval=yes
10276               else
10277                   defaultval=no
10278               fi
10279           fi
10280
10281           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10282 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10283           # Check whether --enable-constraints was given.
10284 if test "${enable_constraints+set}" = set; then :
10285   enableval=$enable_constraints;
10286                           if test "$enableval" = yes; then
10287                             wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10288                           else
10289                             wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10290                           fi
10291
10292 else
10293
10294                           wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10295
10296 fi
10297
10298
10299           eval "$wx_cv_use_constraints"
10300
10301           if test x"$enablestring" = xdisable; then
10302             if test $wxUSE_CONSTRAINTS = no; then
10303               result=yes
10304             else
10305               result=no
10306             fi
10307           else
10308             result=$wxUSE_CONSTRAINTS
10309           fi
10310
10311           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10312 $as_echo "$result" >&6; }
10313
10314
10315           enablestring=
10316           defaultval=$wxUSE_ALL_FEATURES
10317           if test -z "$defaultval"; then
10318               if test x"$enablestring" = xdisable; then
10319                   defaultval=yes
10320               else
10321                   defaultval=no
10322               fi
10323           fi
10324
10325           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10326 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10327           # Check whether --enable-loggui was given.
10328 if test "${enable_loggui+set}" = set; then :
10329   enableval=$enable_loggui;
10330                           if test "$enableval" = yes; then
10331                             wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10332                           else
10333                             wx_cv_use_loggui='wxUSE_LOGGUI=no'
10334                           fi
10335
10336 else
10337
10338                           wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10339
10340 fi
10341
10342
10343           eval "$wx_cv_use_loggui"
10344
10345           if test x"$enablestring" = xdisable; then
10346             if test $wxUSE_LOGGUI = no; then
10347               result=yes
10348             else
10349               result=no
10350             fi
10351           else
10352             result=$wxUSE_LOGGUI
10353           fi
10354
10355           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10356 $as_echo "$result" >&6; }
10357
10358
10359           enablestring=
10360           defaultval=$wxUSE_ALL_FEATURES
10361           if test -z "$defaultval"; then
10362               if test x"$enablestring" = xdisable; then
10363                   defaultval=yes
10364               else
10365                   defaultval=no
10366               fi
10367           fi
10368
10369           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10370 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10371           # Check whether --enable-logwin was given.
10372 if test "${enable_logwin+set}" = set; then :
10373   enableval=$enable_logwin;
10374                           if test "$enableval" = yes; then
10375                             wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10376                           else
10377                             wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10378                           fi
10379
10380 else
10381
10382                           wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10383
10384 fi
10385
10386
10387           eval "$wx_cv_use_logwin"
10388
10389           if test x"$enablestring" = xdisable; then
10390             if test $wxUSE_LOGWINDOW = no; then
10391               result=yes
10392             else
10393               result=no
10394             fi
10395           else
10396             result=$wxUSE_LOGWINDOW
10397           fi
10398
10399           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10400 $as_echo "$result" >&6; }
10401
10402
10403           enablestring=
10404           defaultval=$wxUSE_ALL_FEATURES
10405           if test -z "$defaultval"; then
10406               if test x"$enablestring" = xdisable; then
10407                   defaultval=yes
10408               else
10409                   defaultval=no
10410               fi
10411           fi
10412
10413           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10414 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10415           # Check whether --enable-logdialog was given.
10416 if test "${enable_logdialog+set}" = set; then :
10417   enableval=$enable_logdialog;
10418                           if test "$enableval" = yes; then
10419                             wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10420                           else
10421                             wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10422                           fi
10423
10424 else
10425
10426                           wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10427
10428 fi
10429
10430
10431           eval "$wx_cv_use_logdialog"
10432
10433           if test x"$enablestring" = xdisable; then
10434             if test $wxUSE_LOGDIALOG = no; then
10435               result=yes
10436             else
10437               result=no
10438             fi
10439           else
10440             result=$wxUSE_LOGDIALOG
10441           fi
10442
10443           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10444 $as_echo "$result" >&6; }
10445
10446
10447           enablestring=
10448           defaultval=$wxUSE_ALL_FEATURES
10449           if test -z "$defaultval"; then
10450               if test x"$enablestring" = xdisable; then
10451                   defaultval=yes
10452               else
10453                   defaultval=no
10454               fi
10455           fi
10456
10457           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10458 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10459           # Check whether --enable-mdi was given.
10460 if test "${enable_mdi+set}" = set; then :
10461   enableval=$enable_mdi;
10462                           if test "$enableval" = yes; then
10463                             wx_cv_use_mdi='wxUSE_MDI=yes'
10464                           else
10465                             wx_cv_use_mdi='wxUSE_MDI=no'
10466                           fi
10467
10468 else
10469
10470                           wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10471
10472 fi
10473
10474
10475           eval "$wx_cv_use_mdi"
10476
10477           if test x"$enablestring" = xdisable; then
10478             if test $wxUSE_MDI = no; then
10479               result=yes
10480             else
10481               result=no
10482             fi
10483           else
10484             result=$wxUSE_MDI
10485           fi
10486
10487           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10488 $as_echo "$result" >&6; }
10489
10490
10491           enablestring=
10492           defaultval=$wxUSE_ALL_FEATURES
10493           if test -z "$defaultval"; then
10494               if test x"$enablestring" = xdisable; then
10495                   defaultval=yes
10496               else
10497                   defaultval=no
10498               fi
10499           fi
10500
10501           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10502 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10503           # Check whether --enable-mdidoc was given.
10504 if test "${enable_mdidoc+set}" = set; then :
10505   enableval=$enable_mdidoc;
10506                           if test "$enableval" = yes; then
10507                             wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10508                           else
10509                             wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10510                           fi
10511
10512 else
10513
10514                           wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10515
10516 fi
10517
10518
10519           eval "$wx_cv_use_mdidoc"
10520
10521           if test x"$enablestring" = xdisable; then
10522             if test $wxUSE_MDI_ARCHITECTURE = no; then
10523               result=yes
10524             else
10525               result=no
10526             fi
10527           else
10528             result=$wxUSE_MDI_ARCHITECTURE
10529           fi
10530
10531           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10532 $as_echo "$result" >&6; }
10533
10534
10535           enablestring=
10536           defaultval=$wxUSE_ALL_FEATURES
10537           if test -z "$defaultval"; then
10538               if test x"$enablestring" = xdisable; then
10539                   defaultval=yes
10540               else
10541                   defaultval=no
10542               fi
10543           fi
10544
10545           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10546 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10547           # Check whether --enable-mediactrl was given.
10548 if test "${enable_mediactrl+set}" = set; then :
10549   enableval=$enable_mediactrl;
10550                           if test "$enableval" = yes; then
10551                             wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10552                           else
10553                             wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10554                           fi
10555
10556 else
10557
10558                           wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10559
10560 fi
10561
10562
10563           eval "$wx_cv_use_mediactrl"
10564
10565           if test x"$enablestring" = xdisable; then
10566             if test $wxUSE_MEDIACTRL = no; then
10567               result=yes
10568             else
10569               result=no
10570             fi
10571           else
10572             result=$wxUSE_MEDIACTRL
10573           fi
10574
10575           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10576 $as_echo "$result" >&6; }
10577
10578
10579           enablestring=
10580           defaultval=$wxUSE_ALL_FEATURES
10581           if test -z "$defaultval"; then
10582               if test x"$enablestring" = xdisable; then
10583                   defaultval=yes
10584               else
10585                   defaultval=no
10586               fi
10587           fi
10588
10589           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10590 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10591           # Check whether --enable-gstreamer8 was given.
10592 if test "${enable_gstreamer8+set}" = set; then :
10593   enableval=$enable_gstreamer8;
10594                           if test "$enableval" = yes; then
10595                             wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10596                           else
10597                             wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10598                           fi
10599
10600 else
10601
10602                           wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10603
10604 fi
10605
10606
10607           eval "$wx_cv_use_gstreamer8"
10608
10609           if test x"$enablestring" = xdisable; then
10610             if test $wxUSE_GSTREAMER8 = no; then
10611               result=yes
10612             else
10613               result=no
10614             fi
10615           else
10616             result=$wxUSE_GSTREAMER8
10617           fi
10618
10619           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10620 $as_echo "$result" >&6; }
10621
10622
10623           enablestring=
10624           defaultval=$wxUSE_ALL_FEATURES
10625           if test -z "$defaultval"; then
10626               if test x"$enablestring" = xdisable; then
10627                   defaultval=yes
10628               else
10629                   defaultval=no
10630               fi
10631           fi
10632
10633           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10634 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10635           # Check whether --enable-richtext was given.
10636 if test "${enable_richtext+set}" = set; then :
10637   enableval=$enable_richtext;
10638                           if test "$enableval" = yes; then
10639                             wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10640                           else
10641                             wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10642                           fi
10643
10644 else
10645
10646                           wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10647
10648 fi
10649
10650
10651           eval "$wx_cv_use_richtext"
10652
10653           if test x"$enablestring" = xdisable; then
10654             if test $wxUSE_RICHTEXT = no; then
10655               result=yes
10656             else
10657               result=no
10658             fi
10659           else
10660             result=$wxUSE_RICHTEXT
10661           fi
10662
10663           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10664 $as_echo "$result" >&6; }
10665
10666
10667           enablestring=
10668           defaultval=$wxUSE_ALL_FEATURES
10669           if test -z "$defaultval"; then
10670               if test x"$enablestring" = xdisable; then
10671                   defaultval=yes
10672               else
10673                   defaultval=no
10674               fi
10675           fi
10676
10677           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10678 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10679           # Check whether --enable-postscript was given.
10680 if test "${enable_postscript+set}" = set; then :
10681   enableval=$enable_postscript;
10682                           if test "$enableval" = yes; then
10683                             wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10684                           else
10685                             wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10686                           fi
10687
10688 else
10689
10690                           wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10691
10692 fi
10693
10694
10695           eval "$wx_cv_use_postscript"
10696
10697           if test x"$enablestring" = xdisable; then
10698             if test $wxUSE_POSTSCRIPT = no; then
10699               result=yes
10700             else
10701               result=no
10702             fi
10703           else
10704             result=$wxUSE_POSTSCRIPT
10705           fi
10706
10707           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10708 $as_echo "$result" >&6; }
10709
10710
10711           enablestring=
10712           defaultval=$wxUSE_ALL_FEATURES
10713           if test -z "$defaultval"; then
10714               if test x"$enablestring" = xdisable; then
10715                   defaultval=yes
10716               else
10717                   defaultval=no
10718               fi
10719           fi
10720
10721           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10722 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10723           # Check whether --enable-printarch was given.
10724 if test "${enable_printarch+set}" = set; then :
10725   enableval=$enable_printarch;
10726                           if test "$enableval" = yes; then
10727                             wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10728                           else
10729                             wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10730                           fi
10731
10732 else
10733
10734                           wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10735
10736 fi
10737
10738
10739           eval "$wx_cv_use_printarch"
10740
10741           if test x"$enablestring" = xdisable; then
10742             if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10743               result=yes
10744             else
10745               result=no
10746             fi
10747           else
10748             result=$wxUSE_PRINTING_ARCHITECTURE
10749           fi
10750
10751           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10752 $as_echo "$result" >&6; }
10753
10754
10755           enablestring=
10756           defaultval=$wxUSE_ALL_FEATURES
10757           if test -z "$defaultval"; then
10758               if test x"$enablestring" = xdisable; then
10759                   defaultval=yes
10760               else
10761                   defaultval=no
10762               fi
10763           fi
10764
10765           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10766 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10767           # Check whether --enable-svg was given.
10768 if test "${enable_svg+set}" = set; then :
10769   enableval=$enable_svg;
10770                           if test "$enableval" = yes; then
10771                             wx_cv_use_svg='wxUSE_SVG=yes'
10772                           else
10773                             wx_cv_use_svg='wxUSE_SVG=no'
10774                           fi
10775
10776 else
10777
10778                           wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10779
10780 fi
10781
10782
10783           eval "$wx_cv_use_svg"
10784
10785           if test x"$enablestring" = xdisable; then
10786             if test $wxUSE_SVG = no; then
10787               result=yes
10788             else
10789               result=no
10790             fi
10791           else
10792             result=$wxUSE_SVG
10793           fi
10794
10795           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10796 $as_echo "$result" >&6; }
10797
10798
10799           enablestring=
10800           defaultval=$wxUSE_ALL_FEATURES
10801           if test -z "$defaultval"; then
10802               if test x"$enablestring" = xdisable; then
10803                   defaultval=yes
10804               else
10805                   defaultval=no
10806               fi
10807           fi
10808
10809           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10810 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10811           # Check whether --enable-webkit was given.
10812 if test "${enable_webkit+set}" = set; then :
10813   enableval=$enable_webkit;
10814                           if test "$enableval" = yes; then
10815                             wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10816                           else
10817                             wx_cv_use_webkit='wxUSE_WEBKIT=no'
10818                           fi
10819
10820 else
10821
10822                           wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10823
10824 fi
10825
10826
10827           eval "$wx_cv_use_webkit"
10828
10829           if test x"$enablestring" = xdisable; then
10830             if test $wxUSE_WEBKIT = no; then
10831               result=yes
10832             else
10833               result=no
10834             fi
10835           else
10836             result=$wxUSE_WEBKIT
10837           fi
10838
10839           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10840 $as_echo "$result" >&6; }
10841
10842
10843           enablestring=
10844           defaultval=$wxUSE_ALL_FEATURES
10845           if test -z "$defaultval"; then
10846               if test x"$enablestring" = xdisable; then
10847                   defaultval=yes
10848               else
10849                   defaultval=no
10850               fi
10851           fi
10852
10853           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10854 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10855           # Check whether --enable-webview was given.
10856 if test "${enable_webview+set}" = set; then :
10857   enableval=$enable_webview;
10858                           if test "$enableval" = yes; then
10859                             wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10860                           else
10861                             wx_cv_use_webview='wxUSE_WEBVIEW=no'
10862                           fi
10863
10864 else
10865
10866                           wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10867
10868 fi
10869
10870
10871           eval "$wx_cv_use_webview"
10872
10873           if test x"$enablestring" = xdisable; then
10874             if test $wxUSE_WEBVIEW = no; then
10875               result=yes
10876             else
10877               result=no
10878             fi
10879           else
10880             result=$wxUSE_WEBVIEW
10881           fi
10882
10883           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10884 $as_echo "$result" >&6; }
10885
10886
10887 if test "$wxUSE_MAC" != 1; then
10888
10889           enablestring=
10890           defaultval=$wxUSE_ALL_FEATURES
10891           if test -z "$defaultval"; then
10892               if test x"$enablestring" = xdisable; then
10893                   defaultval=yes
10894               else
10895                   defaultval=no
10896               fi
10897           fi
10898
10899           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10900 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10901           # Check whether --enable-graphics_ctx was given.
10902 if test "${enable_graphics_ctx+set}" = set; then :
10903   enableval=$enable_graphics_ctx;
10904                           if test "$enableval" = yes; then
10905                             wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10906                           else
10907                             wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10908                           fi
10909
10910 else
10911
10912                           wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10913
10914 fi
10915
10916
10917           eval "$wx_cv_use_graphics_ctx"
10918
10919           if test x"$enablestring" = xdisable; then
10920             if test $wxUSE_GRAPHICS_CONTEXT = no; then
10921               result=yes
10922             else
10923               result=no
10924             fi
10925           else
10926             result=$wxUSE_GRAPHICS_CONTEXT
10927           fi
10928
10929           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10930 $as_echo "$result" >&6; }
10931
10932 fi
10933
10934
10935
10936           enablestring=
10937           defaultval=$wxUSE_ALL_FEATURES
10938           if test -z "$defaultval"; then
10939               if test x"$enablestring" = xdisable; then
10940                   defaultval=yes
10941               else
10942                   defaultval=no
10943               fi
10944           fi
10945
10946           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10947 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10948           # Check whether --enable-clipboard was given.
10949 if test "${enable_clipboard+set}" = set; then :
10950   enableval=$enable_clipboard;
10951                           if test "$enableval" = yes; then
10952                             wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10953                           else
10954                             wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10955                           fi
10956
10957 else
10958
10959                           wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10960
10961 fi
10962
10963
10964           eval "$wx_cv_use_clipboard"
10965
10966           if test x"$enablestring" = xdisable; then
10967             if test $wxUSE_CLIPBOARD = no; then
10968               result=yes
10969             else
10970               result=no
10971             fi
10972           else
10973             result=$wxUSE_CLIPBOARD
10974           fi
10975
10976           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10977 $as_echo "$result" >&6; }
10978
10979
10980           enablestring=
10981           defaultval=$wxUSE_ALL_FEATURES
10982           if test -z "$defaultval"; then
10983               if test x"$enablestring" = xdisable; then
10984                   defaultval=yes
10985               else
10986                   defaultval=no
10987               fi
10988           fi
10989
10990           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
10991 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
10992           # Check whether --enable-dnd was given.
10993 if test "${enable_dnd+set}" = set; then :
10994   enableval=$enable_dnd;
10995                           if test "$enableval" = yes; then
10996                             wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10997                           else
10998                             wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10999                           fi
11000
11001 else
11002
11003                           wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
11004
11005 fi
11006
11007
11008           eval "$wx_cv_use_dnd"
11009
11010           if test x"$enablestring" = xdisable; then
11011             if test $wxUSE_DRAG_AND_DROP = no; then
11012               result=yes
11013             else
11014               result=no
11015             fi
11016           else
11017             result=$wxUSE_DRAG_AND_DROP
11018           fi
11019
11020           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11021 $as_echo "$result" >&6; }
11022
11023
11024
11025 DEFAULT_wxUSE_CONTROLS=none
11026
11027           enablestring=disable
11028           defaultval=
11029           if test -z "$defaultval"; then
11030               if test x"$enablestring" = xdisable; then
11031                   defaultval=yes
11032               else
11033                   defaultval=no
11034               fi
11035           fi
11036
11037           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
11038 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
11039           # Check whether --enable-controls was given.
11040 if test "${enable_controls+set}" = set; then :
11041   enableval=$enable_controls;
11042                           if test "$enableval" = yes; then
11043                             wx_cv_use_controls='wxUSE_CONTROLS=yes'
11044                           else
11045                             wx_cv_use_controls='wxUSE_CONTROLS=no'
11046                           fi
11047
11048 else
11049
11050                           wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
11051
11052 fi
11053
11054
11055           eval "$wx_cv_use_controls"
11056
11057           if test x"$enablestring" = xdisable; then
11058             if test $wxUSE_CONTROLS = no; then
11059               result=yes
11060             else
11061               result=no
11062             fi
11063           else
11064             result=$wxUSE_CONTROLS
11065           fi
11066
11067           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11068 $as_echo "$result" >&6; }
11069
11070
11071 if test "$wxUSE_CONTROLS" = "no"; then
11072     DEFAULT_wxUSE_ACCEL=no
11073     DEFAULT_wxUSE_ANIMATIONCTRL=no
11074     DEFAULT_wxUSE_BANNERWINDOW=no
11075     DEFAULT_wxUSE_BMPBUTTON=no
11076     DEFAULT_wxUSE_BUTTON=no
11077     DEFAULT_wxUSE_CALCTRL=no
11078     DEFAULT_wxUSE_CARET=no
11079     DEFAULT_wxUSE_CHECKBOX=no
11080     DEFAULT_wxUSE_CHECKLISTBOX=no
11081     DEFAULT_wxUSE_CHOICE=no
11082     DEFAULT_wxUSE_CHOICEBOOK=no
11083     DEFAULT_wxUSE_COLLPANE=no
11084     DEFAULT_wxUSE_COLOURPICKERCTRL=no
11085     DEFAULT_wxUSE_COMBOBOX=no
11086     DEFAULT_wxUSE_COMBOBOX=no
11087     DEFAULT_wxUSE_COMMANDLINKBUTTON=no
11088     DEFAULT_wxUSE_DATAVIEWCTRL=no
11089     DEFAULT_wxUSE_DATEPICKCTRL=no
11090     DEFAULT_wxUSE_DETECT_SM=no
11091     DEFAULT_wxUSE_DIRPICKERCTRL=no
11092     DEFAULT_wxUSE_DISPLAY=no
11093     DEFAULT_wxUSE_FILECTRL=no
11094     DEFAULT_wxUSE_FILEPICKERCTRL=no
11095     DEFAULT_wxUSE_FONTPICKERCTRL=no
11096     DEFAULT_wxUSE_GAUGE=no
11097     DEFAULT_wxUSE_GRID=no
11098     DEFAULT_wxUSE_HEADERCTRL=no
11099     DEFAULT_wxUSE_HYPERLINKCTRL=no
11100     DEFAULT_wxUSE_IMAGLIST=no
11101     DEFAULT_wxUSE_LISTBOOK=no
11102     DEFAULT_wxUSE_LISTBOX=no
11103     DEFAULT_wxUSE_LISTCTRL=no
11104     DEFAULT_wxUSE_MARKUP=no
11105     DEFAULT_wxUSE_NOTEBOOK=no
11106     DEFAULT_wxUSE_POPUPWIN=no
11107     DEFAULT_wxUSE_RADIOBOX=no
11108     DEFAULT_wxUSE_RADIOBTN=no
11109     DEFAULT_wxUSE_RICHMSGDLG=no
11110     DEFAULT_wxUSE_RICHTOOLTIP=no
11111     DEFAULT_wxUSE_REARRANGECTRL=no
11112     DEFAULT_wxUSE_SASH=no
11113     DEFAULT_wxUSE_SCROLLBAR=no
11114     DEFAULT_wxUSE_SEARCHCTRL=no
11115     DEFAULT_wxUSE_SLIDER=no
11116     DEFAULT_wxUSE_SPINBTN=no
11117     DEFAULT_wxUSE_SPINCTRL=no
11118     DEFAULT_wxUSE_SPLITTER=no
11119     DEFAULT_wxUSE_STATBMP=no
11120     DEFAULT_wxUSE_STATBOX=no
11121     DEFAULT_wxUSE_STATLINE=no
11122     DEFAULT_wxUSE_STATUSBAR=no
11123     DEFAULT_wxUSE_TIMEPICKCTRL=no
11124     DEFAULT_wxUSE_TIPWINDOW=no
11125     DEFAULT_wxUSE_TOGGLEBTN=no
11126     DEFAULT_wxUSE_TOOLBAR=no
11127     DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11128     DEFAULT_wxUSE_TOOLBOOK=no
11129     DEFAULT_wxUSE_TOOLTIPS=no
11130     DEFAULT_wxUSE_TREEBOOK=no
11131     DEFAULT_wxUSE_TREECTRL=no
11132     DEFAULT_wxUSE_TREELISTCTRL=no
11133 fi
11134
11135
11136           enablestring=
11137           defaultval=$wxUSE_ALL_FEATURES
11138           if test -z "$defaultval"; then
11139               if test x"$enablestring" = xdisable; then
11140                   defaultval=yes
11141               else
11142                   defaultval=no
11143               fi
11144           fi
11145
11146           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11147 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11148           # Check whether --enable-markup was given.
11149 if test "${enable_markup+set}" = set; then :
11150   enableval=$enable_markup;
11151                           if test "$enableval" = yes; then
11152                             wx_cv_use_markup='wxUSE_MARKUP=yes'
11153                           else
11154                             wx_cv_use_markup='wxUSE_MARKUP=no'
11155                           fi
11156
11157 else
11158
11159                           wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11160
11161 fi
11162
11163
11164           eval "$wx_cv_use_markup"
11165
11166           if test x"$enablestring" = xdisable; then
11167             if test $wxUSE_MARKUP = no; then
11168               result=yes
11169             else
11170               result=no
11171             fi
11172           else
11173             result=$wxUSE_MARKUP
11174           fi
11175
11176           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11177 $as_echo "$result" >&6; }
11178
11179
11180
11181           enablestring=
11182           defaultval=$wxUSE_ALL_FEATURES
11183           if test -z "$defaultval"; then
11184               if test x"$enablestring" = xdisable; then
11185                   defaultval=yes
11186               else
11187                   defaultval=no
11188               fi
11189           fi
11190
11191           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11192 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11193           # Check whether --enable-accel was given.
11194 if test "${enable_accel+set}" = set; then :
11195   enableval=$enable_accel;
11196                           if test "$enableval" = yes; then
11197                             wx_cv_use_accel='wxUSE_ACCEL=yes'
11198                           else
11199                             wx_cv_use_accel='wxUSE_ACCEL=no'
11200                           fi
11201
11202 else
11203
11204                           wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11205
11206 fi
11207
11208
11209           eval "$wx_cv_use_accel"
11210
11211           if test x"$enablestring" = xdisable; then
11212             if test $wxUSE_ACCEL = no; then
11213               result=yes
11214             else
11215               result=no
11216             fi
11217           else
11218             result=$wxUSE_ACCEL
11219           fi
11220
11221           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11222 $as_echo "$result" >&6; }
11223
11224
11225           enablestring=
11226           defaultval=$wxUSE_ALL_FEATURES
11227           if test -z "$defaultval"; then
11228               if test x"$enablestring" = xdisable; then
11229                   defaultval=yes
11230               else
11231                   defaultval=no
11232               fi
11233           fi
11234
11235           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11236 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11237           # Check whether --enable-animatectrl was given.
11238 if test "${enable_animatectrl+set}" = set; then :
11239   enableval=$enable_animatectrl;
11240                           if test "$enableval" = yes; then
11241                             wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11242                           else
11243                             wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11244                           fi
11245
11246 else
11247
11248                           wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11249
11250 fi
11251
11252
11253           eval "$wx_cv_use_animatectrl"
11254
11255           if test x"$enablestring" = xdisable; then
11256             if test $wxUSE_ANIMATIONCTRL = no; then
11257               result=yes
11258             else
11259               result=no
11260             fi
11261           else
11262             result=$wxUSE_ANIMATIONCTRL
11263           fi
11264
11265           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11266 $as_echo "$result" >&6; }
11267
11268
11269           enablestring=
11270           defaultval=$wxUSE_ALL_FEATURES
11271           if test -z "$defaultval"; then
11272               if test x"$enablestring" = xdisable; then
11273                   defaultval=yes
11274               else
11275                   defaultval=no
11276               fi
11277           fi
11278
11279           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11280 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11281           # Check whether --enable-bannerwindow was given.
11282 if test "${enable_bannerwindow+set}" = set; then :
11283   enableval=$enable_bannerwindow;
11284                           if test "$enableval" = yes; then
11285                             wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11286                           else
11287                             wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11288                           fi
11289
11290 else
11291
11292                           wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11293
11294 fi
11295
11296
11297           eval "$wx_cv_use_bannerwindow"
11298
11299           if test x"$enablestring" = xdisable; then
11300             if test $wxUSE_BANNERWINDOW = no; then
11301               result=yes
11302             else
11303               result=no
11304             fi
11305           else
11306             result=$wxUSE_BANNERWINDOW
11307           fi
11308
11309           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11310 $as_echo "$result" >&6; }
11311
11312
11313           enablestring=
11314           defaultval=$wxUSE_ALL_FEATURES
11315           if test -z "$defaultval"; then
11316               if test x"$enablestring" = xdisable; then
11317                   defaultval=yes
11318               else
11319                   defaultval=no
11320               fi
11321           fi
11322
11323           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11324 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11325           # Check whether --enable-artstd was given.
11326 if test "${enable_artstd+set}" = set; then :
11327   enableval=$enable_artstd;
11328                           if test "$enableval" = yes; then
11329                             wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11330                           else
11331                             wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11332                           fi
11333
11334 else
11335
11336                           wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11337
11338 fi
11339
11340
11341           eval "$wx_cv_use_artstd"
11342
11343           if test x"$enablestring" = xdisable; then
11344             if test $wxUSE_ARTPROVIDER_STD = no; then
11345               result=yes
11346             else
11347               result=no
11348             fi
11349           else
11350             result=$wxUSE_ARTPROVIDER_STD
11351           fi
11352
11353           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11354 $as_echo "$result" >&6; }
11355
11356
11357           enablestring=
11358           defaultval=$wxUSE_ALL_FEATURES
11359           if test -z "$defaultval"; then
11360               if test x"$enablestring" = xdisable; then
11361                   defaultval=yes
11362               else
11363                   defaultval=no
11364               fi
11365           fi
11366
11367           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11368 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11369           # Check whether --enable-arttango was given.
11370 if test "${enable_arttango+set}" = set; then :
11371   enableval=$enable_arttango;
11372                           if test "$enableval" = yes; then
11373                             wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11374                           else
11375                             wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11376                           fi
11377
11378 else
11379
11380                           wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11381
11382 fi
11383
11384
11385           eval "$wx_cv_use_arttango"
11386
11387           if test x"$enablestring" = xdisable; then
11388             if test $wxUSE_ARTPROVIDER_TANGO = no; then
11389               result=yes
11390             else
11391               result=no
11392             fi
11393           else
11394             result=$wxUSE_ARTPROVIDER_TANGO
11395           fi
11396
11397           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11398 $as_echo "$result" >&6; }
11399
11400
11401           enablestring=
11402           defaultval=$wxUSE_ALL_FEATURES
11403           if test -z "$defaultval"; then
11404               if test x"$enablestring" = xdisable; then
11405                   defaultval=yes
11406               else
11407                   defaultval=no
11408               fi
11409           fi
11410
11411           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11412 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11413           # Check whether --enable-bmpbutton was given.
11414 if test "${enable_bmpbutton+set}" = set; then :
11415   enableval=$enable_bmpbutton;
11416                           if test "$enableval" = yes; then
11417                             wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11418                           else
11419                             wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11420                           fi
11421
11422 else
11423
11424                           wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11425
11426 fi
11427
11428
11429           eval "$wx_cv_use_bmpbutton"
11430
11431           if test x"$enablestring" = xdisable; then
11432             if test $wxUSE_BMPBUTTON = no; then
11433               result=yes
11434             else
11435               result=no
11436             fi
11437           else
11438             result=$wxUSE_BMPBUTTON
11439           fi
11440
11441           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11442 $as_echo "$result" >&6; }
11443
11444
11445           enablestring=
11446           defaultval=$wxUSE_ALL_FEATURES
11447           if test -z "$defaultval"; then
11448               if test x"$enablestring" = xdisable; then
11449                   defaultval=yes
11450               else
11451                   defaultval=no
11452               fi
11453           fi
11454
11455           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11456 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11457           # Check whether --enable-bmpcombobox was given.
11458 if test "${enable_bmpcombobox+set}" = set; then :
11459   enableval=$enable_bmpcombobox;
11460                           if test "$enableval" = yes; then
11461                             wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11462                           else
11463                             wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11464                           fi
11465
11466 else
11467
11468                           wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11469
11470 fi
11471
11472
11473           eval "$wx_cv_use_bmpcombobox"
11474
11475           if test x"$enablestring" = xdisable; then
11476             if test $wxUSE_BITMAPCOMBOBOX = no; then
11477               result=yes
11478             else
11479               result=no
11480             fi
11481           else
11482             result=$wxUSE_BITMAPCOMBOBOX
11483           fi
11484
11485           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11486 $as_echo "$result" >&6; }
11487
11488
11489           enablestring=
11490           defaultval=$wxUSE_ALL_FEATURES
11491           if test -z "$defaultval"; then
11492               if test x"$enablestring" = xdisable; then
11493                   defaultval=yes
11494               else
11495                   defaultval=no
11496               fi
11497           fi
11498
11499           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11500 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11501           # Check whether --enable-button was given.
11502 if test "${enable_button+set}" = set; then :
11503   enableval=$enable_button;
11504                           if test "$enableval" = yes; then
11505                             wx_cv_use_button='wxUSE_BUTTON=yes'
11506                           else
11507                             wx_cv_use_button='wxUSE_BUTTON=no'
11508                           fi
11509
11510 else
11511
11512                           wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11513
11514 fi
11515
11516
11517           eval "$wx_cv_use_button"
11518
11519           if test x"$enablestring" = xdisable; then
11520             if test $wxUSE_BUTTON = no; then
11521               result=yes
11522             else
11523               result=no
11524             fi
11525           else
11526             result=$wxUSE_BUTTON
11527           fi
11528
11529           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11530 $as_echo "$result" >&6; }
11531
11532
11533           enablestring=
11534           defaultval=$wxUSE_ALL_FEATURES
11535           if test -z "$defaultval"; then
11536               if test x"$enablestring" = xdisable; then
11537                   defaultval=yes
11538               else
11539                   defaultval=no
11540               fi
11541           fi
11542
11543           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11544 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11545           # Check whether --enable-calendar was given.
11546 if test "${enable_calendar+set}" = set; then :
11547   enableval=$enable_calendar;
11548                           if test "$enableval" = yes; then
11549                             wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11550                           else
11551                             wx_cv_use_calendar='wxUSE_CALCTRL=no'
11552                           fi
11553
11554 else
11555
11556                           wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11557
11558 fi
11559
11560
11561           eval "$wx_cv_use_calendar"
11562
11563           if test x"$enablestring" = xdisable; then
11564             if test $wxUSE_CALCTRL = no; then
11565               result=yes
11566             else
11567               result=no
11568             fi
11569           else
11570             result=$wxUSE_CALCTRL
11571           fi
11572
11573           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11574 $as_echo "$result" >&6; }
11575
11576
11577           enablestring=
11578           defaultval=$wxUSE_ALL_FEATURES
11579           if test -z "$defaultval"; then
11580               if test x"$enablestring" = xdisable; then
11581                   defaultval=yes
11582               else
11583                   defaultval=no
11584               fi
11585           fi
11586
11587           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11588 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11589           # Check whether --enable-caret was given.
11590 if test "${enable_caret+set}" = set; then :
11591   enableval=$enable_caret;
11592                           if test "$enableval" = yes; then
11593                             wx_cv_use_caret='wxUSE_CARET=yes'
11594                           else
11595                             wx_cv_use_caret='wxUSE_CARET=no'
11596                           fi
11597
11598 else
11599
11600                           wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11601
11602 fi
11603
11604
11605           eval "$wx_cv_use_caret"
11606
11607           if test x"$enablestring" = xdisable; then
11608             if test $wxUSE_CARET = no; then
11609               result=yes
11610             else
11611               result=no
11612             fi
11613           else
11614             result=$wxUSE_CARET
11615           fi
11616
11617           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11618 $as_echo "$result" >&6; }
11619
11620
11621           enablestring=
11622           defaultval=$wxUSE_ALL_FEATURES
11623           if test -z "$defaultval"; then
11624               if test x"$enablestring" = xdisable; then
11625                   defaultval=yes
11626               else
11627                   defaultval=no
11628               fi
11629           fi
11630
11631           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11632 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11633           # Check whether --enable-checkbox was given.
11634 if test "${enable_checkbox+set}" = set; then :
11635   enableval=$enable_checkbox;
11636                           if test "$enableval" = yes; then
11637                             wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11638                           else
11639                             wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11640                           fi
11641
11642 else
11643
11644                           wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11645
11646 fi
11647
11648
11649           eval "$wx_cv_use_checkbox"
11650
11651           if test x"$enablestring" = xdisable; then
11652             if test $wxUSE_CHECKBOX = no; then
11653               result=yes
11654             else
11655               result=no
11656             fi
11657           else
11658             result=$wxUSE_CHECKBOX
11659           fi
11660
11661           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11662 $as_echo "$result" >&6; }
11663
11664
11665           enablestring=
11666           defaultval=$wxUSE_ALL_FEATURES
11667           if test -z "$defaultval"; then
11668               if test x"$enablestring" = xdisable; then
11669                   defaultval=yes
11670               else
11671                   defaultval=no
11672               fi
11673           fi
11674
11675           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11676 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11677           # Check whether --enable-checklst was given.
11678 if test "${enable_checklst+set}" = set; then :
11679   enableval=$enable_checklst;
11680                           if test "$enableval" = yes; then
11681                             wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11682                           else
11683                             wx_cv_use_checklst='wxUSE_CHECKLST=no'
11684                           fi
11685
11686 else
11687
11688                           wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11689
11690 fi
11691
11692
11693           eval "$wx_cv_use_checklst"
11694
11695           if test x"$enablestring" = xdisable; then
11696             if test $wxUSE_CHECKLST = no; then
11697               result=yes
11698             else
11699               result=no
11700             fi
11701           else
11702             result=$wxUSE_CHECKLST
11703           fi
11704
11705           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11706 $as_echo "$result" >&6; }
11707
11708
11709           enablestring=
11710           defaultval=$wxUSE_ALL_FEATURES
11711           if test -z "$defaultval"; then
11712               if test x"$enablestring" = xdisable; then
11713                   defaultval=yes
11714               else
11715                   defaultval=no
11716               fi
11717           fi
11718
11719           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11720 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11721           # Check whether --enable-choice was given.
11722 if test "${enable_choice+set}" = set; then :
11723   enableval=$enable_choice;
11724                           if test "$enableval" = yes; then
11725                             wx_cv_use_choice='wxUSE_CHOICE=yes'
11726                           else
11727                             wx_cv_use_choice='wxUSE_CHOICE=no'
11728                           fi
11729
11730 else
11731
11732                           wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11733
11734 fi
11735
11736
11737           eval "$wx_cv_use_choice"
11738
11739           if test x"$enablestring" = xdisable; then
11740             if test $wxUSE_CHOICE = no; then
11741               result=yes
11742             else
11743               result=no
11744             fi
11745           else
11746             result=$wxUSE_CHOICE
11747           fi
11748
11749           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11750 $as_echo "$result" >&6; }
11751
11752
11753           enablestring=
11754           defaultval=$wxUSE_ALL_FEATURES
11755           if test -z "$defaultval"; then
11756               if test x"$enablestring" = xdisable; then
11757                   defaultval=yes
11758               else
11759                   defaultval=no
11760               fi
11761           fi
11762
11763           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11764 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11765           # Check whether --enable-choicebook was given.
11766 if test "${enable_choicebook+set}" = set; then :
11767   enableval=$enable_choicebook;
11768                           if test "$enableval" = yes; then
11769                             wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11770                           else
11771                             wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11772                           fi
11773
11774 else
11775
11776                           wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11777
11778 fi
11779
11780
11781           eval "$wx_cv_use_choicebook"
11782
11783           if test x"$enablestring" = xdisable; then
11784             if test $wxUSE_CHOICEBOOK = no; then
11785               result=yes
11786             else
11787               result=no
11788             fi
11789           else
11790             result=$wxUSE_CHOICEBOOK
11791           fi
11792
11793           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11794 $as_echo "$result" >&6; }
11795
11796
11797           enablestring=
11798           defaultval=$wxUSE_ALL_FEATURES
11799           if test -z "$defaultval"; then
11800               if test x"$enablestring" = xdisable; then
11801                   defaultval=yes
11802               else
11803                   defaultval=no
11804               fi
11805           fi
11806
11807           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11808 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11809           # Check whether --enable-collpane was given.
11810 if test "${enable_collpane+set}" = set; then :
11811   enableval=$enable_collpane;
11812                           if test "$enableval" = yes; then
11813                             wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11814                           else
11815                             wx_cv_use_collpane='wxUSE_COLLPANE=no'
11816                           fi
11817
11818 else
11819
11820                           wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11821
11822 fi
11823
11824
11825           eval "$wx_cv_use_collpane"
11826
11827           if test x"$enablestring" = xdisable; then
11828             if test $wxUSE_COLLPANE = no; then
11829               result=yes
11830             else
11831               result=no
11832             fi
11833           else
11834             result=$wxUSE_COLLPANE
11835           fi
11836
11837           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11838 $as_echo "$result" >&6; }
11839
11840
11841           enablestring=
11842           defaultval=$wxUSE_ALL_FEATURES
11843           if test -z "$defaultval"; then
11844               if test x"$enablestring" = xdisable; then
11845                   defaultval=yes
11846               else
11847                   defaultval=no
11848               fi
11849           fi
11850
11851           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11852 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11853           # Check whether --enable-colourpicker was given.
11854 if test "${enable_colourpicker+set}" = set; then :
11855   enableval=$enable_colourpicker;
11856                           if test "$enableval" = yes; then
11857                             wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11858                           else
11859                             wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11860                           fi
11861
11862 else
11863
11864                           wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11865
11866 fi
11867
11868
11869           eval "$wx_cv_use_colourpicker"
11870
11871           if test x"$enablestring" = xdisable; then
11872             if test $wxUSE_COLOURPICKERCTRL = no; then
11873               result=yes
11874             else
11875               result=no
11876             fi
11877           else
11878             result=$wxUSE_COLOURPICKERCTRL
11879           fi
11880
11881           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11882 $as_echo "$result" >&6; }
11883
11884
11885           enablestring=
11886           defaultval=$wxUSE_ALL_FEATURES
11887           if test -z "$defaultval"; then
11888               if test x"$enablestring" = xdisable; then
11889                   defaultval=yes
11890               else
11891                   defaultval=no
11892               fi
11893           fi
11894
11895           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11896 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11897           # Check whether --enable-combobox was given.
11898 if test "${enable_combobox+set}" = set; then :
11899   enableval=$enable_combobox;
11900                           if test "$enableval" = yes; then
11901                             wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11902                           else
11903                             wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11904                           fi
11905
11906 else
11907
11908                           wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11909
11910 fi
11911
11912
11913           eval "$wx_cv_use_combobox"
11914
11915           if test x"$enablestring" = xdisable; then
11916             if test $wxUSE_COMBOBOX = no; then
11917               result=yes
11918             else
11919               result=no
11920             fi
11921           else
11922             result=$wxUSE_COMBOBOX
11923           fi
11924
11925           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11926 $as_echo "$result" >&6; }
11927
11928
11929           enablestring=
11930           defaultval=$wxUSE_ALL_FEATURES
11931           if test -z "$defaultval"; then
11932               if test x"$enablestring" = xdisable; then
11933                   defaultval=yes
11934               else
11935                   defaultval=no
11936               fi
11937           fi
11938
11939           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11940 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11941           # Check whether --enable-comboctrl was given.
11942 if test "${enable_comboctrl+set}" = set; then :
11943   enableval=$enable_comboctrl;
11944                           if test "$enableval" = yes; then
11945                             wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11946                           else
11947                             wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11948                           fi
11949
11950 else
11951
11952                           wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11953
11954 fi
11955
11956
11957           eval "$wx_cv_use_comboctrl"
11958
11959           if test x"$enablestring" = xdisable; then
11960             if test $wxUSE_COMBOCTRL = no; then
11961               result=yes
11962             else
11963               result=no
11964             fi
11965           else
11966             result=$wxUSE_COMBOCTRL
11967           fi
11968
11969           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11970 $as_echo "$result" >&6; }
11971
11972
11973           enablestring=
11974           defaultval=$wxUSE_ALL_FEATURES
11975           if test -z "$defaultval"; then
11976               if test x"$enablestring" = xdisable; then
11977                   defaultval=yes
11978               else
11979                   defaultval=no
11980               fi
11981           fi
11982
11983           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
11984 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
11985           # Check whether --enable-commandlinkbutton was given.
11986 if test "${enable_commandlinkbutton+set}" = set; then :
11987   enableval=$enable_commandlinkbutton;
11988                           if test "$enableval" = yes; then
11989                             wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11990                           else
11991                             wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11992                           fi
11993
11994 else
11995
11996                           wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11997
11998 fi
11999
12000
12001           eval "$wx_cv_use_commandlinkbutton"
12002
12003           if test x"$enablestring" = xdisable; then
12004             if test $wxUSE_COMMANDLINKBUTTON = no; then
12005               result=yes
12006             else
12007               result=no
12008             fi
12009           else
12010             result=$wxUSE_COMMANDLINKBUTTON
12011           fi
12012
12013           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12014 $as_echo "$result" >&6; }
12015
12016
12017           enablestring=
12018           defaultval=$wxUSE_ALL_FEATURES
12019           if test -z "$defaultval"; then
12020               if test x"$enablestring" = xdisable; then
12021                   defaultval=yes
12022               else
12023                   defaultval=no
12024               fi
12025           fi
12026
12027           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
12028 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
12029           # Check whether --enable-dataviewctrl was given.
12030 if test "${enable_dataviewctrl+set}" = set; then :
12031   enableval=$enable_dataviewctrl;
12032                           if test "$enableval" = yes; then
12033                             wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12034                           else
12035                             wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12036                           fi
12037
12038 else
12039
12040                           wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12041
12042 fi
12043
12044
12045           eval "$wx_cv_use_dataviewctrl"
12046
12047           if test x"$enablestring" = xdisable; then
12048             if test $wxUSE_DATAVIEWCTRL = no; then
12049               result=yes
12050             else
12051               result=no
12052             fi
12053           else
12054             result=$wxUSE_DATAVIEWCTRL
12055           fi
12056
12057           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12058 $as_echo "$result" >&6; }
12059
12060
12061           enablestring=
12062           defaultval=$wxUSE_ALL_FEATURES
12063           if test -z "$defaultval"; then
12064               if test x"$enablestring" = xdisable; then
12065                   defaultval=yes
12066               else
12067                   defaultval=no
12068               fi
12069           fi
12070
12071           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
12072 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
12073           # Check whether --enable-datepick was given.
12074 if test "${enable_datepick+set}" = set; then :
12075   enableval=$enable_datepick;
12076                           if test "$enableval" = yes; then
12077                             wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
12078                           else
12079                             wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
12080                           fi
12081
12082 else
12083
12084                           wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12085
12086 fi
12087
12088
12089           eval "$wx_cv_use_datepick"
12090
12091           if test x"$enablestring" = xdisable; then
12092             if test $wxUSE_DATEPICKCTRL = no; then
12093               result=yes
12094             else
12095               result=no
12096             fi
12097           else
12098             result=$wxUSE_DATEPICKCTRL
12099           fi
12100
12101           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12102 $as_echo "$result" >&6; }
12103
12104
12105           enablestring=
12106           defaultval=$wxUSE_ALL_FEATURES
12107           if test -z "$defaultval"; then
12108               if test x"$enablestring" = xdisable; then
12109                   defaultval=yes
12110               else
12111                   defaultval=no
12112               fi
12113           fi
12114
12115           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12116 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12117           # Check whether --enable-detect_sm was given.
12118 if test "${enable_detect_sm+set}" = set; then :
12119   enableval=$enable_detect_sm;
12120                           if test "$enableval" = yes; then
12121                             wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12122                           else
12123                             wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12124                           fi
12125
12126 else
12127
12128                           wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12129
12130 fi
12131
12132
12133           eval "$wx_cv_use_detect_sm"
12134
12135           if test x"$enablestring" = xdisable; then
12136             if test $wxUSE_DETECT_SM = no; then
12137               result=yes
12138             else
12139               result=no
12140             fi
12141           else
12142             result=$wxUSE_DETECT_SM
12143           fi
12144
12145           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12146 $as_echo "$result" >&6; }
12147
12148
12149           enablestring=
12150           defaultval=$wxUSE_ALL_FEATURES
12151           if test -z "$defaultval"; then
12152               if test x"$enablestring" = xdisable; then
12153                   defaultval=yes
12154               else
12155                   defaultval=no
12156               fi
12157           fi
12158
12159           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12160 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12161           # Check whether --enable-dirpicker was given.
12162 if test "${enable_dirpicker+set}" = set; then :
12163   enableval=$enable_dirpicker;
12164                           if test "$enableval" = yes; then
12165                             wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12166                           else
12167                             wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12168                           fi
12169
12170 else
12171
12172                           wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12173
12174 fi
12175
12176
12177           eval "$wx_cv_use_dirpicker"
12178
12179           if test x"$enablestring" = xdisable; then
12180             if test $wxUSE_DIRPICKERCTRL = no; then
12181               result=yes
12182             else
12183               result=no
12184             fi
12185           else
12186             result=$wxUSE_DIRPICKERCTRL
12187           fi
12188
12189           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12190 $as_echo "$result" >&6; }
12191
12192
12193           enablestring=
12194           defaultval=$wxUSE_ALL_FEATURES
12195           if test -z "$defaultval"; then
12196               if test x"$enablestring" = xdisable; then
12197                   defaultval=yes
12198               else
12199                   defaultval=no
12200               fi
12201           fi
12202
12203           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12204 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12205           # Check whether --enable-display was given.
12206 if test "${enable_display+set}" = set; then :
12207   enableval=$enable_display;
12208                           if test "$enableval" = yes; then
12209                             wx_cv_use_display='wxUSE_DISPLAY=yes'
12210                           else
12211                             wx_cv_use_display='wxUSE_DISPLAY=no'
12212                           fi
12213
12214 else
12215
12216                           wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12217
12218 fi
12219
12220
12221           eval "$wx_cv_use_display"
12222
12223           if test x"$enablestring" = xdisable; then
12224             if test $wxUSE_DISPLAY = no; then
12225               result=yes
12226             else
12227               result=no
12228             fi
12229           else
12230             result=$wxUSE_DISPLAY
12231           fi
12232
12233           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12234 $as_echo "$result" >&6; }
12235
12236
12237           enablestring=
12238           defaultval=$wxUSE_ALL_FEATURES
12239           if test -z "$defaultval"; then
12240               if test x"$enablestring" = xdisable; then
12241                   defaultval=yes
12242               else
12243                   defaultval=no
12244               fi
12245           fi
12246
12247           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12248 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12249           # Check whether --enable-editablebox was given.
12250 if test "${enable_editablebox+set}" = set; then :
12251   enableval=$enable_editablebox;
12252                           if test "$enableval" = yes; then
12253                             wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12254                           else
12255                             wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12256                           fi
12257
12258 else
12259
12260                           wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12261
12262 fi
12263
12264
12265           eval "$wx_cv_use_editablebox"
12266
12267           if test x"$enablestring" = xdisable; then
12268             if test $wxUSE_EDITABLELISTBOX = no; then
12269               result=yes
12270             else
12271               result=no
12272             fi
12273           else
12274             result=$wxUSE_EDITABLELISTBOX
12275           fi
12276
12277           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12278 $as_echo "$result" >&6; }
12279
12280
12281           enablestring=
12282           defaultval=$wxUSE_ALL_FEATURES
12283           if test -z "$defaultval"; then
12284               if test x"$enablestring" = xdisable; then
12285                   defaultval=yes
12286               else
12287                   defaultval=no
12288               fi
12289           fi
12290
12291           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12292 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12293           # Check whether --enable-filectrl was given.
12294 if test "${enable_filectrl+set}" = set; then :
12295   enableval=$enable_filectrl;
12296                           if test "$enableval" = yes; then
12297                             wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12298                           else
12299                             wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12300                           fi
12301
12302 else
12303
12304                           wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12305
12306 fi
12307
12308
12309           eval "$wx_cv_use_filectrl"
12310
12311           if test x"$enablestring" = xdisable; then
12312             if test $wxUSE_FILECTRL = no; then
12313               result=yes
12314             else
12315               result=no
12316             fi
12317           else
12318             result=$wxUSE_FILECTRL
12319           fi
12320
12321           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12322 $as_echo "$result" >&6; }
12323
12324
12325           enablestring=
12326           defaultval=$wxUSE_ALL_FEATURES
12327           if test -z "$defaultval"; then
12328               if test x"$enablestring" = xdisable; then
12329                   defaultval=yes
12330               else
12331                   defaultval=no
12332               fi
12333           fi
12334
12335           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12336 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12337           # Check whether --enable-filepicker was given.
12338 if test "${enable_filepicker+set}" = set; then :
12339   enableval=$enable_filepicker;
12340                           if test "$enableval" = yes; then
12341                             wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12342                           else
12343                             wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12344                           fi
12345
12346 else
12347
12348                           wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12349
12350 fi
12351
12352
12353           eval "$wx_cv_use_filepicker"
12354
12355           if test x"$enablestring" = xdisable; then
12356             if test $wxUSE_FILEPICKERCTRL = no; then
12357               result=yes
12358             else
12359               result=no
12360             fi
12361           else
12362             result=$wxUSE_FILEPICKERCTRL
12363           fi
12364
12365           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12366 $as_echo "$result" >&6; }
12367
12368
12369           enablestring=
12370           defaultval=$wxUSE_ALL_FEATURES
12371           if test -z "$defaultval"; then
12372               if test x"$enablestring" = xdisable; then
12373                   defaultval=yes
12374               else
12375                   defaultval=no
12376               fi
12377           fi
12378
12379           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12380 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12381           # Check whether --enable-fontpicker was given.
12382 if test "${enable_fontpicker+set}" = set; then :
12383   enableval=$enable_fontpicker;
12384                           if test "$enableval" = yes; then
12385                             wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12386                           else
12387                             wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12388                           fi
12389
12390 else
12391
12392                           wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12393
12394 fi
12395
12396
12397           eval "$wx_cv_use_fontpicker"
12398
12399           if test x"$enablestring" = xdisable; then
12400             if test $wxUSE_FONTPICKERCTRL = no; then
12401               result=yes
12402             else
12403               result=no
12404             fi
12405           else
12406             result=$wxUSE_FONTPICKERCTRL
12407           fi
12408
12409           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12410 $as_echo "$result" >&6; }
12411
12412
12413           enablestring=
12414           defaultval=$wxUSE_ALL_FEATURES
12415           if test -z "$defaultval"; then
12416               if test x"$enablestring" = xdisable; then
12417                   defaultval=yes
12418               else
12419                   defaultval=no
12420               fi
12421           fi
12422
12423           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12424 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12425           # Check whether --enable-gauge was given.
12426 if test "${enable_gauge+set}" = set; then :
12427   enableval=$enable_gauge;
12428                           if test "$enableval" = yes; then
12429                             wx_cv_use_gauge='wxUSE_GAUGE=yes'
12430                           else
12431                             wx_cv_use_gauge='wxUSE_GAUGE=no'
12432                           fi
12433
12434 else
12435
12436                           wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12437
12438 fi
12439
12440
12441           eval "$wx_cv_use_gauge"
12442
12443           if test x"$enablestring" = xdisable; then
12444             if test $wxUSE_GAUGE = no; then
12445               result=yes
12446             else
12447               result=no
12448             fi
12449           else
12450             result=$wxUSE_GAUGE
12451           fi
12452
12453           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12454 $as_echo "$result" >&6; }
12455
12456
12457           enablestring=
12458           defaultval=$wxUSE_ALL_FEATURES
12459           if test -z "$defaultval"; then
12460               if test x"$enablestring" = xdisable; then
12461                   defaultval=yes
12462               else
12463                   defaultval=no
12464               fi
12465           fi
12466
12467           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12468 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12469           # Check whether --enable-grid was given.
12470 if test "${enable_grid+set}" = set; then :
12471   enableval=$enable_grid;
12472                           if test "$enableval" = yes; then
12473                             wx_cv_use_grid='wxUSE_GRID=yes'
12474                           else
12475                             wx_cv_use_grid='wxUSE_GRID=no'
12476                           fi
12477
12478 else
12479
12480                           wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12481
12482 fi
12483
12484
12485           eval "$wx_cv_use_grid"
12486
12487           if test x"$enablestring" = xdisable; then
12488             if test $wxUSE_GRID = no; then
12489               result=yes
12490             else
12491               result=no
12492             fi
12493           else
12494             result=$wxUSE_GRID
12495           fi
12496
12497           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12498 $as_echo "$result" >&6; }
12499
12500
12501           enablestring=
12502           defaultval=$wxUSE_ALL_FEATURES
12503           if test -z "$defaultval"; then
12504               if test x"$enablestring" = xdisable; then
12505                   defaultval=yes
12506               else
12507                   defaultval=no
12508               fi
12509           fi
12510
12511           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12512 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12513           # Check whether --enable-headerctrl was given.
12514 if test "${enable_headerctrl+set}" = set; then :
12515   enableval=$enable_headerctrl;
12516                           if test "$enableval" = yes; then
12517                             wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12518                           else
12519                             wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12520                           fi
12521
12522 else
12523
12524                           wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12525
12526 fi
12527
12528
12529           eval "$wx_cv_use_headerctrl"
12530
12531           if test x"$enablestring" = xdisable; then
12532             if test $wxUSE_HEADERCTRL = no; then
12533               result=yes
12534             else
12535               result=no
12536             fi
12537           else
12538             result=$wxUSE_HEADERCTRL
12539           fi
12540
12541           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12542 $as_echo "$result" >&6; }
12543
12544
12545           enablestring=
12546           defaultval=$wxUSE_ALL_FEATURES
12547           if test -z "$defaultval"; then
12548               if test x"$enablestring" = xdisable; then
12549                   defaultval=yes
12550               else
12551                   defaultval=no
12552               fi
12553           fi
12554
12555           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12556 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12557           # Check whether --enable-hyperlink was given.
12558 if test "${enable_hyperlink+set}" = set; then :
12559   enableval=$enable_hyperlink;
12560                           if test "$enableval" = yes; then
12561                             wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12562                           else
12563                             wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12564                           fi
12565
12566 else
12567
12568                           wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12569
12570 fi
12571
12572
12573           eval "$wx_cv_use_hyperlink"
12574
12575           if test x"$enablestring" = xdisable; then
12576             if test $wxUSE_HYPERLINKCTRL = no; then
12577               result=yes
12578             else
12579               result=no
12580             fi
12581           else
12582             result=$wxUSE_HYPERLINKCTRL
12583           fi
12584
12585           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12586 $as_echo "$result" >&6; }
12587
12588
12589           enablestring=
12590           defaultval=$wxUSE_ALL_FEATURES
12591           if test -z "$defaultval"; then
12592               if test x"$enablestring" = xdisable; then
12593                   defaultval=yes
12594               else
12595                   defaultval=no
12596               fi
12597           fi
12598
12599           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12600 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12601           # Check whether --enable-imaglist was given.
12602 if test "${enable_imaglist+set}" = set; then :
12603   enableval=$enable_imaglist;
12604                           if test "$enableval" = yes; then
12605                             wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12606                           else
12607                             wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12608                           fi
12609
12610 else
12611
12612                           wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12613
12614 fi
12615
12616
12617           eval "$wx_cv_use_imaglist"
12618
12619           if test x"$enablestring" = xdisable; then
12620             if test $wxUSE_IMAGLIST = no; then
12621               result=yes
12622             else
12623               result=no
12624             fi
12625           else
12626             result=$wxUSE_IMAGLIST
12627           fi
12628
12629           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12630 $as_echo "$result" >&6; }
12631
12632
12633           enablestring=
12634           defaultval=$wxUSE_ALL_FEATURES
12635           if test -z "$defaultval"; then
12636               if test x"$enablestring" = xdisable; then
12637                   defaultval=yes
12638               else
12639                   defaultval=no
12640               fi
12641           fi
12642
12643           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12644 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12645           # Check whether --enable-infobar was given.
12646 if test "${enable_infobar+set}" = set; then :
12647   enableval=$enable_infobar;
12648                           if test "$enableval" = yes; then
12649                             wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12650                           else
12651                             wx_cv_use_infobar='wxUSE_INFOBAR=no'
12652                           fi
12653
12654 else
12655
12656                           wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12657
12658 fi
12659
12660
12661           eval "$wx_cv_use_infobar"
12662
12663           if test x"$enablestring" = xdisable; then
12664             if test $wxUSE_INFOBAR = no; then
12665               result=yes
12666             else
12667               result=no
12668             fi
12669           else
12670             result=$wxUSE_INFOBAR
12671           fi
12672
12673           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12674 $as_echo "$result" >&6; }
12675
12676
12677           enablestring=
12678           defaultval=$wxUSE_ALL_FEATURES
12679           if test -z "$defaultval"; then
12680               if test x"$enablestring" = xdisable; then
12681                   defaultval=yes
12682               else
12683                   defaultval=no
12684               fi
12685           fi
12686
12687           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12688 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12689           # Check whether --enable-listbook was given.
12690 if test "${enable_listbook+set}" = set; then :
12691   enableval=$enable_listbook;
12692                           if test "$enableval" = yes; then
12693                             wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12694                           else
12695                             wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12696                           fi
12697
12698 else
12699
12700                           wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12701
12702 fi
12703
12704
12705           eval "$wx_cv_use_listbook"
12706
12707           if test x"$enablestring" = xdisable; then
12708             if test $wxUSE_LISTBOOK = no; then
12709               result=yes
12710             else
12711               result=no
12712             fi
12713           else
12714             result=$wxUSE_LISTBOOK
12715           fi
12716
12717           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12718 $as_echo "$result" >&6; }
12719
12720
12721           enablestring=
12722           defaultval=$wxUSE_ALL_FEATURES
12723           if test -z "$defaultval"; then
12724               if test x"$enablestring" = xdisable; then
12725                   defaultval=yes
12726               else
12727                   defaultval=no
12728               fi
12729           fi
12730
12731           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12732 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12733           # Check whether --enable-listbox was given.
12734 if test "${enable_listbox+set}" = set; then :
12735   enableval=$enable_listbox;
12736                           if test "$enableval" = yes; then
12737                             wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12738                           else
12739                             wx_cv_use_listbox='wxUSE_LISTBOX=no'
12740                           fi
12741
12742 else
12743
12744                           wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12745
12746 fi
12747
12748
12749           eval "$wx_cv_use_listbox"
12750
12751           if test x"$enablestring" = xdisable; then
12752             if test $wxUSE_LISTBOX = no; then
12753               result=yes
12754             else
12755               result=no
12756             fi
12757           else
12758             result=$wxUSE_LISTBOX
12759           fi
12760
12761           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12762 $as_echo "$result" >&6; }
12763
12764
12765           enablestring=
12766           defaultval=$wxUSE_ALL_FEATURES
12767           if test -z "$defaultval"; then
12768               if test x"$enablestring" = xdisable; then
12769                   defaultval=yes
12770               else
12771                   defaultval=no
12772               fi
12773           fi
12774
12775           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12776 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12777           # Check whether --enable-listctrl was given.
12778 if test "${enable_listctrl+set}" = set; then :
12779   enableval=$enable_listctrl;
12780                           if test "$enableval" = yes; then
12781                             wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12782                           else
12783                             wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12784                           fi
12785
12786 else
12787
12788                           wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12789
12790 fi
12791
12792
12793           eval "$wx_cv_use_listctrl"
12794
12795           if test x"$enablestring" = xdisable; then
12796             if test $wxUSE_LISTCTRL = no; then
12797               result=yes
12798             else
12799               result=no
12800             fi
12801           else
12802             result=$wxUSE_LISTCTRL
12803           fi
12804
12805           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12806 $as_echo "$result" >&6; }
12807
12808
12809           enablestring=
12810           defaultval=$wxUSE_ALL_FEATURES
12811           if test -z "$defaultval"; then
12812               if test x"$enablestring" = xdisable; then
12813                   defaultval=yes
12814               else
12815                   defaultval=no
12816               fi
12817           fi
12818
12819           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12820 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12821           # Check whether --enable-notebook was given.
12822 if test "${enable_notebook+set}" = set; then :
12823   enableval=$enable_notebook;
12824                           if test "$enableval" = yes; then
12825                             wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12826                           else
12827                             wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12828                           fi
12829
12830 else
12831
12832                           wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12833
12834 fi
12835
12836
12837           eval "$wx_cv_use_notebook"
12838
12839           if test x"$enablestring" = xdisable; then
12840             if test $wxUSE_NOTEBOOK = no; then
12841               result=yes
12842             else
12843               result=no
12844             fi
12845           else
12846             result=$wxUSE_NOTEBOOK
12847           fi
12848
12849           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12850 $as_echo "$result" >&6; }
12851
12852
12853           enablestring=
12854           defaultval=$wxUSE_ALL_FEATURES
12855           if test -z "$defaultval"; then
12856               if test x"$enablestring" = xdisable; then
12857                   defaultval=yes
12858               else
12859                   defaultval=no
12860               fi
12861           fi
12862
12863           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12864 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12865           # Check whether --enable-notifmsg was given.
12866 if test "${enable_notifmsg+set}" = set; then :
12867   enableval=$enable_notifmsg;
12868                           if test "$enableval" = yes; then
12869                             wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12870                           else
12871                             wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12872                           fi
12873
12874 else
12875
12876                           wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12877
12878 fi
12879
12880
12881           eval "$wx_cv_use_notifmsg"
12882
12883           if test x"$enablestring" = xdisable; then
12884             if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12885               result=yes
12886             else
12887               result=no
12888             fi
12889           else
12890             result=$wxUSE_NOTIFICATION_MESSAGE
12891           fi
12892
12893           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12894 $as_echo "$result" >&6; }
12895
12896
12897           enablestring=
12898           defaultval=$wxUSE_ALL_FEATURES
12899           if test -z "$defaultval"; then
12900               if test x"$enablestring" = xdisable; then
12901                   defaultval=yes
12902               else
12903                   defaultval=no
12904               fi
12905           fi
12906
12907           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12908 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12909           # Check whether --enable-odcombobox was given.
12910 if test "${enable_odcombobox+set}" = set; then :
12911   enableval=$enable_odcombobox;
12912                           if test "$enableval" = yes; then
12913                             wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12914                           else
12915                             wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12916                           fi
12917
12918 else
12919
12920                           wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12921
12922 fi
12923
12924
12925           eval "$wx_cv_use_odcombobox"
12926
12927           if test x"$enablestring" = xdisable; then
12928             if test $wxUSE_ODCOMBOBOX = no; then
12929               result=yes
12930             else
12931               result=no
12932             fi
12933           else
12934             result=$wxUSE_ODCOMBOBOX
12935           fi
12936
12937           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12938 $as_echo "$result" >&6; }
12939
12940
12941           enablestring=
12942           defaultval=$wxUSE_ALL_FEATURES
12943           if test -z "$defaultval"; then
12944               if test x"$enablestring" = xdisable; then
12945                   defaultval=yes
12946               else
12947                   defaultval=no
12948               fi
12949           fi
12950
12951           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12952 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12953           # Check whether --enable-popupwin was given.
12954 if test "${enable_popupwin+set}" = set; then :
12955   enableval=$enable_popupwin;
12956                           if test "$enableval" = yes; then
12957                             wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12958                           else
12959                             wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12960                           fi
12961
12962 else
12963
12964                           wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12965
12966 fi
12967
12968
12969           eval "$wx_cv_use_popupwin"
12970
12971           if test x"$enablestring" = xdisable; then
12972             if test $wxUSE_POPUPWIN = no; then
12973               result=yes
12974             else
12975               result=no
12976             fi
12977           else
12978             result=$wxUSE_POPUPWIN
12979           fi
12980
12981           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12982 $as_echo "$result" >&6; }
12983
12984
12985           enablestring=
12986           defaultval=$wxUSE_ALL_FEATURES
12987           if test -z "$defaultval"; then
12988               if test x"$enablestring" = xdisable; then
12989                   defaultval=yes
12990               else
12991                   defaultval=no
12992               fi
12993           fi
12994
12995           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-prefseditor" >&5
12996 $as_echo_n "checking for --${enablestring:-enable}-prefseditor... " >&6; }
12997           # Check whether --enable-prefseditor was given.
12998 if test "${enable_prefseditor+set}" = set; then :
12999   enableval=$enable_prefseditor;
13000                           if test "$enableval" = yes; then
13001                             wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=yes'
13002                           else
13003                             wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=no'
13004                           fi
13005
13006 else
13007
13008                           wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=${'DEFAULT_wxUSE_PREFERENCES_EDITOR":-$defaultval}"
13009
13010 fi
13011
13012
13013           eval "$wx_cv_use_prefseditor"
13014
13015           if test x"$enablestring" = xdisable; then
13016             if test $wxUSE_PREFERENCES_EDITOR = no; then
13017               result=yes
13018             else
13019               result=no
13020             fi
13021           else
13022             result=$wxUSE_PREFERENCES_EDITOR
13023           fi
13024
13025           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13026 $as_echo "$result" >&6; }
13027
13028
13029           enablestring=
13030           defaultval=$wxUSE_ALL_FEATURES
13031           if test -z "$defaultval"; then
13032               if test x"$enablestring" = xdisable; then
13033                   defaultval=yes
13034               else
13035                   defaultval=no
13036               fi
13037           fi
13038
13039           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
13040 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
13041           # Check whether --enable-radiobox was given.
13042 if test "${enable_radiobox+set}" = set; then :
13043   enableval=$enable_radiobox;
13044                           if test "$enableval" = yes; then
13045                             wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
13046                           else
13047                             wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
13048                           fi
13049
13050 else
13051
13052                           wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
13053
13054 fi
13055
13056
13057           eval "$wx_cv_use_radiobox"
13058
13059           if test x"$enablestring" = xdisable; then
13060             if test $wxUSE_RADIOBOX = no; then
13061               result=yes
13062             else
13063               result=no
13064             fi
13065           else
13066             result=$wxUSE_RADIOBOX
13067           fi
13068
13069           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13070 $as_echo "$result" >&6; }
13071
13072
13073           enablestring=
13074           defaultval=$wxUSE_ALL_FEATURES
13075           if test -z "$defaultval"; then
13076               if test x"$enablestring" = xdisable; then
13077                   defaultval=yes
13078               else
13079                   defaultval=no
13080               fi
13081           fi
13082
13083           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
13084 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
13085           # Check whether --enable-radiobtn was given.
13086 if test "${enable_radiobtn+set}" = set; then :
13087   enableval=$enable_radiobtn;
13088                           if test "$enableval" = yes; then
13089                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
13090                           else
13091                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
13092                           fi
13093
13094 else
13095
13096                           wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
13097
13098 fi
13099
13100
13101           eval "$wx_cv_use_radiobtn"
13102
13103           if test x"$enablestring" = xdisable; then
13104             if test $wxUSE_RADIOBTN = no; then
13105               result=yes
13106             else
13107               result=no
13108             fi
13109           else
13110             result=$wxUSE_RADIOBTN
13111           fi
13112
13113           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13114 $as_echo "$result" >&6; }
13115
13116
13117           enablestring=
13118           defaultval=$wxUSE_ALL_FEATURES
13119           if test -z "$defaultval"; then
13120               if test x"$enablestring" = xdisable; then
13121                   defaultval=yes
13122               else
13123                   defaultval=no
13124               fi
13125           fi
13126
13127           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
13128 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
13129           # Check whether --enable-richmsgdlg was given.
13130 if test "${enable_richmsgdlg+set}" = set; then :
13131   enableval=$enable_richmsgdlg;
13132                           if test "$enableval" = yes; then
13133                             wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
13134                           else
13135                             wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
13136                           fi
13137
13138 else
13139
13140                           wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13141
13142 fi
13143
13144
13145           eval "$wx_cv_use_richmsgdlg"
13146
13147           if test x"$enablestring" = xdisable; then
13148             if test $wxUSE_RICHMSGDLG = no; then
13149               result=yes
13150             else
13151               result=no
13152             fi
13153           else
13154             result=$wxUSE_RICHMSGDLG
13155           fi
13156
13157           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13158 $as_echo "$result" >&6; }
13159
13160
13161           enablestring=
13162           defaultval=$wxUSE_ALL_FEATURES
13163           if test -z "$defaultval"; then
13164               if test x"$enablestring" = xdisable; then
13165                   defaultval=yes
13166               else
13167                   defaultval=no
13168               fi
13169           fi
13170
13171           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13172 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13173           # Check whether --enable-richtooltip was given.
13174 if test "${enable_richtooltip+set}" = set; then :
13175   enableval=$enable_richtooltip;
13176                           if test "$enableval" = yes; then
13177                             wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13178                           else
13179                             wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13180                           fi
13181
13182 else
13183
13184                           wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13185
13186 fi
13187
13188
13189           eval "$wx_cv_use_richtooltip"
13190
13191           if test x"$enablestring" = xdisable; then
13192             if test $wxUSE_RICHTOOLTIP = no; then
13193               result=yes
13194             else
13195               result=no
13196             fi
13197           else
13198             result=$wxUSE_RICHTOOLTIP
13199           fi
13200
13201           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13202 $as_echo "$result" >&6; }
13203
13204
13205           enablestring=
13206           defaultval=$wxUSE_ALL_FEATURES
13207           if test -z "$defaultval"; then
13208               if test x"$enablestring" = xdisable; then
13209                   defaultval=yes
13210               else
13211                   defaultval=no
13212               fi
13213           fi
13214
13215           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13216 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13217           # Check whether --enable-rearrangectrl was given.
13218 if test "${enable_rearrangectrl+set}" = set; then :
13219   enableval=$enable_rearrangectrl;
13220                           if test "$enableval" = yes; then
13221                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13222                           else
13223                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13224                           fi
13225
13226 else
13227
13228                           wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13229
13230 fi
13231
13232
13233           eval "$wx_cv_use_rearrangectrl"
13234
13235           if test x"$enablestring" = xdisable; then
13236             if test $wxUSE_REARRANGECTRL = no; then
13237               result=yes
13238             else
13239               result=no
13240             fi
13241           else
13242             result=$wxUSE_REARRANGECTRL
13243           fi
13244
13245           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13246 $as_echo "$result" >&6; }
13247
13248
13249           enablestring=
13250           defaultval=$wxUSE_ALL_FEATURES
13251           if test -z "$defaultval"; then
13252               if test x"$enablestring" = xdisable; then
13253                   defaultval=yes
13254               else
13255                   defaultval=no
13256               fi
13257           fi
13258
13259           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13260 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13261           # Check whether --enable-sash was given.
13262 if test "${enable_sash+set}" = set; then :
13263   enableval=$enable_sash;
13264                           if test "$enableval" = yes; then
13265                             wx_cv_use_sash='wxUSE_SASH=yes'
13266                           else
13267                             wx_cv_use_sash='wxUSE_SASH=no'
13268                           fi
13269
13270 else
13271
13272                           wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13273
13274 fi
13275
13276
13277           eval "$wx_cv_use_sash"
13278
13279           if test x"$enablestring" = xdisable; then
13280             if test $wxUSE_SASH = no; then
13281               result=yes
13282             else
13283               result=no
13284             fi
13285           else
13286             result=$wxUSE_SASH
13287           fi
13288
13289           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13290 $as_echo "$result" >&6; }
13291
13292
13293           enablestring=
13294           defaultval=$wxUSE_ALL_FEATURES
13295           if test -z "$defaultval"; then
13296               if test x"$enablestring" = xdisable; then
13297                   defaultval=yes
13298               else
13299                   defaultval=no
13300               fi
13301           fi
13302
13303           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13304 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13305           # Check whether --enable-scrollbar was given.
13306 if test "${enable_scrollbar+set}" = set; then :
13307   enableval=$enable_scrollbar;
13308                           if test "$enableval" = yes; then
13309                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13310                           else
13311                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13312                           fi
13313
13314 else
13315
13316                           wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13317
13318 fi
13319
13320
13321           eval "$wx_cv_use_scrollbar"
13322
13323           if test x"$enablestring" = xdisable; then
13324             if test $wxUSE_SCROLLBAR = no; then
13325               result=yes
13326             else
13327               result=no
13328             fi
13329           else
13330             result=$wxUSE_SCROLLBAR
13331           fi
13332
13333           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13334 $as_echo "$result" >&6; }
13335
13336
13337           enablestring=
13338           defaultval=$wxUSE_ALL_FEATURES
13339           if test -z "$defaultval"; then
13340               if test x"$enablestring" = xdisable; then
13341                   defaultval=yes
13342               else
13343                   defaultval=no
13344               fi
13345           fi
13346
13347           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13348 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13349           # Check whether --enable-searchctrl was given.
13350 if test "${enable_searchctrl+set}" = set; then :
13351   enableval=$enable_searchctrl;
13352                           if test "$enableval" = yes; then
13353                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13354                           else
13355                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13356                           fi
13357
13358 else
13359
13360                           wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13361
13362 fi
13363
13364
13365           eval "$wx_cv_use_searchctrl"
13366
13367           if test x"$enablestring" = xdisable; then
13368             if test $wxUSE_SEARCHCTRL = no; then
13369               result=yes
13370             else
13371               result=no
13372             fi
13373           else
13374             result=$wxUSE_SEARCHCTRL
13375           fi
13376
13377           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13378 $as_echo "$result" >&6; }
13379
13380
13381           enablestring=
13382           defaultval=$wxUSE_ALL_FEATURES
13383           if test -z "$defaultval"; then
13384               if test x"$enablestring" = xdisable; then
13385                   defaultval=yes
13386               else
13387                   defaultval=no
13388               fi
13389           fi
13390
13391           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13392 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13393           # Check whether --enable-slider was given.
13394 if test "${enable_slider+set}" = set; then :
13395   enableval=$enable_slider;
13396                           if test "$enableval" = yes; then
13397                             wx_cv_use_slider='wxUSE_SLIDER=yes'
13398                           else
13399                             wx_cv_use_slider='wxUSE_SLIDER=no'
13400                           fi
13401
13402 else
13403
13404                           wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13405
13406 fi
13407
13408
13409           eval "$wx_cv_use_slider"
13410
13411           if test x"$enablestring" = xdisable; then
13412             if test $wxUSE_SLIDER = no; then
13413               result=yes
13414             else
13415               result=no
13416             fi
13417           else
13418             result=$wxUSE_SLIDER
13419           fi
13420
13421           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13422 $as_echo "$result" >&6; }
13423
13424
13425           enablestring=
13426           defaultval=$wxUSE_ALL_FEATURES
13427           if test -z "$defaultval"; then
13428               if test x"$enablestring" = xdisable; then
13429                   defaultval=yes
13430               else
13431                   defaultval=no
13432               fi
13433           fi
13434
13435           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13436 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13437           # Check whether --enable-spinbtn was given.
13438 if test "${enable_spinbtn+set}" = set; then :
13439   enableval=$enable_spinbtn;
13440                           if test "$enableval" = yes; then
13441                             wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13442                           else
13443                             wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13444                           fi
13445
13446 else
13447
13448                           wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13449
13450 fi
13451
13452
13453           eval "$wx_cv_use_spinbtn"
13454
13455           if test x"$enablestring" = xdisable; then
13456             if test $wxUSE_SPINBTN = no; then
13457               result=yes
13458             else
13459               result=no
13460             fi
13461           else
13462             result=$wxUSE_SPINBTN
13463           fi
13464
13465           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13466 $as_echo "$result" >&6; }
13467
13468
13469           enablestring=
13470           defaultval=$wxUSE_ALL_FEATURES
13471           if test -z "$defaultval"; then
13472               if test x"$enablestring" = xdisable; then
13473                   defaultval=yes
13474               else
13475                   defaultval=no
13476               fi
13477           fi
13478
13479           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13480 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13481           # Check whether --enable-spinctrl was given.
13482 if test "${enable_spinctrl+set}" = set; then :
13483   enableval=$enable_spinctrl;
13484                           if test "$enableval" = yes; then
13485                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13486                           else
13487                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13488                           fi
13489
13490 else
13491
13492                           wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13493
13494 fi
13495
13496
13497           eval "$wx_cv_use_spinctrl"
13498
13499           if test x"$enablestring" = xdisable; then
13500             if test $wxUSE_SPINCTRL = no; then
13501               result=yes
13502             else
13503               result=no
13504             fi
13505           else
13506             result=$wxUSE_SPINCTRL
13507           fi
13508
13509           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13510 $as_echo "$result" >&6; }
13511
13512
13513           enablestring=
13514           defaultval=$wxUSE_ALL_FEATURES
13515           if test -z "$defaultval"; then
13516               if test x"$enablestring" = xdisable; then
13517                   defaultval=yes
13518               else
13519                   defaultval=no
13520               fi
13521           fi
13522
13523           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13524 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13525           # Check whether --enable-splitter was given.
13526 if test "${enable_splitter+set}" = set; then :
13527   enableval=$enable_splitter;
13528                           if test "$enableval" = yes; then
13529                             wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13530                           else
13531                             wx_cv_use_splitter='wxUSE_SPLITTER=no'
13532                           fi
13533
13534 else
13535
13536                           wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13537
13538 fi
13539
13540
13541           eval "$wx_cv_use_splitter"
13542
13543           if test x"$enablestring" = xdisable; then
13544             if test $wxUSE_SPLITTER = no; then
13545               result=yes
13546             else
13547               result=no
13548             fi
13549           else
13550             result=$wxUSE_SPLITTER
13551           fi
13552
13553           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13554 $as_echo "$result" >&6; }
13555
13556
13557           enablestring=
13558           defaultval=$wxUSE_ALL_FEATURES
13559           if test -z "$defaultval"; then
13560               if test x"$enablestring" = xdisable; then
13561                   defaultval=yes
13562               else
13563                   defaultval=no
13564               fi
13565           fi
13566
13567           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13568 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13569           # Check whether --enable-statbmp was given.
13570 if test "${enable_statbmp+set}" = set; then :
13571   enableval=$enable_statbmp;
13572                           if test "$enableval" = yes; then
13573                             wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13574                           else
13575                             wx_cv_use_statbmp='wxUSE_STATBMP=no'
13576                           fi
13577
13578 else
13579
13580                           wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13581
13582 fi
13583
13584
13585           eval "$wx_cv_use_statbmp"
13586
13587           if test x"$enablestring" = xdisable; then
13588             if test $wxUSE_STATBMP = no; then
13589               result=yes
13590             else
13591               result=no
13592             fi
13593           else
13594             result=$wxUSE_STATBMP
13595           fi
13596
13597           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13598 $as_echo "$result" >&6; }
13599
13600
13601           enablestring=
13602           defaultval=$wxUSE_ALL_FEATURES
13603           if test -z "$defaultval"; then
13604               if test x"$enablestring" = xdisable; then
13605                   defaultval=yes
13606               else
13607                   defaultval=no
13608               fi
13609           fi
13610
13611           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13612 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13613           # Check whether --enable-statbox was given.
13614 if test "${enable_statbox+set}" = set; then :
13615   enableval=$enable_statbox;
13616                           if test "$enableval" = yes; then
13617                             wx_cv_use_statbox='wxUSE_STATBOX=yes'
13618                           else
13619                             wx_cv_use_statbox='wxUSE_STATBOX=no'
13620                           fi
13621
13622 else
13623
13624                           wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13625
13626 fi
13627
13628
13629           eval "$wx_cv_use_statbox"
13630
13631           if test x"$enablestring" = xdisable; then
13632             if test $wxUSE_STATBOX = no; then
13633               result=yes
13634             else
13635               result=no
13636             fi
13637           else
13638             result=$wxUSE_STATBOX
13639           fi
13640
13641           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13642 $as_echo "$result" >&6; }
13643
13644
13645           enablestring=
13646           defaultval=$wxUSE_ALL_FEATURES
13647           if test -z "$defaultval"; then
13648               if test x"$enablestring" = xdisable; then
13649                   defaultval=yes
13650               else
13651                   defaultval=no
13652               fi
13653           fi
13654
13655           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13656 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13657           # Check whether --enable-statline was given.
13658 if test "${enable_statline+set}" = set; then :
13659   enableval=$enable_statline;
13660                           if test "$enableval" = yes; then
13661                             wx_cv_use_statline='wxUSE_STATLINE=yes'
13662                           else
13663                             wx_cv_use_statline='wxUSE_STATLINE=no'
13664                           fi
13665
13666 else
13667
13668                           wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13669
13670 fi
13671
13672
13673           eval "$wx_cv_use_statline"
13674
13675           if test x"$enablestring" = xdisable; then
13676             if test $wxUSE_STATLINE = no; then
13677               result=yes
13678             else
13679               result=no
13680             fi
13681           else
13682             result=$wxUSE_STATLINE
13683           fi
13684
13685           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13686 $as_echo "$result" >&6; }
13687
13688
13689           enablestring=
13690           defaultval=$wxUSE_ALL_FEATURES
13691           if test -z "$defaultval"; then
13692               if test x"$enablestring" = xdisable; then
13693                   defaultval=yes
13694               else
13695                   defaultval=no
13696               fi
13697           fi
13698
13699           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13700 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13701           # Check whether --enable-stattext was given.
13702 if test "${enable_stattext+set}" = set; then :
13703   enableval=$enable_stattext;
13704                           if test "$enableval" = yes; then
13705                             wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13706                           else
13707                             wx_cv_use_stattext='wxUSE_STATTEXT=no'
13708                           fi
13709
13710 else
13711
13712                           wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13713
13714 fi
13715
13716
13717           eval "$wx_cv_use_stattext"
13718
13719           if test x"$enablestring" = xdisable; then
13720             if test $wxUSE_STATTEXT = no; then
13721               result=yes
13722             else
13723               result=no
13724             fi
13725           else
13726             result=$wxUSE_STATTEXT
13727           fi
13728
13729           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13730 $as_echo "$result" >&6; }
13731
13732
13733           enablestring=
13734           defaultval=$wxUSE_ALL_FEATURES
13735           if test -z "$defaultval"; then
13736               if test x"$enablestring" = xdisable; then
13737                   defaultval=yes
13738               else
13739                   defaultval=no
13740               fi
13741           fi
13742
13743           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13744 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13745           # Check whether --enable-statusbar was given.
13746 if test "${enable_statusbar+set}" = set; then :
13747   enableval=$enable_statusbar;
13748                           if test "$enableval" = yes; then
13749                             wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13750                           else
13751                             wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13752                           fi
13753
13754 else
13755
13756                           wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13757
13758 fi
13759
13760
13761           eval "$wx_cv_use_statusbar"
13762
13763           if test x"$enablestring" = xdisable; then
13764             if test $wxUSE_STATUSBAR = no; then
13765               result=yes
13766             else
13767               result=no
13768             fi
13769           else
13770             result=$wxUSE_STATUSBAR
13771           fi
13772
13773           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13774 $as_echo "$result" >&6; }
13775
13776
13777           enablestring=
13778           defaultval=$wxUSE_ALL_FEATURES
13779           if test -z "$defaultval"; then
13780               if test x"$enablestring" = xdisable; then
13781                   defaultval=yes
13782               else
13783                   defaultval=no
13784               fi
13785           fi
13786
13787           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13788 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13789           # Check whether --enable-taskbaricon was given.
13790 if test "${enable_taskbaricon+set}" = set; then :
13791   enableval=$enable_taskbaricon;
13792                           if test "$enableval" = yes; then
13793                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13794                           else
13795                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13796                           fi
13797
13798 else
13799
13800                           wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13801
13802 fi
13803
13804
13805           eval "$wx_cv_use_taskbaricon"
13806
13807           if test x"$enablestring" = xdisable; then
13808             if test $wxUSE_TASKBARICON = no; then
13809               result=yes
13810             else
13811               result=no
13812             fi
13813           else
13814             result=$wxUSE_TASKBARICON
13815           fi
13816
13817           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13818 $as_echo "$result" >&6; }
13819
13820
13821           enablestring=
13822           defaultval=$wxUSE_ALL_FEATURES
13823           if test -z "$defaultval"; then
13824               if test x"$enablestring" = xdisable; then
13825                   defaultval=yes
13826               else
13827                   defaultval=no
13828               fi
13829           fi
13830
13831           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13832 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13833           # Check whether --enable-tbarnative was given.
13834 if test "${enable_tbarnative+set}" = set; then :
13835   enableval=$enable_tbarnative;
13836                           if test "$enableval" = yes; then
13837                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13838                           else
13839                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13840                           fi
13841
13842 else
13843
13844                           wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13845
13846 fi
13847
13848
13849           eval "$wx_cv_use_tbarnative"
13850
13851           if test x"$enablestring" = xdisable; then
13852             if test $wxUSE_TOOLBAR_NATIVE = no; then
13853               result=yes
13854             else
13855               result=no
13856             fi
13857           else
13858             result=$wxUSE_TOOLBAR_NATIVE
13859           fi
13860
13861           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13862 $as_echo "$result" >&6; }
13863
13864
13865           enablestring=
13866           defaultval=$wxUSE_ALL_FEATURES
13867           if test -z "$defaultval"; then
13868               if test x"$enablestring" = xdisable; then
13869                   defaultval=yes
13870               else
13871                   defaultval=no
13872               fi
13873           fi
13874
13875           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13876 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13877           # Check whether --enable-textctrl was given.
13878 if test "${enable_textctrl+set}" = set; then :
13879   enableval=$enable_textctrl;
13880                           if test "$enableval" = yes; then
13881                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13882                           else
13883                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13884                           fi
13885
13886 else
13887
13888                           wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13889
13890 fi
13891
13892
13893           eval "$wx_cv_use_textctrl"
13894
13895           if test x"$enablestring" = xdisable; then
13896             if test $wxUSE_TEXTCTRL = no; then
13897               result=yes
13898             else
13899               result=no
13900             fi
13901           else
13902             result=$wxUSE_TEXTCTRL
13903           fi
13904
13905           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13906 $as_echo "$result" >&6; }
13907
13908
13909           enablestring=
13910           defaultval=$wxUSE_ALL_FEATURES
13911           if test -z "$defaultval"; then
13912               if test x"$enablestring" = xdisable; then
13913                   defaultval=yes
13914               else
13915                   defaultval=no
13916               fi
13917           fi
13918
13919           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13920 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13921           # Check whether --enable-datepick was given.
13922 if test "${enable_datepick+set}" = set; then :
13923   enableval=$enable_datepick;
13924                           if test "$enableval" = yes; then
13925                             wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13926                           else
13927                             wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13928                           fi
13929
13930 else
13931
13932                           wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13933
13934 fi
13935
13936
13937           eval "$wx_cv_use_datepick"
13938
13939           if test x"$enablestring" = xdisable; then
13940             if test $wxUSE_TIMEPICKCTRL = no; then
13941               result=yes
13942             else
13943               result=no
13944             fi
13945           else
13946             result=$wxUSE_TIMEPICKCTRL
13947           fi
13948
13949           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13950 $as_echo "$result" >&6; }
13951
13952
13953           enablestring=
13954           defaultval=$wxUSE_ALL_FEATURES
13955           if test -z "$defaultval"; then
13956               if test x"$enablestring" = xdisable; then
13957                   defaultval=yes
13958               else
13959                   defaultval=no
13960               fi
13961           fi
13962
13963           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13964 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13965           # Check whether --enable-tipwindow was given.
13966 if test "${enable_tipwindow+set}" = set; then :
13967   enableval=$enable_tipwindow;
13968                           if test "$enableval" = yes; then
13969                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13970                           else
13971                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13972                           fi
13973
13974 else
13975
13976                           wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13977
13978 fi
13979
13980
13981           eval "$wx_cv_use_tipwindow"
13982
13983           if test x"$enablestring" = xdisable; then
13984             if test $wxUSE_TIPWINDOW = no; then
13985               result=yes
13986             else
13987               result=no
13988             fi
13989           else
13990             result=$wxUSE_TIPWINDOW
13991           fi
13992
13993           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13994 $as_echo "$result" >&6; }
13995
13996
13997           enablestring=
13998           defaultval=$wxUSE_ALL_FEATURES
13999           if test -z "$defaultval"; then
14000               if test x"$enablestring" = xdisable; then
14001                   defaultval=yes
14002               else
14003                   defaultval=no
14004               fi
14005           fi
14006
14007           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
14008 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
14009           # Check whether --enable-togglebtn was given.
14010 if test "${enable_togglebtn+set}" = set; then :
14011   enableval=$enable_togglebtn;
14012                           if test "$enableval" = yes; then
14013                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
14014                           else
14015                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
14016                           fi
14017
14018 else
14019
14020                           wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
14021
14022 fi
14023
14024
14025           eval "$wx_cv_use_togglebtn"
14026
14027           if test x"$enablestring" = xdisable; then
14028             if test $wxUSE_TOGGLEBTN = no; then
14029               result=yes
14030             else
14031               result=no
14032             fi
14033           else
14034             result=$wxUSE_TOGGLEBTN
14035           fi
14036
14037           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14038 $as_echo "$result" >&6; }
14039
14040
14041           enablestring=
14042           defaultval=$wxUSE_ALL_FEATURES
14043           if test -z "$defaultval"; then
14044               if test x"$enablestring" = xdisable; then
14045                   defaultval=yes
14046               else
14047                   defaultval=no
14048               fi
14049           fi
14050
14051           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
14052 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
14053           # Check whether --enable-toolbar was given.
14054 if test "${enable_toolbar+set}" = set; then :
14055   enableval=$enable_toolbar;
14056                           if test "$enableval" = yes; then
14057                             wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
14058                           else
14059                             wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
14060                           fi
14061
14062 else
14063
14064                           wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
14065
14066 fi
14067
14068
14069           eval "$wx_cv_use_toolbar"
14070
14071           if test x"$enablestring" = xdisable; then
14072             if test $wxUSE_TOOLBAR = no; then
14073               result=yes
14074             else
14075               result=no
14076             fi
14077           else
14078             result=$wxUSE_TOOLBAR
14079           fi
14080
14081           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14082 $as_echo "$result" >&6; }
14083
14084
14085           enablestring=
14086           defaultval=$wxUSE_ALL_FEATURES
14087           if test -z "$defaultval"; then
14088               if test x"$enablestring" = xdisable; then
14089                   defaultval=yes
14090               else
14091                   defaultval=no
14092               fi
14093           fi
14094
14095           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
14096 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
14097           # Check whether --enable-toolbook was given.
14098 if test "${enable_toolbook+set}" = set; then :
14099   enableval=$enable_toolbook;
14100                           if test "$enableval" = yes; then
14101                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
14102                           else
14103                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
14104                           fi
14105
14106 else
14107
14108                           wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14109
14110 fi
14111
14112
14113           eval "$wx_cv_use_toolbook"
14114
14115           if test x"$enablestring" = xdisable; then
14116             if test $wxUSE_TOOLBOOK = no; then
14117               result=yes
14118             else
14119               result=no
14120             fi
14121           else
14122             result=$wxUSE_TOOLBOOK
14123           fi
14124
14125           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14126 $as_echo "$result" >&6; }
14127
14128
14129           enablestring=
14130           defaultval=$wxUSE_ALL_FEATURES
14131           if test -z "$defaultval"; then
14132               if test x"$enablestring" = xdisable; then
14133                   defaultval=yes
14134               else
14135                   defaultval=no
14136               fi
14137           fi
14138
14139           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14140 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14141           # Check whether --enable-treebook was given.
14142 if test "${enable_treebook+set}" = set; then :
14143   enableval=$enable_treebook;
14144                           if test "$enableval" = yes; then
14145                             wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
14146                           else
14147                             wx_cv_use_treebook='wxUSE_TREEBOOK=no'
14148                           fi
14149
14150 else
14151
14152                           wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14153
14154 fi
14155
14156
14157           eval "$wx_cv_use_treebook"
14158
14159           if test x"$enablestring" = xdisable; then
14160             if test $wxUSE_TREEBOOK = no; then
14161               result=yes
14162             else
14163               result=no
14164             fi
14165           else
14166             result=$wxUSE_TREEBOOK
14167           fi
14168
14169           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14170 $as_echo "$result" >&6; }
14171
14172
14173           enablestring=
14174           defaultval=$wxUSE_ALL_FEATURES
14175           if test -z "$defaultval"; then
14176               if test x"$enablestring" = xdisable; then
14177                   defaultval=yes
14178               else
14179                   defaultval=no
14180               fi
14181           fi
14182
14183           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14184 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14185           # Check whether --enable-treectrl was given.
14186 if test "${enable_treectrl+set}" = set; then :
14187   enableval=$enable_treectrl;
14188                           if test "$enableval" = yes; then
14189                             wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14190                           else
14191                             wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14192                           fi
14193
14194 else
14195
14196                           wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14197
14198 fi
14199
14200
14201           eval "$wx_cv_use_treectrl"
14202
14203           if test x"$enablestring" = xdisable; then
14204             if test $wxUSE_TREECTRL = no; then
14205               result=yes
14206             else
14207               result=no
14208             fi
14209           else
14210             result=$wxUSE_TREECTRL
14211           fi
14212
14213           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14214 $as_echo "$result" >&6; }
14215
14216
14217           enablestring=
14218           defaultval=$wxUSE_ALL_FEATURES
14219           if test -z "$defaultval"; then
14220               if test x"$enablestring" = xdisable; then
14221                   defaultval=yes
14222               else
14223                   defaultval=no
14224               fi
14225           fi
14226
14227           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14228 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14229           # Check whether --enable-treelist was given.
14230 if test "${enable_treelist+set}" = set; then :
14231   enableval=$enable_treelist;
14232                           if test "$enableval" = yes; then
14233                             wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14234                           else
14235                             wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14236                           fi
14237
14238 else
14239
14240                           wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14241
14242 fi
14243
14244
14245           eval "$wx_cv_use_treelist"
14246
14247           if test x"$enablestring" = xdisable; then
14248             if test $wxUSE_TREELISTCTRL = no; then
14249               result=yes
14250             else
14251               result=no
14252             fi
14253           else
14254             result=$wxUSE_TREELISTCTRL
14255           fi
14256
14257           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14258 $as_echo "$result" >&6; }
14259
14260
14261
14262
14263           enablestring=
14264           defaultval=$wxUSE_ALL_FEATURES
14265           if test -z "$defaultval"; then
14266               if test x"$enablestring" = xdisable; then
14267                   defaultval=yes
14268               else
14269                   defaultval=no
14270               fi
14271           fi
14272
14273           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14274 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14275           # Check whether --enable-commondlg was given.
14276 if test "${enable_commondlg+set}" = set; then :
14277   enableval=$enable_commondlg;
14278                           if test "$enableval" = yes; then
14279                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14280                           else
14281                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14282                           fi
14283
14284 else
14285
14286                           wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14287
14288 fi
14289
14290
14291           eval "$wx_cv_use_commondlg"
14292
14293           if test x"$enablestring" = xdisable; then
14294             if test $wxUSE_COMMONDLGS = no; then
14295               result=yes
14296             else
14297               result=no
14298             fi
14299           else
14300             result=$wxUSE_COMMONDLGS
14301           fi
14302
14303           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14304 $as_echo "$result" >&6; }
14305
14306
14307           enablestring=
14308           defaultval=$wxUSE_ALL_FEATURES
14309           if test -z "$defaultval"; then
14310               if test x"$enablestring" = xdisable; then
14311                   defaultval=yes
14312               else
14313                   defaultval=no
14314               fi
14315           fi
14316
14317           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14318 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14319           # Check whether --enable-aboutdlg was given.
14320 if test "${enable_aboutdlg+set}" = set; then :
14321   enableval=$enable_aboutdlg;
14322                           if test "$enableval" = yes; then
14323                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14324                           else
14325                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14326                           fi
14327
14328 else
14329
14330                           wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14331
14332 fi
14333
14334
14335           eval "$wx_cv_use_aboutdlg"
14336
14337           if test x"$enablestring" = xdisable; then
14338             if test $wxUSE_ABOUTDLG = no; then
14339               result=yes
14340             else
14341               result=no
14342             fi
14343           else
14344             result=$wxUSE_ABOUTDLG
14345           fi
14346
14347           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14348 $as_echo "$result" >&6; }
14349
14350
14351           enablestring=
14352           defaultval=$wxUSE_ALL_FEATURES
14353           if test -z "$defaultval"; then
14354               if test x"$enablestring" = xdisable; then
14355                   defaultval=yes
14356               else
14357                   defaultval=no
14358               fi
14359           fi
14360
14361           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14362 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14363           # Check whether --enable-choicedlg was given.
14364 if test "${enable_choicedlg+set}" = set; then :
14365   enableval=$enable_choicedlg;
14366                           if test "$enableval" = yes; then
14367                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14368                           else
14369                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14370                           fi
14371
14372 else
14373
14374                           wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14375
14376 fi
14377
14378
14379           eval "$wx_cv_use_choicedlg"
14380
14381           if test x"$enablestring" = xdisable; then
14382             if test $wxUSE_CHOICEDLG = no; then
14383               result=yes
14384             else
14385               result=no
14386             fi
14387           else
14388             result=$wxUSE_CHOICEDLG
14389           fi
14390
14391           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14392 $as_echo "$result" >&6; }
14393
14394
14395           enablestring=
14396           defaultval=$wxUSE_ALL_FEATURES
14397           if test -z "$defaultval"; then
14398               if test x"$enablestring" = xdisable; then
14399                   defaultval=yes
14400               else
14401                   defaultval=no
14402               fi
14403           fi
14404
14405           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14406 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14407           # Check whether --enable-coldlg was given.
14408 if test "${enable_coldlg+set}" = set; then :
14409   enableval=$enable_coldlg;
14410                           if test "$enableval" = yes; then
14411                             wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14412                           else
14413                             wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14414                           fi
14415
14416 else
14417
14418                           wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14419
14420 fi
14421
14422
14423           eval "$wx_cv_use_coldlg"
14424
14425           if test x"$enablestring" = xdisable; then
14426             if test $wxUSE_COLOURDLG = no; then
14427               result=yes
14428             else
14429               result=no
14430             fi
14431           else
14432             result=$wxUSE_COLOURDLG
14433           fi
14434
14435           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14436 $as_echo "$result" >&6; }
14437
14438
14439           enablestring=
14440           defaultval=$wxUSE_ALL_FEATURES
14441           if test -z "$defaultval"; then
14442               if test x"$enablestring" = xdisable; then
14443                   defaultval=yes
14444               else
14445                   defaultval=no
14446               fi
14447           fi
14448
14449           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14450 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14451           # Check whether --enable-filedlg was given.
14452 if test "${enable_filedlg+set}" = set; then :
14453   enableval=$enable_filedlg;
14454                           if test "$enableval" = yes; then
14455                             wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14456                           else
14457                             wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14458                           fi
14459
14460 else
14461
14462                           wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14463
14464 fi
14465
14466
14467           eval "$wx_cv_use_filedlg"
14468
14469           if test x"$enablestring" = xdisable; then
14470             if test $wxUSE_FILEDLG = no; then
14471               result=yes
14472             else
14473               result=no
14474             fi
14475           else
14476             result=$wxUSE_FILEDLG
14477           fi
14478
14479           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14480 $as_echo "$result" >&6; }
14481
14482
14483           enablestring=
14484           defaultval=$wxUSE_ALL_FEATURES
14485           if test -z "$defaultval"; then
14486               if test x"$enablestring" = xdisable; then
14487                   defaultval=yes
14488               else
14489                   defaultval=no
14490               fi
14491           fi
14492
14493           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14494 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14495           # Check whether --enable-finddlg was given.
14496 if test "${enable_finddlg+set}" = set; then :
14497   enableval=$enable_finddlg;
14498                           if test "$enableval" = yes; then
14499                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14500                           else
14501                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14502                           fi
14503
14504 else
14505
14506                           wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14507
14508 fi
14509
14510
14511           eval "$wx_cv_use_finddlg"
14512
14513           if test x"$enablestring" = xdisable; then
14514             if test $wxUSE_FINDREPLDLG = no; then
14515               result=yes
14516             else
14517               result=no
14518             fi
14519           else
14520             result=$wxUSE_FINDREPLDLG
14521           fi
14522
14523           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14524 $as_echo "$result" >&6; }
14525
14526
14527           enablestring=
14528           defaultval=$wxUSE_ALL_FEATURES
14529           if test -z "$defaultval"; then
14530               if test x"$enablestring" = xdisable; then
14531                   defaultval=yes
14532               else
14533                   defaultval=no
14534               fi
14535           fi
14536
14537           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14538 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14539           # Check whether --enable-fontdlg was given.
14540 if test "${enable_fontdlg+set}" = set; then :
14541   enableval=$enable_fontdlg;
14542                           if test "$enableval" = yes; then
14543                             wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14544                           else
14545                             wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14546                           fi
14547
14548 else
14549
14550                           wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14551
14552 fi
14553
14554
14555           eval "$wx_cv_use_fontdlg"
14556
14557           if test x"$enablestring" = xdisable; then
14558             if test $wxUSE_FONTDLG = no; then
14559               result=yes
14560             else
14561               result=no
14562             fi
14563           else
14564             result=$wxUSE_FONTDLG
14565           fi
14566
14567           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14568 $as_echo "$result" >&6; }
14569
14570
14571           enablestring=
14572           defaultval=$wxUSE_ALL_FEATURES
14573           if test -z "$defaultval"; then
14574               if test x"$enablestring" = xdisable; then
14575                   defaultval=yes
14576               else
14577                   defaultval=no
14578               fi
14579           fi
14580
14581           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14582 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14583           # Check whether --enable-dirdlg was given.
14584 if test "${enable_dirdlg+set}" = set; then :
14585   enableval=$enable_dirdlg;
14586                           if test "$enableval" = yes; then
14587                             wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14588                           else
14589                             wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14590                           fi
14591
14592 else
14593
14594                           wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14595
14596 fi
14597
14598
14599           eval "$wx_cv_use_dirdlg"
14600
14601           if test x"$enablestring" = xdisable; then
14602             if test $wxUSE_DIRDLG = no; then
14603               result=yes
14604             else
14605               result=no
14606             fi
14607           else
14608             result=$wxUSE_DIRDLG
14609           fi
14610
14611           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14612 $as_echo "$result" >&6; }
14613
14614
14615           enablestring=
14616           defaultval=$wxUSE_ALL_FEATURES
14617           if test -z "$defaultval"; then
14618               if test x"$enablestring" = xdisable; then
14619                   defaultval=yes
14620               else
14621                   defaultval=no
14622               fi
14623           fi
14624
14625           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14626 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14627           # Check whether --enable-msgdlg was given.
14628 if test "${enable_msgdlg+set}" = set; then :
14629   enableval=$enable_msgdlg;
14630                           if test "$enableval" = yes; then
14631                             wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14632                           else
14633                             wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14634                           fi
14635
14636 else
14637
14638                           wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14639
14640 fi
14641
14642
14643           eval "$wx_cv_use_msgdlg"
14644
14645           if test x"$enablestring" = xdisable; then
14646             if test $wxUSE_MSGDLG = no; then
14647               result=yes
14648             else
14649               result=no
14650             fi
14651           else
14652             result=$wxUSE_MSGDLG
14653           fi
14654
14655           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14656 $as_echo "$result" >&6; }
14657
14658
14659           enablestring=
14660           defaultval=$wxUSE_ALL_FEATURES
14661           if test -z "$defaultval"; then
14662               if test x"$enablestring" = xdisable; then
14663                   defaultval=yes
14664               else
14665                   defaultval=no
14666               fi
14667           fi
14668
14669           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14670 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14671           # Check whether --enable-numberdlg was given.
14672 if test "${enable_numberdlg+set}" = set; then :
14673   enableval=$enable_numberdlg;
14674                           if test "$enableval" = yes; then
14675                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14676                           else
14677                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14678                           fi
14679
14680 else
14681
14682                           wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14683
14684 fi
14685
14686
14687           eval "$wx_cv_use_numberdlg"
14688
14689           if test x"$enablestring" = xdisable; then
14690             if test $wxUSE_NUMBERDLG = no; then
14691               result=yes
14692             else
14693               result=no
14694             fi
14695           else
14696             result=$wxUSE_NUMBERDLG
14697           fi
14698
14699           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14700 $as_echo "$result" >&6; }
14701
14702
14703           enablestring=
14704           defaultval=$wxUSE_ALL_FEATURES
14705           if test -z "$defaultval"; then
14706               if test x"$enablestring" = xdisable; then
14707                   defaultval=yes
14708               else
14709                   defaultval=no
14710               fi
14711           fi
14712
14713           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14714 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14715           # Check whether --enable-splash was given.
14716 if test "${enable_splash+set}" = set; then :
14717   enableval=$enable_splash;
14718                           if test "$enableval" = yes; then
14719                             wx_cv_use_splash='wxUSE_SPLASH=yes'
14720                           else
14721                             wx_cv_use_splash='wxUSE_SPLASH=no'
14722                           fi
14723
14724 else
14725
14726                           wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14727
14728 fi
14729
14730
14731           eval "$wx_cv_use_splash"
14732
14733           if test x"$enablestring" = xdisable; then
14734             if test $wxUSE_SPLASH = no; then
14735               result=yes
14736             else
14737               result=no
14738             fi
14739           else
14740             result=$wxUSE_SPLASH
14741           fi
14742
14743           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14744 $as_echo "$result" >&6; }
14745
14746
14747           enablestring=
14748           defaultval=$wxUSE_ALL_FEATURES
14749           if test -z "$defaultval"; then
14750               if test x"$enablestring" = xdisable; then
14751                   defaultval=yes
14752               else
14753                   defaultval=no
14754               fi
14755           fi
14756
14757           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14758 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14759           # Check whether --enable-textdlg was given.
14760 if test "${enable_textdlg+set}" = set; then :
14761   enableval=$enable_textdlg;
14762                           if test "$enableval" = yes; then
14763                             wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14764                           else
14765                             wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14766                           fi
14767
14768 else
14769
14770                           wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14771
14772 fi
14773
14774
14775           eval "$wx_cv_use_textdlg"
14776
14777           if test x"$enablestring" = xdisable; then
14778             if test $wxUSE_TEXTDLG = no; then
14779               result=yes
14780             else
14781               result=no
14782             fi
14783           else
14784             result=$wxUSE_TEXTDLG
14785           fi
14786
14787           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14788 $as_echo "$result" >&6; }
14789
14790
14791           enablestring=
14792           defaultval=$wxUSE_ALL_FEATURES
14793           if test -z "$defaultval"; then
14794               if test x"$enablestring" = xdisable; then
14795                   defaultval=yes
14796               else
14797                   defaultval=no
14798               fi
14799           fi
14800
14801           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14802 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14803           # Check whether --enable-tipdlg was given.
14804 if test "${enable_tipdlg+set}" = set; then :
14805   enableval=$enable_tipdlg;
14806                           if test "$enableval" = yes; then
14807                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14808                           else
14809                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14810                           fi
14811
14812 else
14813
14814                           wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14815
14816 fi
14817
14818
14819           eval "$wx_cv_use_tipdlg"
14820
14821           if test x"$enablestring" = xdisable; then
14822             if test $wxUSE_STARTUP_TIPS = no; then
14823               result=yes
14824             else
14825               result=no
14826             fi
14827           else
14828             result=$wxUSE_STARTUP_TIPS
14829           fi
14830
14831           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14832 $as_echo "$result" >&6; }
14833
14834
14835           enablestring=
14836           defaultval=$wxUSE_ALL_FEATURES
14837           if test -z "$defaultval"; then
14838               if test x"$enablestring" = xdisable; then
14839                   defaultval=yes
14840               else
14841                   defaultval=no
14842               fi
14843           fi
14844
14845           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14846 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14847           # Check whether --enable-progressdlg was given.
14848 if test "${enable_progressdlg+set}" = set; then :
14849   enableval=$enable_progressdlg;
14850                           if test "$enableval" = yes; then
14851                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14852                           else
14853                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14854                           fi
14855
14856 else
14857
14858                           wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14859
14860 fi
14861
14862
14863           eval "$wx_cv_use_progressdlg"
14864
14865           if test x"$enablestring" = xdisable; then
14866             if test $wxUSE_PROGRESSDLG = no; then
14867               result=yes
14868             else
14869               result=no
14870             fi
14871           else
14872             result=$wxUSE_PROGRESSDLG
14873           fi
14874
14875           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14876 $as_echo "$result" >&6; }
14877
14878
14879           enablestring=
14880           defaultval=$wxUSE_ALL_FEATURES
14881           if test -z "$defaultval"; then
14882               if test x"$enablestring" = xdisable; then
14883                   defaultval=yes
14884               else
14885                   defaultval=no
14886               fi
14887           fi
14888
14889           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14890 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14891           # Check whether --enable-wizarddlg was given.
14892 if test "${enable_wizarddlg+set}" = set; then :
14893   enableval=$enable_wizarddlg;
14894                           if test "$enableval" = yes; then
14895                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14896                           else
14897                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14898                           fi
14899
14900 else
14901
14902                           wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14903
14904 fi
14905
14906
14907           eval "$wx_cv_use_wizarddlg"
14908
14909           if test x"$enablestring" = xdisable; then
14910             if test $wxUSE_WIZARDDLG = no; then
14911               result=yes
14912             else
14913               result=no
14914             fi
14915           else
14916             result=$wxUSE_WIZARDDLG
14917           fi
14918
14919           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14920 $as_echo "$result" >&6; }
14921
14922
14923
14924
14925           enablestring=
14926           defaultval=$wxUSE_ALL_FEATURES
14927           if test -z "$defaultval"; then
14928               if test x"$enablestring" = xdisable; then
14929                   defaultval=yes
14930               else
14931                   defaultval=no
14932               fi
14933           fi
14934
14935           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14936 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14937           # Check whether --enable-menus was given.
14938 if test "${enable_menus+set}" = set; then :
14939   enableval=$enable_menus;
14940                           if test "$enableval" = yes; then
14941                             wx_cv_use_menus='wxUSE_MENUS=yes'
14942                           else
14943                             wx_cv_use_menus='wxUSE_MENUS=no'
14944                           fi
14945
14946 else
14947
14948                           wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14949
14950 fi
14951
14952
14953           eval "$wx_cv_use_menus"
14954
14955           if test x"$enablestring" = xdisable; then
14956             if test $wxUSE_MENUS = no; then
14957               result=yes
14958             else
14959               result=no
14960             fi
14961           else
14962             result=$wxUSE_MENUS
14963           fi
14964
14965           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14966 $as_echo "$result" >&6; }
14967
14968
14969           enablestring=
14970           defaultval=$wxUSE_ALL_FEATURES
14971           if test -z "$defaultval"; then
14972               if test x"$enablestring" = xdisable; then
14973                   defaultval=yes
14974               else
14975                   defaultval=no
14976               fi
14977           fi
14978
14979           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14980 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14981           # Check whether --enable-miniframe was given.
14982 if test "${enable_miniframe+set}" = set; then :
14983   enableval=$enable_miniframe;
14984                           if test "$enableval" = yes; then
14985                             wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14986                           else
14987                             wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14988                           fi
14989
14990 else
14991
14992                           wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14993
14994 fi
14995
14996
14997           eval "$wx_cv_use_miniframe"
14998
14999           if test x"$enablestring" = xdisable; then
15000             if test $wxUSE_MINIFRAME = no; then
15001               result=yes
15002             else
15003               result=no
15004             fi
15005           else
15006             result=$wxUSE_MINIFRAME
15007           fi
15008
15009           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15010 $as_echo "$result" >&6; }
15011
15012
15013           enablestring=
15014           defaultval=$wxUSE_ALL_FEATURES
15015           if test -z "$defaultval"; then
15016               if test x"$enablestring" = xdisable; then
15017                   defaultval=yes
15018               else
15019                   defaultval=no
15020               fi
15021           fi
15022
15023           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
15024 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
15025           # Check whether --enable-tooltips was given.
15026 if test "${enable_tooltips+set}" = set; then :
15027   enableval=$enable_tooltips;
15028                           if test "$enableval" = yes; then
15029                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15030                           else
15031                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15032                           fi
15033
15034 else
15035
15036                           wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15037
15038 fi
15039
15040
15041           eval "$wx_cv_use_tooltips"
15042
15043           if test x"$enablestring" = xdisable; then
15044             if test $wxUSE_TOOLTIPS = no; then
15045               result=yes
15046             else
15047               result=no
15048             fi
15049           else
15050             result=$wxUSE_TOOLTIPS
15051           fi
15052
15053           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15054 $as_echo "$result" >&6; }
15055
15056
15057           enablestring=
15058           defaultval=$wxUSE_ALL_FEATURES
15059           if test -z "$defaultval"; then
15060               if test x"$enablestring" = xdisable; then
15061                   defaultval=yes
15062               else
15063                   defaultval=no
15064               fi
15065           fi
15066
15067           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
15068 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
15069           # Check whether --enable-splines was given.
15070 if test "${enable_splines+set}" = set; then :
15071   enableval=$enable_splines;
15072                           if test "$enableval" = yes; then
15073                             wx_cv_use_splines='wxUSE_SPLINES=yes'
15074                           else
15075                             wx_cv_use_splines='wxUSE_SPLINES=no'
15076                           fi
15077
15078 else
15079
15080                           wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15081
15082 fi
15083
15084
15085           eval "$wx_cv_use_splines"
15086
15087           if test x"$enablestring" = xdisable; then
15088             if test $wxUSE_SPLINES = no; then
15089               result=yes
15090             else
15091               result=no
15092             fi
15093           else
15094             result=$wxUSE_SPLINES
15095           fi
15096
15097           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15098 $as_echo "$result" >&6; }
15099
15100
15101           enablestring=
15102           defaultval=$wxUSE_ALL_FEATURES
15103           if test -z "$defaultval"; then
15104               if test x"$enablestring" = xdisable; then
15105                   defaultval=yes
15106               else
15107                   defaultval=no
15108               fi
15109           fi
15110
15111           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
15112 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
15113           # Check whether --enable-mousewheel was given.
15114 if test "${enable_mousewheel+set}" = set; then :
15115   enableval=$enable_mousewheel;
15116                           if test "$enableval" = yes; then
15117                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15118                           else
15119                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15120                           fi
15121
15122 else
15123
15124                           wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15125
15126 fi
15127
15128
15129           eval "$wx_cv_use_mousewheel"
15130
15131           if test x"$enablestring" = xdisable; then
15132             if test $wxUSE_MOUSEWHEEL = no; then
15133               result=yes
15134             else
15135               result=no
15136             fi
15137           else
15138             result=$wxUSE_MOUSEWHEEL
15139           fi
15140
15141           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15142 $as_echo "$result" >&6; }
15143
15144
15145           enablestring=
15146           defaultval=$wxUSE_ALL_FEATURES
15147           if test -z "$defaultval"; then
15148               if test x"$enablestring" = xdisable; then
15149                   defaultval=yes
15150               else
15151                   defaultval=no
15152               fi
15153           fi
15154
15155           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
15156 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
15157           # Check whether --enable-validators was given.
15158 if test "${enable_validators+set}" = set; then :
15159   enableval=$enable_validators;
15160                           if test "$enableval" = yes; then
15161                             wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15162                           else
15163                             wx_cv_use_validators='wxUSE_VALIDATORS=no'
15164                           fi
15165
15166 else
15167
15168                           wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15169
15170 fi
15171
15172
15173           eval "$wx_cv_use_validators"
15174
15175           if test x"$enablestring" = xdisable; then
15176             if test $wxUSE_VALIDATORS = no; then
15177               result=yes
15178             else
15179               result=no
15180             fi
15181           else
15182             result=$wxUSE_VALIDATORS
15183           fi
15184
15185           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15186 $as_echo "$result" >&6; }
15187
15188
15189           enablestring=
15190           defaultval=$wxUSE_ALL_FEATURES
15191           if test -z "$defaultval"; then
15192               if test x"$enablestring" = xdisable; then
15193                   defaultval=yes
15194               else
15195                   defaultval=no
15196               fi
15197           fi
15198
15199           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15200 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15201           # Check whether --enable-busyinfo was given.
15202 if test "${enable_busyinfo+set}" = set; then :
15203   enableval=$enable_busyinfo;
15204                           if test "$enableval" = yes; then
15205                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15206                           else
15207                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15208                           fi
15209
15210 else
15211
15212                           wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15213
15214 fi
15215
15216
15217           eval "$wx_cv_use_busyinfo"
15218
15219           if test x"$enablestring" = xdisable; then
15220             if test $wxUSE_BUSYINFO = no; then
15221               result=yes
15222             else
15223               result=no
15224             fi
15225           else
15226             result=$wxUSE_BUSYINFO
15227           fi
15228
15229           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15230 $as_echo "$result" >&6; }
15231
15232
15233           enablestring=
15234           defaultval=$wxUSE_ALL_FEATURES
15235           if test -z "$defaultval"; then
15236               if test x"$enablestring" = xdisable; then
15237                   defaultval=yes
15238               else
15239                   defaultval=no
15240               fi
15241           fi
15242
15243           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15244 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15245           # Check whether --enable-hotkey was given.
15246 if test "${enable_hotkey+set}" = set; then :
15247   enableval=$enable_hotkey;
15248                           if test "$enableval" = yes; then
15249                             wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15250                           else
15251                             wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15252                           fi
15253
15254 else
15255
15256                           wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15257
15258 fi
15259
15260
15261           eval "$wx_cv_use_hotkey"
15262
15263           if test x"$enablestring" = xdisable; then
15264             if test $wxUSE_HOTKEY = no; then
15265               result=yes
15266             else
15267               result=no
15268             fi
15269           else
15270             result=$wxUSE_HOTKEY
15271           fi
15272
15273           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15274 $as_echo "$result" >&6; }
15275
15276
15277           enablestring=
15278           defaultval=$wxUSE_ALL_FEATURES
15279           if test -z "$defaultval"; then
15280               if test x"$enablestring" = xdisable; then
15281                   defaultval=yes
15282               else
15283                   defaultval=no
15284               fi
15285           fi
15286
15287           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15288 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15289           # Check whether --enable-joystick was given.
15290 if test "${enable_joystick+set}" = set; then :
15291   enableval=$enable_joystick;
15292                           if test "$enableval" = yes; then
15293                             wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15294                           else
15295                             wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15296                           fi
15297
15298 else
15299
15300                           wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15301
15302 fi
15303
15304
15305           eval "$wx_cv_use_joystick"
15306
15307           if test x"$enablestring" = xdisable; then
15308             if test $wxUSE_JOYSTICK = no; then
15309               result=yes
15310             else
15311               result=no
15312             fi
15313           else
15314             result=$wxUSE_JOYSTICK
15315           fi
15316
15317           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15318 $as_echo "$result" >&6; }
15319
15320
15321           enablestring=
15322           defaultval=$wxUSE_ALL_FEATURES
15323           if test -z "$defaultval"; then
15324               if test x"$enablestring" = xdisable; then
15325                   defaultval=yes
15326               else
15327                   defaultval=no
15328               fi
15329           fi
15330
15331           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15332 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15333           # Check whether --enable-metafile was given.
15334 if test "${enable_metafile+set}" = set; then :
15335   enableval=$enable_metafile;
15336                           if test "$enableval" = yes; then
15337                             wx_cv_use_metafile='wxUSE_METAFILE=yes'
15338                           else
15339                             wx_cv_use_metafile='wxUSE_METAFILE=no'
15340                           fi
15341
15342 else
15343
15344                           wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15345
15346 fi
15347
15348
15349           eval "$wx_cv_use_metafile"
15350
15351           if test x"$enablestring" = xdisable; then
15352             if test $wxUSE_METAFILE = no; then
15353               result=yes
15354             else
15355               result=no
15356             fi
15357           else
15358             result=$wxUSE_METAFILE
15359           fi
15360
15361           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15362 $as_echo "$result" >&6; }
15363
15364
15365           enablestring=
15366           defaultval=$wxUSE_ALL_FEATURES
15367           if test -z "$defaultval"; then
15368               if test x"$enablestring" = xdisable; then
15369                   defaultval=yes
15370               else
15371                   defaultval=no
15372               fi
15373           fi
15374
15375           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15376 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15377           # Check whether --enable-dragimage was given.
15378 if test "${enable_dragimage+set}" = set; then :
15379   enableval=$enable_dragimage;
15380                           if test "$enableval" = yes; then
15381                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15382                           else
15383                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15384                           fi
15385
15386 else
15387
15388                           wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15389
15390 fi
15391
15392
15393           eval "$wx_cv_use_dragimage"
15394
15395           if test x"$enablestring" = xdisable; then
15396             if test $wxUSE_DRAGIMAGE = no; then
15397               result=yes
15398             else
15399               result=no
15400             fi
15401           else
15402             result=$wxUSE_DRAGIMAGE
15403           fi
15404
15405           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15406 $as_echo "$result" >&6; }
15407
15408
15409           enablestring=
15410           defaultval=$wxUSE_ALL_FEATURES
15411           if test -z "$defaultval"; then
15412               if test x"$enablestring" = xdisable; then
15413                   defaultval=yes
15414               else
15415                   defaultval=no
15416               fi
15417           fi
15418
15419           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15420 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15421           # Check whether --enable-accessibility was given.
15422 if test "${enable_accessibility+set}" = set; then :
15423   enableval=$enable_accessibility;
15424                           if test "$enableval" = yes; then
15425                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15426                           else
15427                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15428                           fi
15429
15430 else
15431
15432                           wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15433
15434 fi
15435
15436
15437           eval "$wx_cv_use_accessibility"
15438
15439           if test x"$enablestring" = xdisable; then
15440             if test $wxUSE_ACCESSIBILITY = no; then
15441               result=yes
15442             else
15443               result=no
15444             fi
15445           else
15446             result=$wxUSE_ACCESSIBILITY
15447           fi
15448
15449           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15450 $as_echo "$result" >&6; }
15451
15452
15453           enablestring=
15454           defaultval=$wxUSE_ALL_FEATURES
15455           if test -z "$defaultval"; then
15456               if test x"$enablestring" = xdisable; then
15457                   defaultval=yes
15458               else
15459                   defaultval=no
15460               fi
15461           fi
15462
15463           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15464 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15465           # Check whether --enable-uiactionsim was given.
15466 if test "${enable_uiactionsim+set}" = set; then :
15467   enableval=$enable_uiactionsim;
15468                           if test "$enableval" = yes; then
15469                             wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15470                           else
15471                             wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15472                           fi
15473
15474 else
15475
15476                           wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15477
15478 fi
15479
15480
15481           eval "$wx_cv_use_uiactionsim"
15482
15483           if test x"$enablestring" = xdisable; then
15484             if test $wxUSE_UIACTIONSIMULATOR = no; then
15485               result=yes
15486             else
15487               result=no
15488             fi
15489           else
15490             result=$wxUSE_UIACTIONSIMULATOR
15491           fi
15492
15493           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15494 $as_echo "$result" >&6; }
15495
15496
15497           enablestring=
15498           defaultval=$wxUSE_ALL_FEATURES
15499           if test -z "$defaultval"; then
15500               if test x"$enablestring" = xdisable; then
15501                   defaultval=yes
15502               else
15503                   defaultval=no
15504               fi
15505           fi
15506
15507           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15508 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15509           # Check whether --enable-dctransform was given.
15510 if test "${enable_dctransform+set}" = set; then :
15511   enableval=$enable_dctransform;
15512                           if test "$enableval" = yes; then
15513                             wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15514                           else
15515                             wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15516                           fi
15517
15518 else
15519
15520                           wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15521
15522 fi
15523
15524
15525           eval "$wx_cv_use_dctransform"
15526
15527           if test x"$enablestring" = xdisable; then
15528             if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15529               result=yes
15530             else
15531               result=no
15532             fi
15533           else
15534             result=$wxUSE_DC_TRANSFORM_MATRIX
15535           fi
15536
15537           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15538 $as_echo "$result" >&6; }
15539
15540
15541           enablestring=
15542           defaultval=$wxUSE_ALL_FEATURES
15543           if test -z "$defaultval"; then
15544               if test x"$enablestring" = xdisable; then
15545                   defaultval=yes
15546               else
15547                   defaultval=no
15548               fi
15549           fi
15550
15551           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15552 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15553           # Check whether --enable-webviewwebkit was given.
15554 if test "${enable_webviewwebkit+set}" = set; then :
15555   enableval=$enable_webviewwebkit;
15556                           if test "$enableval" = yes; then
15557                             wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15558                           else
15559                             wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15560                           fi
15561
15562 else
15563
15564                           wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15565
15566 fi
15567
15568
15569           eval "$wx_cv_use_webviewwebkit"
15570
15571           if test x"$enablestring" = xdisable; then
15572             if test $wxUSE_WEBVIEW_WEBKIT = no; then
15573               result=yes
15574             else
15575               result=no
15576             fi
15577           else
15578             result=$wxUSE_WEBVIEW_WEBKIT
15579           fi
15580
15581           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15582 $as_echo "$result" >&6; }
15583
15584
15585
15586
15587           enablestring=
15588           defaultval=$wxUSE_ALL_FEATURES
15589           if test -z "$defaultval"; then
15590               if test x"$enablestring" = xdisable; then
15591                   defaultval=yes
15592               else
15593                   defaultval=no
15594               fi
15595           fi
15596
15597           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15598 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15599           # Check whether --enable-palette was given.
15600 if test "${enable_palette+set}" = set; then :
15601   enableval=$enable_palette;
15602                           if test "$enableval" = yes; then
15603                             wx_cv_use_palette='wxUSE_PALETTE=yes'
15604                           else
15605                             wx_cv_use_palette='wxUSE_PALETTE=no'
15606                           fi
15607
15608 else
15609
15610                           wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15611
15612 fi
15613
15614
15615           eval "$wx_cv_use_palette"
15616
15617           if test x"$enablestring" = xdisable; then
15618             if test $wxUSE_PALETTE = no; then
15619               result=yes
15620             else
15621               result=no
15622             fi
15623           else
15624             result=$wxUSE_PALETTE
15625           fi
15626
15627           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15628 $as_echo "$result" >&6; }
15629
15630
15631           enablestring=
15632           defaultval=$wxUSE_ALL_FEATURES
15633           if test -z "$defaultval"; then
15634               if test x"$enablestring" = xdisable; then
15635                   defaultval=yes
15636               else
15637                   defaultval=no
15638               fi
15639           fi
15640
15641           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15642 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15643           # Check whether --enable-image was given.
15644 if test "${enable_image+set}" = set; then :
15645   enableval=$enable_image;
15646                           if test "$enableval" = yes; then
15647                             wx_cv_use_image='wxUSE_IMAGE=yes'
15648                           else
15649                             wx_cv_use_image='wxUSE_IMAGE=no'
15650                           fi
15651
15652 else
15653
15654                           wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15655
15656 fi
15657
15658
15659           eval "$wx_cv_use_image"
15660
15661           if test x"$enablestring" = xdisable; then
15662             if test $wxUSE_IMAGE = no; then
15663               result=yes
15664             else
15665               result=no
15666             fi
15667           else
15668             result=$wxUSE_IMAGE
15669           fi
15670
15671           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15672 $as_echo "$result" >&6; }
15673
15674
15675           enablestring=
15676           defaultval=$wxUSE_ALL_FEATURES
15677           if test -z "$defaultval"; then
15678               if test x"$enablestring" = xdisable; then
15679                   defaultval=yes
15680               else
15681                   defaultval=no
15682               fi
15683           fi
15684
15685           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15686 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15687           # Check whether --enable-gif was given.
15688 if test "${enable_gif+set}" = set; then :
15689   enableval=$enable_gif;
15690                           if test "$enableval" = yes; then
15691                             wx_cv_use_gif='wxUSE_GIF=yes'
15692                           else
15693                             wx_cv_use_gif='wxUSE_GIF=no'
15694                           fi
15695
15696 else
15697
15698                           wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15699
15700 fi
15701
15702
15703           eval "$wx_cv_use_gif"
15704
15705           if test x"$enablestring" = xdisable; then
15706             if test $wxUSE_GIF = no; then
15707               result=yes
15708             else
15709               result=no
15710             fi
15711           else
15712             result=$wxUSE_GIF
15713           fi
15714
15715           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15716 $as_echo "$result" >&6; }
15717
15718
15719           enablestring=
15720           defaultval=$wxUSE_ALL_FEATURES
15721           if test -z "$defaultval"; then
15722               if test x"$enablestring" = xdisable; then
15723                   defaultval=yes
15724               else
15725                   defaultval=no
15726               fi
15727           fi
15728
15729           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15730 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15731           # Check whether --enable-pcx was given.
15732 if test "${enable_pcx+set}" = set; then :
15733   enableval=$enable_pcx;
15734                           if test "$enableval" = yes; then
15735                             wx_cv_use_pcx='wxUSE_PCX=yes'
15736                           else
15737                             wx_cv_use_pcx='wxUSE_PCX=no'
15738                           fi
15739
15740 else
15741
15742                           wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15743
15744 fi
15745
15746
15747           eval "$wx_cv_use_pcx"
15748
15749           if test x"$enablestring" = xdisable; then
15750             if test $wxUSE_PCX = no; then
15751               result=yes
15752             else
15753               result=no
15754             fi
15755           else
15756             result=$wxUSE_PCX
15757           fi
15758
15759           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15760 $as_echo "$result" >&6; }
15761
15762
15763           enablestring=
15764           defaultval=$wxUSE_ALL_FEATURES
15765           if test -z "$defaultval"; then
15766               if test x"$enablestring" = xdisable; then
15767                   defaultval=yes
15768               else
15769                   defaultval=no
15770               fi
15771           fi
15772
15773           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15774 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15775           # Check whether --enable-tga was given.
15776 if test "${enable_tga+set}" = set; then :
15777   enableval=$enable_tga;
15778                           if test "$enableval" = yes; then
15779                             wx_cv_use_tga='wxUSE_TGA=yes'
15780                           else
15781                             wx_cv_use_tga='wxUSE_TGA=no'
15782                           fi
15783
15784 else
15785
15786                           wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15787
15788 fi
15789
15790
15791           eval "$wx_cv_use_tga"
15792
15793           if test x"$enablestring" = xdisable; then
15794             if test $wxUSE_TGA = no; then
15795               result=yes
15796             else
15797               result=no
15798             fi
15799           else
15800             result=$wxUSE_TGA
15801           fi
15802
15803           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15804 $as_echo "$result" >&6; }
15805
15806
15807           enablestring=
15808           defaultval=$wxUSE_ALL_FEATURES
15809           if test -z "$defaultval"; then
15810               if test x"$enablestring" = xdisable; then
15811                   defaultval=yes
15812               else
15813                   defaultval=no
15814               fi
15815           fi
15816
15817           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15818 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15819           # Check whether --enable-iff was given.
15820 if test "${enable_iff+set}" = set; then :
15821   enableval=$enable_iff;
15822                           if test "$enableval" = yes; then
15823                             wx_cv_use_iff='wxUSE_IFF=yes'
15824                           else
15825                             wx_cv_use_iff='wxUSE_IFF=no'
15826                           fi
15827
15828 else
15829
15830                           wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15831
15832 fi
15833
15834
15835           eval "$wx_cv_use_iff"
15836
15837           if test x"$enablestring" = xdisable; then
15838             if test $wxUSE_IFF = no; then
15839               result=yes
15840             else
15841               result=no
15842             fi
15843           else
15844             result=$wxUSE_IFF
15845           fi
15846
15847           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15848 $as_echo "$result" >&6; }
15849
15850
15851           enablestring=
15852           defaultval=$wxUSE_ALL_FEATURES
15853           if test -z "$defaultval"; then
15854               if test x"$enablestring" = xdisable; then
15855                   defaultval=yes
15856               else
15857                   defaultval=no
15858               fi
15859           fi
15860
15861           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15862 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15863           # Check whether --enable-pnm was given.
15864 if test "${enable_pnm+set}" = set; then :
15865   enableval=$enable_pnm;
15866                           if test "$enableval" = yes; then
15867                             wx_cv_use_pnm='wxUSE_PNM=yes'
15868                           else
15869                             wx_cv_use_pnm='wxUSE_PNM=no'
15870                           fi
15871
15872 else
15873
15874                           wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15875
15876 fi
15877
15878
15879           eval "$wx_cv_use_pnm"
15880
15881           if test x"$enablestring" = xdisable; then
15882             if test $wxUSE_PNM = no; then
15883               result=yes
15884             else
15885               result=no
15886             fi
15887           else
15888             result=$wxUSE_PNM
15889           fi
15890
15891           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15892 $as_echo "$result" >&6; }
15893
15894
15895           enablestring=
15896           defaultval=$wxUSE_ALL_FEATURES
15897           if test -z "$defaultval"; then
15898               if test x"$enablestring" = xdisable; then
15899                   defaultval=yes
15900               else
15901                   defaultval=no
15902               fi
15903           fi
15904
15905           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15906 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15907           # Check whether --enable-xpm was given.
15908 if test "${enable_xpm+set}" = set; then :
15909   enableval=$enable_xpm;
15910                           if test "$enableval" = yes; then
15911                             wx_cv_use_xpm='wxUSE_XPM=yes'
15912                           else
15913                             wx_cv_use_xpm='wxUSE_XPM=no'
15914                           fi
15915
15916 else
15917
15918                           wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15919
15920 fi
15921
15922
15923           eval "$wx_cv_use_xpm"
15924
15925           if test x"$enablestring" = xdisable; then
15926             if test $wxUSE_XPM = no; then
15927               result=yes
15928             else
15929               result=no
15930             fi
15931           else
15932             result=$wxUSE_XPM
15933           fi
15934
15935           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15936 $as_echo "$result" >&6; }
15937
15938
15939           enablestring=
15940           defaultval=$wxUSE_ALL_FEATURES
15941           if test -z "$defaultval"; then
15942               if test x"$enablestring" = xdisable; then
15943                   defaultval=yes
15944               else
15945                   defaultval=no
15946               fi
15947           fi
15948
15949           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15950 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15951           # Check whether --enable-ico_cur was given.
15952 if test "${enable_ico_cur+set}" = set; then :
15953   enableval=$enable_ico_cur;
15954                           if test "$enableval" = yes; then
15955                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15956                           else
15957                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15958                           fi
15959
15960 else
15961
15962                           wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15963
15964 fi
15965
15966
15967           eval "$wx_cv_use_ico_cur"
15968
15969           if test x"$enablestring" = xdisable; then
15970             if test $wxUSE_ICO_CUR = no; then
15971               result=yes
15972             else
15973               result=no
15974             fi
15975           else
15976             result=$wxUSE_ICO_CUR
15977           fi
15978
15979           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15980 $as_echo "$result" >&6; }
15981
15982
15983
15984
15985           enablestring=
15986           defaultval=$wxUSE_ALL_FEATURES
15987           if test -z "$defaultval"; then
15988               if test x"$enablestring" = xdisable; then
15989                   defaultval=yes
15990               else
15991                   defaultval=no
15992               fi
15993           fi
15994
15995           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
15996 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
15997           # Check whether --enable-dccache was given.
15998 if test "${enable_dccache+set}" = set; then :
15999   enableval=$enable_dccache;
16000                           if test "$enableval" = yes; then
16001                             wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16002                           else
16003                             wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16004                           fi
16005
16006 else
16007
16008                           wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16009
16010 fi
16011
16012
16013           eval "$wx_cv_use_dccache"
16014
16015           if test x"$enablestring" = xdisable; then
16016             if test $wxUSE_DC_CACHEING = no; then
16017               result=yes
16018             else
16019               result=no
16020             fi
16021           else
16022             result=$wxUSE_DC_CACHEING
16023           fi
16024
16025           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16026 $as_echo "$result" >&6; }
16027
16028
16029           enablestring=
16030           defaultval=$wxUSE_ALL_FEATURES
16031           if test -z "$defaultval"; then
16032               if test x"$enablestring" = xdisable; then
16033                   defaultval=yes
16034               else
16035                   defaultval=no
16036               fi
16037           fi
16038
16039           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
16040 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
16041           # Check whether --enable-ps-in-msw was given.
16042 if test "${enable_ps_in_msw+set}" = set; then :
16043   enableval=$enable_ps_in_msw;
16044                           if test "$enableval" = yes; then
16045                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16046                           else
16047                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16048                           fi
16049
16050 else
16051
16052                           wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16053
16054 fi
16055
16056
16057           eval "$wx_cv_use_ps_in_msw"
16058
16059           if test x"$enablestring" = xdisable; then
16060             if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
16061               result=yes
16062             else
16063               result=no
16064             fi
16065           else
16066             result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16067           fi
16068
16069           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16070 $as_echo "$result" >&6; }
16071
16072
16073           enablestring=
16074           defaultval=$wxUSE_ALL_FEATURES
16075           if test -z "$defaultval"; then
16076               if test x"$enablestring" = xdisable; then
16077                   defaultval=yes
16078               else
16079                   defaultval=no
16080               fi
16081           fi
16082
16083           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
16084 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
16085           # Check whether --enable-ownerdrawn was given.
16086 if test "${enable_ownerdrawn+set}" = set; then :
16087   enableval=$enable_ownerdrawn;
16088                           if test "$enableval" = yes; then
16089                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16090                           else
16091                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16092                           fi
16093
16094 else
16095
16096                           wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16097
16098 fi
16099
16100
16101           eval "$wx_cv_use_ownerdrawn"
16102
16103           if test x"$enablestring" = xdisable; then
16104             if test $wxUSE_OWNER_DRAWN = no; then
16105               result=yes
16106             else
16107               result=no
16108             fi
16109           else
16110             result=$wxUSE_OWNER_DRAWN
16111           fi
16112
16113           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16114 $as_echo "$result" >&6; }
16115
16116
16117           enablestring=
16118           defaultval=$wxUSE_ALL_FEATURES
16119           if test -z "$defaultval"; then
16120               if test x"$enablestring" = xdisable; then
16121                   defaultval=yes
16122               else
16123                   defaultval=no
16124               fi
16125           fi
16126
16127           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16128 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16129           # Check whether --enable-uxtheme was given.
16130 if test "${enable_uxtheme+set}" = set; then :
16131   enableval=$enable_uxtheme;
16132                           if test "$enableval" = yes; then
16133                             wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16134                           else
16135                             wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16136                           fi
16137
16138 else
16139
16140                           wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16141
16142 fi
16143
16144
16145           eval "$wx_cv_use_uxtheme"
16146
16147           if test x"$enablestring" = xdisable; then
16148             if test $wxUSE_UXTHEME = no; then
16149               result=yes
16150             else
16151               result=no
16152             fi
16153           else
16154             result=$wxUSE_UXTHEME
16155           fi
16156
16157           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16158 $as_echo "$result" >&6; }
16159
16160
16161           enablestring=
16162           defaultval=$wxUSE_ALL_FEATURES
16163           if test -z "$defaultval"; then
16164               if test x"$enablestring" = xdisable; then
16165                   defaultval=yes
16166               else
16167                   defaultval=no
16168               fi
16169           fi
16170
16171           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16172 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16173           # Check whether --enable-wxdib was given.
16174 if test "${enable_wxdib+set}" = set; then :
16175   enableval=$enable_wxdib;
16176                           if test "$enableval" = yes; then
16177                             wx_cv_use_wxdib='wxUSE_DIB=yes'
16178                           else
16179                             wx_cv_use_wxdib='wxUSE_DIB=no'
16180                           fi
16181
16182 else
16183
16184                           wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16185
16186 fi
16187
16188
16189           eval "$wx_cv_use_wxdib"
16190
16191           if test x"$enablestring" = xdisable; then
16192             if test $wxUSE_DIB = no; then
16193               result=yes
16194             else
16195               result=no
16196             fi
16197           else
16198             result=$wxUSE_DIB
16199           fi
16200
16201           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16202 $as_echo "$result" >&6; }
16203
16204
16205           enablestring=
16206           defaultval=$wxUSE_ALL_FEATURES
16207           if test -z "$defaultval"; then
16208               if test x"$enablestring" = xdisable; then
16209                   defaultval=yes
16210               else
16211                   defaultval=no
16212               fi
16213           fi
16214
16215           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16216 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16217           # Check whether --enable-webviewie was given.
16218 if test "${enable_webviewie+set}" = set; then :
16219   enableval=$enable_webviewie;
16220                           if test "$enableval" = yes; then
16221                             wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16222                           else
16223                             wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16224                           fi
16225
16226 else
16227
16228                           wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16229
16230 fi
16231
16232
16233           eval "$wx_cv_use_webviewie"
16234
16235           if test x"$enablestring" = xdisable; then
16236             if test $wxUSE_WEBVIEW_IE = no; then
16237               result=yes
16238             else
16239               result=no
16240             fi
16241           else
16242             result=$wxUSE_WEBVIEW_IE
16243           fi
16244
16245           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16246 $as_echo "$result" >&6; }
16247
16248
16249 if test "$wxUSE_MSW" != 1; then
16250     DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16251 fi
16252
16253
16254           enablestring=
16255           defaultval=$wxUSE_ALL_FEATURES
16256           if test -z "$defaultval"; then
16257               if test x"$enablestring" = xdisable; then
16258                   defaultval=yes
16259               else
16260                   defaultval=no
16261               fi
16262           fi
16263
16264           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16265 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16266           # Check whether --enable-autoidman was given.
16267 if test "${enable_autoidman+set}" = set; then :
16268   enableval=$enable_autoidman;
16269                           if test "$enableval" = yes; then
16270                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16271                           else
16272                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16273                           fi
16274
16275 else
16276
16277                           wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16278
16279 fi
16280
16281
16282           eval "$wx_cv_use_autoidman"
16283
16284           if test x"$enablestring" = xdisable; then
16285             if test $wxUSE_AUTOID_MANAGEMENT = no; then
16286               result=yes
16287             else
16288               result=no
16289             fi
16290           else
16291             result=$wxUSE_AUTOID_MANAGEMENT
16292           fi
16293
16294           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16295 $as_echo "$result" >&6; }
16296
16297
16298 fi
16299
16300
16301 cat >confcache <<\_ACEOF
16302 # This file is a shell script that caches the results of configure
16303 # tests run on this system so they can be shared between configure
16304 # scripts and configure runs, see configure's option --config-cache.
16305 # It is not useful on other systems.  If it contains results you don't
16306 # want to keep, you may remove or edit it.
16307 #
16308 # config.status only pays attention to the cache file if you give it
16309 # the --recheck option to rerun configure.
16310 #
16311 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16312 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16313 # following values.
16314
16315 _ACEOF
16316
16317 # The following way of writing the cache mishandles newlines in values,
16318 # but we know of no workaround that is simple, portable, and efficient.
16319 # So, we kill variables containing newlines.
16320 # Ultrix sh set writes to stderr and can't be redirected directly,
16321 # and sets the high bit in the cache file unless we assign to the vars.
16322 (
16323   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16324     eval ac_val=\$$ac_var
16325     case $ac_val in #(
16326     *${as_nl}*)
16327       case $ac_var in #(
16328       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16329 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16330       esac
16331       case $ac_var in #(
16332       _ | IFS | as_nl) ;; #(
16333       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16334       *) { eval $ac_var=; unset $ac_var;} ;;
16335       esac ;;
16336     esac
16337   done
16338
16339   (set) 2>&1 |
16340     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16341     *${as_nl}ac_space=\ *)
16342       # `set' does not quote correctly, so add quotes: double-quote
16343       # substitution turns \\\\ into \\, and sed turns \\ into \.
16344       sed -n \
16345         "s/'/'\\\\''/g;
16346           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16347       ;; #(
16348     *)
16349       # `set' quotes correctly as required by POSIX, so do not add quotes.
16350       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16351       ;;
16352     esac |
16353     sort
16354 ) |
16355   sed '
16356      /^ac_cv_env_/b end
16357      t clear
16358      :clear
16359      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16360      t end
16361      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16362      :end' >>confcache
16363 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16364   if test -w "$cache_file"; then
16365     if test "x$cache_file" != "x/dev/null"; then
16366       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16367 $as_echo "$as_me: updating cache $cache_file" >&6;}
16368       if test ! -f "$cache_file" || test -h "$cache_file"; then
16369         cat confcache >"$cache_file"
16370       else
16371         case $cache_file in #(
16372         */* | ?:*)
16373           mv -f confcache "$cache_file"$$ &&
16374           mv -f "$cache_file"$$ "$cache_file" ;; #(
16375         *)
16376           mv -f confcache "$cache_file" ;;
16377         esac
16378       fi
16379     fi
16380   else
16381     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16382 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16383   fi
16384 fi
16385 rm -f confcache
16386
16387 CFLAGS=${CFLAGS:=}
16388 ac_ext=c
16389 ac_cpp='$CPP $CPPFLAGS'
16390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16393 if test -n "$ac_tool_prefix"; then
16394   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16395 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16397 $as_echo_n "checking for $ac_word... " >&6; }
16398 if ${ac_cv_prog_CC+:} false; then :
16399   $as_echo_n "(cached) " >&6
16400 else
16401   if test -n "$CC"; then
16402   ac_cv_prog_CC="$CC" # Let the user override the test.
16403 else
16404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16405 for as_dir in $PATH
16406 do
16407   IFS=$as_save_IFS
16408   test -z "$as_dir" && as_dir=.
16409     for ac_exec_ext in '' $ac_executable_extensions; do
16410   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16411     ac_cv_prog_CC="${ac_tool_prefix}gcc"
16412     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16413     break 2
16414   fi
16415 done
16416   done
16417 IFS=$as_save_IFS
16418
16419 fi
16420 fi
16421 CC=$ac_cv_prog_CC
16422 if test -n "$CC"; then
16423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16424 $as_echo "$CC" >&6; }
16425 else
16426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16427 $as_echo "no" >&6; }
16428 fi
16429
16430
16431 fi
16432 if test -z "$ac_cv_prog_CC"; then
16433   ac_ct_CC=$CC
16434   # Extract the first word of "gcc", so it can be a program name with args.
16435 set dummy gcc; ac_word=$2
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16437 $as_echo_n "checking for $ac_word... " >&6; }
16438 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16439   $as_echo_n "(cached) " >&6
16440 else
16441   if test -n "$ac_ct_CC"; then
16442   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16443 else
16444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16445 for as_dir in $PATH
16446 do
16447   IFS=$as_save_IFS
16448   test -z "$as_dir" && as_dir=.
16449     for ac_exec_ext in '' $ac_executable_extensions; do
16450   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16451     ac_cv_prog_ac_ct_CC="gcc"
16452     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16453     break 2
16454   fi
16455 done
16456   done
16457 IFS=$as_save_IFS
16458
16459 fi
16460 fi
16461 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16462 if test -n "$ac_ct_CC"; then
16463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16464 $as_echo "$ac_ct_CC" >&6; }
16465 else
16466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16467 $as_echo "no" >&6; }
16468 fi
16469
16470   if test "x$ac_ct_CC" = x; then
16471     CC=""
16472   else
16473     case $cross_compiling:$ac_tool_warned in
16474 yes:)
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16477 ac_tool_warned=yes ;;
16478 esac
16479     CC=$ac_ct_CC
16480   fi
16481 else
16482   CC="$ac_cv_prog_CC"
16483 fi
16484
16485 if test -z "$CC"; then
16486           if test -n "$ac_tool_prefix"; then
16487     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16488 set dummy ${ac_tool_prefix}cc; ac_word=$2
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16490 $as_echo_n "checking for $ac_word... " >&6; }
16491 if ${ac_cv_prog_CC+:} false; then :
16492   $as_echo_n "(cached) " >&6
16493 else
16494   if test -n "$CC"; then
16495   ac_cv_prog_CC="$CC" # Let the user override the test.
16496 else
16497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16498 for as_dir in $PATH
16499 do
16500   IFS=$as_save_IFS
16501   test -z "$as_dir" && as_dir=.
16502     for ac_exec_ext in '' $ac_executable_extensions; do
16503   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16504     ac_cv_prog_CC="${ac_tool_prefix}cc"
16505     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16506     break 2
16507   fi
16508 done
16509   done
16510 IFS=$as_save_IFS
16511
16512 fi
16513 fi
16514 CC=$ac_cv_prog_CC
16515 if test -n "$CC"; then
16516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16517 $as_echo "$CC" >&6; }
16518 else
16519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16520 $as_echo "no" >&6; }
16521 fi
16522
16523
16524   fi
16525 fi
16526 if test -z "$CC"; then
16527   # Extract the first word of "cc", so it can be a program name with args.
16528 set dummy cc; ac_word=$2
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16530 $as_echo_n "checking for $ac_word... " >&6; }
16531 if ${ac_cv_prog_CC+:} false; then :
16532   $as_echo_n "(cached) " >&6
16533 else
16534   if test -n "$CC"; then
16535   ac_cv_prog_CC="$CC" # Let the user override the test.
16536 else
16537   ac_prog_rejected=no
16538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16539 for as_dir in $PATH
16540 do
16541   IFS=$as_save_IFS
16542   test -z "$as_dir" && as_dir=.
16543     for ac_exec_ext in '' $ac_executable_extensions; do
16544   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16545     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16546        ac_prog_rejected=yes
16547        continue
16548      fi
16549     ac_cv_prog_CC="cc"
16550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16551     break 2
16552   fi
16553 done
16554   done
16555 IFS=$as_save_IFS
16556
16557 if test $ac_prog_rejected = yes; then
16558   # We found a bogon in the path, so make sure we never use it.
16559   set dummy $ac_cv_prog_CC
16560   shift
16561   if test $# != 0; then
16562     # We chose a different compiler from the bogus one.
16563     # However, it has the same basename, so the bogon will be chosen
16564     # first if we set CC to just the basename; use the full file name.
16565     shift
16566     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16567   fi
16568 fi
16569 fi
16570 fi
16571 CC=$ac_cv_prog_CC
16572 if test -n "$CC"; then
16573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16574 $as_echo "$CC" >&6; }
16575 else
16576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16577 $as_echo "no" >&6; }
16578 fi
16579
16580
16581 fi
16582 if test -z "$CC"; then
16583   if test -n "$ac_tool_prefix"; then
16584   for ac_prog in cl.exe
16585   do
16586     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16587 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16589 $as_echo_n "checking for $ac_word... " >&6; }
16590 if ${ac_cv_prog_CC+:} false; then :
16591   $as_echo_n "(cached) " >&6
16592 else
16593   if test -n "$CC"; then
16594   ac_cv_prog_CC="$CC" # Let the user override the test.
16595 else
16596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16597 for as_dir in $PATH
16598 do
16599   IFS=$as_save_IFS
16600   test -z "$as_dir" && as_dir=.
16601     for ac_exec_ext in '' $ac_executable_extensions; do
16602   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16603     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16604     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16605     break 2
16606   fi
16607 done
16608   done
16609 IFS=$as_save_IFS
16610
16611 fi
16612 fi
16613 CC=$ac_cv_prog_CC
16614 if test -n "$CC"; then
16615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16616 $as_echo "$CC" >&6; }
16617 else
16618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16619 $as_echo "no" >&6; }
16620 fi
16621
16622
16623     test -n "$CC" && break
16624   done
16625 fi
16626 if test -z "$CC"; then
16627   ac_ct_CC=$CC
16628   for ac_prog in cl.exe
16629 do
16630   # Extract the first word of "$ac_prog", so it can be a program name with args.
16631 set dummy $ac_prog; ac_word=$2
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16633 $as_echo_n "checking for $ac_word... " >&6; }
16634 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16635   $as_echo_n "(cached) " >&6
16636 else
16637   if test -n "$ac_ct_CC"; then
16638   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16639 else
16640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16641 for as_dir in $PATH
16642 do
16643   IFS=$as_save_IFS
16644   test -z "$as_dir" && as_dir=.
16645     for ac_exec_ext in '' $ac_executable_extensions; do
16646   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16647     ac_cv_prog_ac_ct_CC="$ac_prog"
16648     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16649     break 2
16650   fi
16651 done
16652   done
16653 IFS=$as_save_IFS
16654
16655 fi
16656 fi
16657 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16658 if test -n "$ac_ct_CC"; then
16659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16660 $as_echo "$ac_ct_CC" >&6; }
16661 else
16662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16663 $as_echo "no" >&6; }
16664 fi
16665
16666
16667   test -n "$ac_ct_CC" && break
16668 done
16669
16670   if test "x$ac_ct_CC" = x; then
16671     CC=""
16672   else
16673     case $cross_compiling:$ac_tool_warned in
16674 yes:)
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16676 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16677 ac_tool_warned=yes ;;
16678 esac
16679     CC=$ac_ct_CC
16680   fi
16681 fi
16682
16683 fi
16684
16685
16686 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16688 as_fn_error $? "no acceptable C compiler found in \$PATH
16689 See \`config.log' for more details" "$LINENO" 5; }
16690
16691 # Provide some information about the compiler.
16692 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16693 set X $ac_compile
16694 ac_compiler=$2
16695 for ac_option in --version -v -V -qversion; do
16696   { { ac_try="$ac_compiler $ac_option >&5"
16697 case "(($ac_try" in
16698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16699   *) ac_try_echo=$ac_try;;
16700 esac
16701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16702 $as_echo "$ac_try_echo"; } >&5
16703   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16704   ac_status=$?
16705   if test -s conftest.err; then
16706     sed '10a\
16707 ... rest of stderr output deleted ...
16708          10q' conftest.err >conftest.er1
16709     cat conftest.er1 >&5
16710   fi
16711   rm -f conftest.er1 conftest.err
16712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16713   test $ac_status = 0; }
16714 done
16715
16716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16717 /* end confdefs.h.  */
16718
16719 int
16720 main ()
16721 {
16722
16723   ;
16724   return 0;
16725 }
16726 _ACEOF
16727 ac_clean_files_save=$ac_clean_files
16728 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16729 # Try to create an executable without -o first, disregard a.out.
16730 # It will help us diagnose broken compilers, and finding out an intuition
16731 # of exeext.
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16733 $as_echo_n "checking whether the C compiler works... " >&6; }
16734 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16735
16736 # The possible output files:
16737 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16738
16739 ac_rmfiles=
16740 for ac_file in $ac_files
16741 do
16742   case $ac_file in
16743     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16744     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16745   esac
16746 done
16747 rm -f $ac_rmfiles
16748
16749 if { { ac_try="$ac_link_default"
16750 case "(($ac_try" in
16751   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16752   *) ac_try_echo=$ac_try;;
16753 esac
16754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16755 $as_echo "$ac_try_echo"; } >&5
16756   (eval "$ac_link_default") 2>&5
16757   ac_status=$?
16758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16759   test $ac_status = 0; }; then :
16760   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16761 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16762 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
16763 # so that the user can short-circuit this test for compilers unknown to
16764 # Autoconf.
16765 for ac_file in $ac_files ''
16766 do
16767   test -f "$ac_file" || continue
16768   case $ac_file in
16769     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16770         ;;
16771     [ab].out )
16772         # We found the default executable, but exeext='' is most
16773         # certainly right.
16774         break;;
16775     *.* )
16776         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16777         then :; else
16778            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16779         fi
16780         # We set ac_cv_exeext here because the later test for it is not
16781         # safe: cross compilers may not add the suffix if given an `-o'
16782         # argument, so we may need to know it at that point already.
16783         # Even if this section looks crufty: it has the advantage of
16784         # actually working.
16785         break;;
16786     * )
16787         break;;
16788   esac
16789 done
16790 test "$ac_cv_exeext" = no && ac_cv_exeext=
16791
16792 else
16793   ac_file=''
16794 fi
16795 if test -z "$ac_file"; then :
16796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16797 $as_echo "no" >&6; }
16798 $as_echo "$as_me: failed program was:" >&5
16799 sed 's/^/| /' conftest.$ac_ext >&5
16800
16801 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16803 as_fn_error 77 "C compiler cannot create executables
16804 See \`config.log' for more details" "$LINENO" 5; }
16805 else
16806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16807 $as_echo "yes" >&6; }
16808 fi
16809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16810 $as_echo_n "checking for C compiler default output file name... " >&6; }
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16812 $as_echo "$ac_file" >&6; }
16813 ac_exeext=$ac_cv_exeext
16814
16815 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16816 ac_clean_files=$ac_clean_files_save
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16818 $as_echo_n "checking for suffix of executables... " >&6; }
16819 if { { ac_try="$ac_link"
16820 case "(($ac_try" in
16821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16822   *) ac_try_echo=$ac_try;;
16823 esac
16824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16825 $as_echo "$ac_try_echo"; } >&5
16826   (eval "$ac_link") 2>&5
16827   ac_status=$?
16828   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16829   test $ac_status = 0; }; then :
16830   # If both `conftest.exe' and `conftest' are `present' (well, observable)
16831 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
16832 # work properly (i.e., refer to `conftest.exe'), while it won't with
16833 # `rm'.
16834 for ac_file in conftest.exe conftest conftest.*; do
16835   test -f "$ac_file" || continue
16836   case $ac_file in
16837     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16838     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16839           break;;
16840     * ) break;;
16841   esac
16842 done
16843 else
16844   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16846 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16847 See \`config.log' for more details" "$LINENO" 5; }
16848 fi
16849 rm -f conftest conftest$ac_cv_exeext
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16851 $as_echo "$ac_cv_exeext" >&6; }
16852
16853 rm -f conftest.$ac_ext
16854 EXEEXT=$ac_cv_exeext
16855 ac_exeext=$EXEEXT
16856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16857 /* end confdefs.h.  */
16858 #include <stdio.h>
16859 int
16860 main ()
16861 {
16862 FILE *f = fopen ("conftest.out", "w");
16863  return ferror (f) || fclose (f) != 0;
16864
16865   ;
16866   return 0;
16867 }
16868 _ACEOF
16869 ac_clean_files="$ac_clean_files conftest.out"
16870 # Check that the compiler produces executables we can run.  If not, either
16871 # the compiler is broken, or we cross compile.
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16873 $as_echo_n "checking whether we are cross compiling... " >&6; }
16874 if test "$cross_compiling" != yes; then
16875   { { ac_try="$ac_link"
16876 case "(($ac_try" in
16877   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16878   *) ac_try_echo=$ac_try;;
16879 esac
16880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16881 $as_echo "$ac_try_echo"; } >&5
16882   (eval "$ac_link") 2>&5
16883   ac_status=$?
16884   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16885   test $ac_status = 0; }
16886   if { ac_try='./conftest$ac_cv_exeext'
16887   { { case "(($ac_try" in
16888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16889   *) ac_try_echo=$ac_try;;
16890 esac
16891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16892 $as_echo "$ac_try_echo"; } >&5
16893   (eval "$ac_try") 2>&5
16894   ac_status=$?
16895   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16896   test $ac_status = 0; }; }; then
16897     cross_compiling=no
16898   else
16899     if test "$cross_compiling" = maybe; then
16900         cross_compiling=yes
16901     else
16902         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16904 as_fn_error $? "cannot run C compiled programs.
16905 If you meant to cross compile, use \`--host'.
16906 See \`config.log' for more details" "$LINENO" 5; }
16907     fi
16908   fi
16909 fi
16910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16911 $as_echo "$cross_compiling" >&6; }
16912
16913 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16914 ac_clean_files=$ac_clean_files_save
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16916 $as_echo_n "checking for suffix of object files... " >&6; }
16917 if ${ac_cv_objext+:} false; then :
16918   $as_echo_n "(cached) " >&6
16919 else
16920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16921 /* end confdefs.h.  */
16922
16923 int
16924 main ()
16925 {
16926
16927   ;
16928   return 0;
16929 }
16930 _ACEOF
16931 rm -f conftest.o conftest.obj
16932 if { { ac_try="$ac_compile"
16933 case "(($ac_try" in
16934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16935   *) ac_try_echo=$ac_try;;
16936 esac
16937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16938 $as_echo "$ac_try_echo"; } >&5
16939   (eval "$ac_compile") 2>&5
16940   ac_status=$?
16941   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16942   test $ac_status = 0; }; then :
16943   for ac_file in conftest.o conftest.obj conftest.*; do
16944   test -f "$ac_file" || continue;
16945   case $ac_file in
16946     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16947     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16948        break;;
16949   esac
16950 done
16951 else
16952   $as_echo "$as_me: failed program was:" >&5
16953 sed 's/^/| /' conftest.$ac_ext >&5
16954
16955 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16956 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16957 as_fn_error $? "cannot compute suffix of object files: cannot compile
16958 See \`config.log' for more details" "$LINENO" 5; }
16959 fi
16960 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16961 fi
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16963 $as_echo "$ac_cv_objext" >&6; }
16964 OBJEXT=$ac_cv_objext
16965 ac_objext=$OBJEXT
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16967 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16968 if ${ac_cv_c_compiler_gnu+:} false; then :
16969   $as_echo_n "(cached) " >&6
16970 else
16971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16972 /* end confdefs.h.  */
16973
16974 int
16975 main ()
16976 {
16977 #ifndef __GNUC__
16978        choke me
16979 #endif
16980
16981   ;
16982   return 0;
16983 }
16984 _ACEOF
16985 if ac_fn_c_try_compile "$LINENO"; then :
16986   ac_compiler_gnu=yes
16987 else
16988   ac_compiler_gnu=no
16989 fi
16990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16991 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16992
16993 fi
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16995 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16996 if test $ac_compiler_gnu = yes; then
16997   GCC=yes
16998 else
16999   GCC=
17000 fi
17001 ac_test_CFLAGS=${CFLAGS+set}
17002 ac_save_CFLAGS=$CFLAGS
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17004 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17005 if ${ac_cv_prog_cc_g+:} false; then :
17006   $as_echo_n "(cached) " >&6
17007 else
17008   ac_save_c_werror_flag=$ac_c_werror_flag
17009    ac_c_werror_flag=yes
17010    ac_cv_prog_cc_g=no
17011    CFLAGS="-g"
17012    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17013 /* end confdefs.h.  */
17014
17015 int
17016 main ()
17017 {
17018
17019   ;
17020   return 0;
17021 }
17022 _ACEOF
17023 if ac_fn_c_try_compile "$LINENO"; then :
17024   ac_cv_prog_cc_g=yes
17025 else
17026   CFLAGS=""
17027       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17028 /* end confdefs.h.  */
17029
17030 int
17031 main ()
17032 {
17033
17034   ;
17035   return 0;
17036 }
17037 _ACEOF
17038 if ac_fn_c_try_compile "$LINENO"; then :
17039
17040 else
17041   ac_c_werror_flag=$ac_save_c_werror_flag
17042          CFLAGS="-g"
17043          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17044 /* end confdefs.h.  */
17045
17046 int
17047 main ()
17048 {
17049
17050   ;
17051   return 0;
17052 }
17053 _ACEOF
17054 if ac_fn_c_try_compile "$LINENO"; then :
17055   ac_cv_prog_cc_g=yes
17056 fi
17057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17058 fi
17059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17060 fi
17061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17062    ac_c_werror_flag=$ac_save_c_werror_flag
17063 fi
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17065 $as_echo "$ac_cv_prog_cc_g" >&6; }
17066 if test "$ac_test_CFLAGS" = set; then
17067   CFLAGS=$ac_save_CFLAGS
17068 elif test $ac_cv_prog_cc_g = yes; then
17069   if test "$GCC" = yes; then
17070     CFLAGS="-g -O2"
17071   else
17072     CFLAGS="-g"
17073   fi
17074 else
17075   if test "$GCC" = yes; then
17076     CFLAGS="-O2"
17077   else
17078     CFLAGS=
17079   fi
17080 fi
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17082 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17083 if ${ac_cv_prog_cc_c89+:} false; then :
17084   $as_echo_n "(cached) " >&6
17085 else
17086   ac_cv_prog_cc_c89=no
17087 ac_save_CC=$CC
17088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17089 /* end confdefs.h.  */
17090 #include <stdarg.h>
17091 #include <stdio.h>
17092 struct stat;
17093 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
17094 struct buf { int x; };
17095 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17096 static char *e (p, i)
17097      char **p;
17098      int i;
17099 {
17100   return p[i];
17101 }
17102 static char *f (char * (*g) (char **, int), char **p, ...)
17103 {
17104   char *s;
17105   va_list v;
17106   va_start (v,p);
17107   s = g (p, va_arg (v,int));
17108   va_end (v);
17109   return s;
17110 }
17111
17112 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
17113    function prototypes and stuff, but not '\xHH' hex character constants.
17114    These don't provoke an error unfortunately, instead are silently treated
17115    as 'x'.  The following induces an error, until -std is added to get
17116    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
17117    array size at least.  It's necessary to write '\x00'==0 to get something
17118    that's true only with -std.  */
17119 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17120
17121 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17122    inside strings and character constants.  */
17123 #define FOO(x) 'x'
17124 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17125
17126 int test (int i, double x);
17127 struct s1 {int (*f) (int a);};
17128 struct s2 {int (*f) (double a);};
17129 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17130 int argc;
17131 char **argv;
17132 int
17133 main ()
17134 {
17135 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
17136   ;
17137   return 0;
17138 }
17139 _ACEOF
17140 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17141         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17142 do
17143   CC="$ac_save_CC $ac_arg"
17144   if ac_fn_c_try_compile "$LINENO"; then :
17145   ac_cv_prog_cc_c89=$ac_arg
17146 fi
17147 rm -f core conftest.err conftest.$ac_objext
17148   test "x$ac_cv_prog_cc_c89" != "xno" && break
17149 done
17150 rm -f conftest.$ac_ext
17151 CC=$ac_save_CC
17152
17153 fi
17154 # AC_CACHE_VAL
17155 case "x$ac_cv_prog_cc_c89" in
17156   x)
17157     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17158 $as_echo "none needed" >&6; } ;;
17159   xno)
17160     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17161 $as_echo "unsupported" >&6; } ;;
17162   *)
17163     CC="$CC $ac_cv_prog_cc_c89"
17164     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17165 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17166 esac
17167 if test "x$ac_cv_prog_cc_c89" != xno; then :
17168
17169 fi
17170
17171 ac_ext=c
17172 ac_cpp='$CPP $CPPFLAGS'
17173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17176
17177
17178
17179
17180
17181
17182
17183
17184     ac_ext=c
17185 ac_cpp='$CPP $CPPFLAGS'
17186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17189
17190     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17191 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17192 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17193   $as_echo_n "(cached) " >&6
17194 else
17195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17196 /* end confdefs.h.  */
17197
17198 int
17199 main ()
17200 {
17201
17202              #ifndef __INTEL_COMPILER
17203                 choke me
17204              #endif
17205
17206   ;
17207   return 0;
17208 }
17209 _ACEOF
17210 if ac_fn_c_try_compile "$LINENO"; then :
17211   bakefile_cv_c_compiler___INTEL_COMPILER=yes
17212 else
17213   bakefile_cv_c_compiler___INTEL_COMPILER=no
17214
17215 fi
17216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17217
17218
17219 fi
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17221 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17222     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17223         :; INTELCC=yes
17224     else
17225         :;
17226     fi
17227     ac_ext=c
17228 ac_cpp='$CPP $CPPFLAGS'
17229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17232
17233
17234
17235
17236         if test "$INTELCC" = "yes"; then
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 Intel C compiler v8 or later" >&5
17246 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17247 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} 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 || __INTEL_COMPILER < 800
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_lt_800=yes
17267 else
17268   bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=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_lt_800" >&5
17276 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17277     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17278         :; INTELCC8=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
17292     ac_ext=c
17293 ac_cpp='$CPP $CPPFLAGS'
17294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17297
17298     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17299 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17300 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17301   $as_echo_n "(cached) " >&6
17302 else
17303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17304 /* end confdefs.h.  */
17305
17306 int
17307 main ()
17308 {
17309
17310              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17311                 choke me
17312              #endif
17313
17314   ;
17315   return 0;
17316 }
17317 _ACEOF
17318 if ac_fn_c_try_compile "$LINENO"; then :
17319   bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17320 else
17321   bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17322
17323 fi
17324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17325
17326
17327 fi
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17329 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17330     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17331         :; INTELCC10=yes
17332     else
17333         :;
17334     fi
17335     ac_ext=c
17336 ac_cpp='$CPP $CPPFLAGS'
17337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17340
17341
17342
17343     fi
17344
17345         if test "x$GCC" != "xyes"; then
17346         if test "xCC" = "xC"; then
17347             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17348 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17349 if ${bakefile_cv_c_exto+:} false; then :
17350   $as_echo_n "(cached) " >&6
17351 else
17352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17353 /* end confdefs.h.  */
17354
17355 int
17356 main ()
17357 {
17358
17359   ;
17360   return 0;
17361 }
17362 _ACEOF
17363 rm -f conftest.$ac_objext conftest.$ac_ext.o
17364 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17365   (eval $ac_compile) 2>&5
17366   ac_status=$?
17367   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17368   test $ac_status = 0; }; then :
17369   for ac_file in `(ls conftest.* 2>/dev/null)`; do
17370     case $ac_file in
17371         conftest.$ac_ext.o)
17372             bakefile_cv_c_exto="-ext o"
17373             ;;
17374         *)
17375             ;;
17376     esac
17377 done
17378 else
17379   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17381 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17382 See \`config.log' for more details" "$LINENO" 5; }
17383
17384 fi
17385 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17386
17387 fi
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17389 $as_echo "$bakefile_cv_c_exto" >&6; }
17390 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17391     if test "c" = "c"; then
17392         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17393     fi
17394     if test "c" = "cxx"; then
17395         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17396     fi
17397 fi
17398
17399             if test "x$bakefile_cv_c_exto" '!=' "x"; then
17400                 unset ac_cv_prog_cc_g
17401                 ac_test_CFLAGS=${CFLAGS+set}
17402 ac_save_CFLAGS=$CFLAGS
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17404 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17405 if ${ac_cv_prog_cc_g+:} false; then :
17406   $as_echo_n "(cached) " >&6
17407 else
17408   ac_save_c_werror_flag=$ac_c_werror_flag
17409    ac_c_werror_flag=yes
17410    ac_cv_prog_cc_g=no
17411    CFLAGS="-g"
17412    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17413 /* end confdefs.h.  */
17414
17415 int
17416 main ()
17417 {
17418
17419   ;
17420   return 0;
17421 }
17422 _ACEOF
17423 if ac_fn_c_try_compile "$LINENO"; then :
17424   ac_cv_prog_cc_g=yes
17425 else
17426   CFLAGS=""
17427       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17428 /* end confdefs.h.  */
17429
17430 int
17431 main ()
17432 {
17433
17434   ;
17435   return 0;
17436 }
17437 _ACEOF
17438 if ac_fn_c_try_compile "$LINENO"; then :
17439
17440 else
17441   ac_c_werror_flag=$ac_save_c_werror_flag
17442          CFLAGS="-g"
17443          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17444 /* end confdefs.h.  */
17445
17446 int
17447 main ()
17448 {
17449
17450   ;
17451   return 0;
17452 }
17453 _ACEOF
17454 if ac_fn_c_try_compile "$LINENO"; then :
17455   ac_cv_prog_cc_g=yes
17456 fi
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17458 fi
17459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17460 fi
17461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17462    ac_c_werror_flag=$ac_save_c_werror_flag
17463 fi
17464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17465 $as_echo "$ac_cv_prog_cc_g" >&6; }
17466 if test "$ac_test_CFLAGS" = set; then
17467   CFLAGS=$ac_save_CFLAGS
17468 elif test $ac_cv_prog_cc_g = yes; then
17469   if test "$GCC" = yes; then
17470     CFLAGS="-g -O2"
17471   else
17472     CFLAGS="-g"
17473   fi
17474 else
17475   if test "$GCC" = yes; then
17476     CFLAGS="-O2"
17477   else
17478     CFLAGS=
17479   fi
17480 fi
17481             fi
17482         fi
17483
17484                         case `uname -s` in
17485             AIX*)
17486
17487
17488     ac_ext=c
17489 ac_cpp='$CPP $CPPFLAGS'
17490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17493
17494     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17495 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17496 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17497   $as_echo_n "(cached) " >&6
17498 else
17499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h.  */
17501
17502 int
17503 main ()
17504 {
17505
17506              #ifndef __xlC__
17507                 choke me
17508              #endif
17509
17510   ;
17511   return 0;
17512 }
17513 _ACEOF
17514 if ac_fn_c_try_compile "$LINENO"; then :
17515   bakefile_cv_c_compiler___xlC__=yes
17516 else
17517   bakefile_cv_c_compiler___xlC__=no
17518
17519 fi
17520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17521
17522
17523 fi
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17525 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17526     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17527         :; XLCC=yes
17528     else
17529         :;
17530     fi
17531     ac_ext=c
17532 ac_cpp='$CPP $CPPFLAGS'
17533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17536
17537
17538
17539                 ;;
17540
17541             Darwin)
17542
17543
17544     ac_ext=c
17545 ac_cpp='$CPP $CPPFLAGS'
17546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17549
17550     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17551 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17552 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17553   $as_echo_n "(cached) " >&6
17554 else
17555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17556 /* end confdefs.h.  */
17557
17558 int
17559 main ()
17560 {
17561
17562              #ifndef __MWERKS__
17563                 choke me
17564              #endif
17565
17566   ;
17567   return 0;
17568 }
17569 _ACEOF
17570 if ac_fn_c_try_compile "$LINENO"; then :
17571   bakefile_cv_c_compiler___MWERKS__=yes
17572 else
17573   bakefile_cv_c_compiler___MWERKS__=no
17574
17575 fi
17576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17577
17578
17579 fi
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17581 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17582     if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17583         :; MWCC=yes
17584     else
17585         :;
17586     fi
17587     ac_ext=c
17588 ac_cpp='$CPP $CPPFLAGS'
17589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17592
17593
17594
17595                 if test "$MWCC" != "yes"; then
17596
17597
17598     ac_ext=c
17599 ac_cpp='$CPP $CPPFLAGS'
17600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17603
17604     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17605 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17606 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17607   $as_echo_n "(cached) " >&6
17608 else
17609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17610 /* end confdefs.h.  */
17611
17612 int
17613 main ()
17614 {
17615
17616              #ifndef __xlC__
17617                 choke me
17618              #endif
17619
17620   ;
17621   return 0;
17622 }
17623 _ACEOF
17624 if ac_fn_c_try_compile "$LINENO"; then :
17625   bakefile_cv_c_compiler___xlC__=yes
17626 else
17627   bakefile_cv_c_compiler___xlC__=no
17628
17629 fi
17630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17631
17632
17633 fi
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17635 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17636     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17637         :; XLCC=yes
17638     else
17639         :;
17640     fi
17641     ac_ext=c
17642 ac_cpp='$CPP $CPPFLAGS'
17643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17646
17647
17648
17649                 fi
17650                 ;;
17651
17652             IRIX*)
17653
17654
17655     ac_ext=c
17656 ac_cpp='$CPP $CPPFLAGS'
17657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17660
17661     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17662 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17663 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17664   $as_echo_n "(cached) " >&6
17665 else
17666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17667 /* end confdefs.h.  */
17668
17669 int
17670 main ()
17671 {
17672
17673              #ifndef _SGI_COMPILER_VERSION
17674                 choke me
17675              #endif
17676
17677   ;
17678   return 0;
17679 }
17680 _ACEOF
17681 if ac_fn_c_try_compile "$LINENO"; then :
17682   bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17683 else
17684   bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17685
17686 fi
17687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17688
17689
17690 fi
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17692 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17693     if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17694         :; SGICC=yes
17695     else
17696         :;
17697     fi
17698     ac_ext=c
17699 ac_cpp='$CPP $CPPFLAGS'
17700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17703
17704
17705
17706                 ;;
17707
17708             Linux*)
17709                                                 if test "$INTELCC" != "yes"; then
17710
17711
17712     ac_ext=c
17713 ac_cpp='$CPP $CPPFLAGS'
17714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17717
17718     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17719 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17720 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17721   $as_echo_n "(cached) " >&6
17722 else
17723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h.  */
17725
17726 int
17727 main ()
17728 {
17729
17730              #ifndef __SUNPRO_C
17731                 choke me
17732              #endif
17733
17734   ;
17735   return 0;
17736 }
17737 _ACEOF
17738 if ac_fn_c_try_compile "$LINENO"; then :
17739   bakefile_cv_c_compiler___SUNPRO_C=yes
17740 else
17741   bakefile_cv_c_compiler___SUNPRO_C=no
17742
17743 fi
17744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17745
17746
17747 fi
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17749 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17750     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17751         :; SUNCC=yes
17752     else
17753         :;
17754     fi
17755     ac_ext=c
17756 ac_cpp='$CPP $CPPFLAGS'
17757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17760
17761
17762
17763                 fi
17764                 ;;
17765
17766             HP-UX*)
17767
17768
17769     ac_ext=c
17770 ac_cpp='$CPP $CPPFLAGS'
17771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17774
17775     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17776 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17777 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17778   $as_echo_n "(cached) " >&6
17779 else
17780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17781 /* end confdefs.h.  */
17782
17783 int
17784 main ()
17785 {
17786
17787              #ifndef __HP_cc
17788                 choke me
17789              #endif
17790
17791   ;
17792   return 0;
17793 }
17794 _ACEOF
17795 if ac_fn_c_try_compile "$LINENO"; then :
17796   bakefile_cv_c_compiler___HP_cc=yes
17797 else
17798   bakefile_cv_c_compiler___HP_cc=no
17799
17800 fi
17801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17802
17803
17804 fi
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17806 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17807     if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17808         :; HPCC=yes
17809     else
17810         :;
17811     fi
17812     ac_ext=c
17813 ac_cpp='$CPP $CPPFLAGS'
17814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17817
17818
17819
17820                 ;;
17821
17822             OSF1)
17823
17824
17825     ac_ext=c
17826 ac_cpp='$CPP $CPPFLAGS'
17827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17830
17831     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17832 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17833 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17834   $as_echo_n "(cached) " >&6
17835 else
17836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17837 /* end confdefs.h.  */
17838
17839 int
17840 main ()
17841 {
17842
17843              #ifndef __DECC
17844                 choke me
17845              #endif
17846
17847   ;
17848   return 0;
17849 }
17850 _ACEOF
17851 if ac_fn_c_try_compile "$LINENO"; then :
17852   bakefile_cv_c_compiler___DECC=yes
17853 else
17854   bakefile_cv_c_compiler___DECC=no
17855
17856 fi
17857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17858
17859
17860 fi
17861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17862 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17863     if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17864         :; COMPAQCC=yes
17865     else
17866         :;
17867     fi
17868     ac_ext=c
17869 ac_cpp='$CPP $CPPFLAGS'
17870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17873
17874
17875
17876                 ;;
17877
17878             SunOS)
17879
17880
17881     ac_ext=c
17882 ac_cpp='$CPP $CPPFLAGS'
17883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17886
17887     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17888 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17889 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17890   $as_echo_n "(cached) " >&6
17891 else
17892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17893 /* end confdefs.h.  */
17894
17895 int
17896 main ()
17897 {
17898
17899              #ifndef __SUNPRO_C
17900                 choke me
17901              #endif
17902
17903   ;
17904   return 0;
17905 }
17906 _ACEOF
17907 if ac_fn_c_try_compile "$LINENO"; then :
17908   bakefile_cv_c_compiler___SUNPRO_C=yes
17909 else
17910   bakefile_cv_c_compiler___SUNPRO_C=no
17911
17912 fi
17913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17914
17915
17916 fi
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17918 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17919     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17920         :; SUNCC=yes
17921     else
17922         :;
17923     fi
17924     ac_ext=c
17925 ac_cpp='$CPP $CPPFLAGS'
17926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17929
17930
17931
17932                 ;;
17933         esac
17934     fi
17935
17936
17937
17938 ac_ext=c
17939 ac_cpp='$CPP $CPPFLAGS'
17940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17944 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17945 # On Suns, sometimes $CPP names a directory.
17946 if test -n "$CPP" && test -d "$CPP"; then
17947   CPP=
17948 fi
17949 if test -z "$CPP"; then
17950   if ${ac_cv_prog_CPP+:} false; then :
17951   $as_echo_n "(cached) " >&6
17952 else
17953       # Double quotes because CPP needs to be expanded
17954     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17955     do
17956       ac_preproc_ok=false
17957 for ac_c_preproc_warn_flag in '' yes
17958 do
17959   # Use a header file that comes with gcc, so configuring glibc
17960   # with a fresh cross-compiler works.
17961   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17962   # <limits.h> exists even on freestanding compilers.
17963   # On the NeXT, cc -E runs the code through the compiler's parser,
17964   # not just through cpp. "Syntax error" is here to catch this case.
17965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17966 /* end confdefs.h.  */
17967 #ifdef __STDC__
17968 # include <limits.h>
17969 #else
17970 # include <assert.h>
17971 #endif
17972                      Syntax error
17973 _ACEOF
17974 if ac_fn_c_try_cpp "$LINENO"; then :
17975
17976 else
17977   # Broken: fails on valid input.
17978 continue
17979 fi
17980 rm -f conftest.err conftest.i conftest.$ac_ext
17981
17982   # OK, works on sane cases.  Now check whether nonexistent headers
17983   # can be detected and how.
17984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17985 /* end confdefs.h.  */
17986 #include <ac_nonexistent.h>
17987 _ACEOF
17988 if ac_fn_c_try_cpp "$LINENO"; then :
17989   # Broken: success on invalid input.
17990 continue
17991 else
17992   # Passes both tests.
17993 ac_preproc_ok=:
17994 break
17995 fi
17996 rm -f conftest.err conftest.i conftest.$ac_ext
17997
17998 done
17999 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18000 rm -f conftest.i conftest.err conftest.$ac_ext
18001 if $ac_preproc_ok; then :
18002   break
18003 fi
18004
18005     done
18006     ac_cv_prog_CPP=$CPP
18007
18008 fi
18009   CPP=$ac_cv_prog_CPP
18010 else
18011   ac_cv_prog_CPP=$CPP
18012 fi
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
18014 $as_echo "$CPP" >&6; }
18015 ac_preproc_ok=false
18016 for ac_c_preproc_warn_flag in '' yes
18017 do
18018   # Use a header file that comes with gcc, so configuring glibc
18019   # with a fresh cross-compiler works.
18020   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18021   # <limits.h> exists even on freestanding compilers.
18022   # On the NeXT, cc -E runs the code through the compiler's parser,
18023   # not just through cpp. "Syntax error" is here to catch this case.
18024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18025 /* end confdefs.h.  */
18026 #ifdef __STDC__
18027 # include <limits.h>
18028 #else
18029 # include <assert.h>
18030 #endif
18031                      Syntax error
18032 _ACEOF
18033 if ac_fn_c_try_cpp "$LINENO"; then :
18034
18035 else
18036   # Broken: fails on valid input.
18037 continue
18038 fi
18039 rm -f conftest.err conftest.i conftest.$ac_ext
18040
18041   # OK, works on sane cases.  Now check whether nonexistent headers
18042   # can be detected and how.
18043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18044 /* end confdefs.h.  */
18045 #include <ac_nonexistent.h>
18046 _ACEOF
18047 if ac_fn_c_try_cpp "$LINENO"; then :
18048   # Broken: success on invalid input.
18049 continue
18050 else
18051   # Passes both tests.
18052 ac_preproc_ok=:
18053 break
18054 fi
18055 rm -f conftest.err conftest.i conftest.$ac_ext
18056
18057 done
18058 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18059 rm -f conftest.i conftest.err conftest.$ac_ext
18060 if $ac_preproc_ok; then :
18061
18062 else
18063   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18065 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
18066 See \`config.log' for more details" "$LINENO" 5; }
18067 fi
18068
18069 ac_ext=c
18070 ac_cpp='$CPP $CPPFLAGS'
18071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18074
18075
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
18077 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
18078 if ${ac_cv_path_GREP+:} false; then :
18079   $as_echo_n "(cached) " >&6
18080 else
18081   if test -z "$GREP"; then
18082   ac_path_GREP_found=false
18083   # Loop through the user's path and test for each of PROGNAME-LIST
18084   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18085 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18086 do
18087   IFS=$as_save_IFS
18088   test -z "$as_dir" && as_dir=.
18089     for ac_prog in grep ggrep; do
18090     for ac_exec_ext in '' $ac_executable_extensions; do
18091       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18092       as_fn_executable_p "$ac_path_GREP" || continue
18093 # Check for GNU ac_path_GREP and select it if it is found.
18094   # Check for GNU $ac_path_GREP
18095 case `"$ac_path_GREP" --version 2>&1` in
18096 *GNU*)
18097   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18098 *)
18099   ac_count=0
18100   $as_echo_n 0123456789 >"conftest.in"
18101   while :
18102   do
18103     cat "conftest.in" "conftest.in" >"conftest.tmp"
18104     mv "conftest.tmp" "conftest.in"
18105     cp "conftest.in" "conftest.nl"
18106     $as_echo 'GREP' >> "conftest.nl"
18107     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18108     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18109     as_fn_arith $ac_count + 1 && ac_count=$as_val
18110     if test $ac_count -gt ${ac_path_GREP_max-0}; then
18111       # Best one so far, save it but keep looking for a better one
18112       ac_cv_path_GREP="$ac_path_GREP"
18113       ac_path_GREP_max=$ac_count
18114     fi
18115     # 10*(2^10) chars as input seems more than enough
18116     test $ac_count -gt 10 && break
18117   done
18118   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18119 esac
18120
18121       $ac_path_GREP_found && break 3
18122     done
18123   done
18124   done
18125 IFS=$as_save_IFS
18126   if test -z "$ac_cv_path_GREP"; then
18127     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18128   fi
18129 else
18130   ac_cv_path_GREP=$GREP
18131 fi
18132
18133 fi
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18135 $as_echo "$ac_cv_path_GREP" >&6; }
18136  GREP="$ac_cv_path_GREP"
18137
18138
18139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18140 $as_echo_n "checking for egrep... " >&6; }
18141 if ${ac_cv_path_EGREP+:} false; then :
18142   $as_echo_n "(cached) " >&6
18143 else
18144   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18145    then ac_cv_path_EGREP="$GREP -E"
18146    else
18147      if test -z "$EGREP"; then
18148   ac_path_EGREP_found=false
18149   # Loop through the user's path and test for each of PROGNAME-LIST
18150   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18151 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18152 do
18153   IFS=$as_save_IFS
18154   test -z "$as_dir" && as_dir=.
18155     for ac_prog in egrep; do
18156     for ac_exec_ext in '' $ac_executable_extensions; do
18157       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18158       as_fn_executable_p "$ac_path_EGREP" || continue
18159 # Check for GNU ac_path_EGREP and select it if it is found.
18160   # Check for GNU $ac_path_EGREP
18161 case `"$ac_path_EGREP" --version 2>&1` in
18162 *GNU*)
18163   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18164 *)
18165   ac_count=0
18166   $as_echo_n 0123456789 >"conftest.in"
18167   while :
18168   do
18169     cat "conftest.in" "conftest.in" >"conftest.tmp"
18170     mv "conftest.tmp" "conftest.in"
18171     cp "conftest.in" "conftest.nl"
18172     $as_echo 'EGREP' >> "conftest.nl"
18173     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18174     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18175     as_fn_arith $ac_count + 1 && ac_count=$as_val
18176     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18177       # Best one so far, save it but keep looking for a better one
18178       ac_cv_path_EGREP="$ac_path_EGREP"
18179       ac_path_EGREP_max=$ac_count
18180     fi
18181     # 10*(2^10) chars as input seems more than enough
18182     test $ac_count -gt 10 && break
18183   done
18184   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18185 esac
18186
18187       $ac_path_EGREP_found && break 3
18188     done
18189   done
18190   done
18191 IFS=$as_save_IFS
18192   if test -z "$ac_cv_path_EGREP"; then
18193     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18194   fi
18195 else
18196   ac_cv_path_EGREP=$EGREP
18197 fi
18198
18199    fi
18200 fi
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18202 $as_echo "$ac_cv_path_EGREP" >&6; }
18203  EGREP="$ac_cv_path_EGREP"
18204
18205
18206 if test $ac_cv_c_compiler_gnu = yes; then
18207     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18208 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18209 if ${ac_cv_prog_gcc_traditional+:} false; then :
18210   $as_echo_n "(cached) " >&6
18211 else
18212     ac_pattern="Autoconf.*'x'"
18213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18214 /* end confdefs.h.  */
18215 #include <sgtty.h>
18216 Autoconf TIOCGETP
18217 _ACEOF
18218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18219   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18220   ac_cv_prog_gcc_traditional=yes
18221 else
18222   ac_cv_prog_gcc_traditional=no
18223 fi
18224 rm -f conftest*
18225
18226
18227   if test $ac_cv_prog_gcc_traditional = no; then
18228     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18229 /* end confdefs.h.  */
18230 #include <termio.h>
18231 Autoconf TCGETA
18232 _ACEOF
18233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18234   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18235   ac_cv_prog_gcc_traditional=yes
18236 fi
18237 rm -f conftest*
18238
18239   fi
18240 fi
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18242 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18243   if test $ac_cv_prog_gcc_traditional = yes; then
18244     CC="$CC -traditional"
18245   fi
18246 fi
18247
18248
18249 CXXFLAGS=${CXXFLAGS:=}
18250 ac_ext=cpp
18251 ac_cpp='$CXXCPP $CPPFLAGS'
18252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18255 if test -z "$CXX"; then
18256   if test -n "$CCC"; then
18257     CXX=$CCC
18258   else
18259     if test -n "$ac_tool_prefix"; then
18260   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18261   do
18262     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18263 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18265 $as_echo_n "checking for $ac_word... " >&6; }
18266 if ${ac_cv_prog_CXX+:} false; then :
18267   $as_echo_n "(cached) " >&6
18268 else
18269   if test -n "$CXX"; then
18270   ac_cv_prog_CXX="$CXX" # Let the user override the test.
18271 else
18272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18273 for as_dir in $PATH
18274 do
18275   IFS=$as_save_IFS
18276   test -z "$as_dir" && as_dir=.
18277     for ac_exec_ext in '' $ac_executable_extensions; do
18278   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18279     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18280     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18281     break 2
18282   fi
18283 done
18284   done
18285 IFS=$as_save_IFS
18286
18287 fi
18288 fi
18289 CXX=$ac_cv_prog_CXX
18290 if test -n "$CXX"; then
18291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18292 $as_echo "$CXX" >&6; }
18293 else
18294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18295 $as_echo "no" >&6; }
18296 fi
18297
18298
18299     test -n "$CXX" && break
18300   done
18301 fi
18302 if test -z "$CXX"; then
18303   ac_ct_CXX=$CXX
18304   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18305 do
18306   # Extract the first word of "$ac_prog", so it can be a program name with args.
18307 set dummy $ac_prog; ac_word=$2
18308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18309 $as_echo_n "checking for $ac_word... " >&6; }
18310 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18311   $as_echo_n "(cached) " >&6
18312 else
18313   if test -n "$ac_ct_CXX"; then
18314   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18315 else
18316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18317 for as_dir in $PATH
18318 do
18319   IFS=$as_save_IFS
18320   test -z "$as_dir" && as_dir=.
18321     for ac_exec_ext in '' $ac_executable_extensions; do
18322   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18323     ac_cv_prog_ac_ct_CXX="$ac_prog"
18324     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18325     break 2
18326   fi
18327 done
18328   done
18329 IFS=$as_save_IFS
18330
18331 fi
18332 fi
18333 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18334 if test -n "$ac_ct_CXX"; then
18335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18336 $as_echo "$ac_ct_CXX" >&6; }
18337 else
18338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18339 $as_echo "no" >&6; }
18340 fi
18341
18342
18343   test -n "$ac_ct_CXX" && break
18344 done
18345
18346   if test "x$ac_ct_CXX" = x; then
18347     CXX="g++"
18348   else
18349     case $cross_compiling:$ac_tool_warned in
18350 yes:)
18351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18353 ac_tool_warned=yes ;;
18354 esac
18355     CXX=$ac_ct_CXX
18356   fi
18357 fi
18358
18359   fi
18360 fi
18361 # Provide some information about the compiler.
18362 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18363 set X $ac_compile
18364 ac_compiler=$2
18365 for ac_option in --version -v -V -qversion; do
18366   { { ac_try="$ac_compiler $ac_option >&5"
18367 case "(($ac_try" in
18368   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18369   *) ac_try_echo=$ac_try;;
18370 esac
18371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18372 $as_echo "$ac_try_echo"; } >&5
18373   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18374   ac_status=$?
18375   if test -s conftest.err; then
18376     sed '10a\
18377 ... rest of stderr output deleted ...
18378          10q' conftest.err >conftest.er1
18379     cat conftest.er1 >&5
18380   fi
18381   rm -f conftest.er1 conftest.err
18382   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18383   test $ac_status = 0; }
18384 done
18385
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18387 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18388 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18389   $as_echo_n "(cached) " >&6
18390 else
18391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18392 /* end confdefs.h.  */
18393
18394 int
18395 main ()
18396 {
18397 #ifndef __GNUC__
18398        choke me
18399 #endif
18400
18401   ;
18402   return 0;
18403 }
18404 _ACEOF
18405 if ac_fn_cxx_try_compile "$LINENO"; then :
18406   ac_compiler_gnu=yes
18407 else
18408   ac_compiler_gnu=no
18409 fi
18410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18411 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18412
18413 fi
18414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18415 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18416 if test $ac_compiler_gnu = yes; then
18417   GXX=yes
18418 else
18419   GXX=
18420 fi
18421 ac_test_CXXFLAGS=${CXXFLAGS+set}
18422 ac_save_CXXFLAGS=$CXXFLAGS
18423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18424 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18425 if ${ac_cv_prog_cxx_g+:} false; then :
18426   $as_echo_n "(cached) " >&6
18427 else
18428   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18429    ac_cxx_werror_flag=yes
18430    ac_cv_prog_cxx_g=no
18431    CXXFLAGS="-g"
18432    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18433 /* end confdefs.h.  */
18434
18435 int
18436 main ()
18437 {
18438
18439   ;
18440   return 0;
18441 }
18442 _ACEOF
18443 if ac_fn_cxx_try_compile "$LINENO"; then :
18444   ac_cv_prog_cxx_g=yes
18445 else
18446   CXXFLAGS=""
18447       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18448 /* end confdefs.h.  */
18449
18450 int
18451 main ()
18452 {
18453
18454   ;
18455   return 0;
18456 }
18457 _ACEOF
18458 if ac_fn_cxx_try_compile "$LINENO"; then :
18459
18460 else
18461   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18462          CXXFLAGS="-g"
18463          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18464 /* end confdefs.h.  */
18465
18466 int
18467 main ()
18468 {
18469
18470   ;
18471   return 0;
18472 }
18473 _ACEOF
18474 if ac_fn_cxx_try_compile "$LINENO"; then :
18475   ac_cv_prog_cxx_g=yes
18476 fi
18477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18478 fi
18479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18480 fi
18481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18482    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18483 fi
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18485 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18486 if test "$ac_test_CXXFLAGS" = set; then
18487   CXXFLAGS=$ac_save_CXXFLAGS
18488 elif test $ac_cv_prog_cxx_g = yes; then
18489   if test "$GXX" = yes; then
18490     CXXFLAGS="-g -O2"
18491   else
18492     CXXFLAGS="-g"
18493   fi
18494 else
18495   if test "$GXX" = yes; then
18496     CXXFLAGS="-O2"
18497   else
18498     CXXFLAGS=
18499   fi
18500 fi
18501 ac_ext=c
18502 ac_cpp='$CPP $CPPFLAGS'
18503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18506
18507
18508
18509
18510
18511
18512
18513
18514     ac_ext=cpp
18515 ac_cpp='$CXXCPP $CPPFLAGS'
18516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18519
18520     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18521 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18522 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18523   $as_echo_n "(cached) " >&6
18524 else
18525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18526 /* end confdefs.h.  */
18527
18528 int
18529 main ()
18530 {
18531
18532              #ifndef __INTEL_COMPILER
18533                 choke me
18534              #endif
18535
18536   ;
18537   return 0;
18538 }
18539 _ACEOF
18540 if ac_fn_cxx_try_compile "$LINENO"; then :
18541   bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18542 else
18543   bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18544
18545 fi
18546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18547
18548
18549 fi
18550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18551 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18552     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18553         :; INTELCXX=yes
18554     else
18555         :;
18556     fi
18557     ac_ext=c
18558 ac_cpp='$CPP $CPPFLAGS'
18559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18562
18563
18564
18565
18566         if test "$INTELCXX" = "yes"; then
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 Intel C++ compiler v8 or later" >&5
18576 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18577 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} 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 || __INTEL_COMPILER < 800
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_lt_800=yes
18597 else
18598   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=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_lt_800" >&5
18606 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18607     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18608         :; INTELCXX8=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
18622     ac_ext=cpp
18623 ac_cpp='$CXXCPP $CPPFLAGS'
18624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18627
18628     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18629 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18630 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18631   $as_echo_n "(cached) " >&6
18632 else
18633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18634 /* end confdefs.h.  */
18635
18636 int
18637 main ()
18638 {
18639
18640              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18641                 choke me
18642              #endif
18643
18644   ;
18645   return 0;
18646 }
18647 _ACEOF
18648 if ac_fn_cxx_try_compile "$LINENO"; then :
18649   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18650 else
18651   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18652
18653 fi
18654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18655
18656
18657 fi
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18659 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18660     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18661         :; INTELCXX10=yes
18662     else
18663         :;
18664     fi
18665     ac_ext=c
18666 ac_cpp='$CPP $CPPFLAGS'
18667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18670
18671
18672
18673     fi
18674
18675         if test "x$GCXX" != "xyes"; then
18676         if test "xCXX" = "xC"; then
18677             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18678 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18679 if ${bakefile_cv_c_exto+:} false; then :
18680   $as_echo_n "(cached) " >&6
18681 else
18682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18683 /* end confdefs.h.  */
18684
18685 int
18686 main ()
18687 {
18688
18689   ;
18690   return 0;
18691 }
18692 _ACEOF
18693 rm -f conftest.$ac_objext conftest.$ac_ext.o
18694 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18695   (eval $ac_compile) 2>&5
18696   ac_status=$?
18697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18698   test $ac_status = 0; }; then :
18699   for ac_file in `(ls conftest.* 2>/dev/null)`; do
18700     case $ac_file in
18701         conftest.$ac_ext.o)
18702             bakefile_cv_c_exto="-ext o"
18703             ;;
18704         *)
18705             ;;
18706     esac
18707 done
18708 else
18709   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18711 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18712 See \`config.log' for more details" "$LINENO" 5; }
18713
18714 fi
18715 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18716
18717 fi
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18719 $as_echo "$bakefile_cv_c_exto" >&6; }
18720 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18721     if test "c" = "c"; then
18722         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18723     fi
18724     if test "c" = "cxx"; then
18725         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18726     fi
18727 fi
18728
18729             if test "x$bakefile_cv_c_exto" '!=' "x"; then
18730                 unset ac_cv_prog_cc_g
18731                 ac_test_CFLAGS=${CFLAGS+set}
18732 ac_save_CFLAGS=$CFLAGS
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18734 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18735 if ${ac_cv_prog_cc_g+:} false; then :
18736   $as_echo_n "(cached) " >&6
18737 else
18738   ac_save_c_werror_flag=$ac_c_werror_flag
18739    ac_c_werror_flag=yes
18740    ac_cv_prog_cc_g=no
18741    CFLAGS="-g"
18742    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18743 /* end confdefs.h.  */
18744
18745 int
18746 main ()
18747 {
18748
18749   ;
18750   return 0;
18751 }
18752 _ACEOF
18753 if ac_fn_c_try_compile "$LINENO"; then :
18754   ac_cv_prog_cc_g=yes
18755 else
18756   CFLAGS=""
18757       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18758 /* end confdefs.h.  */
18759
18760 int
18761 main ()
18762 {
18763
18764   ;
18765   return 0;
18766 }
18767 _ACEOF
18768 if ac_fn_c_try_compile "$LINENO"; then :
18769
18770 else
18771   ac_c_werror_flag=$ac_save_c_werror_flag
18772          CFLAGS="-g"
18773          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18774 /* end confdefs.h.  */
18775
18776 int
18777 main ()
18778 {
18779
18780   ;
18781   return 0;
18782 }
18783 _ACEOF
18784 if ac_fn_c_try_compile "$LINENO"; then :
18785   ac_cv_prog_cc_g=yes
18786 fi
18787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18788 fi
18789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18790 fi
18791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18792    ac_c_werror_flag=$ac_save_c_werror_flag
18793 fi
18794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18795 $as_echo "$ac_cv_prog_cc_g" >&6; }
18796 if test "$ac_test_CFLAGS" = set; then
18797   CFLAGS=$ac_save_CFLAGS
18798 elif test $ac_cv_prog_cc_g = yes; then
18799   if test "$GCC" = yes; then
18800     CFLAGS="-g -O2"
18801   else
18802     CFLAGS="-g"
18803   fi
18804 else
18805   if test "$GCC" = yes; then
18806     CFLAGS="-O2"
18807   else
18808     CFLAGS=
18809   fi
18810 fi
18811             fi
18812         fi
18813
18814                         case `uname -s` in
18815             AIX*)
18816
18817
18818     ac_ext=cpp
18819 ac_cpp='$CXXCPP $CPPFLAGS'
18820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18823
18824     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18825 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18826 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18827   $as_echo_n "(cached) " >&6
18828 else
18829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18830 /* end confdefs.h.  */
18831
18832 int
18833 main ()
18834 {
18835
18836              #ifndef __xlC__
18837                 choke me
18838              #endif
18839
18840   ;
18841   return 0;
18842 }
18843 _ACEOF
18844 if ac_fn_cxx_try_compile "$LINENO"; then :
18845   bakefile_cv_cxx_compiler___xlC__=yes
18846 else
18847   bakefile_cv_cxx_compiler___xlC__=no
18848
18849 fi
18850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18851
18852
18853 fi
18854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18855 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18856     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18857         :; XLCXX=yes
18858     else
18859         :;
18860     fi
18861     ac_ext=c
18862 ac_cpp='$CPP $CPPFLAGS'
18863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18866
18867
18868
18869                 ;;
18870
18871             Darwin)
18872
18873
18874     ac_ext=cpp
18875 ac_cpp='$CXXCPP $CPPFLAGS'
18876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18879
18880     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18881 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18882 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18883   $as_echo_n "(cached) " >&6
18884 else
18885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18886 /* end confdefs.h.  */
18887
18888 int
18889 main ()
18890 {
18891
18892              #ifndef __MWERKS__
18893                 choke me
18894              #endif
18895
18896   ;
18897   return 0;
18898 }
18899 _ACEOF
18900 if ac_fn_cxx_try_compile "$LINENO"; then :
18901   bakefile_cv_cxx_compiler___MWERKS__=yes
18902 else
18903   bakefile_cv_cxx_compiler___MWERKS__=no
18904
18905 fi
18906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18907
18908
18909 fi
18910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18911 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18912     if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18913         :; MWCXX=yes
18914     else
18915         :;
18916     fi
18917     ac_ext=c
18918 ac_cpp='$CPP $CPPFLAGS'
18919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18922
18923
18924
18925                 if test "$MWCXX" != "yes"; then
18926
18927
18928     ac_ext=cpp
18929 ac_cpp='$CXXCPP $CPPFLAGS'
18930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18933
18934     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18935 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18936 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18937   $as_echo_n "(cached) " >&6
18938 else
18939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18940 /* end confdefs.h.  */
18941
18942 int
18943 main ()
18944 {
18945
18946              #ifndef __xlC__
18947                 choke me
18948              #endif
18949
18950   ;
18951   return 0;
18952 }
18953 _ACEOF
18954 if ac_fn_cxx_try_compile "$LINENO"; then :
18955   bakefile_cv_cxx_compiler___xlC__=yes
18956 else
18957   bakefile_cv_cxx_compiler___xlC__=no
18958
18959 fi
18960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18961
18962
18963 fi
18964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18965 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18966     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18967         :; XLCXX=yes
18968     else
18969         :;
18970     fi
18971     ac_ext=c
18972 ac_cpp='$CPP $CPPFLAGS'
18973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18976
18977
18978
18979                 fi
18980                 ;;
18981
18982             IRIX*)
18983
18984
18985     ac_ext=cpp
18986 ac_cpp='$CXXCPP $CPPFLAGS'
18987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18990
18991     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18992 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18993 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
18994   $as_echo_n "(cached) " >&6
18995 else
18996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18997 /* end confdefs.h.  */
18998
18999 int
19000 main ()
19001 {
19002
19003              #ifndef _SGI_COMPILER_VERSION
19004                 choke me
19005              #endif
19006
19007   ;
19008   return 0;
19009 }
19010 _ACEOF
19011 if ac_fn_cxx_try_compile "$LINENO"; then :
19012   bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19013 else
19014   bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19015
19016 fi
19017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19018
19019
19020 fi
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19022 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19023     if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19024         :; SGICXX=yes
19025     else
19026         :;
19027     fi
19028     ac_ext=c
19029 ac_cpp='$CPP $CPPFLAGS'
19030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19033
19034
19035
19036                 ;;
19037
19038             Linux*)
19039                                                 if test "$INTELCXX" != "yes"; then
19040
19041
19042     ac_ext=cpp
19043 ac_cpp='$CXXCPP $CPPFLAGS'
19044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19047
19048     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19049 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19050 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19051   $as_echo_n "(cached) " >&6
19052 else
19053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19054 /* end confdefs.h.  */
19055
19056 int
19057 main ()
19058 {
19059
19060              #ifndef __SUNPRO_CC
19061                 choke me
19062              #endif
19063
19064   ;
19065   return 0;
19066 }
19067 _ACEOF
19068 if ac_fn_cxx_try_compile "$LINENO"; then :
19069   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19070 else
19071   bakefile_cv_cxx_compiler___SUNPRO_CC=no
19072
19073 fi
19074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19075
19076
19077 fi
19078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19079 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19080     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19081         :; SUNCXX=yes
19082     else
19083         :;
19084     fi
19085     ac_ext=c
19086 ac_cpp='$CPP $CPPFLAGS'
19087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19090
19091
19092
19093                 fi
19094                 ;;
19095
19096             HP-UX*)
19097
19098
19099     ac_ext=cpp
19100 ac_cpp='$CXXCPP $CPPFLAGS'
19101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19104
19105     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
19106 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
19107 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
19108   $as_echo_n "(cached) " >&6
19109 else
19110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19111 /* end confdefs.h.  */
19112
19113 int
19114 main ()
19115 {
19116
19117              #ifndef __HP_aCC
19118                 choke me
19119              #endif
19120
19121   ;
19122   return 0;
19123 }
19124 _ACEOF
19125 if ac_fn_cxx_try_compile "$LINENO"; then :
19126   bakefile_cv_cxx_compiler___HP_aCC=yes
19127 else
19128   bakefile_cv_cxx_compiler___HP_aCC=no
19129
19130 fi
19131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19132
19133
19134 fi
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19136 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19137     if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19138         :; HPCXX=yes
19139     else
19140         :;
19141     fi
19142     ac_ext=c
19143 ac_cpp='$CPP $CPPFLAGS'
19144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19147
19148
19149
19150                 ;;
19151
19152             OSF1)
19153
19154
19155     ac_ext=cpp
19156 ac_cpp='$CXXCPP $CPPFLAGS'
19157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19160
19161     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19162 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19163 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19164   $as_echo_n "(cached) " >&6
19165 else
19166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19167 /* end confdefs.h.  */
19168
19169 int
19170 main ()
19171 {
19172
19173              #ifndef __DECCXX
19174                 choke me
19175              #endif
19176
19177   ;
19178   return 0;
19179 }
19180 _ACEOF
19181 if ac_fn_cxx_try_compile "$LINENO"; then :
19182   bakefile_cv_cxx_compiler___DECCXX=yes
19183 else
19184   bakefile_cv_cxx_compiler___DECCXX=no
19185
19186 fi
19187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19188
19189
19190 fi
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19192 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19193     if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19194         :; COMPAQCXX=yes
19195     else
19196         :;
19197     fi
19198     ac_ext=c
19199 ac_cpp='$CPP $CPPFLAGS'
19200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19203
19204
19205
19206                 ;;
19207
19208             SunOS)
19209
19210
19211     ac_ext=cpp
19212 ac_cpp='$CXXCPP $CPPFLAGS'
19213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19216
19217     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19218 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19219 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19220   $as_echo_n "(cached) " >&6
19221 else
19222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19223 /* end confdefs.h.  */
19224
19225 int
19226 main ()
19227 {
19228
19229              #ifndef __SUNPRO_CC
19230                 choke me
19231              #endif
19232
19233   ;
19234   return 0;
19235 }
19236 _ACEOF
19237 if ac_fn_cxx_try_compile "$LINENO"; then :
19238   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19239 else
19240   bakefile_cv_cxx_compiler___SUNPRO_CC=no
19241
19242 fi
19243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19244
19245
19246 fi
19247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19248 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19249     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19250         :; SUNCXX=yes
19251     else
19252         :;
19253     fi
19254     ac_ext=c
19255 ac_cpp='$CPP $CPPFLAGS'
19256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19259
19260
19261
19262                 ;;
19263         esac
19264     fi
19265
19266
19267
19268 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19269     as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19270 fi
19271
19272 if test "x$SUNCXX" != xyes; then
19273     if test -n "$ac_tool_prefix"; then
19274   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19275 set dummy ${ac_tool_prefix}ar; ac_word=$2
19276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19277 $as_echo_n "checking for $ac_word... " >&6; }
19278 if ${ac_cv_prog_AR+:} false; then :
19279   $as_echo_n "(cached) " >&6
19280 else
19281   if test -n "$AR"; then
19282   ac_cv_prog_AR="$AR" # Let the user override the test.
19283 else
19284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19285 for as_dir in $PATH
19286 do
19287   IFS=$as_save_IFS
19288   test -z "$as_dir" && as_dir=.
19289     for ac_exec_ext in '' $ac_executable_extensions; do
19290   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19291     ac_cv_prog_AR="${ac_tool_prefix}ar"
19292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19293     break 2
19294   fi
19295 done
19296   done
19297 IFS=$as_save_IFS
19298
19299 fi
19300 fi
19301 AR=$ac_cv_prog_AR
19302 if test -n "$AR"; then
19303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19304 $as_echo "$AR" >&6; }
19305 else
19306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19307 $as_echo "no" >&6; }
19308 fi
19309
19310
19311 fi
19312 if test -z "$ac_cv_prog_AR"; then
19313   ac_ct_AR=$AR
19314   # Extract the first word of "ar", so it can be a program name with args.
19315 set dummy ar; ac_word=$2
19316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19317 $as_echo_n "checking for $ac_word... " >&6; }
19318 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19319   $as_echo_n "(cached) " >&6
19320 else
19321   if test -n "$ac_ct_AR"; then
19322   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19323 else
19324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19325 for as_dir in $PATH
19326 do
19327   IFS=$as_save_IFS
19328   test -z "$as_dir" && as_dir=.
19329     for ac_exec_ext in '' $ac_executable_extensions; do
19330   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19331     ac_cv_prog_ac_ct_AR="ar"
19332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19333     break 2
19334   fi
19335 done
19336   done
19337 IFS=$as_save_IFS
19338
19339 fi
19340 fi
19341 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19342 if test -n "$ac_ct_AR"; then
19343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19344 $as_echo "$ac_ct_AR" >&6; }
19345 else
19346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19347 $as_echo "no" >&6; }
19348 fi
19349
19350   if test "x$ac_ct_AR" = x; then
19351     AR=""
19352   else
19353     case $cross_compiling:$ac_tool_warned in
19354 yes:)
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19357 ac_tool_warned=yes ;;
19358 esac
19359     AR=$ac_ct_AR
19360   fi
19361 else
19362   AR="$ac_cv_prog_AR"
19363 fi
19364
19365     if test "x$AR" = "x" ; then
19366         as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19367     fi
19368 fi
19369
19370
19371 if test "$wxUSE_MAC" = 1; then
19372
19373 retest_macosx_linking=no
19374
19375 OSX_ARCH_OPTS=""
19376
19377 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19378     if test "x$wxUSE_MAC_ARCH" != xno; then
19379         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19380 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19381     fi
19382
19383     if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19384         OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19385     else         OSX_ARCH_OPTS="ppc,i386"
19386         if test "$wxUSE_OSX_COCOA" = 1; then
19387             OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19388         fi
19389     fi
19390
19391     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19392 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19393     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19394 $as_echo "$OSX_ARCH_OPTS" >&6; }
19395
19396                                                         retest_macosx_linking=yes
19397 else
19398     if test "x$wxUSE_MAC_ARCH" != xno; then
19399         OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19400     fi
19401 fi
19402
19403 if test "x$OSX_ARCH_OPTS" != "x"; then
19404         if echo $OSX_ARCH_OPTS | grep -q ","; then
19405         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19406 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19407         disable_macosx_deps=yes
19408
19409                                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19410 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19411         bk_use_pch=no
19412     fi
19413
19414     OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19415
19416     CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19417     CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19418     OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19419     OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19420     LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19421 fi
19422
19423 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19424     wxUSE_MACOSX_SDK=
19425 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19426     # TODO: Search for most recent SDK and use it.
19427     wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19428 fi
19429
19430
19431 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19432     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19433 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19434     if ! test -d "$wxUSE_MACOSX_SDK"; then
19435         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19437 as_fn_error $? "not found
19438 See \`config.log' for more details" "$LINENO" 5; }
19439     else
19440         { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19441 $as_echo "exists" >&6; }
19442     fi
19443         MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19444     retest_macosx_linking=yes
19445             fi
19446
19447 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19448     wxUSE_MACOSX_VERSION_MIN=
19449 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19450     if test "x$wxUSE_MACOSX_SDK" != "x"; then
19451         { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19452 $as_echo_n "checking SDK deployment version... " >&6; }
19453
19454         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/'`
19455
19456         # If that failed, try again with the new key
19457         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19458
19459             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/'`
19460
19461         fi
19462
19463         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19464             wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19465             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19466 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19467         else
19468             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19469 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19470             wxUSE_MACOSX_VERSION_MIN=
19471         fi
19472     else
19473         wxUSE_MACOSX_VERSION_MIN=
19474     fi
19475 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19476     wxUSE_MACOSX_VERSION_MIN=10.5
19477 fi
19478
19479 if test "x$MACOSX_SDK_OPTS" != "x"; then
19480     eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19481     eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19482     eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19483     retest_macosx_linking=yes
19484 fi
19485
19486 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19487     if test "$wxUSE_OSX_IPHONE" = 1; then
19488         MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19489     else
19490         MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19491     fi
19492     eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19493     eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19494     eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19495     retest_macosx_linking=yes
19496 fi
19497
19498 if test "x$retest_macosx_linking" = "xyes"; then
19499     ac_ext=c
19500 ac_cpp='$CPP $CPPFLAGS'
19501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19504
19505     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19506 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19507     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19508 /* end confdefs.h.  */
19509
19510 int
19511 main ()
19512 {
19513
19514   ;
19515   return 0;
19516 }
19517 _ACEOF
19518 if ac_fn_c_try_link "$LINENO"; then :
19519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19520 $as_echo "yes" >&6; }
19521 else
19522   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19524 as_fn_error $? "no.  Try a different SDK
19525 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19526 fi
19527 rm -f core conftest.err conftest.$ac_objext \
19528     conftest$ac_exeext conftest.$ac_ext
19529     ac_ext=c
19530 ac_cpp='$CPP $CPPFLAGS'
19531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19534
19535
19536     ac_ext=cpp
19537 ac_cpp='$CXXCPP $CPPFLAGS'
19538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19541
19542     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19543 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19544     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19545 /* end confdefs.h.  */
19546
19547 int
19548 main ()
19549 {
19550
19551   ;
19552   return 0;
19553 }
19554 _ACEOF
19555 if ac_fn_cxx_try_link "$LINENO"; then :
19556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19557 $as_echo "yes" >&6; }
19558 else
19559   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19560 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19561 as_fn_error $? "no.  Try a different SDK
19562 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19563 fi
19564 rm -f core conftest.err conftest.$ac_objext \
19565     conftest$ac_exeext conftest.$ac_ext
19566     ac_ext=c
19567 ac_cpp='$CPP $CPPFLAGS'
19568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19571
19572 fi
19573
19574 fi
19575 case "${host}" in
19576
19577                 *-*-darwin* )
19578         INSTALL_PROGRAM="cp -fp"
19579         INSTALL_DATA="cp -fp"
19580         ;;
19581     *)
19582         ;;
19583 esac
19584
19585
19586 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19587                     $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19588
19589
19590             GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19591     CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19592 fi
19593
19594 if test "x$USE_AIX" = "x1"; then
19595             if test "x$XLCXX" = "xyes"; then
19596         CXXFLAGS="-qunique $CXXFLAGS"
19597     fi
19598
19599                                 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19600 fi
19601
19602 case "${host}" in
19603   powerpc-*-darwin* )
19604     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19605 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19606     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19607 /* end confdefs.h.  */
19608
19609 int
19610 main ()
19611 {
19612 #ifndef __POWERPC__
19613         choke me for lack of PowerPC
19614 #endif
19615
19616   ;
19617   return 0;
19618 }
19619 _ACEOF
19620 if ac_fn_c_try_compile "$LINENO"; then :
19621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19622 $as_echo "yes" >&6; }
19623 else
19624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19625 $as_echo "no" >&6; }
19626         $as_echo "#define __POWERPC__ 1" >>confdefs.h
19627
19628
19629 fi
19630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19631   ;;
19632 esac
19633
19634 case "${host}" in
19635   *-*-darwin* )
19636     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19637 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19638     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19639 /* end confdefs.h.  */
19640 #include <CoreFoundation/CFBase.h>
19641
19642 int
19643 main ()
19644 {
19645
19646   ;
19647   return 0;
19648 }
19649 _ACEOF
19650 if ac_fn_c_try_compile "$LINENO"; then :
19651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19652 $as_echo "yes" >&6; }
19653 else
19654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19655 $as_echo "no" >&6; }
19656         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19657 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19658         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19659 /* end confdefs.h.  */
19660 #define __CF_USE_FRAMEWORK_INCLUDES__
19661 #include <CoreFoundation/CFBase.h>
19662
19663 int
19664 main ()
19665 {
19666
19667   ;
19668   return 0;
19669 }
19670 _ACEOF
19671 if ac_fn_c_try_compile "$LINENO"; then :
19672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19673 $as_echo "yes" >&6; }
19674                         CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19675 else
19676   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19677 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19678 as_fn_error $? "no.  CoreFoundation not available.
19679 See \`config.log' for more details" "$LINENO" 5; }
19680
19681 fi
19682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19683
19684
19685 fi
19686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19687   ;;
19688 esac
19689
19690 wants_win32=0
19691 doesnt_want_win32=0
19692 case "${host}" in
19693   *-*-cygwin*)
19694       if test "$wxUSE_MSW" = 1 ; then
19695         wants_win32=1
19696       else
19697                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19698 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19699 if ${wx_cv_nocygwin+:} false; then :
19700   $as_echo_n "(cached) " >&6
19701 else
19702
19703                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19704 /* end confdefs.h.  */
19705
19706 int
19707 main ()
19708 {
19709
19710                         #ifdef __MINGW32__
19711                             choke me
19712                         #endif
19713
19714   ;
19715   return 0;
19716 }
19717 _ACEOF
19718 if ac_fn_c_try_compile "$LINENO"; then :
19719   wx_cv_nocygwin=no
19720 else
19721   wx_cv_nocygwin=yes
19722
19723 fi
19724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19725
19726
19727 fi
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19729 $as_echo "$wx_cv_nocygwin" >&6; }
19730
19731         if test "$wx_cv_nocygwin" = "yes"; then
19732             wants_win32=1
19733         else
19734             doesnt_want_win32=1
19735         fi
19736       fi
19737       if test "$wants_win32" = 1 ; then
19738         BAKEFILE_FORCE_PLATFORM=win32
19739       fi
19740   ;;
19741   *-*-mingw*)
19742       wants_win32=1
19743   ;;
19744 esac
19745
19746 if test "$wxUSE_WINE" = "yes"; then
19747     wants_win32=1
19748     LDFLAGS_GUI="-mwindows"
19749 fi
19750
19751 if test "$wants_win32" = 1 ; then
19752     USE_UNIX=0
19753     USE_WIN32=1
19754     $as_echo "#define __WIN32__ 1" >>confdefs.h
19755
19756     $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19757
19758     $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19759
19760     $as_echo "#define STRICT 1" >>confdefs.h
19761
19762 fi
19763 if test "$doesnt_want_win32" = 1 ; then
19764     USE_UNIX=1
19765     USE_WIN32=0
19766 fi
19767
19768 if test "$USE_UNIX" = 1 ; then
19769     wxUSE_UNIX=yes
19770     $as_echo "#define __UNIX__ 1" >>confdefs.h
19771
19772 fi
19773
19774 case "${host}" in
19775   *-pc-os2_emx | *-pc-os2-emx )
19776                                                       if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19777                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19778 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19779 if ${ac_cv_lib_cExt_drand48+:} false; then :
19780   $as_echo_n "(cached) " >&6
19781 else
19782   ac_check_lib_save_LIBS=$LIBS
19783 LIBS="-lcExt  $LIBS"
19784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19785 /* end confdefs.h.  */
19786
19787 /* Override any GCC internal prototype to avoid an error.
19788    Use char because int might match the return type of a GCC
19789    builtin and then its argument prototype would still apply.  */
19790 #ifdef __cplusplus
19791 extern "C"
19792 #endif
19793 char drand48 ();
19794 int
19795 main ()
19796 {
19797 return drand48 ();
19798   ;
19799   return 0;
19800 }
19801 _ACEOF
19802 if ac_fn_c_try_link "$LINENO"; then :
19803   ac_cv_lib_cExt_drand48=yes
19804 else
19805   ac_cv_lib_cExt_drand48=no
19806 fi
19807 rm -f core conftest.err conftest.$ac_objext \
19808     conftest$ac_exeext conftest.$ac_ext
19809 LIBS=$ac_check_lib_save_LIBS
19810 fi
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19812 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19813 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19814   LIBS="$LIBS -lcExt"
19815 fi
19816
19817       fi
19818                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19819 $as_echo_n "checking for gcc/libc version... " >&6; }
19820 if ${wx_cv_gccversion+:} false; then :
19821   $as_echo_n "(cached) " >&6
19822 else
19823
19824           if test "$cross_compiling" = yes; then :
19825                 wx_cv_gccversion="EMX2"
19826
19827 else
19828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19829 /* end confdefs.h.  */
19830
19831                   #include <stdio.h>
19832
19833                   int main()
19834                   {
19835                       FILE *f=fopen("conftestval", "w");
19836                       if (!f) exit(1);
19837                       fprintf(f,
19838                   #if (__GNUC__ < 3)
19839                               "EMX2"
19840                   #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19841                               "EMX3"
19842                   #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19843                               "Innotek5"
19844                   #else
19845                               "Innotek6"
19846                   #endif
19847                       );
19848                       exit(0);
19849                   }
19850
19851 _ACEOF
19852 if ac_fn_c_try_run "$LINENO"; then :
19853   wx_cv_gccversion=`cat conftestval`
19854 else
19855   wx_cv_gccversion="EMX2"
19856 fi
19857 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19858   conftest.$ac_objext conftest.beam conftest.$ac_ext
19859 fi
19860
19861
19862 fi
19863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19864 $as_echo "$wx_cv_gccversion" >&6; }
19865       if test "$wx_cv_gccversion" = "EMX2"; then
19866           LIBS="$LIBS -lstdcpp"
19867           LDFLAGS="$LDFLAGS -Zsysv-signals"
19868       else
19869           if test "$wx_cv_gccversion" = "EMX3"; then
19870               LIBS="$LIBS -lstdcxx -lgcc"
19871               LDFLAGS="$LDFLAGS -Zsysv-signals"
19872           else
19873               LIBS="$LIBS -lstdc++"
19874           fi
19875       fi
19876       if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19877         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19878 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19879         wxUSE_OMF=yes
19880         enable_omf=yes
19881       fi
19882         ;;
19883 esac
19884
19885
19886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19887 $as_echo_n "checking for ANSI C header files... " >&6; }
19888 if ${ac_cv_header_stdc+:} false; then :
19889   $as_echo_n "(cached) " >&6
19890 else
19891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19892 /* end confdefs.h.  */
19893 #include <stdlib.h>
19894 #include <stdarg.h>
19895 #include <string.h>
19896 #include <float.h>
19897
19898 int
19899 main ()
19900 {
19901
19902   ;
19903   return 0;
19904 }
19905 _ACEOF
19906 if ac_fn_c_try_compile "$LINENO"; then :
19907   ac_cv_header_stdc=yes
19908 else
19909   ac_cv_header_stdc=no
19910 fi
19911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19912
19913 if test $ac_cv_header_stdc = yes; then
19914   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19916 /* end confdefs.h.  */
19917 #include <string.h>
19918
19919 _ACEOF
19920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19921   $EGREP "memchr" >/dev/null 2>&1; then :
19922
19923 else
19924   ac_cv_header_stdc=no
19925 fi
19926 rm -f conftest*
19927
19928 fi
19929
19930 if test $ac_cv_header_stdc = yes; then
19931   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19933 /* end confdefs.h.  */
19934 #include <stdlib.h>
19935
19936 _ACEOF
19937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19938   $EGREP "free" >/dev/null 2>&1; then :
19939
19940 else
19941   ac_cv_header_stdc=no
19942 fi
19943 rm -f conftest*
19944
19945 fi
19946
19947 if test $ac_cv_header_stdc = yes; then
19948   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19949   if test "$cross_compiling" = yes; then :
19950   :
19951 else
19952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19953 /* end confdefs.h.  */
19954 #include <ctype.h>
19955 #include <stdlib.h>
19956 #if ((' ' & 0x0FF) == 0x020)
19957 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19958 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19959 #else
19960 # define ISLOWER(c) \
19961                    (('a' <= (c) && (c) <= 'i') \
19962                      || ('j' <= (c) && (c) <= 'r') \
19963                      || ('s' <= (c) && (c) <= 'z'))
19964 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19965 #endif
19966
19967 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19968 int
19969 main ()
19970 {
19971   int i;
19972   for (i = 0; i < 256; i++)
19973     if (XOR (islower (i), ISLOWER (i))
19974         || toupper (i) != TOUPPER (i))
19975       return 2;
19976   return 0;
19977 }
19978 _ACEOF
19979 if ac_fn_c_try_run "$LINENO"; then :
19980
19981 else
19982   ac_cv_header_stdc=no
19983 fi
19984 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19985   conftest.$ac_objext conftest.beam conftest.$ac_ext
19986 fi
19987
19988 fi
19989 fi
19990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19991 $as_echo "$ac_cv_header_stdc" >&6; }
19992 if test $ac_cv_header_stdc = yes; then
19993
19994 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19995
19996 fi
19997
19998 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19999 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20000                   inttypes.h stdint.h unistd.h
20001 do :
20002   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20003 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20004 "
20005 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20006   cat >>confdefs.h <<_ACEOF
20007 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20008 _ACEOF
20009
20010 fi
20011
20012 done
20013
20014
20015 for ac_header in langinfo.h wchar.h
20016 do :
20017   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20018 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20019 "
20020 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20021   cat >>confdefs.h <<_ACEOF
20022 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20023 _ACEOF
20024
20025 fi
20026
20027 done
20028
20029
20030 if test "$ac_cv_header_wchar_h" != "yes"; then
20031     for ac_header in wcstr.h
20032 do :
20033   ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20034 "
20035 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20036   cat >>confdefs.h <<_ACEOF
20037 #define HAVE_WCSTR_H 1
20038 _ACEOF
20039
20040 fi
20041
20042 done
20043
20044 fi
20045
20046 case "${host}" in
20047   *-pc-os2_emx | *-pc-os2-emx )
20048                   if test $ac_cv_header_langinfo_h = "yes" \
20049                 -a \(   "$wx_cv_gccversion" = "EMX2" \
20050                      -o "$wx_cv_gccversion" = "EMX3" \
20051                      -o "$wx_cv_gccversion" = "Innotek5" \); then
20052           LIBS="$LIBS -lintl"
20053       fi
20054   ;;
20055 esac
20056
20057 if test "$USE_UNIX" = 1 ; then
20058         for ac_header in sys/select.h
20059 do :
20060   ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20061 "
20062 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20063   cat >>confdefs.h <<_ACEOF
20064 #define HAVE_SYS_SELECT_H 1
20065 _ACEOF
20066
20067 fi
20068
20069 done
20070
20071
20072             ac_ext=cpp
20073 ac_cpp='$CXXCPP $CPPFLAGS'
20074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20077
20078     for ac_header in cxxabi.h
20079 do :
20080   ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20081 "
20082 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20083   cat >>confdefs.h <<_ACEOF
20084 #define HAVE_CXXABI_H 1
20085 _ACEOF
20086
20087 fi
20088
20089 done
20090
20091     ac_ext=c
20092 ac_cpp='$CPP $CPPFLAGS'
20093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20096
20097 fi
20098
20099
20100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20101 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20102 if ${ac_cv_c_const+:} false; then :
20103   $as_echo_n "(cached) " >&6
20104 else
20105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20106 /* end confdefs.h.  */
20107
20108 int
20109 main ()
20110 {
20111
20112 #ifndef __cplusplus
20113   /* Ultrix mips cc rejects this sort of thing.  */
20114   typedef int charset[2];
20115   const charset cs = { 0, 0 };
20116   /* SunOS 4.1.1 cc rejects this.  */
20117   char const *const *pcpcc;
20118   char **ppc;
20119   /* NEC SVR4.0.2 mips cc rejects this.  */
20120   struct point {int x, y;};
20121   static struct point const zero = {0,0};
20122   /* AIX XL C 1.02.0.0 rejects this.
20123      It does not let you subtract one const X* pointer from another in
20124      an arm of an if-expression whose if-part is not a constant
20125      expression */
20126   const char *g = "string";
20127   pcpcc = &g + (g ? g-g : 0);
20128   /* HPUX 7.0 cc rejects these. */
20129   ++pcpcc;
20130   ppc = (char**) pcpcc;
20131   pcpcc = (char const *const *) ppc;
20132   { /* SCO 3.2v4 cc rejects this sort of thing.  */
20133     char tx;
20134     char *t = &tx;
20135     char const *s = 0 ? (char *) 0 : (char const *) 0;
20136
20137     *t++ = 0;
20138     if (s) return 0;
20139   }
20140   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
20141     int x[] = {25, 17};
20142     const int *foo = &x[0];
20143     ++foo;
20144   }
20145   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20146     typedef const int *iptr;
20147     iptr p = 0;
20148     ++p;
20149   }
20150   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20151        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20152     struct s { int j; const int *ap[3]; } bx;
20153     struct s *b = &bx; b->j = 5;
20154   }
20155   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20156     const int foo = 10;
20157     if (!foo) return 0;
20158   }
20159   return !cs[0] && !zero.x;
20160 #endif
20161
20162   ;
20163   return 0;
20164 }
20165 _ACEOF
20166 if ac_fn_c_try_compile "$LINENO"; then :
20167   ac_cv_c_const=yes
20168 else
20169   ac_cv_c_const=no
20170 fi
20171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20172 fi
20173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20174 $as_echo "$ac_cv_c_const" >&6; }
20175 if test $ac_cv_c_const = no; then
20176
20177 $as_echo "#define const /**/" >>confdefs.h
20178
20179 fi
20180
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20182 $as_echo_n "checking for inline... " >&6; }
20183 if ${ac_cv_c_inline+:} false; then :
20184   $as_echo_n "(cached) " >&6
20185 else
20186   ac_cv_c_inline=no
20187 for ac_kw in inline __inline__ __inline; do
20188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20189 /* end confdefs.h.  */
20190 #ifndef __cplusplus
20191 typedef int foo_t;
20192 static $ac_kw foo_t static_foo () {return 0; }
20193 $ac_kw foo_t foo () {return 0; }
20194 #endif
20195
20196 _ACEOF
20197 if ac_fn_c_try_compile "$LINENO"; then :
20198   ac_cv_c_inline=$ac_kw
20199 fi
20200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20201   test "$ac_cv_c_inline" != no && break
20202 done
20203
20204 fi
20205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20206 $as_echo "$ac_cv_c_inline" >&6; }
20207
20208 case $ac_cv_c_inline in
20209   inline | yes) ;;
20210   *)
20211     case $ac_cv_c_inline in
20212       no) ac_val=;;
20213       *) ac_val=$ac_cv_c_inline;;
20214     esac
20215     cat >>confdefs.h <<_ACEOF
20216 #ifndef __cplusplus
20217 #define inline $ac_val
20218 #endif
20219 _ACEOF
20220     ;;
20221 esac
20222
20223
20224 # The cast to long int works around a bug in the HP C Compiler
20225 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20226 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20227 # This bug is HP SR number 8606223364.
20228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20229 $as_echo_n "checking size of short... " >&6; }
20230 if ${ac_cv_sizeof_short+:} false; then :
20231   $as_echo_n "(cached) " >&6
20232 else
20233   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
20234
20235 else
20236   if test "$ac_cv_type_short" = yes; then
20237      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20239 as_fn_error 77 "cannot compute sizeof (short)
20240 See \`config.log' for more details" "$LINENO" 5; }
20241    else
20242      ac_cv_sizeof_short=0
20243    fi
20244 fi
20245
20246 fi
20247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20248 $as_echo "$ac_cv_sizeof_short" >&6; }
20249
20250
20251
20252 cat >>confdefs.h <<_ACEOF
20253 #define SIZEOF_SHORT $ac_cv_sizeof_short
20254 _ACEOF
20255
20256
20257 # The cast to long int works around a bug in the HP C Compiler
20258 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20259 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20260 # This bug is HP SR number 8606223364.
20261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20262 $as_echo_n "checking size of void *... " >&6; }
20263 if ${ac_cv_sizeof_void_p+:} false; then :
20264   $as_echo_n "(cached) " >&6
20265 else
20266   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
20267
20268 else
20269   if test "$ac_cv_type_void_p" = yes; then
20270      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20272 as_fn_error 77 "cannot compute sizeof (void *)
20273 See \`config.log' for more details" "$LINENO" 5; }
20274    else
20275      ac_cv_sizeof_void_p=0
20276    fi
20277 fi
20278
20279 fi
20280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20281 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20282
20283
20284
20285 cat >>confdefs.h <<_ACEOF
20286 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20287 _ACEOF
20288
20289
20290 # The cast to long int works around a bug in the HP C Compiler
20291 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20292 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20293 # This bug is HP SR number 8606223364.
20294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20295 $as_echo_n "checking size of int... " >&6; }
20296 if ${ac_cv_sizeof_int+:} false; then :
20297   $as_echo_n "(cached) " >&6
20298 else
20299   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
20300
20301 else
20302   if test "$ac_cv_type_int" = yes; then
20303      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20305 as_fn_error 77 "cannot compute sizeof (int)
20306 See \`config.log' for more details" "$LINENO" 5; }
20307    else
20308      ac_cv_sizeof_int=0
20309    fi
20310 fi
20311
20312 fi
20313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20314 $as_echo "$ac_cv_sizeof_int" >&6; }
20315
20316
20317
20318 cat >>confdefs.h <<_ACEOF
20319 #define SIZEOF_INT $ac_cv_sizeof_int
20320 _ACEOF
20321
20322
20323 # The cast to long int works around a bug in the HP C Compiler
20324 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20325 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20326 # This bug is HP SR number 8606223364.
20327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20328 $as_echo_n "checking size of long... " >&6; }
20329 if ${ac_cv_sizeof_long+:} false; then :
20330   $as_echo_n "(cached) " >&6
20331 else
20332   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
20333
20334 else
20335   if test "$ac_cv_type_long" = yes; then
20336      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20338 as_fn_error 77 "cannot compute sizeof (long)
20339 See \`config.log' for more details" "$LINENO" 5; }
20340    else
20341      ac_cv_sizeof_long=0
20342    fi
20343 fi
20344
20345 fi
20346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20347 $as_echo "$ac_cv_sizeof_long" >&6; }
20348
20349
20350
20351 cat >>confdefs.h <<_ACEOF
20352 #define SIZEOF_LONG $ac_cv_sizeof_long
20353 _ACEOF
20354
20355
20356 # The cast to long int works around a bug in the HP C Compiler
20357 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20358 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20359 # This bug is HP SR number 8606223364.
20360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20361 $as_echo_n "checking size of size_t... " >&6; }
20362 if ${ac_cv_sizeof_size_t+:} false; then :
20363   $as_echo_n "(cached) " >&6
20364 else
20365   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
20366
20367 else
20368   if test "$ac_cv_type_size_t" = yes; then
20369      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20371 as_fn_error 77 "cannot compute sizeof (size_t)
20372 See \`config.log' for more details" "$LINENO" 5; }
20373    else
20374      ac_cv_sizeof_size_t=0
20375    fi
20376 fi
20377
20378 fi
20379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20380 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20381
20382
20383
20384 cat >>confdefs.h <<_ACEOF
20385 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20386 _ACEOF
20387
20388
20389
20390 case "${host}" in
20391     arm-*-linux* )
20392         # The cast to long int works around a bug in the HP C Compiler
20393 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20394 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20395 # This bug is HP SR number 8606223364.
20396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20397 $as_echo_n "checking size of long long... " >&6; }
20398 if ${ac_cv_sizeof_long_long+:} false; then :
20399   $as_echo_n "(cached) " >&6
20400 else
20401   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20402
20403 else
20404   if test "$ac_cv_type_long_long" = yes; then
20405      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20407 as_fn_error 77 "cannot compute sizeof (long long)
20408 See \`config.log' for more details" "$LINENO" 5; }
20409    else
20410      ac_cv_sizeof_long_long=0
20411    fi
20412 fi
20413
20414 fi
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20416 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20417
20418
20419
20420 cat >>confdefs.h <<_ACEOF
20421 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20422 _ACEOF
20423
20424
20425     ;;
20426     *-hp-hpux* )
20427         # The cast to long int works around a bug in the HP C Compiler
20428 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20429 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20430 # This bug is HP SR number 8606223364.
20431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20432 $as_echo_n "checking size of long long... " >&6; }
20433 if ${ac_cv_sizeof_long_long+:} false; then :
20434   $as_echo_n "(cached) " >&6
20435 else
20436   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20437
20438 else
20439   if test "$ac_cv_type_long_long" = yes; then
20440      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20442 as_fn_error 77 "cannot compute sizeof (long long)
20443 See \`config.log' for more details" "$LINENO" 5; }
20444    else
20445      ac_cv_sizeof_long_long=0
20446    fi
20447 fi
20448
20449 fi
20450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20451 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20452
20453
20454
20455 cat >>confdefs.h <<_ACEOF
20456 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20457 _ACEOF
20458
20459
20460         if test "$ac_cv_sizeof_long_long" != 0; then
20461                         CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20462         fi
20463     ;;
20464     * )
20465         # The cast to long int works around a bug in the HP C Compiler
20466 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20467 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20468 # This bug is HP SR number 8606223364.
20469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20470 $as_echo_n "checking size of long long... " >&6; }
20471 if ${ac_cv_sizeof_long_long+:} false; then :
20472   $as_echo_n "(cached) " >&6
20473 else
20474   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20475
20476 else
20477   if test "$ac_cv_type_long_long" = yes; then
20478      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20480 as_fn_error 77 "cannot compute sizeof (long long)
20481 See \`config.log' for more details" "$LINENO" 5; }
20482    else
20483      ac_cv_sizeof_long_long=0
20484    fi
20485 fi
20486
20487 fi
20488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20489 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20490
20491
20492
20493 cat >>confdefs.h <<_ACEOF
20494 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20495 _ACEOF
20496
20497
20498 esac
20499
20500 # The cast to long int works around a bug in the HP C Compiler
20501 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20502 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20503 # This bug is HP SR number 8606223364.
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20505 $as_echo_n "checking size of wchar_t... " >&6; }
20506 if ${ac_cv_sizeof_wchar_t+:} false; then :
20507   $as_echo_n "(cached) " >&6
20508 else
20509   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t"        "
20510         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20511         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20512         #  error \"fake wchar_t\"
20513         #endif
20514         #ifdef HAVE_WCHAR_H
20515         #  ifdef __CYGWIN__
20516         #    include <stddef.h>
20517         #  endif
20518         #  include <wchar.h>
20519         #endif
20520         #ifdef HAVE_STDLIB_H
20521         #  include <stdlib.h>
20522         #endif
20523         #include <stdio.h>
20524
20525
20526 "; then :
20527
20528 else
20529   if test "$ac_cv_type_wchar_t" = yes; then
20530      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20532 as_fn_error 77 "cannot compute sizeof (wchar_t)
20533 See \`config.log' for more details" "$LINENO" 5; }
20534    else
20535      ac_cv_sizeof_wchar_t=0
20536    fi
20537 fi
20538
20539 fi
20540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20541 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20542
20543
20544
20545 cat >>confdefs.h <<_ACEOF
20546 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20547 _ACEOF
20548
20549
20550 if test "$ac_cv_sizeof_wchar_t" = 0; then
20551     as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20552 fi
20553 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20554
20555
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20557 $as_echo_n "checking for va_copy... " >&6; }
20558 if ${wx_cv_func_va_copy+:} false; then :
20559   $as_echo_n "(cached) " >&6
20560 else
20561
20562         ac_ext=cpp
20563 ac_cpp='$CXXCPP $CPPFLAGS'
20564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20567
20568         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20569 /* end confdefs.h.  */
20570
20571
20572                 #include <stdarg.h>
20573                 void foo(char *f, ...)
20574                 {
20575                     va_list ap1, ap2;
20576                     va_start(ap1, f);
20577                     va_copy(ap2, ap1);
20578                     va_end(ap2);
20579                     va_end(ap1);
20580                 }
20581                 int main()
20582                 {
20583                     foo("hi", 17);
20584                     return 0;
20585                 }
20586
20587 _ACEOF
20588 if ac_fn_cxx_try_link "$LINENO"; then :
20589   wx_cv_func_va_copy=yes
20590 else
20591   wx_cv_func_va_copy=no
20592
20593 fi
20594 rm -f core conftest.err conftest.$ac_objext \
20595     conftest$ac_exeext conftest.$ac_ext
20596         ac_ext=c
20597 ac_cpp='$CPP $CPPFLAGS'
20598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20601
20602
20603
20604 fi
20605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20606 $as_echo "$wx_cv_func_va_copy" >&6; }
20607
20608 if test $wx_cv_func_va_copy = "yes"; then
20609     $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20610
20611 else
20612         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20613 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20614 if ${wx_cv_type_va_list_lvalue+:} false; then :
20615   $as_echo_n "(cached) " >&6
20616 else
20617
20618             if test "$cross_compiling" = yes; then :
20619                   wx_cv_type_va_list_lvalue=yes
20620
20621 else
20622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20623 /* end confdefs.h.  */
20624
20625
20626                     #include <stdarg.h>
20627                     int foo(char *f, ...)
20628                     {
20629                         va_list ap1, ap2;
20630                         va_start(ap1, f);
20631                         ap2 = ap1;
20632                         if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20633                             return 1;
20634                         va_end(ap2);
20635                         va_end(ap1);
20636                         return 0;
20637                     }
20638                     int main()
20639                     {
20640                         return foo("hi", 17);
20641                     }
20642
20643 _ACEOF
20644 if ac_fn_c_try_run "$LINENO"; then :
20645   wx_cv_type_va_list_lvalue=yes
20646 else
20647   wx_cv_type_va_list_lvalue=no
20648 fi
20649 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20650   conftest.$ac_objext conftest.beam conftest.$ac_ext
20651 fi
20652
20653
20654
20655 fi
20656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20657 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20658
20659     if test $wx_cv_type_va_list_lvalue != "yes"; then
20660                         $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20661
20662     fi
20663 fi
20664
20665 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20666
20667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20668 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20669 if ${wx_cv_have_variadic_macros+:} false; then :
20670   $as_echo_n "(cached) " >&6
20671 else
20672
20673                         ac_ext=cpp
20674 ac_cpp='$CXXCPP $CPPFLAGS'
20675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20678
20679         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20680 /* end confdefs.h.  */
20681
20682
20683                     #include <stdio.h>
20684                     #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20685
20686 int
20687 main ()
20688 {
20689
20690                     test("%s %d %p", "test", 1, 0);
20691
20692
20693   ;
20694   return 0;
20695 }
20696 _ACEOF
20697 if ac_fn_cxx_try_compile "$LINENO"; then :
20698   wx_cv_have_variadic_macros=yes
20699 else
20700   wx_cv_have_variadic_macros=no
20701
20702 fi
20703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20704         ac_ext=c
20705 ac_cpp='$CPP $CPPFLAGS'
20706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20709
20710
20711
20712 fi
20713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20714 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20715
20716 if test $wx_cv_have_variadic_macros = "yes"; then
20717     $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20718
20719 fi
20720
20721 else
20722     $as_echo "#define wxNO_VARIADIC_MACROS 1" >>confdefs.h
20723
20724 fi
20725
20726 LARGEFILE_CPPFLAGS=
20727 # Check whether --enable-largefile was given.
20728 if test "${enable_largefile+set}" = set; then :
20729   enableval=$enable_largefile;
20730 fi
20731
20732 if test "$enable_largefile" != no; then
20733             wx_largefile=no
20734
20735     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20736 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20737 if ${ac_cv_sys_file_offset_bits+:} false; then :
20738   $as_echo_n "(cached) " >&6
20739 else
20740
20741           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20742 /* end confdefs.h.  */
20743 #define _FILE_OFFSET_BITS 64
20744                           #include <sys/types.h>
20745 int
20746 main ()
20747 {
20748 typedef struct {
20749     unsigned int field: sizeof(off_t) == 8;
20750 } wxlf;
20751
20752   ;
20753   return 0;
20754 }
20755 _ACEOF
20756 if ac_fn_c_try_compile "$LINENO"; then :
20757   ac_cv_sys_file_offset_bits=64
20758 else
20759   ac_cv_sys_file_offset_bits=no
20760 fi
20761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20762
20763
20764 fi
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20766 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20767
20768     if test "$ac_cv_sys_file_offset_bits" != no; then
20769         wx_largefile=yes
20770         cat >>confdefs.h <<_ACEOF
20771 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20772 _ACEOF
20773
20774     fi
20775
20776     if test "x$wx_largefile" != "xyes"; then
20777
20778     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20779 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20780 if ${ac_cv_sys_large_files+:} false; then :
20781   $as_echo_n "(cached) " >&6
20782 else
20783
20784           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20785 /* end confdefs.h.  */
20786 #define _LARGE_FILES 1
20787                           #include <sys/types.h>
20788 int
20789 main ()
20790 {
20791 typedef struct {
20792     unsigned int field: sizeof(off_t) == 8;
20793 } wxlf;
20794
20795   ;
20796   return 0;
20797 }
20798 _ACEOF
20799 if ac_fn_c_try_compile "$LINENO"; then :
20800   ac_cv_sys_large_files=1
20801 else
20802   ac_cv_sys_large_files=no
20803 fi
20804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20805
20806
20807 fi
20808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20809 $as_echo "$ac_cv_sys_large_files" >&6; }
20810
20811     if test "$ac_cv_sys_large_files" != no; then
20812         wx_largefile=yes
20813         cat >>confdefs.h <<_ACEOF
20814 #define _LARGE_FILES $ac_cv_sys_large_files
20815 _ACEOF
20816
20817     fi
20818
20819     fi
20820
20821     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20822 $as_echo_n "checking if large file support is available... " >&6; }
20823     if test "x$wx_largefile" = "xyes"; then
20824         $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20825
20826     fi
20827     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20828 $as_echo "$wx_largefile" >&6; }
20829 fi
20830
20831 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20832     LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20833 elif test "$ac_cv_sys_large_files" = 1; then
20834     LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20835 fi
20836
20837 if test -n "$LARGEFILE_CPPFLAGS"; then
20838     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20839
20840                             if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20841         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20842 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20843 if ${wx_cv_STDC_EXT_required+:} false; then :
20844   $as_echo_n "(cached) " >&6
20845 else
20846
20847                 ac_ext=cpp
20848 ac_cpp='$CXXCPP $CPPFLAGS'
20849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20852
20853                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20854 /* end confdefs.h.  */
20855
20856 int
20857 main ()
20858 {
20859
20860                         #ifndef __STDC_EXT__
20861                             choke me
20862                         #endif
20863
20864   ;
20865   return 0;
20866 }
20867 _ACEOF
20868 if ac_fn_cxx_try_compile "$LINENO"; then :
20869   wx_cv_STDC_EXT_required=no
20870 else
20871   wx_cv_STDC_EXT_required=yes
20872
20873 fi
20874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20875                 ac_ext=c
20876 ac_cpp='$CPP $CPPFLAGS'
20877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20880
20881
20882
20883 fi
20884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20885 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20886         if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20887             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20888         fi
20889     fi
20890 fi
20891
20892 ac_ext=cpp
20893 ac_cpp='$CXXCPP $CPPFLAGS'
20894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20897
20898 old_CPPFLAGS="$CPPFLAGS"
20899 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20901 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20902 if ${ac_cv_sys_largefile_source+:} false; then :
20903   $as_echo_n "(cached) " >&6
20904 else
20905   while :; do
20906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20907 /* end confdefs.h.  */
20908 #include <sys/types.h> /* for off_t */
20909      #include <stdio.h>
20910 int
20911 main ()
20912 {
20913 int (*fp) (FILE *, off_t, int) = fseeko;
20914      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20915   ;
20916   return 0;
20917 }
20918 _ACEOF
20919 if ac_fn_cxx_try_link "$LINENO"; then :
20920   ac_cv_sys_largefile_source=no; break
20921 fi
20922 rm -f core conftest.err conftest.$ac_objext \
20923     conftest$ac_exeext conftest.$ac_ext
20924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20925 /* end confdefs.h.  */
20926 #define _LARGEFILE_SOURCE 1
20927 #include <sys/types.h> /* for off_t */
20928      #include <stdio.h>
20929 int
20930 main ()
20931 {
20932 int (*fp) (FILE *, off_t, int) = fseeko;
20933      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20934   ;
20935   return 0;
20936 }
20937 _ACEOF
20938 if ac_fn_cxx_try_link "$LINENO"; then :
20939   ac_cv_sys_largefile_source=1; break
20940 fi
20941 rm -f core conftest.err conftest.$ac_objext \
20942     conftest$ac_exeext conftest.$ac_ext
20943   ac_cv_sys_largefile_source=unknown
20944   break
20945 done
20946 fi
20947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20948 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20949 case $ac_cv_sys_largefile_source in #(
20950   no | unknown) ;;
20951   *)
20952 cat >>confdefs.h <<_ACEOF
20953 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20954 _ACEOF
20955 ;;
20956 esac
20957 rm -rf conftest*
20958
20959 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20960 # in glibc 2.1.3, but that breaks too many other things.
20961 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20962 if test $ac_cv_sys_largefile_source != unknown; then
20963
20964 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20965
20966 fi
20967
20968 CPPFLAGS="$old_CPPFLAGS"
20969 ac_ext=c
20970 ac_cpp='$CPP $CPPFLAGS'
20971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20974
20975 if test "$ac_cv_sys_largefile_source" != no; then
20976     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20977 fi
20978
20979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20980 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20981 if ${ac_cv_c_bigendian+:} false; then :
20982   $as_echo_n "(cached) " >&6
20983 else
20984   ac_cv_c_bigendian=unknown
20985 # See if sys/param.h defines the BYTE_ORDER macro.
20986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20987 /* end confdefs.h.  */
20988 #include <sys/types.h>
20989 #include <sys/param.h>
20990 int
20991 main ()
20992 {
20993
20994 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20995  bogus endian macros
20996 #endif
20997   ;
20998   return 0;
20999 }
21000 _ACEOF
21001 if ac_fn_c_try_compile "$LINENO"; then :
21002   # It does; now see whether it defined to BIG_ENDIAN or not.
21003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21004 /* end confdefs.h.  */
21005 #include <sys/types.h>
21006 #include <sys/param.h>
21007 int
21008 main ()
21009 {
21010
21011 #if BYTE_ORDER != BIG_ENDIAN
21012  not big endian
21013 #endif
21014   ;
21015   return 0;
21016 }
21017 _ACEOF
21018 if ac_fn_c_try_compile "$LINENO"; then :
21019   ac_cv_c_bigendian=yes
21020 else
21021   ac_cv_c_bigendian=no
21022 fi
21023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21024 fi
21025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21026 if test $ac_cv_c_bigendian = unknown; then
21027 if test "$cross_compiling" = yes; then :
21028   ac_cv_c_bigendian=unknown
21029 else
21030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21031 /* end confdefs.h.  */
21032 main () {
21033   /* Are we little or big endian?  From Harbison&Steele.  */
21034   union
21035   {
21036     long l;
21037     char c[sizeof (long)];
21038   } u;
21039   u.l = 1;
21040   exit (u.c[sizeof (long) - 1] == 1);
21041 }
21042 _ACEOF
21043 if ac_fn_c_try_run "$LINENO"; then :
21044   ac_cv_c_bigendian=no
21045 else
21046   ac_cv_c_bigendian=yes
21047 fi
21048 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21049   conftest.$ac_objext conftest.beam conftest.$ac_ext
21050 fi
21051
21052 fi
21053 fi
21054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21055 $as_echo "$ac_cv_c_bigendian" >&6; }
21056 if test $ac_cv_c_bigendian = unknown; then
21057   { $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
21058 $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;}
21059 fi
21060 if test $ac_cv_c_bigendian = yes; then
21061   $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21062
21063 fi
21064
21065
21066
21067
21068     ac_ext=cpp
21069 ac_cpp='$CXXCPP $CPPFLAGS'
21070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21073
21074
21075     for ac_header in iostream
21076 do :
21077   ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
21078 "
21079 if test "x$ac_cv_header_iostream" = xyes; then :
21080   cat >>confdefs.h <<_ACEOF
21081 #define HAVE_IOSTREAM 1
21082 _ACEOF
21083
21084 fi
21085
21086 done
21087
21088
21089     if test "$ac_cv_header_iostream" = "yes" ; then
21090       :
21091     else
21092       $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21093
21094     fi
21095
21096     ac_ext=c
21097 ac_cpp='$CPP $CPPFLAGS'
21098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21101
21102
21103
21104
21105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21106 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21107 if ${wx_cv_explicit+:} false; then :
21108   $as_echo_n "(cached) " >&6
21109 else
21110
21111
21112     ac_ext=cpp
21113 ac_cpp='$CXXCPP $CPPFLAGS'
21114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21117
21118
21119             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21120 /* end confdefs.h.  */
21121
21122         class Foo { public: explicit Foo(int) {} };
21123
21124 int
21125 main ()
21126 {
21127
21128         return 0;
21129
21130   ;
21131   return 0;
21132 }
21133 _ACEOF
21134 if ac_fn_cxx_try_compile "$LINENO"; then :
21135
21136         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21137 /* end confdefs.h.  */
21138
21139                 class Foo { public: explicit Foo(int) {} };
21140                 static void TakeFoo(const Foo& foo) { }
21141
21142 int
21143 main ()
21144 {
21145
21146                 TakeFoo(17);
21147                 return 0;
21148
21149   ;
21150   return 0;
21151 }
21152 _ACEOF
21153 if ac_fn_cxx_try_compile "$LINENO"; then :
21154   wx_cv_explicit=no
21155 else
21156   wx_cv_explicit=yes
21157
21158 fi
21159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21160
21161 else
21162   wx_cv_explicit=no
21163
21164 fi
21165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21166
21167     ac_ext=c
21168 ac_cpp='$CPP $CPPFLAGS'
21169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21172
21173
21174 fi
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21176 $as_echo "$wx_cv_explicit" >&6; }
21177
21178   if test "$wx_cv_explicit" = "yes"; then
21179     $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21180
21181   fi
21182
21183
21184 if test "x$SUNCXX" = xyes; then
21185     CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21186 fi
21187
21188 if test "x$SUNCC" = xyes; then
21189     CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21190 fi
21191
21192 if test "x$SGICC" = "xyes"; then
21193     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21194 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21195 if ${wx_cv_prog_sgicc744+:} false; then :
21196   $as_echo_n "(cached) " >&6
21197 else
21198
21199             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21200 /* end confdefs.h.  */
21201
21202 int
21203 main ()
21204 {
21205
21206                     #if _SGI_COMPILER_VERSION >= 744
21207                     chock me: mipsPro is 7.4.4 or later
21208                     #endif
21209
21210   ;
21211   return 0;
21212 }
21213 _ACEOF
21214 if ac_fn_c_try_compile "$LINENO"; then :
21215   wx_cv_prog_sgicc744=no
21216 else
21217   wx_cv_prog_sgicc744=yes
21218
21219 fi
21220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21221
21222
21223 fi
21224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21225 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21226
21227     if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21228         CFLAGS="-woff 3970 $CFLAGS"
21229     fi
21230 fi
21231 if test "x$SGICXX" = "xyes"; then
21232     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21233 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21234 if ${wx_cv_prog_sgicxx744+:} false; then :
21235   $as_echo_n "(cached) " >&6
21236 else
21237
21238             ac_ext=cpp
21239 ac_cpp='$CXXCPP $CPPFLAGS'
21240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21243
21244             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21245 /* end confdefs.h.  */
21246
21247 int
21248 main ()
21249 {
21250
21251                     #if _SGI_COMPILER_VERSION >= 744
21252                     chock me: mipsPro is 7.4.4 or later
21253                     #endif
21254
21255   ;
21256   return 0;
21257 }
21258 _ACEOF
21259 if ac_fn_cxx_try_compile "$LINENO"; then :
21260   wx_cv_prog_sgicxx744=no
21261 else
21262   wx_cv_prog_sgicxx744=yes
21263
21264 fi
21265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21266             ac_ext=c
21267 ac_cpp='$CPP $CPPFLAGS'
21268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21271
21272
21273
21274 fi
21275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21276 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21277
21278     if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21279         CXXFLAGS="-woff 3970 $CXXFLAGS"
21280     fi
21281 fi
21282
21283 if test "x$HPCC" = "xyes"; then
21284                     CFLAGS="+W 2011,2450 $CFLAGS"
21285 fi
21286 if test "x$HPCXX" = "xyes"; then
21287                             CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21288 fi
21289
21290 if test "x$COMPAQCXX" = "xyes"; then
21291                                 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21292 fi
21293
21294 ac_ext=cpp
21295 ac_cpp='$CXXCPP $CPPFLAGS'
21296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21299
21300
21301 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21302     if test "$wxUSE_UNICODE" = "yes"; then
21303         std_string="std::wstring"
21304         char_type="wchar_t"
21305     else
21306         std_string="std::string"
21307         char_type="char"
21308     fi
21309
21310         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21311 $as_echo_n "checking for $std_string in <string>... " >&6; }
21312 if ${wx_cv_class_stdstring+:} false; then :
21313   $as_echo_n "(cached) " >&6
21314 else
21315
21316             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21317 /* end confdefs.h.  */
21318 #include <string>
21319 int
21320 main ()
21321 {
21322 $std_string foo;
21323   ;
21324   return 0;
21325 }
21326 _ACEOF
21327 if ac_fn_cxx_try_compile "$LINENO"; then :
21328   wx_cv_class_stdstring=yes
21329 else
21330   wx_cv_class_stdstring=no
21331
21332 fi
21333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21334
21335
21336 fi
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21338 $as_echo "$wx_cv_class_stdstring" >&6; }
21339
21340     if test "$wx_cv_class_stdstring" = yes; then
21341         if test "$wxUSE_UNICODE" = "yes"; then
21342             $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21343
21344         fi
21345                     else
21346         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21347 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21348 if ${wx_cv_class_stdbasicstring+:} false; then :
21349   $as_echo_n "(cached) " >&6
21350 else
21351
21352                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21353 /* end confdefs.h.  */
21354
21355                     #ifdef HAVE_WCHAR_H
21356                     #  ifdef __CYGWIN__
21357                     #    include <stddef.h>
21358                     #  endif
21359                     #  include <wchar.h>
21360                     #endif
21361                     #ifdef HAVE_STDLIB_H
21362                     #  include <stdlib.h>
21363                     #endif
21364                     #include <stdio.h>
21365                     #include <string>
21366
21367 int
21368 main ()
21369 {
21370 std::basic_string<$char_type> foo;
21371                      const $char_type* dummy = foo.c_str();
21372   ;
21373   return 0;
21374 }
21375 _ACEOF
21376 if ac_fn_cxx_try_compile "$LINENO"; then :
21377   wx_cv_class_stdbasicstring=yes
21378 else
21379   wx_cv_class_stdbasicstring=no
21380
21381 fi
21382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21383
21384
21385 fi
21386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21387 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21388
21389         if test "$wx_cv_class_stdbasicstring" != yes; then
21390             if test "$wxUSE_STL" = "yes"; then
21391                 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21392             elif test "$wxUSE_STD_STRING" = "yes"; then
21393                 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21394             else
21395                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21396 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21397                 wxUSE_STD_STRING=no
21398             fi
21399         fi
21400     fi
21401 fi
21402
21403 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21404     ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21405 "
21406 if test "x$ac_cv_type_std__istream" = xyes; then :
21407
21408 cat >>confdefs.h <<_ACEOF
21409 #define HAVE_STD__ISTREAM 1
21410 _ACEOF
21411
21412
21413 else
21414   wxUSE_STD_IOSTREAM=no
21415 fi
21416 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21417 "
21418 if test "x$ac_cv_type_std__ostream" = xyes; then :
21419
21420 cat >>confdefs.h <<_ACEOF
21421 #define HAVE_STD__OSTREAM 1
21422 _ACEOF
21423
21424
21425 else
21426   wxUSE_STD_IOSTREAM=no
21427 fi
21428
21429
21430     if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21431         if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21432             as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21433         else
21434             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21435 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21436         fi
21437     fi
21438 fi
21439
21440 if test "$wxUSE_STL" = "yes"; then
21441         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21442 $as_echo_n "checking for basic STL functionality... " >&6; }
21443 if ${wx_cv_lib_stl+:} false; then :
21444   $as_echo_n "(cached) " >&6
21445 else
21446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21447 /* end confdefs.h.  */
21448 #include <string>
21449             #include <functional>
21450             #include <algorithm>
21451             #include <vector>
21452             #include <list>
21453 int
21454 main ()
21455 {
21456 std::vector<int> moo;
21457              std::list<int> foo;
21458              std::vector<int>::iterator it =
21459                  std::find_if(moo.begin(), moo.end(),
21460                               std::bind2nd(std::less<int>(), 3));
21461   ;
21462   return 0;
21463 }
21464 _ACEOF
21465 if ac_fn_cxx_try_compile "$LINENO"; then :
21466   wx_cv_lib_stl=yes
21467 else
21468   wx_cv_lib_stl=no
21469
21470 fi
21471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21472
21473 fi
21474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21475 $as_echo "$wx_cv_lib_stl" >&6; }
21476
21477     if test "$wx_cv_lib_stl" != yes; then
21478          as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21479     fi
21480
21481         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21482 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21483 if ${wx_cv_func_stdstring_compare+:} false; then :
21484   $as_echo_n "(cached) " >&6
21485 else
21486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21487 /* end confdefs.h.  */
21488 #include <string>
21489 int
21490 main ()
21491 {
21492 std::string foo, bar;
21493             foo.compare(bar);
21494             foo.compare(1, 1, bar);
21495             foo.compare(1, 1, bar, 1, 1);
21496             foo.compare("");
21497             foo.compare(1, 1, "");
21498             foo.compare(1, 1, "", 2);
21499   ;
21500   return 0;
21501 }
21502 _ACEOF
21503 if ac_fn_cxx_try_compile "$LINENO"; then :
21504   wx_cv_func_stdstring_compare=yes
21505 else
21506   wx_cv_func_stdstring_compare=no
21507
21508 fi
21509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21510
21511 fi
21512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21513 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21514
21515     if test "$wx_cv_func_stdstring_compare" = yes; then
21516         $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21517
21518     fi
21519
21520     if test "$wx_cv_class_gnuhashmapset" = yes; then
21521          $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21522
21523          $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21524
21525     fi
21526
21527     ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21528
21529 "
21530 if test "x$ac_cv_header_unordered_map" = xyes; then :
21531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21532 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21533 if ${wx_cv_class_stdunorderedmapset+:} false; then :
21534   $as_echo_n "(cached) " >&6
21535 else
21536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21537 /* end confdefs.h.  */
21538 #include <unordered_map>
21539                 #include <unordered_set>
21540 int
21541 main ()
21542 {
21543 std::unordered_map<double*, char*> test1;
21544                  std::unordered_set<char*> test2;
21545   ;
21546   return 0;
21547 }
21548 _ACEOF
21549 if ac_fn_cxx_try_compile "$LINENO"; then :
21550   wx_cv_class_stdunorderedmapset=yes
21551 else
21552   wx_cv_class_stdunorderedmapset=no
21553 fi
21554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21555
21556
21557 fi
21558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21559 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21560 fi
21561
21562
21563
21564     if test "$wx_cv_class_stdunorderedmapset" = yes; then
21565          $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21566
21567          $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21568
21569     else
21570         ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21571
21572 "
21573 if test "x$ac_cv_header_tr1_unordered_map" = xyes; then :
21574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21575 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21576 if ${wx_cv_class_tr1unorderedmapset+:} false; then :
21577   $as_echo_n "(cached) " >&6
21578 else
21579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21580 /* end confdefs.h.  */
21581 #include <tr1/unordered_map>
21582                     #include <tr1/unordered_set>
21583 int
21584 main ()
21585 {
21586 std::tr1::unordered_map<double*, char*> test1;
21587                      std::tr1::unordered_set<char*> test2;
21588             #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21589             #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21590             #endif
21591   ;
21592   return 0;
21593 }
21594 _ACEOF
21595 if ac_fn_cxx_try_compile "$LINENO"; then :
21596   wx_cv_class_tr1unorderedmapset=yes
21597 else
21598   wx_cv_class_tr1unorderedmapset=no
21599 fi
21600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21601
21602
21603 fi
21604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21605 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21606 fi
21607
21608
21609
21610         if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21611             $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21612
21613             $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21614
21615         else
21616                         ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21617
21618 "
21619 if test "x$ac_cv_header_hash_map" = xyes; then :
21620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21621 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21622 if ${wx_cv_class_stdhashmapset+:} false; then :
21623   $as_echo_n "(cached) " >&6
21624 else
21625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21626 /* end confdefs.h.  */
21627 #include <hash_map>
21628                         #include <hash_set>
21629 int
21630 main ()
21631 {
21632 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21633                          std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21634   ;
21635   return 0;
21636 }
21637 _ACEOF
21638 if ac_fn_cxx_try_compile "$LINENO"; then :
21639   wx_cv_class_stdhashmapset=yes
21640 else
21641   wx_cv_class_stdhashmapset=no
21642 fi
21643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21644
21645
21646 fi
21647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21648 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21649 fi
21650
21651
21652
21653             if test "$wx_cv_class_stdhashmapset" = yes; then
21654                 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21655
21656                 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21657
21658             fi
21659
21660             ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21661
21662 "
21663 if test "x$ac_cv_header_ext_hash_map" = xyes; then :
21664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21665 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21666 if ${wx_cv_class_gnuhashmapset+:} false; then :
21667   $as_echo_n "(cached) " >&6
21668 else
21669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21670 /* end confdefs.h.  */
21671 #include <ext/hash_map>
21672                         #include <ext/hash_set>
21673 int
21674 main ()
21675 {
21676 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21677                          __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21678   ;
21679   return 0;
21680 }
21681 _ACEOF
21682 if ac_fn_cxx_try_compile "$LINENO"; then :
21683   wx_cv_class_gnuhashmapset=yes
21684 else
21685   wx_cv_class_gnuhashmapset=no
21686 fi
21687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21688
21689
21690 fi
21691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21692 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21693 fi
21694
21695
21696
21697         fi
21698     fi
21699 fi
21700
21701 ac_ext=cpp
21702 ac_cpp='$CXXCPP $CPPFLAGS'
21703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21707 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21708 if test -z "$CXXCPP"; then
21709   if ${ac_cv_prog_CXXCPP+:} false; then :
21710   $as_echo_n "(cached) " >&6
21711 else
21712       # Double quotes because CXXCPP needs to be expanded
21713     for CXXCPP in "$CXX -E" "/lib/cpp"
21714     do
21715       ac_preproc_ok=false
21716 for ac_cxx_preproc_warn_flag in '' yes
21717 do
21718   # Use a header file that comes with gcc, so configuring glibc
21719   # with a fresh cross-compiler works.
21720   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21721   # <limits.h> exists even on freestanding compilers.
21722   # On the NeXT, cc -E runs the code through the compiler's parser,
21723   # not just through cpp. "Syntax error" is here to catch this case.
21724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21725 /* end confdefs.h.  */
21726 #ifdef __STDC__
21727 # include <limits.h>
21728 #else
21729 # include <assert.h>
21730 #endif
21731                      Syntax error
21732 _ACEOF
21733 if ac_fn_cxx_try_cpp "$LINENO"; then :
21734
21735 else
21736   # Broken: fails on valid input.
21737 continue
21738 fi
21739 rm -f conftest.err conftest.i conftest.$ac_ext
21740
21741   # OK, works on sane cases.  Now check whether nonexistent headers
21742   # can be detected and how.
21743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21744 /* end confdefs.h.  */
21745 #include <ac_nonexistent.h>
21746 _ACEOF
21747 if ac_fn_cxx_try_cpp "$LINENO"; then :
21748   # Broken: success on invalid input.
21749 continue
21750 else
21751   # Passes both tests.
21752 ac_preproc_ok=:
21753 break
21754 fi
21755 rm -f conftest.err conftest.i conftest.$ac_ext
21756
21757 done
21758 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21759 rm -f conftest.i conftest.err conftest.$ac_ext
21760 if $ac_preproc_ok; then :
21761   break
21762 fi
21763
21764     done
21765     ac_cv_prog_CXXCPP=$CXXCPP
21766
21767 fi
21768   CXXCPP=$ac_cv_prog_CXXCPP
21769 else
21770   ac_cv_prog_CXXCPP=$CXXCPP
21771 fi
21772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21773 $as_echo "$CXXCPP" >&6; }
21774 ac_preproc_ok=false
21775 for ac_cxx_preproc_warn_flag in '' yes
21776 do
21777   # Use a header file that comes with gcc, so configuring glibc
21778   # with a fresh cross-compiler works.
21779   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21780   # <limits.h> exists even on freestanding compilers.
21781   # On the NeXT, cc -E runs the code through the compiler's parser,
21782   # not just through cpp. "Syntax error" is here to catch this case.
21783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21784 /* end confdefs.h.  */
21785 #ifdef __STDC__
21786 # include <limits.h>
21787 #else
21788 # include <assert.h>
21789 #endif
21790                      Syntax error
21791 _ACEOF
21792 if ac_fn_cxx_try_cpp "$LINENO"; then :
21793
21794 else
21795   # Broken: fails on valid input.
21796 continue
21797 fi
21798 rm -f conftest.err conftest.i conftest.$ac_ext
21799
21800   # OK, works on sane cases.  Now check whether nonexistent headers
21801   # can be detected and how.
21802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21803 /* end confdefs.h.  */
21804 #include <ac_nonexistent.h>
21805 _ACEOF
21806 if ac_fn_cxx_try_cpp "$LINENO"; then :
21807   # Broken: success on invalid input.
21808 continue
21809 else
21810   # Passes both tests.
21811 ac_preproc_ok=:
21812 break
21813 fi
21814 rm -f conftest.err conftest.i conftest.$ac_ext
21815
21816 done
21817 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21818 rm -f conftest.i conftest.err conftest.$ac_ext
21819 if $ac_preproc_ok; then :
21820
21821 else
21822   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21824 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21825 See \`config.log' for more details" "$LINENO" 5; }
21826 fi
21827
21828 ac_ext=cpp
21829 ac_cpp='$CXXCPP $CPPFLAGS'
21830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21833
21834
21835 for ac_header in type_traits tr1/type_traits
21836 do :
21837   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21838 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21839 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21840   cat >>confdefs.h <<_ACEOF
21841 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21842 _ACEOF
21843  break
21844 fi
21845
21846 done
21847
21848
21849
21850
21851   if test -n "$GCC"; then
21852     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21853 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21854     if ${wx_cv_cc_gcc_atomic_builtins+:} false; then :
21855   $as_echo_n "(cached) " >&6
21856 else
21857
21858       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21859 /* end confdefs.h.  */
21860
21861 int
21862 main ()
21863 {
21864
21865           unsigned int value=0;
21866           /* wxAtomicInc doesn't use return value here */
21867           __sync_fetch_and_add(&value, 2);
21868           __sync_sub_and_fetch(&value, 1);
21869           /* but wxAtomicDec does, so mimic that: */
21870           unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21871
21872   ;
21873   return 0;
21874 }
21875 _ACEOF
21876 if ac_fn_cxx_try_link "$LINENO"; then :
21877   wx_cv_cc_gcc_atomic_builtins=yes
21878 else
21879   wx_cv_cc_gcc_atomic_builtins=no
21880 fi
21881 rm -f core conftest.err conftest.$ac_objext \
21882     conftest$ac_exeext conftest.$ac_ext
21883
21884 fi
21885
21886     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21887 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21888     if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21889       $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21890
21891     fi
21892   fi
21893
21894
21895 ac_ext=c
21896 ac_cpp='$CPP $CPPFLAGS'
21897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21900
21901
21902
21903 SEARCH_INCLUDE="\
21904     /usr/local/include        \
21905     /usr/local/X11/include    \
21906     /usr/local/include/X11    \
21907     /usr/local/X11R7/include  \
21908     /usr/local/X11R6/include  \
21909     /usr/local/include/X11R7  \
21910     /usr/local/include/X11R6  \
21911                               \
21912     /usr/Motif-2.1/include    \
21913     /usr/Motif-1.2/include    \
21914     /usr/include/Motif1.2     \
21915                               \
21916     /usr/dt/include           \
21917     /usr/openwin/include      \
21918                               \
21919     /usr/include/Xm           \
21920                               \
21921     /usr/X11R7/include        \
21922     /usr/X11R6/include        \
21923     /usr/X11R6.4/include      \
21924                               \
21925     /usr/include/X11R7        \
21926     /usr/include/X11R6        \
21927                               \
21928     /usr/X11/include          \
21929     /usr/include/X11          \
21930                               \
21931     /usr/XFree86/include/X11  \
21932     /usr/pkg/include          \
21933                               \
21934     /usr/local/X1R5/include  \
21935     /usr/local/include/X11R5  \
21936     /usr/X11R5/include        \
21937     /usr/include/X11R5        \
21938                               \
21939     /usr/local/X11R4/include  \
21940     /usr/local/include/X11R4  \
21941     /usr/X11R4/include        \
21942     /usr/include/X11R4        \
21943                               \
21944     /usr/openwin/share/include"
21945
21946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21947 $as_echo_n "checking for libraries directories... " >&6; }
21948
21949 case "${host}" in
21950     *-*-irix6* )
21951         if ${wx_cv_std_libpath+:} false; then :
21952   $as_echo_n "(cached) " >&6
21953 else
21954
21955                 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
21956                     for e in a so sl dylib dll.a; do
21957                         libc="$d/libc.$e"
21958                         if test -f $libc; then
21959                             save_LIBS="$LIBS"
21960                             LIBS="$libc"
21961                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21962 /* end confdefs.h.  */
21963
21964                                     int main() { return 0; }
21965
21966 _ACEOF
21967 if ac_fn_c_try_link "$LINENO"; then :
21968   wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
21969 fi
21970 rm -f core conftest.err conftest.$ac_objext \
21971     conftest$ac_exeext conftest.$ac_ext
21972                             LIBS="$save_LIBS"
21973                             if test "x$wx_cv_std_libpath" != "x"; then
21974                                 break 2
21975                             fi
21976                         fi
21977                     done
21978                 done
21979
21980
21981 fi
21982
21983         ;;
21984
21985     *-*-solaris2* )
21986                 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21987             wx_cv_std_libpath="lib/64"
21988         fi
21989         ;;
21990
21991     *-*-linux* )
21992                                         if test "$ac_cv_sizeof_void_p" = 8; then
21993             if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21994                 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
21995             elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21996                 wx_cv_std_libpath="lib64"
21997             fi
21998         else
21999             case "${host}" in
22000                 i*86-*-linux* )
22001                     if test -d '/usr/lib/i386-linux-gnu'; then
22002                         wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
22003                     fi
22004             esac
22005         fi
22006
22007                                 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
22008             wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
22009         fi
22010         ;;
22011 esac
22012
22013 if test -z "$wx_cv_std_libpath"; then
22014     wx_cv_std_libpath="lib"
22015 fi
22016
22017 if test -z "$wx_cv_std_libfullpath"; then
22018     wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
22019 fi
22020
22021
22022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
22023 $as_echo "$wx_cv_std_libfullpath" >&6; }
22024
22025 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22026
22027 if test "$build" != "$host" -a "$GCC" = yes; then
22028                     if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
22029         cross_root=`dirname $cross_root`
22030         cross_root=`dirname $cross_root`
22031
22032                         SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22033         SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22034         SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
22035
22036                 if test -z "$PKG_CONFIG_PATH"; then
22037             PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22038             export PKG_CONFIG_PATH
22039         fi
22040
22041                                 if test -z "$x_includes" -o "$x_includes" = NONE; then
22042
22043 ac_find_includes=
22044 for ac_dir in $SEARCH_INCLUDE /usr/include
22045   do
22046     if test -f "$ac_dir/X11/Intrinsic.h"; then
22047       ac_find_includes=$ac_dir
22048       break
22049     fi
22050   done
22051
22052             x_includes=$ac_find_includes
22053         fi
22054         if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22055
22056   ac_find_libraries=
22057   for ac_dir in  $SEARCH_LIB
22058   do
22059     for ac_extension in a so sl dylib dll.a; do
22060       if test -f "$ac_dir/libXt.$ac_extension"; then
22061         ac_find_libraries=$ac_dir
22062         break 2
22063       fi
22064     done
22065   done
22066
22067             x_libraries=$ac_find_libraries
22068         fi
22069     fi
22070 fi
22071
22072
22073 cat >confcache <<\_ACEOF
22074 # This file is a shell script that caches the results of configure
22075 # tests run on this system so they can be shared between configure
22076 # scripts and configure runs, see configure's option --config-cache.
22077 # It is not useful on other systems.  If it contains results you don't
22078 # want to keep, you may remove or edit it.
22079 #
22080 # config.status only pays attention to the cache file if you give it
22081 # the --recheck option to rerun configure.
22082 #
22083 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22084 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22085 # following values.
22086
22087 _ACEOF
22088
22089 # The following way of writing the cache mishandles newlines in values,
22090 # but we know of no workaround that is simple, portable, and efficient.
22091 # So, we kill variables containing newlines.
22092 # Ultrix sh set writes to stderr and can't be redirected directly,
22093 # and sets the high bit in the cache file unless we assign to the vars.
22094 (
22095   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22096     eval ac_val=\$$ac_var
22097     case $ac_val in #(
22098     *${as_nl}*)
22099       case $ac_var in #(
22100       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22101 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22102       esac
22103       case $ac_var in #(
22104       _ | IFS | as_nl) ;; #(
22105       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22106       *) { eval $ac_var=; unset $ac_var;} ;;
22107       esac ;;
22108     esac
22109   done
22110
22111   (set) 2>&1 |
22112     case $as_nl`(ac_space=' '; set) 2>&1` in #(
22113     *${as_nl}ac_space=\ *)
22114       # `set' does not quote correctly, so add quotes: double-quote
22115       # substitution turns \\\\ into \\, and sed turns \\ into \.
22116       sed -n \
22117         "s/'/'\\\\''/g;
22118           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22119       ;; #(
22120     *)
22121       # `set' quotes correctly as required by POSIX, so do not add quotes.
22122       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22123       ;;
22124     esac |
22125     sort
22126 ) |
22127   sed '
22128      /^ac_cv_env_/b end
22129      t clear
22130      :clear
22131      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22132      t end
22133      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22134      :end' >>confcache
22135 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22136   if test -w "$cache_file"; then
22137     if test "x$cache_file" != "x/dev/null"; then
22138       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22139 $as_echo "$as_me: updating cache $cache_file" >&6;}
22140       if test ! -f "$cache_file" || test -h "$cache_file"; then
22141         cat confcache >"$cache_file"
22142       else
22143         case $cache_file in #(
22144         */* | ?:*)
22145           mv -f confcache "$cache_file"$$ &&
22146           mv -f "$cache_file"$$ "$cache_file" ;; #(
22147         *)
22148           mv -f confcache "$cache_file" ;;
22149         esac
22150       fi
22151     fi
22152   else
22153     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22154 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22155   fi
22156 fi
22157 rm -f confcache
22158
22159 have_cos=0
22160 have_floor=0
22161 for ac_func in cos
22162 do :
22163   ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22164 if test "x$ac_cv_func_cos" = xyes; then :
22165   cat >>confdefs.h <<_ACEOF
22166 #define HAVE_COS 1
22167 _ACEOF
22168  have_cos=1
22169 fi
22170 done
22171
22172 for ac_func in floor
22173 do :
22174   ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22175 if test "x$ac_cv_func_floor" = xyes; then :
22176   cat >>confdefs.h <<_ACEOF
22177 #define HAVE_FLOOR 1
22178 _ACEOF
22179  have_floor=1
22180 fi
22181 done
22182
22183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22184 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22185 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22186     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22187 $as_echo "yes" >&6; }
22188 else
22189     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22190 $as_echo "no" >&6; }
22191     LIBS="$LIBS -lm"
22192     # use different functions to avoid configure caching
22193     have_sin=0
22194     have_ceil=0
22195     for ac_func in sin
22196 do :
22197   ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22198 if test "x$ac_cv_func_sin" = xyes; then :
22199   cat >>confdefs.h <<_ACEOF
22200 #define HAVE_SIN 1
22201 _ACEOF
22202  have_sin=1
22203 fi
22204 done
22205
22206     for ac_func in ceil
22207 do :
22208   ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22209 if test "x$ac_cv_func_ceil" = xyes; then :
22210   cat >>confdefs.h <<_ACEOF
22211 #define HAVE_CEIL 1
22212 _ACEOF
22213  have_ceil=1
22214 fi
22215 done
22216
22217     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22218 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22219     if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22220         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22221 $as_echo "yes" >&6; }
22222     else
22223         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22224 $as_echo "no" >&6; }
22225         # not sure we should warn the user, crash, etc.
22226     fi
22227 fi
22228
22229 ac_ext=cpp
22230 ac_cpp='$CXXCPP $CPPFLAGS'
22231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22234
22235 if test "wxUSE_UNICODE" = "yes"; then
22236
22237   for wx_func in wcstoull
22238   do
22239     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22240 $as_echo_n "checking for $wx_func... " >&6; }
22241 if eval \${wx_cv_func_$wx_func+:} false; then :
22242   $as_echo_n "(cached) " >&6
22243 else
22244
22245         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22246 /* end confdefs.h.  */
22247
22248
22249
22250                 $ac_includes_default
22251
22252 int
22253 main ()
22254 {
22255
22256                 #ifndef $wx_func
22257                   &$wx_func;
22258                 #endif
22259
22260
22261   ;
22262   return 0;
22263 }
22264
22265 _ACEOF
22266 if ac_fn_cxx_try_link "$LINENO"; then :
22267   eval wx_cv_func_$wx_func=yes
22268 else
22269   eval wx_cv_func_$wx_func=no
22270 fi
22271 rm -f core conftest.err conftest.$ac_objext \
22272     conftest$ac_exeext conftest.$ac_ext
22273
22274 fi
22275 eval ac_res=\$wx_cv_func_$wx_func
22276                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22277 $as_echo "$ac_res" >&6; }
22278
22279     if eval test \$wx_cv_func_$wx_func = yes
22280     then
22281       cat >>confdefs.h <<_ACEOF
22282 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22283 _ACEOF
22284
22285
22286     else
22287       :
22288
22289     fi
22290   done
22291
22292 else
22293
22294   for wx_func in strtoull
22295   do
22296     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22297 $as_echo_n "checking for $wx_func... " >&6; }
22298 if eval \${wx_cv_func_$wx_func+:} false; then :
22299   $as_echo_n "(cached) " >&6
22300 else
22301
22302         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22303 /* end confdefs.h.  */
22304
22305
22306
22307                 $ac_includes_default
22308
22309 int
22310 main ()
22311 {
22312
22313                 #ifndef $wx_func
22314                   &$wx_func;
22315                 #endif
22316
22317
22318   ;
22319   return 0;
22320 }
22321
22322 _ACEOF
22323 if ac_fn_cxx_try_link "$LINENO"; then :
22324   eval wx_cv_func_$wx_func=yes
22325 else
22326   eval wx_cv_func_$wx_func=no
22327 fi
22328 rm -f core conftest.err conftest.$ac_objext \
22329     conftest$ac_exeext conftest.$ac_ext
22330
22331 fi
22332 eval ac_res=\$wx_cv_func_$wx_func
22333                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22334 $as_echo "$ac_res" >&6; }
22335
22336     if eval test \$wx_cv_func_$wx_func = yes
22337     then
22338       cat >>confdefs.h <<_ACEOF
22339 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22340 _ACEOF
22341
22342
22343     else
22344       :
22345
22346     fi
22347   done
22348
22349 fi
22350 ac_ext=c
22351 ac_cpp='$CPP $CPPFLAGS'
22352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22355
22356
22357
22358
22359 if test "$wxUSE_REGEX" != "no"; then
22360     $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22361
22362
22363     if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22364         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22365 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22366         wxUSE_REGEX=builtin
22367     fi
22368
22369     if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22370                         ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22371 "
22372 if test "x$ac_cv_header_regex_h" = xyes; then :
22373   for ac_func in regcomp re_search
22374 do :
22375   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22376 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22377 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22378   cat >>confdefs.h <<_ACEOF
22379 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22380 _ACEOF
22381
22382 fi
22383 done
22384
22385 fi
22386
22387
22388
22389         if test "x$ac_cv_func_regcomp" != "xyes"; then
22390             if test "$wxUSE_REGEX" = "sys" ; then
22391                 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22392             else
22393                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22394 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22395                 wxUSE_REGEX=builtin
22396             fi
22397         else
22398                         wxUSE_REGEX=sys
22399                         $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22400
22401         fi
22402     fi
22403 fi
22404
22405
22406 ZLIB_LINK=
22407 if test "$wxUSE_ZLIB" != "no" ; then
22408     $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22409
22410
22411     if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22412                                                 if test "$USE_DARWIN" = 1; then
22413             system_zlib_h_ok="yes"
22414         else
22415                                                                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22416 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22417 if ${ac_cv_header_zlib_h+:} false; then :
22418   $as_echo_n "(cached) " >&6
22419 else
22420   if test "$cross_compiling" = yes; then :
22421                       unset ac_cv_header_zlib_h
22422
22423 else
22424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22425 /* end confdefs.h.  */
22426
22427                         #include <zlib.h>
22428                         #include <stdio.h>
22429
22430                         int main()
22431                         {
22432                             FILE *f=fopen("conftestval", "w");
22433                             if (!f) exit(1);
22434                             fprintf(f, "%s",
22435                                     ZLIB_VERSION[0] == '1' &&
22436                                     (ZLIB_VERSION[2] > '1' ||
22437                                     (ZLIB_VERSION[2] == '1' &&
22438                                      ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22439                             exit(0);
22440                         }
22441
22442 _ACEOF
22443 if ac_fn_c_try_run "$LINENO"; then :
22444   ac_cv_header_zlib_h=`cat conftestval`
22445 else
22446   ac_cv_header_zlib_h=no
22447 fi
22448 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22449   conftest.$ac_objext conftest.beam conftest.$ac_ext
22450 fi
22451
22452
22453 fi
22454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22455 $as_echo "$ac_cv_header_zlib_h" >&6; }
22456                                     ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22457 "
22458 if test "x$ac_cv_header_zlib_h" = xyes; then :
22459
22460 fi
22461
22462
22463
22464             system_zlib_h_ok=$ac_cv_header_zlib_h
22465         fi
22466
22467         if test "$system_zlib_h_ok" = "yes"; then
22468             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22469 $as_echo_n "checking for deflate in -lz... " >&6; }
22470 if ${ac_cv_lib_z_deflate+:} false; then :
22471   $as_echo_n "(cached) " >&6
22472 else
22473   ac_check_lib_save_LIBS=$LIBS
22474 LIBS="-lz  $LIBS"
22475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22476 /* end confdefs.h.  */
22477
22478 /* Override any GCC internal prototype to avoid an error.
22479    Use char because int might match the return type of a GCC
22480    builtin and then its argument prototype would still apply.  */
22481 #ifdef __cplusplus
22482 extern "C"
22483 #endif
22484 char deflate ();
22485 int
22486 main ()
22487 {
22488 return deflate ();
22489   ;
22490   return 0;
22491 }
22492 _ACEOF
22493 if ac_fn_c_try_link "$LINENO"; then :
22494   ac_cv_lib_z_deflate=yes
22495 else
22496   ac_cv_lib_z_deflate=no
22497 fi
22498 rm -f core conftest.err conftest.$ac_objext \
22499     conftest$ac_exeext conftest.$ac_ext
22500 LIBS=$ac_check_lib_save_LIBS
22501 fi
22502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22503 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22504 if test "x$ac_cv_lib_z_deflate" = xyes; then :
22505   ZLIB_LINK=" -lz"
22506 fi
22507
22508         fi
22509
22510         if test "x$ZLIB_LINK" = "x" ; then
22511             if test "$wxUSE_ZLIB" = "sys" ; then
22512                 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22513             else
22514                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22515 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22516                 wxUSE_ZLIB=builtin
22517             fi
22518         else
22519                         wxUSE_ZLIB=sys
22520         fi
22521     fi
22522 fi
22523
22524
22525 PNG_LINK=
22526 if test "$wxUSE_LIBPNG" != "no" ; then
22527     $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22528
22529
22530             if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22531         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22532 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22533         wxUSE_LIBPNG=builtin
22534     fi
22535
22536     if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22537                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22538 $as_echo_n "checking for png.h > 0.90... " >&6; }
22539 if ${ac_cv_header_png_h+:} false; then :
22540   $as_echo_n "(cached) " >&6
22541 else
22542   if test "$cross_compiling" = yes; then :
22543                   unset ac_cv_header_png_h
22544
22545 else
22546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22547 /* end confdefs.h.  */
22548
22549                     #include <png.h>
22550                     #include <stdio.h>
22551
22552                     int main()
22553                     {
22554                         FILE *f=fopen("conftestval", "w");
22555                         if (!f) exit(1);
22556                         fprintf(f, "%s",
22557                                  PNG_LIBPNG_VER > 90 ? "yes" : "no");
22558                         exit(0);
22559                     }
22560
22561 _ACEOF
22562 if ac_fn_c_try_run "$LINENO"; then :
22563   ac_cv_header_png_h=`cat conftestval`
22564 else
22565   ac_cv_header_png_h=no
22566 fi
22567 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22568   conftest.$ac_objext conftest.beam conftest.$ac_ext
22569 fi
22570
22571
22572 fi
22573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22574 $as_echo "$ac_cv_header_png_h" >&6; }
22575         ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22576 "
22577 if test "x$ac_cv_header_png_h" = xyes; then :
22578
22579 fi
22580
22581
22582
22583         if test "$ac_cv_header_png_h" = "yes"; then
22584             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22585 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22586 if ${ac_cv_lib_png_png_sig_cmp+:} false; then :
22587   $as_echo_n "(cached) " >&6
22588 else
22589   ac_check_lib_save_LIBS=$LIBS
22590 LIBS="-lpng -lz -lm $LIBS"
22591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22592 /* end confdefs.h.  */
22593
22594 /* Override any GCC internal prototype to avoid an error.
22595    Use char because int might match the return type of a GCC
22596    builtin and then its argument prototype would still apply.  */
22597 #ifdef __cplusplus
22598 extern "C"
22599 #endif
22600 char png_sig_cmp ();
22601 int
22602 main ()
22603 {
22604 return png_sig_cmp ();
22605   ;
22606   return 0;
22607 }
22608 _ACEOF
22609 if ac_fn_c_try_link "$LINENO"; then :
22610   ac_cv_lib_png_png_sig_cmp=yes
22611 else
22612   ac_cv_lib_png_png_sig_cmp=no
22613 fi
22614 rm -f core conftest.err conftest.$ac_objext \
22615     conftest$ac_exeext conftest.$ac_ext
22616 LIBS=$ac_check_lib_save_LIBS
22617 fi
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22619 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22620 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then :
22621   PNG_LINK=" -lpng -lz"
22622 fi
22623
22624         fi
22625
22626         if test "x$PNG_LINK" = "x" ; then
22627             if test "$wxUSE_LIBPNG" = "sys" ; then
22628                 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22629             else
22630                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22631 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22632                 wxUSE_LIBPNG=builtin
22633             fi
22634         else
22635                         wxUSE_LIBPNG=sys
22636         fi
22637     fi
22638 fi
22639
22640
22641 JPEG_LINK=
22642 if test "$wxUSE_LIBJPEG" != "no" ; then
22643     $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22644
22645
22646     if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22647                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22648 $as_echo_n "checking for jpeglib.h... " >&6; }
22649         if ${ac_cv_header_jpeglib_h+:} false; then :
22650   $as_echo_n "(cached) " >&6
22651 else
22652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22653 /* end confdefs.h.  */
22654
22655                     #undef HAVE_STDLIB_H
22656                     #include <stdio.h>
22657                     #include <jpeglib.h>
22658
22659 int
22660 main ()
22661 {
22662
22663
22664   ;
22665   return 0;
22666 }
22667 _ACEOF
22668 if ac_fn_c_try_compile "$LINENO"; then :
22669   ac_cv_header_jpeglib_h=yes
22670 else
22671   ac_cv_header_jpeglib_h=no
22672
22673 fi
22674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22675
22676 fi
22677
22678         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22679 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22680
22681         if test "$ac_cv_header_jpeglib_h" = "yes"; then
22682             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22683 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22684 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
22685   $as_echo_n "(cached) " >&6
22686 else
22687   ac_check_lib_save_LIBS=$LIBS
22688 LIBS="-ljpeg  $LIBS"
22689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22690 /* end confdefs.h.  */
22691
22692 /* Override any GCC internal prototype to avoid an error.
22693    Use char because int might match the return type of a GCC
22694    builtin and then its argument prototype would still apply.  */
22695 #ifdef __cplusplus
22696 extern "C"
22697 #endif
22698 char jpeg_read_header ();
22699 int
22700 main ()
22701 {
22702 return jpeg_read_header ();
22703   ;
22704   return 0;
22705 }
22706 _ACEOF
22707 if ac_fn_c_try_link "$LINENO"; then :
22708   ac_cv_lib_jpeg_jpeg_read_header=yes
22709 else
22710   ac_cv_lib_jpeg_jpeg_read_header=no
22711 fi
22712 rm -f core conftest.err conftest.$ac_objext \
22713     conftest$ac_exeext conftest.$ac_ext
22714 LIBS=$ac_check_lib_save_LIBS
22715 fi
22716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22717 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22718 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
22719   JPEG_LINK=" -ljpeg"
22720 fi
22721
22722         fi
22723
22724         if test "x$JPEG_LINK" = "x" ; then
22725             if test "$wxUSE_LIBJPEG" = "sys" ; then
22726                 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22727             else
22728                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22729 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22730                 wxUSE_LIBJPEG=builtin
22731             fi
22732         else
22733                         wxUSE_LIBJPEG=sys
22734
22735             if test "$wxUSE_MSW" = 1; then
22736                                                                                 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22737 "
22738 if test "x$ac_cv_type_boolean" = xyes; then :
22739
22740 cat >>confdefs.h <<_ACEOF
22741 #define HAVE_BOOLEAN 1
22742 _ACEOF
22743
22744
22745                         # The cast to long int works around a bug in the HP C Compiler
22746 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22747 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22748 # This bug is HP SR number 8606223364.
22749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22750 $as_echo_n "checking size of boolean... " >&6; }
22751 if ${ac_cv_sizeof_boolean+:} false; then :
22752   $as_echo_n "(cached) " >&6
22753 else
22754   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean"        "
22755                                 #undef HAVE_BOOLEAN
22756                                 #include <stdio.h>
22757                                 #include <jpeglib.h>
22758
22759 "; then :
22760
22761 else
22762   if test "$ac_cv_type_boolean" = yes; then
22763      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22764 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22765 as_fn_error 77 "cannot compute sizeof (boolean)
22766 See \`config.log' for more details" "$LINENO" 5; }
22767    else
22768      ac_cv_sizeof_boolean=0
22769    fi
22770 fi
22771
22772 fi
22773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22774 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22775
22776
22777
22778 cat >>confdefs.h <<_ACEOF
22779 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22780 _ACEOF
22781
22782
22783                         cat >>confdefs.h <<_ACEOF
22784 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22785 _ACEOF
22786
22787
22788 fi
22789
22790             fi
22791         fi
22792     fi
22793 fi
22794
22795
22796 TIFF_LINK=
22797 TIFF_PREREQ_LINKS=-lm
22798 if test "$wxUSE_LIBTIFF" != "no" ; then
22799     $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22800
22801
22802     if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22803                         if test "$wxUSE_LIBJPEG" = "sys"; then
22804             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22805         fi
22806         if test "$wxUSE_ZLIB" = "sys"; then
22807             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22808         fi
22809         ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22810
22811 "
22812 if test "x$ac_cv_header_tiffio_h" = xyes; then :
22813
22814                             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22815 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22816 if ${ac_cv_lib_tiff_TIFFError+:} false; then :
22817   $as_echo_n "(cached) " >&6
22818 else
22819   ac_check_lib_save_LIBS=$LIBS
22820 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22822 /* end confdefs.h.  */
22823
22824 /* Override any GCC internal prototype to avoid an error.
22825    Use char because int might match the return type of a GCC
22826    builtin and then its argument prototype would still apply.  */
22827 #ifdef __cplusplus
22828 extern "C"
22829 #endif
22830 char TIFFError ();
22831 int
22832 main ()
22833 {
22834 return TIFFError ();
22835   ;
22836   return 0;
22837 }
22838 _ACEOF
22839 if ac_fn_c_try_link "$LINENO"; then :
22840   ac_cv_lib_tiff_TIFFError=yes
22841 else
22842   ac_cv_lib_tiff_TIFFError=no
22843 fi
22844 rm -f core conftest.err conftest.$ac_objext \
22845     conftest$ac_exeext conftest.$ac_ext
22846 LIBS=$ac_check_lib_save_LIBS
22847 fi
22848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22849 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22850 if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then :
22851   TIFF_LINK=" -ltiff"
22852 fi
22853
22854
22855 fi
22856
22857
22858
22859         if test "x$TIFF_LINK" = "x" ; then
22860             if test "$wxUSE_LIBTIFF" = "sys" ; then
22861                 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22862             else
22863                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22864 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22865                 wxUSE_LIBTIFF=builtin
22866             fi
22867         else
22868                         wxUSE_LIBTIFF=sys
22869         fi
22870     fi
22871     if test "$wxUSE_LIBTIFF" = "builtin" ; then
22872         if test "$wxUSE_LIBJPEG" = "no"; then
22873                                                                                     ac_configure_args="$ac_configure_args --disable-jpeg"
22874         fi
22875
22876         if test "$wxUSE_LIBLZMA" = "yes"; then
22877                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
22878 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
22879 if ${ac_cv_lib_lzma_lzma_code+:} false; then :
22880   $as_echo_n "(cached) " >&6
22881 else
22882   ac_check_lib_save_LIBS=$LIBS
22883 LIBS="-llzma  $LIBS"
22884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22885 /* end confdefs.h.  */
22886
22887 /* Override any GCC internal prototype to avoid an error.
22888    Use char because int might match the return type of a GCC
22889    builtin and then its argument prototype would still apply.  */
22890 #ifdef __cplusplus
22891 extern "C"
22892 #endif
22893 char lzma_code ();
22894 int
22895 main ()
22896 {
22897 return lzma_code ();
22898   ;
22899   return 0;
22900 }
22901 _ACEOF
22902 if ac_fn_c_try_link "$LINENO"; then :
22903   ac_cv_lib_lzma_lzma_code=yes
22904 else
22905   ac_cv_lib_lzma_lzma_code=no
22906 fi
22907 rm -f core conftest.err conftest.$ac_objext \
22908     conftest$ac_exeext conftest.$ac_ext
22909 LIBS=$ac_check_lib_save_LIBS
22910 fi
22911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
22912 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
22913 if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then :
22914   LIBS="$LIBS -llzma"
22915 fi
22916
22917         else
22918                                     ac_configure_args="$ac_configure_args --disable-lzma"
22919         fi
22920
22921                 if test "$wxUSE_LIBJBIG" = "yes"; then
22922             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jbg_dec_init in -ljbig" >&5
22923 $as_echo_n "checking for jbg_dec_init in -ljbig... " >&6; }
22924 if ${ac_cv_lib_jbig_jbg_dec_init+:} false; then :
22925   $as_echo_n "(cached) " >&6
22926 else
22927   ac_check_lib_save_LIBS=$LIBS
22928 LIBS="-ljbig  $LIBS"
22929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22930 /* end confdefs.h.  */
22931
22932 /* Override any GCC internal prototype to avoid an error.
22933    Use char because int might match the return type of a GCC
22934    builtin and then its argument prototype would still apply.  */
22935 #ifdef __cplusplus
22936 extern "C"
22937 #endif
22938 char jbg_dec_init ();
22939 int
22940 main ()
22941 {
22942 return jbg_dec_init ();
22943   ;
22944   return 0;
22945 }
22946 _ACEOF
22947 if ac_fn_c_try_link "$LINENO"; then :
22948   ac_cv_lib_jbig_jbg_dec_init=yes
22949 else
22950   ac_cv_lib_jbig_jbg_dec_init=no
22951 fi
22952 rm -f core conftest.err conftest.$ac_objext \
22953     conftest$ac_exeext conftest.$ac_ext
22954 LIBS=$ac_check_lib_save_LIBS
22955 fi
22956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jbig_jbg_dec_init" >&5
22957 $as_echo "$ac_cv_lib_jbig_jbg_dec_init" >&6; }
22958 if test "x$ac_cv_lib_jbig_jbg_dec_init" = xyes; then :
22959   LIBS="$LIBS -ljbig"
22960 fi
22961
22962         else
22963             ac_configure_args="$ac_configure_args --disable-jbig"
22964         fi
22965
22966
22967
22968 subdirs="$subdirs src/tiff"
22969
22970     fi
22971 fi
22972
22973
22974 if test "$wxUSE_EXPAT" != "no"; then
22975     wxUSE_XML=yes
22976     $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22977
22978     $as_echo "#define wxUSE_XML 1" >>confdefs.h
22979
22980
22981     if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22982         ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
22983 "
22984 if test "x$ac_cv_header_expat_h" = xyes; then :
22985   found_expat_h=1
22986 fi
22987
22988
22989         if test "x$found_expat_h" = "x1"; then
22990                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22991 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22992 if ${wx_cv_expat_is_not_broken+:} false; then :
22993   $as_echo_n "(cached) " >&6
22994 else
22995
22996                 ac_ext=cpp
22997 ac_cpp='$CXXCPP $CPPFLAGS'
22998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23001
23002                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23003 /* end confdefs.h.  */
23004 #include <expat.h>
23005 int
23006 main ()
23007 {
23008
23009   ;
23010   return 0;
23011 }
23012 _ACEOF
23013 if ac_fn_cxx_try_compile "$LINENO"; then :
23014   wx_cv_expat_is_not_broken=yes
23015 else
23016   wx_cv_expat_is_not_broken=no
23017
23018 fi
23019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23020                 ac_ext=c
23021 ac_cpp='$CPP $CPPFLAGS'
23022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23025
23026
23027
23028 fi
23029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
23030 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
23031             if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23032                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
23033 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
23034 if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
23035   $as_echo_n "(cached) " >&6
23036 else
23037   ac_check_lib_save_LIBS=$LIBS
23038 LIBS="-lexpat  $LIBS"
23039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23040 /* end confdefs.h.  */
23041
23042 /* Override any GCC internal prototype to avoid an error.
23043    Use char because int might match the return type of a GCC
23044    builtin and then its argument prototype would still apply.  */
23045 #ifdef __cplusplus
23046 extern "C"
23047 #endif
23048 char XML_ParserCreate ();
23049 int
23050 main ()
23051 {
23052 return XML_ParserCreate ();
23053   ;
23054   return 0;
23055 }
23056 _ACEOF
23057 if ac_fn_c_try_link "$LINENO"; then :
23058   ac_cv_lib_expat_XML_ParserCreate=yes
23059 else
23060   ac_cv_lib_expat_XML_ParserCreate=no
23061 fi
23062 rm -f core conftest.err conftest.$ac_objext \
23063     conftest$ac_exeext conftest.$ac_ext
23064 LIBS=$ac_check_lib_save_LIBS
23065 fi
23066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23067 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
23068 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
23069   EXPAT_LINK=" -lexpat"
23070 fi
23071
23072             fi
23073         fi
23074         if test "x$EXPAT_LINK" = "x" ; then
23075             if test "$wxUSE_EXPAT" = "sys" ; then
23076                 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
23077             else
23078                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
23079 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23080                 wxUSE_EXPAT=builtin
23081             fi
23082         else
23083                         wxUSE_EXPAT=sys
23084         fi
23085     fi
23086     if test "$wxUSE_EXPAT" = "builtin" ; then
23087                 subdirs="$subdirs src/expat"
23088
23089     fi
23090 fi
23091
23092
23093
23094 if test "$wxUSE_LIBMSPACK" != "no"; then
23095     ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
23096 "
23097 if test "x$ac_cv_header_mspack_h" = xyes; then :
23098   found_mspack_h=1
23099 fi
23100
23101
23102     if test "x$found_mspack_h" = "x1"; then
23103         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
23104 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
23105 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false; then :
23106   $as_echo_n "(cached) " >&6
23107 else
23108   ac_check_lib_save_LIBS=$LIBS
23109 LIBS="-lmspack  $LIBS"
23110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23111 /* end confdefs.h.  */
23112
23113 /* Override any GCC internal prototype to avoid an error.
23114    Use char because int might match the return type of a GCC
23115    builtin and then its argument prototype would still apply.  */
23116 #ifdef __cplusplus
23117 extern "C"
23118 #endif
23119 char mspack_create_chm_decompressor ();
23120 int
23121 main ()
23122 {
23123 return mspack_create_chm_decompressor ();
23124   ;
23125   return 0;
23126 }
23127 _ACEOF
23128 if ac_fn_c_try_link "$LINENO"; then :
23129   ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
23130 else
23131   ac_cv_lib_mspack_mspack_create_chm_decompressor=no
23132 fi
23133 rm -f core conftest.err conftest.$ac_objext \
23134     conftest$ac_exeext conftest.$ac_ext
23135 LIBS=$ac_check_lib_save_LIBS
23136 fi
23137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23138 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23139 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes; then :
23140   MSPACK_LINK=" -lmspack"
23141 fi
23142
23143     fi
23144     if test "x$MSPACK_LINK" = "x" ; then
23145         wxUSE_LIBMSPACK=no
23146     fi
23147 fi
23148
23149 if test "$wxUSE_LIBMSPACK" != "no"; then
23150     $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23151
23152 fi
23153
23154
23155
23156 TOOLKIT=
23157 TOOLKIT_INCLUDE=
23158 WIDGET_SET=
23159
23160 if test "$USE_WIN32" = 1 ; then
23161     for ac_header in w32api.h
23162 do :
23163   ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23164 "
23165 if test "x$ac_cv_header_w32api_h" = xyes; then :
23166   cat >>confdefs.h <<_ACEOF
23167 #define HAVE_W32API_H 1
23168 _ACEOF
23169
23170 fi
23171
23172 done
23173
23174     ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
23175 "
23176 if test "x$ac_cv_header_windows_h" = xyes; then :
23177
23178 else
23179
23180         as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23181
23182 fi
23183
23184
23185
23186     LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23187     case "${host}" in
23188         x86_64-*-mingw32* )
23189                                                 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
23190         ;;
23191     esac
23192     if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23193         LIBS="$LIBS -loleacc"
23194     fi
23195
23196     case "${host}" in
23197         *-*-cygwin* )
23198                         LIBS="$LIBS -lkernel32 -luser32"
23199     esac
23200
23201         WXCONFIG_RESFLAGS="--define __WIN32__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23202 fi
23203
23204 if test "$wxUSE_GUI" = "yes"; then
23205     USE_GUI=1
23206
23207     GUI_TK_LIBRARY=
23208
23209     WXGTK1=
23210     WXGTK127=
23211     WXGTK2=
23212     WXGTK3=
23213     WXGPE=
23214
23215     if test "$wxUSE_OLD_COCOA" = 1 ; then
23216         if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23217             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23218 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23219             wxUSE_PRINTING_ARCHITECTURE=no
23220         fi
23221         if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23222             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23223 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23224             wxUSE_DRAG_AND_DROP=no
23225         fi
23226         if test "$wxUSE_DRAGIMAGE" = "yes"; then
23227             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23228 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23229             wxUSE_DRAGIMAGE=no
23230         fi
23231     fi
23232
23233     if test "$wxUSE_MSW" = 1 ; then
23234         TOOLKIT=MSW
23235         GUIDIST=MSW_DIST
23236
23237                 case "${host}" in
23238             *-*-mingw32* )
23239                 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23240         esac
23241     fi
23242
23243     if test "$wxUSE_GTK" = 1; then
23244                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23245 $as_echo_n "checking for GTK+ version... " >&6; }
23246
23247         gtk_version_cached=1
23248         if ${wx_cv_lib_gtk+:} false; then :
23249   $as_echo_n "(cached) " >&6
23250 else
23251
23252                                                 gtk_version_cached=0
23253                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23254 $as_echo "" >&6; }
23255
23256                                                 GTK_MODULES=
23257                 if test "$wxUSE_THREADS" = "yes"; then
23258                     GTK_MODULES=gthread
23259                 fi
23260
23261                 if test -z "$wxGTK_VERSION"; then
23262                     wxGTK_VERSION=any
23263                 fi
23264
23265                                 wx_cv_lib_gtk=
23266                 if test "x$wxGTK_VERSION" != "x1"
23267                 then
23268                                                                                 case "${host}" in
23269                         *-*-solaris2* )
23270                             if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23271                                 enable_gtktest=no
23272                             fi
23273                     esac
23274
23275                     if test "$wxGTK_VERSION" != 3; then
23276                         # Check whether --enable-gtktest was given.
23277 if test "${enable_gtktest+set}" = set; then :
23278   enableval=$enable_gtktest;
23279 else
23280   enable_gtktest=yes
23281 fi
23282
23283
23284   pkg_config_args=gtk+-2.0
23285   for module in . $GTK_MODULES
23286   do
23287       case "$module" in
23288          gthread)
23289              pkg_config_args="$pkg_config_args gthread-2.0"
23290          ;;
23291       esac
23292   done
23293
23294   no_gtk=""
23295
23296   # Extract the first word of "pkg-config", so it can be a program name with args.
23297 set dummy pkg-config; ac_word=$2
23298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23299 $as_echo_n "checking for $ac_word... " >&6; }
23300 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23301   $as_echo_n "(cached) " >&6
23302 else
23303   case $PKG_CONFIG in
23304   [\\/]* | ?:[\\/]*)
23305   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23306   ;;
23307   *)
23308   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23309 for as_dir in $PATH
23310 do
23311   IFS=$as_save_IFS
23312   test -z "$as_dir" && as_dir=.
23313     for ac_exec_ext in '' $ac_executable_extensions; do
23314   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23315     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23317     break 2
23318   fi
23319 done
23320   done
23321 IFS=$as_save_IFS
23322
23323   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23324   ;;
23325 esac
23326 fi
23327 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23328 if test -n "$PKG_CONFIG"; then
23329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23330 $as_echo "$PKG_CONFIG" >&6; }
23331 else
23332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23333 $as_echo "no" >&6; }
23334 fi
23335
23336
23337
23338   if test x$PKG_CONFIG != xno ; then
23339     if pkg-config --atleast-pkgconfig-version 0.7 ; then
23340       :
23341     else
23342       echo "*** pkg-config too old; version 0.7 or better required."
23343       no_gtk=yes
23344       PKG_CONFIG=no
23345     fi
23346   else
23347     no_gtk=yes
23348   fi
23349
23350   min_gtk_version=2.6.0
23351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23352 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23353
23354   if test x$PKG_CONFIG != xno ; then
23355     ## don't try to run the test against uninstalled libtool libs
23356     if $PKG_CONFIG --uninstalled $pkg_config_args; then
23357           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23358           enable_gtktest=no
23359     fi
23360
23361     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23362           :
23363     else
23364           no_gtk=yes
23365     fi
23366   fi
23367
23368   if test x"$no_gtk" = x ; then
23369     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23370     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23371     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23372            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23373     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23374            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23375     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23376            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23377     if test "x$enable_gtktest" = "xyes" ; then
23378       ac_save_CFLAGS="$CFLAGS"
23379       ac_save_LIBS="$LIBS"
23380       CFLAGS="$CFLAGS $GTK_CFLAGS"
23381       LIBS="$GTK_LIBS $LIBS"
23382       rm -f conf.gtktest
23383       if test "$cross_compiling" = yes; then :
23384   echo $ac_n "cross compiling; assumed OK... $ac_c"
23385 else
23386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23387 /* end confdefs.h.  */
23388
23389 #include <gtk/gtk.h>
23390 #include <stdio.h>
23391 #include <stdlib.h>
23392
23393 int
23394 main ()
23395 {
23396   int major, minor, micro;
23397   char *tmp_version;
23398
23399   system ("touch conf.gtktest");
23400
23401   /* HP/UX 9 (%@#!) writes to sscanf strings */
23402   tmp_version = g_strdup("$min_gtk_version");
23403   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23404      printf("%s, bad version string\n", "$min_gtk_version");
23405      exit(1);
23406    }
23407
23408   if ((gtk_major_version != $gtk_config_major_version) ||
23409       (gtk_minor_version != $gtk_config_minor_version) ||
23410       (gtk_micro_version != $gtk_config_micro_version))
23411     {
23412       printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23413              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23414              gtk_major_version, gtk_minor_version, gtk_micro_version);
23415       printf ("*** was found! If pkg-config was correct, then it is best\n");
23416       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23417       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23418       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23419       printf("*** required on your system.\n");
23420       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23421       printf("*** to point to the correct configuration files\n");
23422     }
23423   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23424            (gtk_minor_version != GTK_MINOR_VERSION) ||
23425            (gtk_micro_version != GTK_MICRO_VERSION))
23426     {
23427       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23428              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23429       printf("*** library (version %d.%d.%d)\n",
23430              gtk_major_version, gtk_minor_version, gtk_micro_version);
23431     }
23432   else
23433     {
23434       if ((gtk_major_version > major) ||
23435         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23436         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23437       {
23438         return 0;
23439        }
23440      else
23441       {
23442         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23443                gtk_major_version, gtk_minor_version, gtk_micro_version);
23444         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23445                major, minor, micro);
23446         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23447         printf("***\n");
23448         printf("*** If you have already installed a sufficiently new version, this error\n");
23449         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23450         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23451         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23452         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23453         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23454         printf("*** so that the correct libraries are found at run-time))\n");
23455       }
23456     }
23457   return 1;
23458 }
23459
23460 _ACEOF
23461 if ac_fn_c_try_run "$LINENO"; then :
23462
23463 else
23464   no_gtk=yes
23465 fi
23466 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23467   conftest.$ac_objext conftest.beam conftest.$ac_ext
23468 fi
23469
23470        CFLAGS="$ac_save_CFLAGS"
23471        LIBS="$ac_save_LIBS"
23472      fi
23473   fi
23474   if test "x$no_gtk" = x ; then
23475      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23476 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23477      wx_cv_lib_gtk=2.0
23478   else
23479      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23480 $as_echo "no" >&6; }
23481      if test "$PKG_CONFIG" = "no" ; then
23482        echo "*** A new enough version of pkg-config was not found."
23483        echo "*** See http://pkgconfig.sourceforge.net"
23484      else
23485        if test -f conf.gtktest ; then
23486         :
23487        else
23488           echo "*** Could not run GTK+ test program, checking why..."
23489           ac_save_CFLAGS="$CFLAGS"
23490           ac_save_LIBS="$LIBS"
23491           CFLAGS="$CFLAGS $GTK_CFLAGS"
23492           LIBS="$LIBS $GTK_LIBS"
23493           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23494 /* end confdefs.h.  */
23495
23496 #include <gtk/gtk.h>
23497 #include <stdio.h>
23498
23499 int
23500 main ()
23501 {
23502  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23503   ;
23504   return 0;
23505 }
23506 _ACEOF
23507 if ac_fn_c_try_link "$LINENO"; then :
23508    echo "*** The test program compiled, but did not run. This usually means"
23509           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23510           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23511           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23512           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23513           echo "*** is required on your system"
23514           echo "***"
23515           echo "*** If you have an old version installed, it is best to remove it, although"
23516           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23517 else
23518    echo "*** The test program failed to compile or link. See the file config.log for the"
23519           echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23520 fi
23521 rm -f core conftest.err conftest.$ac_objext \
23522     conftest$ac_exeext conftest.$ac_ext
23523           CFLAGS="$ac_save_CFLAGS"
23524           LIBS="$ac_save_LIBS"
23525        fi
23526      fi
23527      GTK_CFLAGS=""
23528      GTK_LIBS=""
23529      :
23530   fi
23531
23532
23533   rm -f conf.gtktest
23534
23535                     fi
23536                     if test -z "$wx_cv_lib_gtk"; then
23537                         if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23538                             # Check whether --enable-gtktest was given.
23539 if test "${enable_gtktest+set}" = set; then :
23540   enableval=$enable_gtktest;
23541 else
23542   enable_gtktest=yes
23543 fi
23544
23545
23546   pkg_gtk_version=gtk+-3.0
23547   pkg_config_args=$pkg_gtk_version
23548   for module in . $GTK_MODULES
23549   do
23550       case "$module" in
23551          gthread)
23552              pkg_gthread_version=gthread-2.0
23553              pkg_config_args="$pkg_config_args $pkg_gthread_version"
23554          ;;
23555       esac
23556   done
23557
23558   no_gtk=""
23559
23560   # Extract the first word of "pkg-config", so it can be a program name with args.
23561 set dummy pkg-config; ac_word=$2
23562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23563 $as_echo_n "checking for $ac_word... " >&6; }
23564 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23565   $as_echo_n "(cached) " >&6
23566 else
23567   case $PKG_CONFIG in
23568   [\\/]* | ?:[\\/]*)
23569   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23570   ;;
23571   *)
23572   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23573 for as_dir in $PATH
23574 do
23575   IFS=$as_save_IFS
23576   test -z "$as_dir" && as_dir=.
23577     for ac_exec_ext in '' $ac_executable_extensions; do
23578   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23579     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23581     break 2
23582   fi
23583 done
23584   done
23585 IFS=$as_save_IFS
23586
23587   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23588   ;;
23589 esac
23590 fi
23591 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23592 if test -n "$PKG_CONFIG"; then
23593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23594 $as_echo "$PKG_CONFIG" >&6; }
23595 else
23596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23597 $as_echo "no" >&6; }
23598 fi
23599
23600
23601
23602   if test x$PKG_CONFIG != xno ; then
23603     if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23604       :
23605     else
23606       echo "*** pkg-config too old; version 0.7 or better required."
23607       no_gtk=yes
23608       PKG_CONFIG=no
23609     fi
23610   else
23611     no_gtk=yes
23612   fi
23613
23614   min_gtk_version=3.0.0
23615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23616 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23617
23618   if test x$PKG_CONFIG != xno ; then
23619     ## don't try to run the test against uninstalled libtool libs
23620     if $PKG_CONFIG --uninstalled $pkg_config_args; then
23621           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23622           enable_gtktest=no
23623     fi
23624     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_gtk_version ; then
23625           :
23626     else
23627           no_gtk=yes
23628     fi
23629   fi
23630
23631   if test x"$no_gtk" = x ; then
23632     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23633     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23634     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23635            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23636     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23637            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23638     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23639            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23640     if test "x$enable_gtktest" = "xyes" ; then
23641       ac_save_CFLAGS="$CFLAGS"
23642       ac_save_LIBS="$LIBS"
23643       CFLAGS="$CFLAGS $GTK_CFLAGS"
23644       LIBS="$GTK_LIBS $LIBS"
23645       rm -f conf.gtktest
23646       if test "$cross_compiling" = yes; then :
23647   echo $ac_n "cross compiling; assumed OK... $ac_c"
23648 else
23649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23650 /* end confdefs.h.  */
23651
23652 #include <gtk/gtk.h>
23653 #include <stdio.h>
23654 #include <stdlib.h>
23655
23656 int
23657 main ()
23658 {
23659   int major, minor, micro;
23660   char *tmp_version;
23661
23662   fclose (fopen ("conf.gtktest", "w"));
23663
23664   /* HP/UX 9 (%@#!) writes to sscanf strings */
23665   tmp_version = g_strdup("$min_gtk_version");
23666   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23667      printf("%s, bad version string\n", "$min_gtk_version");
23668      exit(1);
23669    }
23670
23671   if ((gtk_major_version != $gtk_config_major_version) ||
23672       (gtk_minor_version != $gtk_config_minor_version) ||
23673       (gtk_micro_version != $gtk_config_micro_version))
23674     {
23675       printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23676              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23677              gtk_major_version, gtk_minor_version, gtk_micro_version);
23678       printf ("*** was found! If pkg-config was correct, then it is best\n");
23679       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23680       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23681       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23682       printf("*** required on your system.\n");
23683       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23684       printf("*** to point to the correct configuration files\n");
23685     }
23686   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23687            (gtk_minor_version != GTK_MINOR_VERSION) ||
23688            (gtk_micro_version != GTK_MICRO_VERSION))
23689     {
23690       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23691              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23692       printf("*** library (version %d.%d.%d)\n",
23693              gtk_major_version, gtk_minor_version, gtk_micro_version);
23694     }
23695   else
23696     {
23697       if ((gtk_major_version > major) ||
23698         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23699         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23700       {
23701         return 0;
23702        }
23703      else
23704       {
23705         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23706                gtk_major_version, gtk_minor_version, gtk_micro_version);
23707         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23708                major, minor, micro);
23709         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23710         printf("***\n");
23711         printf("*** If you have already installed a sufficiently new version, this error\n");
23712         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23713         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23714         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23715         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23716         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23717         printf("*** so that the correct libraries are found at run-time))\n");
23718       }
23719     }
23720   return 1;
23721 }
23722
23723 _ACEOF
23724 if ac_fn_c_try_run "$LINENO"; then :
23725
23726 else
23727   no_gtk=yes
23728 fi
23729 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23730   conftest.$ac_objext conftest.beam conftest.$ac_ext
23731 fi
23732
23733        CFLAGS="$ac_save_CFLAGS"
23734        LIBS="$ac_save_LIBS"
23735      fi
23736   fi
23737   if test "x$no_gtk" = x ; then
23738      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23739 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23740      wx_cv_lib_gtk=3
23741   else
23742      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23743 $as_echo "no" >&6; }
23744      if test "$PKG_CONFIG" = "no" ; then
23745        echo "*** A new enough version of pkg-config was not found."
23746        echo "*** See http://pkgconfig.sourceforge.net"
23747      else
23748        if test -f conf.gtktest ; then
23749         :
23750        else
23751           echo "*** Could not run GTK+ test program, checking why..."
23752           ac_save_CFLAGS="$CFLAGS"
23753           ac_save_LIBS="$LIBS"
23754           CFLAGS="$CFLAGS $GTK_CFLAGS"
23755           LIBS="$LIBS $GTK_LIBS"
23756           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23757 /* end confdefs.h.  */
23758
23759 #include <gtk/gtk.h>
23760 #include <stdio.h>
23761
23762 int
23763 main ()
23764 {
23765  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23766   ;
23767   return 0;
23768 }
23769 _ACEOF
23770 if ac_fn_c_try_link "$LINENO"; then :
23771    echo "*** The test program compiled, but did not run. This usually means"
23772           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23773           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23774           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23775           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23776           echo "*** is required on your system"
23777           echo "***"
23778           echo "*** If you have an old version installed, it is best to remove it, although"
23779           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23780 else
23781    echo "*** The test program failed to compile or link. See the file config.log for the"
23782           echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23783 fi
23784 rm -f core conftest.err conftest.$ac_objext \
23785     conftest$ac_exeext conftest.$ac_ext
23786           CFLAGS="$ac_save_CFLAGS"
23787           LIBS="$ac_save_LIBS"
23788        fi
23789      fi
23790      GTK_CFLAGS=""
23791      GTK_LIBS=""
23792      :
23793   fi
23794
23795
23796   rm -f conf.gtktest
23797
23798                         fi
23799                     fi
23800                 fi
23801
23802                                 if test -z "$wx_cv_lib_gtk"; then
23803                     if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23804
23805 # Check whether --with-gtk-prefix was given.
23806 if test "${with_gtk_prefix+set}" = set; then :
23807   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23808 else
23809   gtk_config_prefix=""
23810 fi
23811
23812
23813 # Check whether --with-gtk-exec-prefix was given.
23814 if test "${with_gtk_exec_prefix+set}" = set; then :
23815   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23816 else
23817   gtk_config_exec_prefix=""
23818 fi
23819
23820 # Check whether --enable-gtktest was given.
23821 if test "${enable_gtktest+set}" = set; then :
23822   enableval=$enable_gtktest;
23823 else
23824   enable_gtktest=yes
23825 fi
23826
23827
23828   for module in . $GTK_MODULES
23829   do
23830       case "$module" in
23831          gthread)
23832              gtk_config_args="$gtk_config_args gthread"
23833          ;;
23834       esac
23835   done
23836
23837   if test x$gtk_config_exec_prefix != x ; then
23838      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23839      if test x${GTK_CONFIG+set} != xset ; then
23840         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23841      fi
23842   fi
23843   if test x$gtk_config_prefix != x ; then
23844      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23845      if test x${GTK_CONFIG+set} != xset ; then
23846         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23847      fi
23848   fi
23849
23850   # Extract the first word of "gtk-config", so it can be a program name with args.
23851 set dummy gtk-config; ac_word=$2
23852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23853 $as_echo_n "checking for $ac_word... " >&6; }
23854 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23855   $as_echo_n "(cached) " >&6
23856 else
23857   case $GTK_CONFIG in
23858   [\\/]* | ?:[\\/]*)
23859   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23860   ;;
23861   *)
23862   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23863 for as_dir in $PATH
23864 do
23865   IFS=$as_save_IFS
23866   test -z "$as_dir" && as_dir=.
23867     for ac_exec_ext in '' $ac_executable_extensions; do
23868   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23869     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23870     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23871     break 2
23872   fi
23873 done
23874   done
23875 IFS=$as_save_IFS
23876
23877   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23878   ;;
23879 esac
23880 fi
23881 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23882 if test -n "$GTK_CONFIG"; then
23883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23884 $as_echo "$GTK_CONFIG" >&6; }
23885 else
23886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23887 $as_echo "no" >&6; }
23888 fi
23889
23890
23891   min_gtk_version=1.2.7
23892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23893 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23894   no_gtk=""
23895   if test "$GTK_CONFIG" = "no" ; then
23896     no_gtk=yes
23897   else
23898     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23899     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23900     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23901            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23902     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23903            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23904     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23905            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23906     if test "x$enable_gtktest" = "xyes" ; then
23907       ac_save_CFLAGS="$CFLAGS"
23908       ac_save_LIBS="$LIBS"
23909       CFLAGS="$CFLAGS $GTK_CFLAGS"
23910       LIBS="$GTK_LIBS $LIBS"
23911       rm -f conf.gtktest
23912       if test "$cross_compiling" = yes; then :
23913   echo $ac_n "cross compiling; assumed OK... $ac_c"
23914 else
23915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23916 /* end confdefs.h.  */
23917
23918 #include <gtk/gtk.h>
23919 #include <stdio.h>
23920 #include <stdlib.h>
23921
23922 int
23923 main ()
23924 {
23925   int major, minor, micro;
23926   char *tmp_version;
23927
23928   system ("touch conf.gtktest");
23929
23930   /* HP/UX 9 (%@#!) writes to sscanf strings */
23931   tmp_version = g_strdup("$min_gtk_version");
23932   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23933      printf("%s, bad version string\n", "$min_gtk_version");
23934      exit(1);
23935    }
23936
23937   if ((gtk_major_version != $gtk_config_major_version) ||
23938       (gtk_minor_version != $gtk_config_minor_version) ||
23939       (gtk_micro_version != $gtk_config_micro_version))
23940     {
23941       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23942              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23943              gtk_major_version, gtk_minor_version, gtk_micro_version);
23944       printf ("*** was found! If gtk-config was correct, then it is best\n");
23945       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23946       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23947       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23948       printf("*** required on your system.\n");
23949       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23950       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23951       printf("*** before re-running configure\n");
23952     }
23953 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23954   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23955            (gtk_minor_version != GTK_MINOR_VERSION) ||
23956            (gtk_micro_version != GTK_MICRO_VERSION))
23957     {
23958       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23959              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23960       printf("*** library (version %d.%d.%d)\n",
23961              gtk_major_version, gtk_minor_version, gtk_micro_version);
23962     }
23963 #endif /* defined (GTK_MAJOR_VERSION) ... */
23964   else
23965     {
23966       if ((gtk_major_version > major) ||
23967         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23968         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23969       {
23970         return 0;
23971        }
23972      else
23973       {
23974         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23975                gtk_major_version, gtk_minor_version, gtk_micro_version);
23976         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23977                major, minor, micro);
23978         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23979         printf("***\n");
23980         printf("*** If you have already installed a sufficiently new version, this error\n");
23981         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23982         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23983         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23984         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23985         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23986         printf("*** so that the correct libraries are found at run-time))\n");
23987       }
23988     }
23989   return 1;
23990 }
23991
23992 _ACEOF
23993 if ac_fn_c_try_run "$LINENO"; then :
23994
23995 else
23996   no_gtk=yes
23997 fi
23998 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23999   conftest.$ac_objext conftest.beam conftest.$ac_ext
24000 fi
24001
24002        CFLAGS="$ac_save_CFLAGS"
24003        LIBS="$ac_save_LIBS"
24004      fi
24005   fi
24006   if test "x$no_gtk" = x ; then
24007      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24008 $as_echo "yes" >&6; }
24009      wx_cv_lib_gtk=1.2.7
24010   else
24011      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24012 $as_echo "no" >&6; }
24013      if test "$GTK_CONFIG" = "no" ; then
24014        echo "*** The gtk-config script installed by GTK could not be found"
24015        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24016        echo "*** your path, or set the GTK_CONFIG environment variable to the"
24017        echo "*** full path to gtk-config."
24018      else
24019        if test -f conf.gtktest ; then
24020         :
24021        else
24022           echo "*** Could not run GTK test program, checking why..."
24023           CFLAGS="$CFLAGS $GTK_CFLAGS"
24024           LIBS="$LIBS $GTK_LIBS"
24025           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24026 /* end confdefs.h.  */
24027
24028 #include <gtk/gtk.h>
24029 #include <stdio.h>
24030
24031 int
24032 main ()
24033 {
24034  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24035   ;
24036   return 0;
24037 }
24038 _ACEOF
24039 if ac_fn_c_try_link "$LINENO"; then :
24040    echo "*** The test program compiled, but did not run. This usually means"
24041           echo "*** that the run-time linker is not finding GTK or finding the wrong"
24042           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24043           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24044           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
24045           echo "*** is required on your system"
24046           echo "***"
24047           echo "*** If you have an old version installed, it is best to remove it, although"
24048           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24049           echo "***"
24050           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24051           echo "*** came with the system with the command"
24052           echo "***"
24053           echo "***    rpm --erase --nodeps gtk gtk-devel"
24054 else
24055    echo "*** The test program failed to compile or link. See the file config.log for the"
24056           echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24057           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24058           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24059 fi
24060 rm -f core conftest.err conftest.$ac_objext \
24061     conftest$ac_exeext conftest.$ac_ext
24062           CFLAGS="$ac_save_CFLAGS"
24063           LIBS="$ac_save_LIBS"
24064        fi
24065      fi
24066      GTK_CFLAGS=""
24067      GTK_LIBS=""
24068      :
24069   fi
24070
24071
24072   rm -f conf.gtktest
24073
24074
24075                         if test -z "$wx_cv_lib_gtk"; then
24076
24077 # Check whether --with-gtk-prefix was given.
24078 if test "${with_gtk_prefix+set}" = set; then :
24079   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
24080 else
24081   gtk_config_prefix=""
24082 fi
24083
24084
24085 # Check whether --with-gtk-exec-prefix was given.
24086 if test "${with_gtk_exec_prefix+set}" = set; then :
24087   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
24088 else
24089   gtk_config_exec_prefix=""
24090 fi
24091
24092 # Check whether --enable-gtktest was given.
24093 if test "${enable_gtktest+set}" = set; then :
24094   enableval=$enable_gtktest;
24095 else
24096   enable_gtktest=yes
24097 fi
24098
24099
24100   for module in . $GTK_MODULES
24101   do
24102       case "$module" in
24103          gthread)
24104              gtk_config_args="$gtk_config_args gthread"
24105          ;;
24106       esac
24107   done
24108
24109   if test x$gtk_config_exec_prefix != x ; then
24110      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24111      if test x${GTK_CONFIG+set} != xset ; then
24112         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24113      fi
24114   fi
24115   if test x$gtk_config_prefix != x ; then
24116      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24117      if test x${GTK_CONFIG+set} != xset ; then
24118         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24119      fi
24120   fi
24121
24122   # Extract the first word of "gtk-config", so it can be a program name with args.
24123 set dummy gtk-config; ac_word=$2
24124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24125 $as_echo_n "checking for $ac_word... " >&6; }
24126 if ${ac_cv_path_GTK_CONFIG+:} false; then :
24127   $as_echo_n "(cached) " >&6
24128 else
24129   case $GTK_CONFIG in
24130   [\\/]* | ?:[\\/]*)
24131   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24132   ;;
24133   *)
24134   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24135 for as_dir in $PATH
24136 do
24137   IFS=$as_save_IFS
24138   test -z "$as_dir" && as_dir=.
24139     for ac_exec_ext in '' $ac_executable_extensions; do
24140   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24141     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24142     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24143     break 2
24144   fi
24145 done
24146   done
24147 IFS=$as_save_IFS
24148
24149   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24150   ;;
24151 esac
24152 fi
24153 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24154 if test -n "$GTK_CONFIG"; then
24155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24156 $as_echo "$GTK_CONFIG" >&6; }
24157 else
24158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24159 $as_echo "no" >&6; }
24160 fi
24161
24162
24163   min_gtk_version=1.2.3
24164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24165 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24166   no_gtk=""
24167   if test "$GTK_CONFIG" = "no" ; then
24168     no_gtk=yes
24169   else
24170     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24171     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24172     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24173            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24174     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24175            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24176     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24177            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24178     if test "x$enable_gtktest" = "xyes" ; then
24179       ac_save_CFLAGS="$CFLAGS"
24180       ac_save_LIBS="$LIBS"
24181       CFLAGS="$CFLAGS $GTK_CFLAGS"
24182       LIBS="$GTK_LIBS $LIBS"
24183       rm -f conf.gtktest
24184       if test "$cross_compiling" = yes; then :
24185   echo $ac_n "cross compiling; assumed OK... $ac_c"
24186 else
24187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24188 /* end confdefs.h.  */
24189
24190 #include <gtk/gtk.h>
24191 #include <stdio.h>
24192 #include <stdlib.h>
24193
24194 int
24195 main ()
24196 {
24197   int major, minor, micro;
24198   char *tmp_version;
24199
24200   system ("touch conf.gtktest");
24201
24202   /* HP/UX 9 (%@#!) writes to sscanf strings */
24203   tmp_version = g_strdup("$min_gtk_version");
24204   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24205      printf("%s, bad version string\n", "$min_gtk_version");
24206      exit(1);
24207    }
24208
24209   if ((gtk_major_version != $gtk_config_major_version) ||
24210       (gtk_minor_version != $gtk_config_minor_version) ||
24211       (gtk_micro_version != $gtk_config_micro_version))
24212     {
24213       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24214              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24215              gtk_major_version, gtk_minor_version, gtk_micro_version);
24216       printf ("*** was found! If gtk-config was correct, then it is best\n");
24217       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24218       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24219       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24220       printf("*** required on your system.\n");
24221       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24222       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24223       printf("*** before re-running configure\n");
24224     }
24225 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24226   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24227            (gtk_minor_version != GTK_MINOR_VERSION) ||
24228            (gtk_micro_version != GTK_MICRO_VERSION))
24229     {
24230       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24231              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24232       printf("*** library (version %d.%d.%d)\n",
24233              gtk_major_version, gtk_minor_version, gtk_micro_version);
24234     }
24235 #endif /* defined (GTK_MAJOR_VERSION) ... */
24236   else
24237     {
24238       if ((gtk_major_version > major) ||
24239         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24240         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24241       {
24242         return 0;
24243        }
24244      else
24245       {
24246         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24247                gtk_major_version, gtk_minor_version, gtk_micro_version);
24248         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24249                major, minor, micro);
24250         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24251         printf("***\n");
24252         printf("*** If you have already installed a sufficiently new version, this error\n");
24253         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24254         printf("*** being found. The easiest way to fix this is to remove the old version\n");
24255         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24256         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24257         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24258         printf("*** so that the correct libraries are found at run-time))\n");
24259       }
24260     }
24261   return 1;
24262 }
24263
24264 _ACEOF
24265 if ac_fn_c_try_run "$LINENO"; then :
24266
24267 else
24268   no_gtk=yes
24269 fi
24270 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24271   conftest.$ac_objext conftest.beam conftest.$ac_ext
24272 fi
24273
24274        CFLAGS="$ac_save_CFLAGS"
24275        LIBS="$ac_save_LIBS"
24276      fi
24277   fi
24278   if test "x$no_gtk" = x ; then
24279      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24280 $as_echo "yes" >&6; }
24281      wx_cv_lib_gtk=1.2.3
24282   else
24283      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24284 $as_echo "no" >&6; }
24285      if test "$GTK_CONFIG" = "no" ; then
24286        echo "*** The gtk-config script installed by GTK could not be found"
24287        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24288        echo "*** your path, or set the GTK_CONFIG environment variable to the"
24289        echo "*** full path to gtk-config."
24290      else
24291        if test -f conf.gtktest ; then
24292         :
24293        else
24294           echo "*** Could not run GTK test program, checking why..."
24295           CFLAGS="$CFLAGS $GTK_CFLAGS"
24296           LIBS="$LIBS $GTK_LIBS"
24297           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24298 /* end confdefs.h.  */
24299
24300 #include <gtk/gtk.h>
24301 #include <stdio.h>
24302
24303 int
24304 main ()
24305 {
24306  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24307   ;
24308   return 0;
24309 }
24310 _ACEOF
24311 if ac_fn_c_try_link "$LINENO"; then :
24312    echo "*** The test program compiled, but did not run. This usually means"
24313           echo "*** that the run-time linker is not finding GTK or finding the wrong"
24314           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24315           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24316           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
24317           echo "*** is required on your system"
24318           echo "***"
24319           echo "*** If you have an old version installed, it is best to remove it, although"
24320           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24321           echo "***"
24322           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24323           echo "*** came with the system with the command"
24324           echo "***"
24325           echo "***    rpm --erase --nodeps gtk gtk-devel"
24326 else
24327    echo "*** The test program failed to compile or link. See the file config.log for the"
24328           echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24329           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24330           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24331 fi
24332 rm -f core conftest.err conftest.$ac_objext \
24333     conftest$ac_exeext conftest.$ac_ext
24334           CFLAGS="$ac_save_CFLAGS"
24335           LIBS="$ac_save_LIBS"
24336        fi
24337      fi
24338      GTK_CFLAGS=""
24339      GTK_LIBS=""
24340      :
24341   fi
24342
24343
24344   rm -f conf.gtktest
24345
24346                         fi
24347                     fi
24348                 fi
24349
24350                 if test -z "$wx_cv_lib_gtk"; then
24351                                         wx_cv_lib_gtk=none
24352                 else
24353                                         GTK_LIBS="$GTK_LIBS -lX11"
24354
24355                                                             wx_cv_cflags_gtk=$GTK_CFLAGS
24356                     wx_cv_libs_gtk=$GTK_LIBS
24357                 fi
24358
24359
24360 fi
24361
24362
24363                         if test "$gtk_version_cached" = 1; then
24364             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24365 $as_echo "$wx_cv_lib_gtk" >&6; }
24366         fi
24367
24368         case "$wx_cv_lib_gtk" in
24369             3)      WXGTK3=1
24370                     TOOLKIT_VERSION=3
24371                     ;;
24372             2.0)    WXGTK2=1
24373                     TOOLKIT_VERSION=2
24374                     ;;
24375             1.2.7)  WXGTK127=1
24376                     WXGTK1=1
24377                     ;;
24378             1.2*)   WXGTK1=1 ;;
24379             *)      as_fn_error $? "
24380 The development files for GTK+ were not found. For GTK+ 2, please
24381 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24382 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24383 and that the version is 1.2.3 or above. Also check that the
24384 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24385 --libs' are in the LD_LIBRARY_PATH or equivalent.
24386                             " "$LINENO" 5
24387                     ;;
24388         esac
24389
24390         if test "$WXGTK3" = 1; then
24391             $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24392
24393             $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24394
24395         elif test "$WXGTK2" = 1; then
24396             save_CFLAGS="$CFLAGS"
24397             save_LIBS="$LIBS"
24398             CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24399             LIBS="$LIBS $wx_cv_libs_gtk"
24400
24401                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24402 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24403             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24404 /* end confdefs.h.  */
24405
24406                             #include <gtk/gtk.h>
24407
24408 int
24409 main ()
24410 {
24411
24412                             #if !GTK_CHECK_VERSION(2,18,0)
24413                             Not GTK+ 2.18
24414                             #endif
24415
24416   ;
24417   return 0;
24418 }
24419 _ACEOF
24420 if ac_fn_c_try_compile "$LINENO"; then :
24421
24422                             $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24423
24424                             $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24425
24426                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24427 $as_echo "yes" >&6; }
24428                             ac_wxgtk218=1
24429
24430 else
24431
24432                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24433 $as_echo "no" >&6; }
24434                             ac_wxgtk218=0
24435
24436 fi
24437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24438
24439             if test "$ac_wxgtk218" = 0; then
24440                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24441 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24442                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24443 /* end confdefs.h.  */
24444
24445                                 #include <gtk/gtk.h>
24446
24447 int
24448 main ()
24449 {
24450
24451                                 #if !GTK_CHECK_VERSION(2,10,0)
24452                                 Not GTK+ 2.10
24453                                 #endif
24454
24455   ;
24456   return 0;
24457 }
24458 _ACEOF
24459 if ac_fn_c_try_compile "$LINENO"; then :
24460
24461                                 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24462
24463                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24464 $as_echo "yes" >&6; }
24465                                 ac_wxgtk210=1
24466
24467 else
24468
24469                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24470 $as_echo "no" >&6; }
24471                                 ac_wxgtk210=0
24472
24473 fi
24474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24475             fi
24476
24477             CFLAGS="$save_CFLAGS"
24478             LIBS="$save_LIBS"
24479         else
24480             if test "$wxUSE_UNICODE" = "yes"; then
24481                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24482 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24483                 wxUSE_UNICODE=no
24484             fi
24485
24486                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24487 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24488 if ${ac_cv_lib_gdk_gdk_im_open+:} false; then :
24489   $as_echo_n "(cached) " >&6
24490 else
24491   ac_check_lib_save_LIBS=$LIBS
24492 LIBS="-lgdk  $LIBS"
24493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24494 /* end confdefs.h.  */
24495
24496 /* Override any GCC internal prototype to avoid an error.
24497    Use char because int might match the return type of a GCC
24498    builtin and then its argument prototype would still apply.  */
24499 #ifdef __cplusplus
24500 extern "C"
24501 #endif
24502 char gdk_im_open ();
24503 int
24504 main ()
24505 {
24506 return gdk_im_open ();
24507   ;
24508   return 0;
24509 }
24510 _ACEOF
24511 if ac_fn_c_try_link "$LINENO"; then :
24512   ac_cv_lib_gdk_gdk_im_open=yes
24513 else
24514   ac_cv_lib_gdk_gdk_im_open=no
24515 fi
24516 rm -f core conftest.err conftest.$ac_objext \
24517     conftest$ac_exeext conftest.$ac_ext
24518 LIBS=$ac_check_lib_save_LIBS
24519 fi
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24521 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24522 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes; then :
24523   $as_echo "#define HAVE_XIM 1" >>confdefs.h
24524
24525 fi
24526
24527
24528                                     if test "$USE_DARWIN" != 1; then
24529                 for ac_func in poll
24530 do :
24531   ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24532 if test "x$ac_cv_func_poll" = xyes; then :
24533   cat >>confdefs.h <<_ACEOF
24534 #define HAVE_POLL 1
24535 _ACEOF
24536
24537 fi
24538 done
24539
24540             fi
24541         fi
24542
24543         TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24544         GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24545         TOOLKIT=GTK
24546         GUIDIST=GTK_DIST
24547
24548                 if test "$wxUSE_GPE" = "yes"; then
24549             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24550 $as_echo_n "checking for gpewidget library... " >&6; }
24551
24552   ac_find_libraries=
24553   for ac_dir in  $SEARCH_LIB
24554   do
24555     for ac_extension in a so sl dylib dll.a; do
24556       if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24557         ac_find_libraries=$ac_dir
24558         break 2
24559       fi
24560     done
24561   done
24562
24563             if test "$ac_find_libraries" != "" ; then
24564
24565     if test "$ac_find_libraries" = "default location"; then
24566     ac_path_to_link=""
24567   else
24568     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24569     result=$?
24570     if test $result = 0; then
24571       ac_path_to_link=""
24572     else
24573       ac_path_to_link=" -L$ac_find_libraries"
24574     fi
24575   fi
24576
24577                                                 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24578                 WXGPE=1
24579                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24580 $as_echo "found in $ac_find_libraries" >&6; }
24581             else
24582                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24583 $as_echo "not found" >&6; }
24584             fi
24585
24586                                                                                                                     fi
24587     fi
24588
24589     if test "$wxUSE_DFB" = 1; then
24590
24591
24592 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24593         if test -n "$ac_tool_prefix"; then
24594   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24595 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24597 $as_echo_n "checking for $ac_word... " >&6; }
24598 if ${ac_cv_path_PKG_CONFIG+:} false; then :
24599   $as_echo_n "(cached) " >&6
24600 else
24601   case $PKG_CONFIG in
24602   [\\/]* | ?:[\\/]*)
24603   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24604   ;;
24605   *)
24606   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24607 for as_dir in $PATH
24608 do
24609   IFS=$as_save_IFS
24610   test -z "$as_dir" && as_dir=.
24611     for ac_exec_ext in '' $ac_executable_extensions; do
24612   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24613     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24614     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24615     break 2
24616   fi
24617 done
24618   done
24619 IFS=$as_save_IFS
24620
24621   ;;
24622 esac
24623 fi
24624 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24625 if test -n "$PKG_CONFIG"; then
24626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24627 $as_echo "$PKG_CONFIG" >&6; }
24628 else
24629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24630 $as_echo "no" >&6; }
24631 fi
24632
24633
24634 fi
24635 if test -z "$ac_cv_path_PKG_CONFIG"; then
24636   ac_pt_PKG_CONFIG=$PKG_CONFIG
24637   # Extract the first word of "pkg-config", so it can be a program name with args.
24638 set dummy pkg-config; ac_word=$2
24639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24640 $as_echo_n "checking for $ac_word... " >&6; }
24641 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
24642   $as_echo_n "(cached) " >&6
24643 else
24644   case $ac_pt_PKG_CONFIG in
24645   [\\/]* | ?:[\\/]*)
24646   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24647   ;;
24648   *)
24649   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24650 for as_dir in $PATH
24651 do
24652   IFS=$as_save_IFS
24653   test -z "$as_dir" && as_dir=.
24654     for ac_exec_ext in '' $ac_executable_extensions; do
24655   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24656     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24657     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24658     break 2
24659   fi
24660 done
24661   done
24662 IFS=$as_save_IFS
24663
24664   ;;
24665 esac
24666 fi
24667 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24668 if test -n "$ac_pt_PKG_CONFIG"; then
24669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24670 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24671 else
24672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24673 $as_echo "no" >&6; }
24674 fi
24675
24676   if test "x$ac_pt_PKG_CONFIG" = x; then
24677     PKG_CONFIG=""
24678   else
24679     case $cross_compiling:$ac_tool_warned in
24680 yes:)
24681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24683 ac_tool_warned=yes ;;
24684 esac
24685     PKG_CONFIG=$ac_pt_PKG_CONFIG
24686   fi
24687 else
24688   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24689 fi
24690
24691 fi
24692 if test -n "$PKG_CONFIG"; then
24693         _pkg_min_version=0.9.0
24694         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24695 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24696         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24697                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24698 $as_echo "yes" >&6; }
24699         else
24700                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24701 $as_echo "no" >&6; }
24702                 PKG_CONFIG=""
24703         fi
24704
24705 fi
24706
24707
24708 pkg_failed=no
24709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24710 $as_echo_n "checking for DIRECTFB... " >&6; }
24711
24712 if test -n "$PKG_CONFIG"; then
24713     if test -n "$DIRECTFB_CFLAGS"; then
24714         pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24715     else
24716         if test -n "$PKG_CONFIG" && \
24717     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24718   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24719   ac_status=$?
24720   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24721   test $ac_status = 0; }; then
24722   pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24723 else
24724   pkg_failed=yes
24725 fi
24726     fi
24727 else
24728         pkg_failed=untried
24729 fi
24730 if test -n "$PKG_CONFIG"; then
24731     if test -n "$DIRECTFB_LIBS"; then
24732         pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24733     else
24734         if test -n "$PKG_CONFIG" && \
24735     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24736   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24737   ac_status=$?
24738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24739   test $ac_status = 0; }; then
24740   pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24741 else
24742   pkg_failed=yes
24743 fi
24744     fi
24745 else
24746         pkg_failed=untried
24747 fi
24748
24749
24750
24751 if test $pkg_failed = yes; then
24752
24753 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24754         _pkg_short_errors_supported=yes
24755 else
24756         _pkg_short_errors_supported=no
24757 fi
24758         if test $_pkg_short_errors_supported = yes; then
24759                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24760         else
24761                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24762         fi
24763         # Put the nasty error message in config.log where it belongs
24764         echo "$DIRECTFB_PKG_ERRORS" >&5
24765
24766
24767                            as_fn_error $? "DirectFB not found." "$LINENO" 5
24768
24769
24770 elif test $pkg_failed = untried; then
24771
24772                            as_fn_error $? "DirectFB not found." "$LINENO" 5
24773
24774
24775 else
24776         DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24777         DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24778         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24779 $as_echo "yes" >&6; }
24780
24781                            wxUSE_UNIVERSAL="yes"
24782                            TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24783                            GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24784                            TOOLKIT=DFB
24785                            GUIDIST=DFB_DIST
24786
24787 fi
24788     fi
24789
24790     if test "$wxUSE_MICROWIN" = 1; then
24791         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24792 $as_echo_n "checking for MicroWindows... " >&6; }
24793         if test "x$MICROWINDOWS" = x ; then
24794             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24795 $as_echo "not found" >&6; }
24796             as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24797         else
24798             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24799 $as_echo "$MICROWINDOWS" >&6; }
24800         fi
24801
24802         if test -f $MICROWINDOWS/lib/libmwin.a; then
24803             { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24804 $as_echo "MicroWindows' libraries found." >&6; }
24805         else
24806             as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24807         fi
24808
24809         TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24810         GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24811
24812         wxUSE_UNIVERSAL="yes"
24813
24814         TOOLKIT=MICROWIN
24815         GUIDIST=MICROWIN_DIST
24816
24817         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24818     fi
24819
24820         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24821                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24822 $as_echo_n "checking for X... " >&6; }
24823
24824
24825 # Check whether --with-x was given.
24826 if test "${with_x+set}" = set; then :
24827   withval=$with_x;
24828 fi
24829
24830 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24831 if test "x$with_x" = xno; then
24832   # The user explicitly disabled X.
24833   have_x=disabled
24834 else
24835   case $x_includes,$x_libraries in #(
24836     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24837     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24838   $as_echo_n "(cached) " >&6
24839 else
24840   # One or both of the vars are not set, and there is no cached value.
24841 ac_x_includes=no ac_x_libraries=no
24842 rm -f -r conftest.dir
24843 if mkdir conftest.dir; then
24844   cd conftest.dir
24845   cat >Imakefile <<'_ACEOF'
24846 incroot:
24847         @echo incroot='${INCROOT}'
24848 usrlibdir:
24849         @echo usrlibdir='${USRLIBDIR}'
24850 libdir:
24851         @echo libdir='${LIBDIR}'
24852 _ACEOF
24853   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24854     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24855     for ac_var in incroot usrlibdir libdir; do
24856       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24857     done
24858     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24859     for ac_extension in a so sl dylib la dll; do
24860       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24861          test -f "$ac_im_libdir/libX11.$ac_extension"; then
24862         ac_im_usrlibdir=$ac_im_libdir; break
24863       fi
24864     done
24865     # Screen out bogus values from the imake configuration.  They are
24866     # bogus both because they are the default anyway, and because
24867     # using them would break gcc on systems where it needs fixed includes.
24868     case $ac_im_incroot in
24869         /usr/include) ac_x_includes= ;;
24870         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24871     esac
24872     case $ac_im_usrlibdir in
24873         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24874         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24875     esac
24876   fi
24877   cd ..
24878   rm -f -r conftest.dir
24879 fi
24880
24881 # Standard set of common directories for X headers.
24882 # Check X11 before X11Rn because it is often a symlink to the current release.
24883 ac_x_header_dirs='
24884 /usr/X11/include
24885 /usr/X11R7/include
24886 /usr/X11R6/include
24887 /usr/X11R5/include
24888 /usr/X11R4/include
24889
24890 /usr/include/X11
24891 /usr/include/X11R7
24892 /usr/include/X11R6
24893 /usr/include/X11R5
24894 /usr/include/X11R4
24895
24896 /usr/local/X11/include
24897 /usr/local/X11R7/include
24898 /usr/local/X11R6/include
24899 /usr/local/X11R5/include
24900 /usr/local/X11R4/include
24901
24902 /usr/local/include/X11
24903 /usr/local/include/X11R7
24904 /usr/local/include/X11R6
24905 /usr/local/include/X11R5
24906 /usr/local/include/X11R4
24907
24908 /usr/X386/include
24909 /usr/x386/include
24910 /usr/XFree86/include/X11
24911
24912 /usr/include
24913 /usr/local/include
24914 /usr/unsupported/include
24915 /usr/athena/include
24916 /usr/local/x11r5/include
24917 /usr/lpp/Xamples/include
24918
24919 /usr/openwin/include
24920 /usr/openwin/share/include'
24921
24922 if test "$ac_x_includes" = no; then
24923   # Guess where to find include files, by looking for Xlib.h.
24924   # First, try using that file with no special directory specified.
24925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24926 /* end confdefs.h.  */
24927 #include <X11/Xlib.h>
24928 _ACEOF
24929 if ac_fn_c_try_cpp "$LINENO"; then :
24930   # We can compile using X headers with no special include directory.
24931 ac_x_includes=
24932 else
24933   for ac_dir in $ac_x_header_dirs; do
24934   if test -r "$ac_dir/X11/Xlib.h"; then
24935     ac_x_includes=$ac_dir
24936     break
24937   fi
24938 done
24939 fi
24940 rm -f conftest.err conftest.i conftest.$ac_ext
24941 fi # $ac_x_includes = no
24942
24943 if test "$ac_x_libraries" = no; then
24944   # Check for the libraries.
24945   # See if we find them without any special options.
24946   # Don't add to $LIBS permanently.
24947   ac_save_LIBS=$LIBS
24948   LIBS="-lX11 $LIBS"
24949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24950 /* end confdefs.h.  */
24951 #include <X11/Xlib.h>
24952 int
24953 main ()
24954 {
24955 XrmInitialize ()
24956   ;
24957   return 0;
24958 }
24959 _ACEOF
24960 if ac_fn_c_try_link "$LINENO"; then :
24961   LIBS=$ac_save_LIBS
24962 # We can link X programs with no special library path.
24963 ac_x_libraries=
24964 else
24965   LIBS=$ac_save_LIBS
24966 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24967 do
24968   # Don't even attempt the hair of trying to link an X program!
24969   for ac_extension in a so sl dylib la dll; do
24970     if test -r "$ac_dir/libX11.$ac_extension"; then
24971       ac_x_libraries=$ac_dir
24972       break 2
24973     fi
24974   done
24975 done
24976 fi
24977 rm -f core conftest.err conftest.$ac_objext \
24978     conftest$ac_exeext conftest.$ac_ext
24979 fi # $ac_x_libraries = no
24980
24981 case $ac_x_includes,$ac_x_libraries in #(
24982   no,* | *,no | *\'*)
24983     # Didn't find X, or a directory has "'" in its name.
24984     ac_cv_have_x="have_x=no";; #(
24985   *)
24986     # Record where we found X for the cache.
24987     ac_cv_have_x="have_x=yes\
24988         ac_x_includes='$ac_x_includes'\
24989         ac_x_libraries='$ac_x_libraries'"
24990 esac
24991 fi
24992 ;; #(
24993     *) have_x=yes;;
24994   esac
24995   eval "$ac_cv_have_x"
24996 fi # $with_x != no
24997
24998 if test "$have_x" != yes; then
24999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25000 $as_echo "$have_x" >&6; }
25001   no_x=yes
25002 else
25003   # If each of the values was on the command line, it overrides each guess.
25004   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25005   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25006   # Update the cache value to reflect the command line values.
25007   ac_cv_have_x="have_x=yes\
25008         ac_x_includes='$x_includes'\
25009         ac_x_libraries='$x_libraries'"
25010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25011 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25012 fi
25013
25014 if test "$no_x" = yes; then
25015   # Not all programs may use this symbol, but it does not hurt to define it.
25016
25017 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25018
25019   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25020 else
25021   if test -n "$x_includes"; then
25022     X_CFLAGS="$X_CFLAGS -I$x_includes"
25023   fi
25024
25025   # It would also be nice to do this for all -L options, not just this one.
25026   if test -n "$x_libraries"; then
25027     X_LIBS="$X_LIBS -L$x_libraries"
25028     # For Solaris; some versions of Sun CC require a space after -R and
25029     # others require no space.  Words are not sufficient . . . .
25030     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25031 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25032     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25033     ac_xsave_c_werror_flag=$ac_c_werror_flag
25034     ac_c_werror_flag=yes
25035     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25036 /* end confdefs.h.  */
25037
25038 int
25039 main ()
25040 {
25041
25042   ;
25043   return 0;
25044 }
25045 _ACEOF
25046 if ac_fn_c_try_link "$LINENO"; then :
25047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25048 $as_echo "no" >&6; }
25049        X_LIBS="$X_LIBS -R$x_libraries"
25050 else
25051   LIBS="$ac_xsave_LIBS -R $x_libraries"
25052        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25053 /* end confdefs.h.  */
25054
25055 int
25056 main ()
25057 {
25058
25059   ;
25060   return 0;
25061 }
25062 _ACEOF
25063 if ac_fn_c_try_link "$LINENO"; then :
25064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25065 $as_echo "yes" >&6; }
25066           X_LIBS="$X_LIBS -R $x_libraries"
25067 else
25068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25069 $as_echo "neither works" >&6; }
25070 fi
25071 rm -f core conftest.err conftest.$ac_objext \
25072     conftest$ac_exeext conftest.$ac_ext
25073 fi
25074 rm -f core conftest.err conftest.$ac_objext \
25075     conftest$ac_exeext conftest.$ac_ext
25076     ac_c_werror_flag=$ac_xsave_c_werror_flag
25077     LIBS=$ac_xsave_LIBS
25078   fi
25079
25080   # Check for system-dependent libraries X programs must link with.
25081   # Do this before checking for the system-independent R6 libraries
25082   # (-lICE), since we may need -lsocket or whatever for X linking.
25083
25084   if test "$ISC" = yes; then
25085     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25086   else
25087     # Martyn Johnson says this is needed for Ultrix, if the X
25088     # libraries were built with DECnet support.  And Karl Berry says
25089     # the Alpha needs dnet_stub (dnet does not exist).
25090     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25091     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25092 /* end confdefs.h.  */
25093
25094 /* Override any GCC internal prototype to avoid an error.
25095    Use char because int might match the return type of a GCC
25096    builtin and then its argument prototype would still apply.  */
25097 #ifdef __cplusplus
25098 extern "C"
25099 #endif
25100 char XOpenDisplay ();
25101 int
25102 main ()
25103 {
25104 return XOpenDisplay ();
25105   ;
25106   return 0;
25107 }
25108 _ACEOF
25109 if ac_fn_c_try_link "$LINENO"; then :
25110
25111 else
25112   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25113 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25114 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25115   $as_echo_n "(cached) " >&6
25116 else
25117   ac_check_lib_save_LIBS=$LIBS
25118 LIBS="-ldnet  $LIBS"
25119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25120 /* end confdefs.h.  */
25121
25122 /* Override any GCC internal prototype to avoid an error.
25123    Use char because int might match the return type of a GCC
25124    builtin and then its argument prototype would still apply.  */
25125 #ifdef __cplusplus
25126 extern "C"
25127 #endif
25128 char dnet_ntoa ();
25129 int
25130 main ()
25131 {
25132 return dnet_ntoa ();
25133   ;
25134   return 0;
25135 }
25136 _ACEOF
25137 if ac_fn_c_try_link "$LINENO"; then :
25138   ac_cv_lib_dnet_dnet_ntoa=yes
25139 else
25140   ac_cv_lib_dnet_dnet_ntoa=no
25141 fi
25142 rm -f core conftest.err conftest.$ac_objext \
25143     conftest$ac_exeext conftest.$ac_ext
25144 LIBS=$ac_check_lib_save_LIBS
25145 fi
25146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25147 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25148 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
25149   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25150 fi
25151
25152     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25153       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25154 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25155 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
25156   $as_echo_n "(cached) " >&6
25157 else
25158   ac_check_lib_save_LIBS=$LIBS
25159 LIBS="-ldnet_stub  $LIBS"
25160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25161 /* end confdefs.h.  */
25162
25163 /* Override any GCC internal prototype to avoid an error.
25164    Use char because int might match the return type of a GCC
25165    builtin and then its argument prototype would still apply.  */
25166 #ifdef __cplusplus
25167 extern "C"
25168 #endif
25169 char dnet_ntoa ();
25170 int
25171 main ()
25172 {
25173 return dnet_ntoa ();
25174   ;
25175   return 0;
25176 }
25177 _ACEOF
25178 if ac_fn_c_try_link "$LINENO"; then :
25179   ac_cv_lib_dnet_stub_dnet_ntoa=yes
25180 else
25181   ac_cv_lib_dnet_stub_dnet_ntoa=no
25182 fi
25183 rm -f core conftest.err conftest.$ac_objext \
25184     conftest$ac_exeext conftest.$ac_ext
25185 LIBS=$ac_check_lib_save_LIBS
25186 fi
25187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25188 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25189 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25190   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25191 fi
25192
25193     fi
25194 fi
25195 rm -f core conftest.err conftest.$ac_objext \
25196     conftest$ac_exeext conftest.$ac_ext
25197     LIBS="$ac_xsave_LIBS"
25198
25199     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25200     # to get the SysV transport functions.
25201     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25202     # needs -lnsl.
25203     # The nsl library prevents programs from opening the X display
25204     # on Irix 5.2, according to T.E. Dickey.
25205     # The functions gethostbyname, getservbyname, and inet_addr are
25206     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25207     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25208 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25209
25210 fi
25211
25212     if test $ac_cv_func_gethostbyname = no; then
25213       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25214 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25215 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25216   $as_echo_n "(cached) " >&6
25217 else
25218   ac_check_lib_save_LIBS=$LIBS
25219 LIBS="-lnsl  $LIBS"
25220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25221 /* end confdefs.h.  */
25222
25223 /* Override any GCC internal prototype to avoid an error.
25224    Use char because int might match the return type of a GCC
25225    builtin and then its argument prototype would still apply.  */
25226 #ifdef __cplusplus
25227 extern "C"
25228 #endif
25229 char gethostbyname ();
25230 int
25231 main ()
25232 {
25233 return gethostbyname ();
25234   ;
25235   return 0;
25236 }
25237 _ACEOF
25238 if ac_fn_c_try_link "$LINENO"; then :
25239   ac_cv_lib_nsl_gethostbyname=yes
25240 else
25241   ac_cv_lib_nsl_gethostbyname=no
25242 fi
25243 rm -f core conftest.err conftest.$ac_objext \
25244     conftest$ac_exeext conftest.$ac_ext
25245 LIBS=$ac_check_lib_save_LIBS
25246 fi
25247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25248 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25249 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25250   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25251 fi
25252
25253       if test $ac_cv_lib_nsl_gethostbyname = no; then
25254         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25255 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25256 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25257   $as_echo_n "(cached) " >&6
25258 else
25259   ac_check_lib_save_LIBS=$LIBS
25260 LIBS="-lbsd  $LIBS"
25261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25262 /* end confdefs.h.  */
25263
25264 /* Override any GCC internal prototype to avoid an error.
25265    Use char because int might match the return type of a GCC
25266    builtin and then its argument prototype would still apply.  */
25267 #ifdef __cplusplus
25268 extern "C"
25269 #endif
25270 char gethostbyname ();
25271 int
25272 main ()
25273 {
25274 return gethostbyname ();
25275   ;
25276   return 0;
25277 }
25278 _ACEOF
25279 if ac_fn_c_try_link "$LINENO"; then :
25280   ac_cv_lib_bsd_gethostbyname=yes
25281 else
25282   ac_cv_lib_bsd_gethostbyname=no
25283 fi
25284 rm -f core conftest.err conftest.$ac_objext \
25285     conftest$ac_exeext conftest.$ac_ext
25286 LIBS=$ac_check_lib_save_LIBS
25287 fi
25288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25289 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25290 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25291   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25292 fi
25293
25294       fi
25295     fi
25296
25297     # lieder@skyler.mavd.honeywell.com says without -lsocket,
25298     # socket/setsockopt and other routines are undefined under SCO ODT
25299     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
25300     # on later versions), says Simon Leinen: it contains gethostby*
25301     # variants that don't use the name server (or something).  -lsocket
25302     # must be given before -lnsl if both are needed.  We assume that
25303     # if connect needs -lnsl, so does gethostbyname.
25304     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25305 if test "x$ac_cv_func_connect" = xyes; then :
25306
25307 fi
25308
25309     if test $ac_cv_func_connect = no; then
25310       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25311 $as_echo_n "checking for connect in -lsocket... " >&6; }
25312 if ${ac_cv_lib_socket_connect+:} false; then :
25313   $as_echo_n "(cached) " >&6
25314 else
25315   ac_check_lib_save_LIBS=$LIBS
25316 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25318 /* end confdefs.h.  */
25319
25320 /* Override any GCC internal prototype to avoid an error.
25321    Use char because int might match the return type of a GCC
25322    builtin and then its argument prototype would still apply.  */
25323 #ifdef __cplusplus
25324 extern "C"
25325 #endif
25326 char connect ();
25327 int
25328 main ()
25329 {
25330 return connect ();
25331   ;
25332   return 0;
25333 }
25334 _ACEOF
25335 if ac_fn_c_try_link "$LINENO"; then :
25336   ac_cv_lib_socket_connect=yes
25337 else
25338   ac_cv_lib_socket_connect=no
25339 fi
25340 rm -f core conftest.err conftest.$ac_objext \
25341     conftest$ac_exeext conftest.$ac_ext
25342 LIBS=$ac_check_lib_save_LIBS
25343 fi
25344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25345 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25346 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25347   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25348 fi
25349
25350     fi
25351
25352     # Guillermo Gomez says -lposix is necessary on A/UX.
25353     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25354 if test "x$ac_cv_func_remove" = xyes; then :
25355
25356 fi
25357
25358     if test $ac_cv_func_remove = no; then
25359       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25360 $as_echo_n "checking for remove in -lposix... " >&6; }
25361 if ${ac_cv_lib_posix_remove+:} false; then :
25362   $as_echo_n "(cached) " >&6
25363 else
25364   ac_check_lib_save_LIBS=$LIBS
25365 LIBS="-lposix  $LIBS"
25366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25367 /* end confdefs.h.  */
25368
25369 /* Override any GCC internal prototype to avoid an error.
25370    Use char because int might match the return type of a GCC
25371    builtin and then its argument prototype would still apply.  */
25372 #ifdef __cplusplus
25373 extern "C"
25374 #endif
25375 char remove ();
25376 int
25377 main ()
25378 {
25379 return remove ();
25380   ;
25381   return 0;
25382 }
25383 _ACEOF
25384 if ac_fn_c_try_link "$LINENO"; then :
25385   ac_cv_lib_posix_remove=yes
25386 else
25387   ac_cv_lib_posix_remove=no
25388 fi
25389 rm -f core conftest.err conftest.$ac_objext \
25390     conftest$ac_exeext conftest.$ac_ext
25391 LIBS=$ac_check_lib_save_LIBS
25392 fi
25393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25394 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25395 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25396   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25397 fi
25398
25399     fi
25400
25401     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25402     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25403 if test "x$ac_cv_func_shmat" = xyes; then :
25404
25405 fi
25406
25407     if test $ac_cv_func_shmat = no; then
25408       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25409 $as_echo_n "checking for shmat in -lipc... " >&6; }
25410 if ${ac_cv_lib_ipc_shmat+:} false; then :
25411   $as_echo_n "(cached) " >&6
25412 else
25413   ac_check_lib_save_LIBS=$LIBS
25414 LIBS="-lipc  $LIBS"
25415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25416 /* end confdefs.h.  */
25417
25418 /* Override any GCC internal prototype to avoid an error.
25419    Use char because int might match the return type of a GCC
25420    builtin and then its argument prototype would still apply.  */
25421 #ifdef __cplusplus
25422 extern "C"
25423 #endif
25424 char shmat ();
25425 int
25426 main ()
25427 {
25428 return shmat ();
25429   ;
25430   return 0;
25431 }
25432 _ACEOF
25433 if ac_fn_c_try_link "$LINENO"; then :
25434   ac_cv_lib_ipc_shmat=yes
25435 else
25436   ac_cv_lib_ipc_shmat=no
25437 fi
25438 rm -f core conftest.err conftest.$ac_objext \
25439     conftest$ac_exeext conftest.$ac_ext
25440 LIBS=$ac_check_lib_save_LIBS
25441 fi
25442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25443 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25444 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25445   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25446 fi
25447
25448     fi
25449   fi
25450
25451   # Check for libraries that X11R6 Xt/Xaw programs need.
25452   ac_save_LDFLAGS=$LDFLAGS
25453   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25454   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25455   # check for ICE first), but we must link in the order -lSM -lICE or
25456   # we get undefined symbols.  So assume we have SM if we have ICE.
25457   # These have to be linked with before -lX11, unlike the other
25458   # libraries we check for below, so use a different variable.
25459   # John Interrante, Karl Berry
25460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25461 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25462 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25463   $as_echo_n "(cached) " >&6
25464 else
25465   ac_check_lib_save_LIBS=$LIBS
25466 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25468 /* end confdefs.h.  */
25469
25470 /* Override any GCC internal prototype to avoid an error.
25471    Use char because int might match the return type of a GCC
25472    builtin and then its argument prototype would still apply.  */
25473 #ifdef __cplusplus
25474 extern "C"
25475 #endif
25476 char IceConnectionNumber ();
25477 int
25478 main ()
25479 {
25480 return IceConnectionNumber ();
25481   ;
25482   return 0;
25483 }
25484 _ACEOF
25485 if ac_fn_c_try_link "$LINENO"; then :
25486   ac_cv_lib_ICE_IceConnectionNumber=yes
25487 else
25488   ac_cv_lib_ICE_IceConnectionNumber=no
25489 fi
25490 rm -f core conftest.err conftest.$ac_objext \
25491     conftest$ac_exeext conftest.$ac_ext
25492 LIBS=$ac_check_lib_save_LIBS
25493 fi
25494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25495 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25496 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25497   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25498 fi
25499
25500   LDFLAGS=$ac_save_LDFLAGS
25501
25502 fi
25503
25504
25505         if test "$no_x" = "yes"; then
25506           as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25507         fi
25508
25509                                 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25510         TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25511         COMPILED_X_PROGRAM=0
25512
25513     fi
25514
25515     if test "$wxUSE_X11" = 1; then
25516         if test "$wxUSE_NANOX" = "yes"; then
25517             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25518 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25519             if test "x$MICROWIN" = x ; then
25520                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25521 $as_echo "not found" >&6; }
25522                 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25523             else
25524                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25525 $as_echo "$MICROWIN" >&6; }
25526                 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25527
25528             fi
25529         fi
25530
25531         if test "$wxUSE_UNICODE" = "yes"; then
25532
25533
25534 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25535         if test -n "$ac_tool_prefix"; then
25536   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25537 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25539 $as_echo_n "checking for $ac_word... " >&6; }
25540 if ${ac_cv_path_PKG_CONFIG+:} false; then :
25541   $as_echo_n "(cached) " >&6
25542 else
25543   case $PKG_CONFIG in
25544   [\\/]* | ?:[\\/]*)
25545   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25546   ;;
25547   *)
25548   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25549 for as_dir in $PATH
25550 do
25551   IFS=$as_save_IFS
25552   test -z "$as_dir" && as_dir=.
25553     for ac_exec_ext in '' $ac_executable_extensions; do
25554   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25555     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25556     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25557     break 2
25558   fi
25559 done
25560   done
25561 IFS=$as_save_IFS
25562
25563   ;;
25564 esac
25565 fi
25566 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25567 if test -n "$PKG_CONFIG"; then
25568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25569 $as_echo "$PKG_CONFIG" >&6; }
25570 else
25571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25572 $as_echo "no" >&6; }
25573 fi
25574
25575
25576 fi
25577 if test -z "$ac_cv_path_PKG_CONFIG"; then
25578   ac_pt_PKG_CONFIG=$PKG_CONFIG
25579   # Extract the first word of "pkg-config", so it can be a program name with args.
25580 set dummy pkg-config; ac_word=$2
25581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25582 $as_echo_n "checking for $ac_word... " >&6; }
25583 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
25584   $as_echo_n "(cached) " >&6
25585 else
25586   case $ac_pt_PKG_CONFIG in
25587   [\\/]* | ?:[\\/]*)
25588   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25589   ;;
25590   *)
25591   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25592 for as_dir in $PATH
25593 do
25594   IFS=$as_save_IFS
25595   test -z "$as_dir" && as_dir=.
25596     for ac_exec_ext in '' $ac_executable_extensions; do
25597   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25598     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25599     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25600     break 2
25601   fi
25602 done
25603   done
25604 IFS=$as_save_IFS
25605
25606   ;;
25607 esac
25608 fi
25609 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25610 if test -n "$ac_pt_PKG_CONFIG"; then
25611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25612 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25613 else
25614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25615 $as_echo "no" >&6; }
25616 fi
25617
25618   if test "x$ac_pt_PKG_CONFIG" = x; then
25619     PKG_CONFIG=""
25620   else
25621     case $cross_compiling:$ac_tool_warned in
25622 yes:)
25623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25625 ac_tool_warned=yes ;;
25626 esac
25627     PKG_CONFIG=$ac_pt_PKG_CONFIG
25628   fi
25629 else
25630   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25631 fi
25632
25633 fi
25634 if test -n "$PKG_CONFIG"; then
25635         _pkg_min_version=0.9.0
25636         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25637 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25638         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25639                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25640 $as_echo "yes" >&6; }
25641         else
25642                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25643 $as_echo "no" >&6; }
25644                 PKG_CONFIG=""
25645         fi
25646
25647 fi
25648
25649
25650 pkg_failed=no
25651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25652 $as_echo_n "checking for PANGOX... " >&6; }
25653
25654 if test -n "$PKG_CONFIG"; then
25655     if test -n "$PANGOX_CFLAGS"; then
25656         pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25657     else
25658         if test -n "$PKG_CONFIG" && \
25659     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25660   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25661   ac_status=$?
25662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25663   test $ac_status = 0; }; then
25664   pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25665 else
25666   pkg_failed=yes
25667 fi
25668     fi
25669 else
25670         pkg_failed=untried
25671 fi
25672 if test -n "$PKG_CONFIG"; then
25673     if test -n "$PANGOX_LIBS"; then
25674         pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25675     else
25676         if test -n "$PKG_CONFIG" && \
25677     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25678   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25679   ac_status=$?
25680   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25681   test $ac_status = 0; }; then
25682   pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25683 else
25684   pkg_failed=yes
25685 fi
25686     fi
25687 else
25688         pkg_failed=untried
25689 fi
25690
25691
25692
25693 if test $pkg_failed = yes; then
25694
25695 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25696         _pkg_short_errors_supported=yes
25697 else
25698         _pkg_short_errors_supported=no
25699 fi
25700         if test $_pkg_short_errors_supported = yes; then
25701                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25702         else
25703                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25704         fi
25705         # Put the nasty error message in config.log where it belongs
25706         echo "$PANGOX_PKG_ERRORS" >&5
25707
25708
25709                     as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25710
25711
25712 elif test $pkg_failed = untried; then
25713
25714                     as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25715
25716
25717 else
25718         PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25719         PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25720         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25721 $as_echo "yes" >&6; }
25722
25723                     CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25724                     CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25725                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25726
25727 fi
25728
25729 pkg_failed=no
25730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25731 $as_echo_n "checking for PANGOFT2... " >&6; }
25732
25733 if test -n "$PKG_CONFIG"; then
25734     if test -n "$PANGOFT2_CFLAGS"; then
25735         pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25736     else
25737         if test -n "$PKG_CONFIG" && \
25738     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25739   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25740   ac_status=$?
25741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25742   test $ac_status = 0; }; then
25743   pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25744 else
25745   pkg_failed=yes
25746 fi
25747     fi
25748 else
25749         pkg_failed=untried
25750 fi
25751 if test -n "$PKG_CONFIG"; then
25752     if test -n "$PANGOFT2_LIBS"; then
25753         pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25754     else
25755         if test -n "$PKG_CONFIG" && \
25756     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25757   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25758   ac_status=$?
25759   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25760   test $ac_status = 0; }; then
25761   pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25762 else
25763   pkg_failed=yes
25764 fi
25765     fi
25766 else
25767         pkg_failed=untried
25768 fi
25769
25770
25771
25772 if test $pkg_failed = yes; then
25773
25774 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25775         _pkg_short_errors_supported=yes
25776 else
25777         _pkg_short_errors_supported=no
25778 fi
25779         if test $_pkg_short_errors_supported = yes; then
25780                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25781         else
25782                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25783         fi
25784         # Put the nasty error message in config.log where it belongs
25785         echo "$PANGOFT2_PKG_ERRORS" >&5
25786
25787
25788                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25789 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25790                     wxUSE_PRINTING_ARCHITECTURE="no"
25791
25792
25793 elif test $pkg_failed = untried; then
25794
25795                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25796 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25797                     wxUSE_PRINTING_ARCHITECTURE="no"
25798
25799
25800 else
25801         PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25802         PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25803         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25804 $as_echo "yes" >&6; }
25805
25806                     CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25807                     CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25808                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25809
25810 fi
25811
25812 pkg_failed=no
25813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25814 $as_echo_n "checking for PANGOXFT... " >&6; }
25815
25816 if test -n "$PKG_CONFIG"; then
25817     if test -n "$PANGOXFT_CFLAGS"; then
25818         pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25819     else
25820         if test -n "$PKG_CONFIG" && \
25821     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25822   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25823   ac_status=$?
25824   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25825   test $ac_status = 0; }; then
25826   pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25827 else
25828   pkg_failed=yes
25829 fi
25830     fi
25831 else
25832         pkg_failed=untried
25833 fi
25834 if test -n "$PKG_CONFIG"; then
25835     if test -n "$PANGOXFT_LIBS"; then
25836         pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25837     else
25838         if test -n "$PKG_CONFIG" && \
25839     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25840   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25841   ac_status=$?
25842   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25843   test $ac_status = 0; }; then
25844   pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25845 else
25846   pkg_failed=yes
25847 fi
25848     fi
25849 else
25850         pkg_failed=untried
25851 fi
25852
25853
25854
25855 if test $pkg_failed = yes; then
25856
25857 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25858         _pkg_short_errors_supported=yes
25859 else
25860         _pkg_short_errors_supported=no
25861 fi
25862         if test $_pkg_short_errors_supported = yes; then
25863                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25864         else
25865                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25866         fi
25867         # Put the nasty error message in config.log where it belongs
25868         echo "$PANGOXFT_PKG_ERRORS" >&5
25869
25870
25871                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25872 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25873
25874
25875 elif test $pkg_failed = untried; then
25876
25877                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25878 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25879
25880
25881 else
25882         PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25883         PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25884         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25885 $as_echo "yes" >&6; }
25886
25887                     $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25888
25889                     CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25890                     CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25891                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25892
25893 fi
25894             save_LIBS="$LIBS"
25895             LIBS="$LIBS $PANGOX_LIBS"
25896             for ac_func in pango_font_family_is_monospace
25897 do :
25898   ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25899 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes; then :
25900   cat >>confdefs.h <<_ACEOF
25901 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25902 _ACEOF
25903
25904 fi
25905 done
25906
25907             LIBS="$save_LIBS"
25908         fi
25909
25910         wxUSE_UNIVERSAL="yes"
25911
25912         if test "$wxUSE_NANOX" = "yes"; then
25913             TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25914             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"
25915             GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25916         else
25917             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25918         fi
25919
25920         TOOLKIT=X11
25921         GUIDIST=X11_DIST
25922     fi
25923
25924     if test "$wxUSE_MOTIF" = 1; then
25925         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25926 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25927
25928 ac_find_includes=
25929 for ac_dir in $SEARCH_INCLUDE /usr/include
25930   do
25931     if test -f "$ac_dir/Xm/Xm.h"; then
25932       ac_find_includes=$ac_dir
25933       break
25934     fi
25935   done
25936
25937         if test "$ac_find_includes" != "" ; then
25938             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25939 $as_echo "found in $ac_find_includes" >&6; }
25940
25941     if test "x$ac_find_includes" = "x/usr/include"; then
25942     ac_path_to_include=""
25943   else
25944     echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25945     result=$?
25946     if test $result = 0; then
25947       ac_path_to_include=""
25948     else
25949       ac_path_to_include=" -I$ac_find_includes"
25950     fi
25951   fi
25952
25953             TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25954         else
25955             save_CFLAGS=$CFLAGS
25956             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25957
25958             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25959 /* end confdefs.h.  */
25960
25961                     #include <Xm/Xm.h>
25962
25963 int
25964 main ()
25965 {
25966
25967                     int version;
25968                     version = xmUseVersion;
25969
25970   ;
25971   return 0;
25972 }
25973 _ACEOF
25974 if ac_fn_c_try_compile "$LINENO"; then :
25975
25976                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25977 $as_echo "found in default search path" >&6; }
25978                     COMPILED_X_PROGRAM=1
25979
25980 else
25981
25982                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25983 $as_echo "no" >&6; }
25984                     as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25985
25986
25987 fi
25988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25989
25990             CFLAGS=$save_CFLAGS
25991         fi
25992
25993
25994         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25995 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25996
25997   ac_find_libraries=
25998   for ac_dir in  $SEARCH_LIB
25999   do
26000     for ac_extension in a so sl dylib dll.a; do
26001       if test -f "$ac_dir/libXm.$ac_extension"; then
26002         ac_find_libraries=$ac_dir
26003         break 2
26004       fi
26005     done
26006   done
26007
26008
26009         if test "x$ac_find_libraries" != "x" ; then
26010             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26011 $as_echo "found in $ac_find_libraries" >&6; }
26012
26013
26014     if test "$ac_find_libraries" = "default location"; then
26015     ac_path_to_link=""
26016   else
26017     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26018     result=$?
26019     if test $result = 0; then
26020       ac_path_to_link=""
26021     else
26022       ac_path_to_link=" -L$ac_find_libraries"
26023     fi
26024   fi
26025
26026             GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26027         else
26028                                                 save_CFLAGS=$CFLAGS
26029             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26030             save_LIBS="$LIBS"
26031             LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
26032
26033             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26034 /* end confdefs.h.  */
26035
26036                     #include <Xm/Xm.h>
26037
26038 int
26039 main ()
26040 {
26041
26042                     int version;
26043                     version = xmUseVersion;
26044
26045   ;
26046   return 0;
26047 }
26048 _ACEOF
26049 if ac_fn_c_try_link "$LINENO"; then :
26050
26051                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26052 $as_echo "found in default search path" >&6; }
26053                     COMPILED_X_PROGRAM=1
26054
26055 else
26056
26057                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26058 $as_echo "no" >&6; }
26059                     as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
26060
26061
26062 fi
26063 rm -f core conftest.err conftest.$ac_objext \
26064     conftest$ac_exeext conftest.$ac_ext
26065
26066             CFLAGS=$save_CFLAGS
26067             LIBS="$save_LIBS"
26068         fi
26069
26070         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
26071 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
26072         libp_link=""
26073         libsm_ice_link=""
26074         libs_found=0
26075         for libp in "" " -lXp"; do
26076             if test "$libs_found" = 0; then
26077                 for libsm_ice in "" " -lSM -lICE"; do
26078                     if test "$libs_found" = 0; then
26079                         save_LIBS="$LIBS"
26080                         LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26081                         save_CFLAGS=$CFLAGS
26082                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26083
26084                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26085 /* end confdefs.h.  */
26086
26087                                 #include <Xm/Xm.h>
26088                                 #include <Xm/List.h>
26089
26090 int
26091 main ()
26092 {
26093
26094                                 XmString string = NULL;
26095                                 Widget w = NULL;
26096                                 int position = 0;
26097                                 XmListAddItem(w, string, position);
26098
26099   ;
26100   return 0;
26101 }
26102 _ACEOF
26103 if ac_fn_c_try_link "$LINENO"; then :
26104
26105                                 libp_link="$libp"
26106                                 libsm_ice_link="$libsm_ice"
26107                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26108 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26109                                 libs_found=1
26110
26111 fi
26112 rm -f core conftest.err conftest.$ac_objext \
26113     conftest$ac_exeext conftest.$ac_ext
26114
26115                         LIBS="$save_LIBS"
26116                         CFLAGS=$save_CFLAGS
26117                     fi
26118                 done
26119             fi
26120         done
26121
26122         if test "$libs_found" = 0; then
26123             { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26124 $as_echo "can't find the right libraries" >&6; }
26125             as_fn_error $? "can't link a simple motif program" "$LINENO" 5
26126         fi
26127
26128                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26129 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26130 if ${ac_cv_lib_Sgm_SgCreateList+:} false; then :
26131   $as_echo_n "(cached) " >&6
26132 else
26133   ac_check_lib_save_LIBS=$LIBS
26134 LIBS="-lSgm  $LIBS"
26135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26136 /* end confdefs.h.  */
26137
26138 /* Override any GCC internal prototype to avoid an error.
26139    Use char because int might match the return type of a GCC
26140    builtin and then its argument prototype would still apply.  */
26141 #ifdef __cplusplus
26142 extern "C"
26143 #endif
26144 char SgCreateList ();
26145 int
26146 main ()
26147 {
26148 return SgCreateList ();
26149   ;
26150   return 0;
26151 }
26152 _ACEOF
26153 if ac_fn_c_try_link "$LINENO"; then :
26154   ac_cv_lib_Sgm_SgCreateList=yes
26155 else
26156   ac_cv_lib_Sgm_SgCreateList=no
26157 fi
26158 rm -f core conftest.err conftest.$ac_objext \
26159     conftest$ac_exeext conftest.$ac_ext
26160 LIBS=$ac_check_lib_save_LIBS
26161 fi
26162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26163 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26164 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes; then :
26165   libsgm_link=" -lSgm"
26166 fi
26167
26168
26169         save_CFLAGS=$CFLAGS
26170         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26171
26172         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26173 $as_echo_n "checking for Motif 2... " >&6; }
26174 if ${wx_cv_lib_motif2+:} false; then :
26175   $as_echo_n "(cached) " >&6
26176 else
26177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26178 /* end confdefs.h.  */
26179
26180                             #include <Xm/Xm.h>
26181
26182 int
26183 main ()
26184 {
26185
26186                             #if XmVersion < 2000
26187                             Not Motif 2
26188                             #endif
26189
26190   ;
26191   return 0;
26192 }
26193 _ACEOF
26194 if ac_fn_c_try_compile "$LINENO"; then :
26195   wx_cv_lib_motif2="yes"
26196 else
26197   wx_cv_lib_motif2="no"
26198 fi
26199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26200 fi
26201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26202 $as_echo "$wx_cv_lib_motif2" >&6; }
26203         if test "$wx_cv_lib_motif2" = "yes"; then
26204             $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26205
26206         else
26207             $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26208
26209         fi
26210
26211         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26212 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26213 if ${wx_cv_lib_lesstif+:} false; then :
26214   $as_echo_n "(cached) " >&6
26215 else
26216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26217 /* end confdefs.h.  */
26218
26219                             #include <Xm/Xm.h>
26220
26221 int
26222 main ()
26223 {
26224
26225                             #if !defined(LesstifVersion) || LesstifVersion <= 0
26226                             Not Lesstif
26227                             #endif
26228
26229   ;
26230   return 0;
26231 }
26232 _ACEOF
26233 if ac_fn_c_try_compile "$LINENO"; then :
26234   wx_cv_lib_lesstif="yes"
26235 else
26236   wx_cv_lib_lesstif="no"
26237 fi
26238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26239
26240 fi
26241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26242 $as_echo "$wx_cv_lib_lesstif" >&6; }
26243         if test "$wx_cv_lib_lesstif" = "yes"; then
26244             $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26245
26246         else
26247             $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26248
26249         fi
26250
26251         CFLAGS=$save_CFLAGS
26252
26253         GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26254         TOOLKIT=MOTIF
26255         GUIDIST=MOTIF_DIST
26256     fi
26257
26258         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26259                 if test "$wxUSE_LIBXPM" = "sys"; then
26260             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26261 $as_echo_n "checking for Xpm library... " >&6; }
26262
26263   ac_find_libraries=
26264   for ac_dir in  $SEARCH_LIB
26265   do
26266     for ac_extension in a so sl dylib dll.a; do
26267       if test -f "$ac_dir/libXpm.$ac_extension"; then
26268         ac_find_libraries=$ac_dir
26269         break 2
26270       fi
26271     done
26272   done
26273
26274             if test "$ac_find_libraries" != "" ; then
26275
26276     if test "$ac_find_libraries" = "default location"; then
26277     ac_path_to_link=""
26278   else
26279     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26280     result=$?
26281     if test $result = 0; then
26282       ac_path_to_link=""
26283     else
26284       ac_path_to_link=" -L$ac_find_libraries"
26285     fi
26286   fi
26287
26288                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26289                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26290 $as_echo "found in $ac_find_libraries" >&6; }
26291
26292                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26293 $as_echo_n "checking for X11/xpm.h... " >&6; }
26294 if ${wx_cv_x11_xpm_h+:} false; then :
26295   $as_echo_n "(cached) " >&6
26296 else
26297
26298                         save_CFLAGS=$CFLAGS
26299                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26300
26301                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26302 /* end confdefs.h.  */
26303
26304                                 #include <X11/xpm.h>
26305
26306 int
26307 main ()
26308 {
26309
26310                                 int version;
26311                                 version = XpmLibraryVersion();
26312
26313   ;
26314   return 0;
26315 }
26316 _ACEOF
26317 if ac_fn_c_try_compile "$LINENO"; then :
26318   wx_cv_x11_xpm_h=yes
26319 else
26320   wx_cv_x11_xpm_h=no
26321
26322 fi
26323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26324
26325                         CFLAGS=$save_CFLAGS
26326
26327
26328 fi
26329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26330 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26331
26332                 if test $wx_cv_x11_xpm_h = "yes"; then
26333                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26334                     $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26335
26336                 else
26337                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26338 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26339                 fi
26340             fi
26341
26342         fi
26343
26344                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26345 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26346 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
26347   $as_echo_n "(cached) " >&6
26348 else
26349   ac_check_lib_save_LIBS=$LIBS
26350 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26352 /* end confdefs.h.  */
26353
26354 /* Override any GCC internal prototype to avoid an error.
26355    Use char because int might match the return type of a GCC
26356    builtin and then its argument prototype would still apply.  */
26357 #ifdef __cplusplus
26358 extern "C"
26359 #endif
26360 char XShapeQueryExtension ();
26361 int
26362 main ()
26363 {
26364 return XShapeQueryExtension ();
26365   ;
26366   return 0;
26367 }
26368 _ACEOF
26369 if ac_fn_c_try_link "$LINENO"; then :
26370   ac_cv_lib_Xext_XShapeQueryExtension=yes
26371 else
26372   ac_cv_lib_Xext_XShapeQueryExtension=no
26373 fi
26374 rm -f core conftest.err conftest.$ac_objext \
26375     conftest$ac_exeext conftest.$ac_ext
26376 LIBS=$ac_check_lib_save_LIBS
26377 fi
26378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26379 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26380 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
26381
26382                       GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26383                       wxHAVE_XEXT_LIB=1
26384
26385 fi
26386
26387
26388         if test "$wxHAVE_XEXT_LIB" = 1; then
26389             save_CFLAGS="$CFLAGS"
26390             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26391
26392             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26393 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26394             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26395 /* end confdefs.h.  */
26396
26397                             #include <X11/Xlib.h>
26398                             #include <X11/extensions/shape.h>
26399
26400 int
26401 main ()
26402 {
26403
26404                             int dummy1, dummy2;
26405                             XShapeQueryExtension((Display*)NULL,
26406                                                  (int*)NULL, (int*)NULL);
26407
26408   ;
26409   return 0;
26410 }
26411 _ACEOF
26412 if ac_fn_c_try_compile "$LINENO"; then :
26413
26414                             $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26415
26416                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26417 $as_echo "found" >&6; }
26418
26419 else
26420
26421                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26422 $as_echo "not found" >&6; }
26423
26424 fi
26425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26426             CFLAGS="$save_CFLAGS"
26427
26428         fi
26429     fi
26430
26431     if test "$wxUSE_OSX_CARBON" = 1; then
26432         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26433 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26434         if test "$GCC" = yes; then
26435             { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26436 $as_echo "gcc" >&6; }
26437             CPPFLAGS_PASCAL="-fpascal-strings"
26438         elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26439             { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26440 $as_echo "xlc" >&6; }
26441             CPPFLAGS_PASCAL="-qmacpstr"
26442         else
26443             { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26444 $as_echo "none" >&6; }
26445         fi
26446
26447         if test "x$wxUSE_UNIX" = "xyes"; then
26448             CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26449         else
26450                         CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26451         fi
26452
26453         TOOLKIT=OSX_CARBON
26454                 GUIDIST=OSX_CARBON_DIST
26455                         WXBASEPORT="_carbon"
26456
26457                                         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26458     fi
26459
26460     if test "$wxUSE_OSX_COCOA" = 1; then
26461         TOOLKIT=OSX_COCOA
26462         GUIDIST=OSX_COCOA_DIST
26463
26464                 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26465     fi
26466
26467     if test "$wxUSE_OSX_IPHONE" = 1; then
26468         TOOLKIT=OSX_IPHONE
26469     fi
26470
26471     if test "$wxUSE_OLD_COCOA" = 1; then
26472         TOOLKIT=COCOA
26473         GUIDIST=COCOA_DIST
26474     fi
26475
26476     if test "$wxUSE_PM" = 1; then
26477         TOOLKIT=PM
26478         GUIDIST=PM_DIST
26479         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26480 $as_echo_n "checking for type SPBCDATA... " >&6; }
26481 if ${wx_cv_spbcdata+:} false; then :
26482   $as_echo_n "(cached) " >&6
26483 else
26484
26485                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26486 /* end confdefs.h.  */
26487
26488                         #define INCL_PM
26489                         #include <os2.h>
26490
26491 int
26492 main ()
26493 {
26494
26495                         SPBCDATA test;
26496
26497   ;
26498   return 0;
26499 }
26500 _ACEOF
26501 if ac_fn_c_try_compile "$LINENO"; then :
26502   wx_cv_spbcdata=yes
26503 else
26504   wx_cv_spbcdata=no
26505
26506 fi
26507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26508
26509
26510 fi
26511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26512 $as_echo "$wx_cv_spbcdata" >&6; }
26513
26514         if test $wx_cv_spbcdata = "yes"; then
26515             $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26516
26517         fi
26518     fi
26519
26520         if test "$TOOLKIT" = "PM" ; then
26521         TOOLKIT_DIR="os2"
26522     else
26523         TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26524     fi
26525
26526     if test "$wxUSE_UNIVERSAL" = "yes"; then
26527         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26528         WIDGET_SET=univ
26529     fi
26530
26531         GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26532     DISTDIR="wx\$(TOOLKIT)"
26533 else
26534     USE_GUI=0
26535
26536             TOOLKIT_DIR="base"
26537
26538         if test "$USE_WIN32" = 1 ; then
26539                         TOOLKIT="MSW"
26540     fi
26541
26542         GUIDIST="BASE_DIST"
26543     DISTDIR="wxBase"
26544 fi
26545
26546
26547
26548 if test "$wxUSE_GUI" = "yes"; then
26549     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26550                 for ac_header in X11/Xlib.h
26551 do :
26552   ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26553 "
26554 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
26555   cat >>confdefs.h <<_ACEOF
26556 #define HAVE_X11_XLIB_H 1
26557 _ACEOF
26558
26559 fi
26560
26561 done
26562
26563         for ac_header in X11/XKBlib.h
26564 do :
26565   ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26566                           #if HAVE_X11_XLIB_H
26567                             #include <X11/Xlib.h>
26568                           #endif
26569
26570 "
26571 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
26572   cat >>confdefs.h <<_ACEOF
26573 #define HAVE_X11_XKBLIB_H 1
26574 _ACEOF
26575
26576 fi
26577
26578 done
26579
26580     fi
26581 fi
26582
26583
26584
26585 USE_XINERAMA=0
26586 if test "$wxUSE_DISPLAY" = "yes"; then
26587         if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26588
26589   ac_find_libraries=
26590
26591     fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26592
26593
26594 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26595         if test -n "$ac_tool_prefix"; then
26596   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26597 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26599 $as_echo_n "checking for $ac_word... " >&6; }
26600 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26601   $as_echo_n "(cached) " >&6
26602 else
26603   case $PKG_CONFIG in
26604   [\\/]* | ?:[\\/]*)
26605   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26606   ;;
26607   *)
26608   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26609 for as_dir in $PATH
26610 do
26611   IFS=$as_save_IFS
26612   test -z "$as_dir" && as_dir=.
26613     for ac_exec_ext in '' $ac_executable_extensions; do
26614   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26615     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26616     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26617     break 2
26618   fi
26619 done
26620   done
26621 IFS=$as_save_IFS
26622
26623   ;;
26624 esac
26625 fi
26626 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26627 if test -n "$PKG_CONFIG"; then
26628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26629 $as_echo "$PKG_CONFIG" >&6; }
26630 else
26631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26632 $as_echo "no" >&6; }
26633 fi
26634
26635
26636 fi
26637 if test -z "$ac_cv_path_PKG_CONFIG"; then
26638   ac_pt_PKG_CONFIG=$PKG_CONFIG
26639   # Extract the first word of "pkg-config", so it can be a program name with args.
26640 set dummy pkg-config; ac_word=$2
26641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26642 $as_echo_n "checking for $ac_word... " >&6; }
26643 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26644   $as_echo_n "(cached) " >&6
26645 else
26646   case $ac_pt_PKG_CONFIG in
26647   [\\/]* | ?:[\\/]*)
26648   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26649   ;;
26650   *)
26651   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26652 for as_dir in $PATH
26653 do
26654   IFS=$as_save_IFS
26655   test -z "$as_dir" && as_dir=.
26656     for ac_exec_ext in '' $ac_executable_extensions; do
26657   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26658     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26660     break 2
26661   fi
26662 done
26663   done
26664 IFS=$as_save_IFS
26665
26666   ;;
26667 esac
26668 fi
26669 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26670 if test -n "$ac_pt_PKG_CONFIG"; then
26671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26672 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26673 else
26674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26675 $as_echo "no" >&6; }
26676 fi
26677
26678   if test "x$ac_pt_PKG_CONFIG" = x; then
26679     PKG_CONFIG=""
26680   else
26681     case $cross_compiling:$ac_tool_warned in
26682 yes:)
26683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26685 ac_tool_warned=yes ;;
26686 esac
26687     PKG_CONFIG=$ac_pt_PKG_CONFIG
26688   fi
26689 else
26690   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26691 fi
26692
26693 fi
26694 if test -n "$PKG_CONFIG"; then
26695         _pkg_min_version=0.9.0
26696         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26697 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26698         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26699                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26700 $as_echo "yes" >&6; }
26701         else
26702                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26703 $as_echo "no" >&6; }
26704                 PKG_CONFIG=""
26705         fi
26706
26707 fi 6> /dev/null
26708
26709 pkg_failed=no
26710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26711 $as_echo_n "checking for Xinerama... " >&6; }
26712
26713 if test -n "$PKG_CONFIG"; then
26714     if test -n "$Xinerama_CFLAGS"; then
26715         pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26716     else
26717         if test -n "$PKG_CONFIG" && \
26718     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26719   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26720   ac_status=$?
26721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26722   test $ac_status = 0; }; then
26723   pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26724 else
26725   pkg_failed=yes
26726 fi
26727     fi
26728 else
26729         pkg_failed=untried
26730 fi
26731 if test -n "$PKG_CONFIG"; then
26732     if test -n "$Xinerama_LIBS"; then
26733         pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26734     else
26735         if test -n "$PKG_CONFIG" && \
26736     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26737   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26738   ac_status=$?
26739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26740   test $ac_status = 0; }; then
26741   pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26742 else
26743   pkg_failed=yes
26744 fi
26745     fi
26746 else
26747         pkg_failed=untried
26748 fi
26749
26750
26751
26752 if test $pkg_failed = yes; then
26753
26754 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26755         _pkg_short_errors_supported=yes
26756 else
26757         _pkg_short_errors_supported=no
26758 fi
26759         if test $_pkg_short_errors_supported = yes; then
26760                 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26761         else
26762                 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26763         fi
26764         # Put the nasty error message in config.log where it belongs
26765         echo "$Xinerama_PKG_ERRORS" >&5
26766
26767
26768       if test "x$ac_find_libraries" = "x"; then
26769                 if test "xXineramaQueryScreens" != "x"; then
26770           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26771 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26772 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26773   $as_echo_n "(cached) " >&6
26774 else
26775   ac_check_lib_save_LIBS=$LIBS
26776 LIBS="-lXinerama  $LIBS"
26777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26778 /* end confdefs.h.  */
26779
26780 /* Override any GCC internal prototype to avoid an error.
26781    Use char because int might match the return type of a GCC
26782    builtin and then its argument prototype would still apply.  */
26783 #ifdef __cplusplus
26784 extern "C"
26785 #endif
26786 char XineramaQueryScreens ();
26787 int
26788 main ()
26789 {
26790 return XineramaQueryScreens ();
26791   ;
26792   return 0;
26793 }
26794 _ACEOF
26795 if ac_fn_c_try_link "$LINENO"; then :
26796   ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26797 else
26798   ac_cv_lib_Xinerama_XineramaQueryScreens=no
26799 fi
26800 rm -f core conftest.err conftest.$ac_objext \
26801     conftest$ac_exeext conftest.$ac_ext
26802 LIBS=$ac_check_lib_save_LIBS
26803 fi
26804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26805 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26806 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26807   ac_find_libraries="std"
26808 fi
26809
26810         fi
26811       fi
26812
26813       if test "x$ac_find_libraries" = "x"; then
26814                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26815 $as_echo_n "checking elsewhere... " >&6; }
26816
26817   ac_find_libraries=
26818   for ac_dir in  $SEARCH_LIB
26819   do
26820     for ac_extension in a so sl dylib dll.a; do
26821       if test -f "$ac_dir/libXinerama.$ac_extension"; then
26822         ac_find_libraries=$ac_dir
26823         break 2
26824       fi
26825     done
26826   done
26827
26828         if test "x$ac_find_libraries" != "x"; then
26829           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26830 $as_echo "yes" >&6; }
26831         else
26832           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26833 $as_echo "no" >&6; }
26834         fi
26835       fi
26836
26837 elif test $pkg_failed = untried; then
26838
26839       if test "x$ac_find_libraries" = "x"; then
26840                 if test "xXineramaQueryScreens" != "x"; then
26841           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26842 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26843 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26844   $as_echo_n "(cached) " >&6
26845 else
26846   ac_check_lib_save_LIBS=$LIBS
26847 LIBS="-lXinerama  $LIBS"
26848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26849 /* end confdefs.h.  */
26850
26851 /* Override any GCC internal prototype to avoid an error.
26852    Use char because int might match the return type of a GCC
26853    builtin and then its argument prototype would still apply.  */
26854 #ifdef __cplusplus
26855 extern "C"
26856 #endif
26857 char XineramaQueryScreens ();
26858 int
26859 main ()
26860 {
26861 return XineramaQueryScreens ();
26862   ;
26863   return 0;
26864 }
26865 _ACEOF
26866 if ac_fn_c_try_link "$LINENO"; then :
26867   ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26868 else
26869   ac_cv_lib_Xinerama_XineramaQueryScreens=no
26870 fi
26871 rm -f core conftest.err conftest.$ac_objext \
26872     conftest$ac_exeext conftest.$ac_ext
26873 LIBS=$ac_check_lib_save_LIBS
26874 fi
26875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26876 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26877 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26878   ac_find_libraries="std"
26879 fi
26880
26881         fi
26882       fi
26883
26884       if test "x$ac_find_libraries" = "x"; then
26885                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26886 $as_echo_n "checking elsewhere... " >&6; }
26887
26888   ac_find_libraries=
26889   for ac_dir in  $SEARCH_LIB
26890   do
26891     for ac_extension in a so sl dylib dll.a; do
26892       if test -f "$ac_dir/libXinerama.$ac_extension"; then
26893         ac_find_libraries=$ac_dir
26894         break 2
26895       fi
26896     done
26897   done
26898
26899         if test "x$ac_find_libraries" != "x"; then
26900           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26901 $as_echo "yes" >&6; }
26902         else
26903           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26904 $as_echo "no" >&6; }
26905         fi
26906       fi
26907
26908 else
26909         Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
26910         Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
26911         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26912 $as_echo "yes" >&6; }
26913
26914             ac_find_libraries="std"
26915
26916                                                 eval ac_find_cflags=\$Xinerama_CFLAGS
26917       eval fl_libs=\$Xinerama_LIBS
26918
26919                   for fl_path in $fl_libs
26920       do
26921         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26922                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
26923         fi
26924       done
26925
26926 fi
26927
26928         if test "$ac_find_libraries" != "" ; then
26929             if test "$ac_find_libraries" != "std" ; then
26930
26931     if test "$ac_find_libraries" = "default location"; then
26932     ac_path_to_link=""
26933   else
26934     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26935     result=$?
26936     if test $result = 0; then
26937       ac_path_to_link=""
26938     else
26939       ac_path_to_link=" -L$ac_find_libraries"
26940     fi
26941   fi
26942
26943               if test "$ac_path_to_link" != " -L/usr/lib" ; then
26944                   LDFLAGS="$LDFLAGS $ac_path_to_link"
26945               fi
26946             fi
26947             USE_XINERAMA=1
26948             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26949         else
26950             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26951 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26952             wxUSE_DISPLAY="no"
26953         fi
26954     elif test "$wxUSE_MSW" = 1; then
26955                 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26956 "
26957 if test "x$ac_cv_header_ddraw_h" = xyes; then :
26958
26959 fi
26960
26961
26962     fi
26963 fi
26964
26965 if test "$wxUSE_DISPLAY" = "yes"; then
26966         if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26967
26968   ac_find_libraries=
26969
26970     fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26971
26972
26973 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26974         if test -n "$ac_tool_prefix"; then
26975   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26976 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26978 $as_echo_n "checking for $ac_word... " >&6; }
26979 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26980   $as_echo_n "(cached) " >&6
26981 else
26982   case $PKG_CONFIG in
26983   [\\/]* | ?:[\\/]*)
26984   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26985   ;;
26986   *)
26987   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26988 for as_dir in $PATH
26989 do
26990   IFS=$as_save_IFS
26991   test -z "$as_dir" && as_dir=.
26992     for ac_exec_ext in '' $ac_executable_extensions; do
26993   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26994     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26995     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26996     break 2
26997   fi
26998 done
26999   done
27000 IFS=$as_save_IFS
27001
27002   ;;
27003 esac
27004 fi
27005 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27006 if test -n "$PKG_CONFIG"; then
27007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27008 $as_echo "$PKG_CONFIG" >&6; }
27009 else
27010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27011 $as_echo "no" >&6; }
27012 fi
27013
27014
27015 fi
27016 if test -z "$ac_cv_path_PKG_CONFIG"; then
27017   ac_pt_PKG_CONFIG=$PKG_CONFIG
27018   # Extract the first word of "pkg-config", so it can be a program name with args.
27019 set dummy pkg-config; ac_word=$2
27020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27021 $as_echo_n "checking for $ac_word... " >&6; }
27022 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27023   $as_echo_n "(cached) " >&6
27024 else
27025   case $ac_pt_PKG_CONFIG in
27026   [\\/]* | ?:[\\/]*)
27027   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27028   ;;
27029   *)
27030   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27031 for as_dir in $PATH
27032 do
27033   IFS=$as_save_IFS
27034   test -z "$as_dir" && as_dir=.
27035     for ac_exec_ext in '' $ac_executable_extensions; do
27036   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27037     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27038     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27039     break 2
27040   fi
27041 done
27042   done
27043 IFS=$as_save_IFS
27044
27045   ;;
27046 esac
27047 fi
27048 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27049 if test -n "$ac_pt_PKG_CONFIG"; then
27050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27051 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27052 else
27053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27054 $as_echo "no" >&6; }
27055 fi
27056
27057   if test "x$ac_pt_PKG_CONFIG" = x; then
27058     PKG_CONFIG=""
27059   else
27060     case $cross_compiling:$ac_tool_warned in
27061 yes:)
27062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27064 ac_tool_warned=yes ;;
27065 esac
27066     PKG_CONFIG=$ac_pt_PKG_CONFIG
27067   fi
27068 else
27069   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27070 fi
27071
27072 fi
27073 if test -n "$PKG_CONFIG"; then
27074         _pkg_min_version=0.9.0
27075         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27076 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27077         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27078                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27079 $as_echo "yes" >&6; }
27080         else
27081                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27082 $as_echo "no" >&6; }
27083                 PKG_CONFIG=""
27084         fi
27085
27086 fi 6> /dev/null
27087
27088 pkg_failed=no
27089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
27090 $as_echo_n "checking for Xxf86vm... " >&6; }
27091
27092 if test -n "$PKG_CONFIG"; then
27093     if test -n "$Xxf86vm_CFLAGS"; then
27094         pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
27095     else
27096         if test -n "$PKG_CONFIG" && \
27097     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27098   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27099   ac_status=$?
27100   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27101   test $ac_status = 0; }; then
27102   pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27103 else
27104   pkg_failed=yes
27105 fi
27106     fi
27107 else
27108         pkg_failed=untried
27109 fi
27110 if test -n "$PKG_CONFIG"; then
27111     if test -n "$Xxf86vm_LIBS"; then
27112         pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
27113     else
27114         if test -n "$PKG_CONFIG" && \
27115     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27116   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27117   ac_status=$?
27118   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27119   test $ac_status = 0; }; then
27120   pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27121 else
27122   pkg_failed=yes
27123 fi
27124     fi
27125 else
27126         pkg_failed=untried
27127 fi
27128
27129
27130
27131 if test $pkg_failed = yes; then
27132
27133 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27134         _pkg_short_errors_supported=yes
27135 else
27136         _pkg_short_errors_supported=no
27137 fi
27138         if test $_pkg_short_errors_supported = yes; then
27139                 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27140         else
27141                 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27142         fi
27143         # Put the nasty error message in config.log where it belongs
27144         echo "$Xxf86vm_PKG_ERRORS" >&5
27145
27146
27147       if test "x$ac_find_libraries" = "x"; then
27148                 if test "xXF86VidModeQueryExtension" != "x"; then
27149           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27150 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27151 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27152   $as_echo_n "(cached) " >&6
27153 else
27154   ac_check_lib_save_LIBS=$LIBS
27155 LIBS="-lXxf86vm  $LIBS"
27156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27157 /* end confdefs.h.  */
27158
27159 /* Override any GCC internal prototype to avoid an error.
27160    Use char because int might match the return type of a GCC
27161    builtin and then its argument prototype would still apply.  */
27162 #ifdef __cplusplus
27163 extern "C"
27164 #endif
27165 char XF86VidModeQueryExtension ();
27166 int
27167 main ()
27168 {
27169 return XF86VidModeQueryExtension ();
27170   ;
27171   return 0;
27172 }
27173 _ACEOF
27174 if ac_fn_c_try_link "$LINENO"; then :
27175   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27176 else
27177   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27178 fi
27179 rm -f core conftest.err conftest.$ac_objext \
27180     conftest$ac_exeext conftest.$ac_ext
27181 LIBS=$ac_check_lib_save_LIBS
27182 fi
27183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27184 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27185 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27186   ac_find_libraries="std"
27187 fi
27188
27189         fi
27190       fi
27191
27192       if test "x$ac_find_libraries" = "x"; then
27193                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27194 $as_echo_n "checking elsewhere... " >&6; }
27195
27196   ac_find_libraries=
27197   for ac_dir in  $SEARCH_LIB
27198   do
27199     for ac_extension in a so sl dylib dll.a; do
27200       if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27201         ac_find_libraries=$ac_dir
27202         break 2
27203       fi
27204     done
27205   done
27206
27207         if test "x$ac_find_libraries" != "x"; then
27208           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27209 $as_echo "yes" >&6; }
27210         else
27211           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27212 $as_echo "no" >&6; }
27213         fi
27214       fi
27215
27216 elif test $pkg_failed = untried; then
27217
27218       if test "x$ac_find_libraries" = "x"; then
27219                 if test "xXF86VidModeQueryExtension" != "x"; then
27220           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27221 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27222 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27223   $as_echo_n "(cached) " >&6
27224 else
27225   ac_check_lib_save_LIBS=$LIBS
27226 LIBS="-lXxf86vm  $LIBS"
27227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27228 /* end confdefs.h.  */
27229
27230 /* Override any GCC internal prototype to avoid an error.
27231    Use char because int might match the return type of a GCC
27232    builtin and then its argument prototype would still apply.  */
27233 #ifdef __cplusplus
27234 extern "C"
27235 #endif
27236 char XF86VidModeQueryExtension ();
27237 int
27238 main ()
27239 {
27240 return XF86VidModeQueryExtension ();
27241   ;
27242   return 0;
27243 }
27244 _ACEOF
27245 if ac_fn_c_try_link "$LINENO"; then :
27246   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27247 else
27248   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27249 fi
27250 rm -f core conftest.err conftest.$ac_objext \
27251     conftest$ac_exeext conftest.$ac_ext
27252 LIBS=$ac_check_lib_save_LIBS
27253 fi
27254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27255 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27256 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27257   ac_find_libraries="std"
27258 fi
27259
27260         fi
27261       fi
27262
27263       if test "x$ac_find_libraries" = "x"; then
27264                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27265 $as_echo_n "checking elsewhere... " >&6; }
27266
27267   ac_find_libraries=
27268   for ac_dir in  $SEARCH_LIB
27269   do
27270     for ac_extension in a so sl dylib dll.a; do
27271       if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27272         ac_find_libraries=$ac_dir
27273         break 2
27274       fi
27275     done
27276   done
27277
27278         if test "x$ac_find_libraries" != "x"; then
27279           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27280 $as_echo "yes" >&6; }
27281         else
27282           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27283 $as_echo "no" >&6; }
27284         fi
27285       fi
27286
27287 else
27288         Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27289         Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27290         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27291 $as_echo "yes" >&6; }
27292
27293             ac_find_libraries="std"
27294
27295                                                 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27296       eval fl_libs=\$Xxf86vm_LIBS
27297
27298                   for fl_path in $fl_libs
27299       do
27300         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27301                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27302         fi
27303       done
27304
27305 fi
27306
27307         if test "$ac_find_libraries" != "" ; then
27308             for ac_header in X11/extensions/xf86vmode.h
27309 do :
27310   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27311                                   #if HAVE_X11_XLIB_H
27312                                     #include <X11/Xlib.h>
27313                                   #endif
27314
27315 "
27316 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then :
27317   cat >>confdefs.h <<_ACEOF
27318 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27319 _ACEOF
27320
27321                               GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27322
27323 fi
27324
27325 done
27326
27327         fi
27328     fi
27329 fi
27330
27331 if test "$wxUSE_DETECT_SM" = "yes"; then
27332     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27333
27334   ac_find_libraries=
27335
27336     fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27337
27338
27339 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27340         if test -n "$ac_tool_prefix"; then
27341   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27342 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27344 $as_echo_n "checking for $ac_word... " >&6; }
27345 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27346   $as_echo_n "(cached) " >&6
27347 else
27348   case $PKG_CONFIG in
27349   [\\/]* | ?:[\\/]*)
27350   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27351   ;;
27352   *)
27353   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27354 for as_dir in $PATH
27355 do
27356   IFS=$as_save_IFS
27357   test -z "$as_dir" && as_dir=.
27358     for ac_exec_ext in '' $ac_executable_extensions; do
27359   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27360     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27361     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27362     break 2
27363   fi
27364 done
27365   done
27366 IFS=$as_save_IFS
27367
27368   ;;
27369 esac
27370 fi
27371 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27372 if test -n "$PKG_CONFIG"; then
27373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27374 $as_echo "$PKG_CONFIG" >&6; }
27375 else
27376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27377 $as_echo "no" >&6; }
27378 fi
27379
27380
27381 fi
27382 if test -z "$ac_cv_path_PKG_CONFIG"; then
27383   ac_pt_PKG_CONFIG=$PKG_CONFIG
27384   # Extract the first word of "pkg-config", so it can be a program name with args.
27385 set dummy pkg-config; ac_word=$2
27386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27387 $as_echo_n "checking for $ac_word... " >&6; }
27388 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27389   $as_echo_n "(cached) " >&6
27390 else
27391   case $ac_pt_PKG_CONFIG in
27392   [\\/]* | ?:[\\/]*)
27393   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27394   ;;
27395   *)
27396   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27397 for as_dir in $PATH
27398 do
27399   IFS=$as_save_IFS
27400   test -z "$as_dir" && as_dir=.
27401     for ac_exec_ext in '' $ac_executable_extensions; do
27402   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27403     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27404     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27405     break 2
27406   fi
27407 done
27408   done
27409 IFS=$as_save_IFS
27410
27411   ;;
27412 esac
27413 fi
27414 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27415 if test -n "$ac_pt_PKG_CONFIG"; then
27416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27417 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27418 else
27419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27420 $as_echo "no" >&6; }
27421 fi
27422
27423   if test "x$ac_pt_PKG_CONFIG" = x; then
27424     PKG_CONFIG=""
27425   else
27426     case $cross_compiling:$ac_tool_warned in
27427 yes:)
27428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27430 ac_tool_warned=yes ;;
27431 esac
27432     PKG_CONFIG=$ac_pt_PKG_CONFIG
27433   fi
27434 else
27435   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27436 fi
27437
27438 fi
27439 if test -n "$PKG_CONFIG"; then
27440         _pkg_min_version=0.9.0
27441         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27442 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27443         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27444                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27445 $as_echo "yes" >&6; }
27446         else
27447                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27448 $as_echo "no" >&6; }
27449                 PKG_CONFIG=""
27450         fi
27451
27452 fi 6> /dev/null
27453
27454 pkg_failed=no
27455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27456 $as_echo_n "checking for SM... " >&6; }
27457
27458 if test -n "$PKG_CONFIG"; then
27459     if test -n "$SM_CFLAGS"; then
27460         pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27461     else
27462         if test -n "$PKG_CONFIG" && \
27463     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27464   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27465   ac_status=$?
27466   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27467   test $ac_status = 0; }; then
27468   pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27469 else
27470   pkg_failed=yes
27471 fi
27472     fi
27473 else
27474         pkg_failed=untried
27475 fi
27476 if test -n "$PKG_CONFIG"; then
27477     if test -n "$SM_LIBS"; then
27478         pkg_cv_SM_LIBS="$SM_LIBS"
27479     else
27480         if test -n "$PKG_CONFIG" && \
27481     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27482   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27483   ac_status=$?
27484   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27485   test $ac_status = 0; }; then
27486   pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27487 else
27488   pkg_failed=yes
27489 fi
27490     fi
27491 else
27492         pkg_failed=untried
27493 fi
27494
27495
27496
27497 if test $pkg_failed = yes; then
27498
27499 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27500         _pkg_short_errors_supported=yes
27501 else
27502         _pkg_short_errors_supported=no
27503 fi
27504         if test $_pkg_short_errors_supported = yes; then
27505                 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27506         else
27507                 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27508         fi
27509         # Put the nasty error message in config.log where it belongs
27510         echo "$SM_PKG_ERRORS" >&5
27511
27512
27513       if test "x$ac_find_libraries" = "x"; then
27514                 if test "xSmcOpenConnection" != "x"; then
27515           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27516 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27517 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27518   $as_echo_n "(cached) " >&6
27519 else
27520   ac_check_lib_save_LIBS=$LIBS
27521 LIBS="-lSM  $LIBS"
27522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27523 /* end confdefs.h.  */
27524
27525 /* Override any GCC internal prototype to avoid an error.
27526    Use char because int might match the return type of a GCC
27527    builtin and then its argument prototype would still apply.  */
27528 #ifdef __cplusplus
27529 extern "C"
27530 #endif
27531 char SmcOpenConnection ();
27532 int
27533 main ()
27534 {
27535 return SmcOpenConnection ();
27536   ;
27537   return 0;
27538 }
27539 _ACEOF
27540 if ac_fn_c_try_link "$LINENO"; then :
27541   ac_cv_lib_SM_SmcOpenConnection=yes
27542 else
27543   ac_cv_lib_SM_SmcOpenConnection=no
27544 fi
27545 rm -f core conftest.err conftest.$ac_objext \
27546     conftest$ac_exeext conftest.$ac_ext
27547 LIBS=$ac_check_lib_save_LIBS
27548 fi
27549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27550 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27551 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27552   ac_find_libraries="std"
27553 fi
27554
27555         fi
27556       fi
27557
27558       if test "x$ac_find_libraries" = "x"; then
27559                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27560 $as_echo_n "checking elsewhere... " >&6; }
27561
27562   ac_find_libraries=
27563   for ac_dir in  $SEARCH_LIB
27564   do
27565     for ac_extension in a so sl dylib dll.a; do
27566       if test -f "$ac_dir/libSM.$ac_extension"; then
27567         ac_find_libraries=$ac_dir
27568         break 2
27569       fi
27570     done
27571   done
27572
27573         if test "x$ac_find_libraries" != "x"; then
27574           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27575 $as_echo "yes" >&6; }
27576         else
27577           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27578 $as_echo "no" >&6; }
27579         fi
27580       fi
27581
27582 elif test $pkg_failed = untried; then
27583
27584       if test "x$ac_find_libraries" = "x"; then
27585                 if test "xSmcOpenConnection" != "x"; then
27586           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27587 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27588 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27589   $as_echo_n "(cached) " >&6
27590 else
27591   ac_check_lib_save_LIBS=$LIBS
27592 LIBS="-lSM  $LIBS"
27593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27594 /* end confdefs.h.  */
27595
27596 /* Override any GCC internal prototype to avoid an error.
27597    Use char because int might match the return type of a GCC
27598    builtin and then its argument prototype would still apply.  */
27599 #ifdef __cplusplus
27600 extern "C"
27601 #endif
27602 char SmcOpenConnection ();
27603 int
27604 main ()
27605 {
27606 return SmcOpenConnection ();
27607   ;
27608   return 0;
27609 }
27610 _ACEOF
27611 if ac_fn_c_try_link "$LINENO"; then :
27612   ac_cv_lib_SM_SmcOpenConnection=yes
27613 else
27614   ac_cv_lib_SM_SmcOpenConnection=no
27615 fi
27616 rm -f core conftest.err conftest.$ac_objext \
27617     conftest$ac_exeext conftest.$ac_ext
27618 LIBS=$ac_check_lib_save_LIBS
27619 fi
27620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27621 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27622 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27623   ac_find_libraries="std"
27624 fi
27625
27626         fi
27627       fi
27628
27629       if test "x$ac_find_libraries" = "x"; then
27630                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27631 $as_echo_n "checking elsewhere... " >&6; }
27632
27633   ac_find_libraries=
27634   for ac_dir in  $SEARCH_LIB
27635   do
27636     for ac_extension in a so sl dylib dll.a; do
27637       if test -f "$ac_dir/libSM.$ac_extension"; then
27638         ac_find_libraries=$ac_dir
27639         break 2
27640       fi
27641     done
27642   done
27643
27644         if test "x$ac_find_libraries" != "x"; then
27645           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27646 $as_echo "yes" >&6; }
27647         else
27648           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27649 $as_echo "no" >&6; }
27650         fi
27651       fi
27652
27653 else
27654         SM_CFLAGS=$pkg_cv_SM_CFLAGS
27655         SM_LIBS=$pkg_cv_SM_LIBS
27656         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27657 $as_echo "yes" >&6; }
27658
27659             ac_find_libraries="std"
27660
27661                                                 eval ac_find_cflags=\$SM_CFLAGS
27662       eval fl_libs=\$SM_LIBS
27663
27664                   for fl_path in $fl_libs
27665       do
27666         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27667                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27668         fi
27669       done
27670
27671 fi
27672
27673         if test "$ac_find_libraries" != "" ; then
27674             if test "$ac_find_libraries" != "std" ; then
27675
27676     if test "$ac_find_libraries" = "default location"; then
27677     ac_path_to_link=""
27678   else
27679     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27680     result=$?
27681     if test $result = 0; then
27682       ac_path_to_link=""
27683     else
27684       ac_path_to_link=" -L$ac_find_libraries"
27685     fi
27686   fi
27687
27688               if test "$ac_path_to_link" != " -L/usr/lib" ; then
27689                 LDFLAGS="$LDFLAGS $ac_path_to_link"
27690               fi
27691             fi
27692             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27693         else
27694             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27695 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27696             wxUSE_DETECT_SM="no"
27697         fi
27698     else
27699         wxUSE_DETECT_SM="no"
27700     fi
27701 fi
27702
27703
27704
27705 USE_OPENGL=0
27706 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27707
27708
27709     if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27710         OPENGL_LIBS="-framework OpenGL -framework AGL"
27711     elif test "$wxUSE_MSW" = 1; then
27712         OPENGL_LIBS="-lopengl32 -lglu32"
27713     elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27714
27715                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27716 $as_echo_n "checking for OpenGL headers... " >&6; }
27717
27718 ac_find_includes=
27719 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27720   do
27721     if test -f "$ac_dir/GL/gl.h"; then
27722       ac_find_includes=$ac_dir
27723       break
27724     fi
27725   done
27726
27727         if test "$ac_find_includes" != "" ; then
27728             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27729 $as_echo "found in $ac_find_includes" >&6; }
27730
27731     if test "x$ac_find_includes" = "x/usr/include"; then
27732     ac_path_to_include=""
27733   else
27734     echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27735     result=$?
27736     if test $result = 0; then
27737       ac_path_to_include=""
27738     else
27739       ac_path_to_include=" -I$ac_find_includes"
27740     fi
27741   fi
27742
27743             CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27744         else
27745             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27746 $as_echo "not found" >&6; }
27747         fi
27748
27749         ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27750 "
27751 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27752
27753             ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27754 "
27755 if test "x$ac_cv_header_GL_glu_h" = xyes; then :
27756
27757                 found_gl=0
27758
27759
27760   ac_find_libraries=
27761
27762     fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27763
27764
27765 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27766         if test -n "$ac_tool_prefix"; then
27767   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27768 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27770 $as_echo_n "checking for $ac_word... " >&6; }
27771 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27772   $as_echo_n "(cached) " >&6
27773 else
27774   case $PKG_CONFIG in
27775   [\\/]* | ?:[\\/]*)
27776   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27777   ;;
27778   *)
27779   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27780 for as_dir in $PATH
27781 do
27782   IFS=$as_save_IFS
27783   test -z "$as_dir" && as_dir=.
27784     for ac_exec_ext in '' $ac_executable_extensions; do
27785   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27786     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27787     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27788     break 2
27789   fi
27790 done
27791   done
27792 IFS=$as_save_IFS
27793
27794   ;;
27795 esac
27796 fi
27797 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27798 if test -n "$PKG_CONFIG"; then
27799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27800 $as_echo "$PKG_CONFIG" >&6; }
27801 else
27802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27803 $as_echo "no" >&6; }
27804 fi
27805
27806
27807 fi
27808 if test -z "$ac_cv_path_PKG_CONFIG"; then
27809   ac_pt_PKG_CONFIG=$PKG_CONFIG
27810   # Extract the first word of "pkg-config", so it can be a program name with args.
27811 set dummy pkg-config; ac_word=$2
27812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27813 $as_echo_n "checking for $ac_word... " >&6; }
27814 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27815   $as_echo_n "(cached) " >&6
27816 else
27817   case $ac_pt_PKG_CONFIG in
27818   [\\/]* | ?:[\\/]*)
27819   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27820   ;;
27821   *)
27822   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27823 for as_dir in $PATH
27824 do
27825   IFS=$as_save_IFS
27826   test -z "$as_dir" && as_dir=.
27827     for ac_exec_ext in '' $ac_executable_extensions; do
27828   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27829     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27830     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27831     break 2
27832   fi
27833 done
27834   done
27835 IFS=$as_save_IFS
27836
27837   ;;
27838 esac
27839 fi
27840 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27841 if test -n "$ac_pt_PKG_CONFIG"; then
27842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27843 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27844 else
27845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27846 $as_echo "no" >&6; }
27847 fi
27848
27849   if test "x$ac_pt_PKG_CONFIG" = x; then
27850     PKG_CONFIG=""
27851   else
27852     case $cross_compiling:$ac_tool_warned in
27853 yes:)
27854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27855 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27856 ac_tool_warned=yes ;;
27857 esac
27858     PKG_CONFIG=$ac_pt_PKG_CONFIG
27859   fi
27860 else
27861   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27862 fi
27863
27864 fi
27865 if test -n "$PKG_CONFIG"; then
27866         _pkg_min_version=0.9.0
27867         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27868 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27869         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27870                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27871 $as_echo "yes" >&6; }
27872         else
27873                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27874 $as_echo "no" >&6; }
27875                 PKG_CONFIG=""
27876         fi
27877
27878 fi 6> /dev/null
27879
27880 pkg_failed=no
27881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27882 $as_echo_n "checking for GL... " >&6; }
27883
27884 if test -n "$PKG_CONFIG"; then
27885     if test -n "$GL_CFLAGS"; then
27886         pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27887     else
27888         if test -n "$PKG_CONFIG" && \
27889     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27890   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27891   ac_status=$?
27892   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27893   test $ac_status = 0; }; then
27894   pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27895 else
27896   pkg_failed=yes
27897 fi
27898     fi
27899 else
27900         pkg_failed=untried
27901 fi
27902 if test -n "$PKG_CONFIG"; then
27903     if test -n "$GL_LIBS"; then
27904         pkg_cv_GL_LIBS="$GL_LIBS"
27905     else
27906         if test -n "$PKG_CONFIG" && \
27907     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27908   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27909   ac_status=$?
27910   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27911   test $ac_status = 0; }; then
27912   pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27913 else
27914   pkg_failed=yes
27915 fi
27916     fi
27917 else
27918         pkg_failed=untried
27919 fi
27920
27921
27922
27923 if test $pkg_failed = yes; then
27924
27925 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27926         _pkg_short_errors_supported=yes
27927 else
27928         _pkg_short_errors_supported=no
27929 fi
27930         if test $_pkg_short_errors_supported = yes; then
27931                 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27932         else
27933                 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27934         fi
27935         # Put the nasty error message in config.log where it belongs
27936         echo "$GL_PKG_ERRORS" >&5
27937
27938
27939       if test "x$ac_find_libraries" = "x"; then
27940                 if test "xglBegin" != "x"; then
27941           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27942 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27943 if ${ac_cv_lib_GL_glBegin+:} false; then :
27944   $as_echo_n "(cached) " >&6
27945 else
27946   ac_check_lib_save_LIBS=$LIBS
27947 LIBS="-lGL  $LIBS"
27948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27949 /* end confdefs.h.  */
27950
27951 /* Override any GCC internal prototype to avoid an error.
27952    Use char because int might match the return type of a GCC
27953    builtin and then its argument prototype would still apply.  */
27954 #ifdef __cplusplus
27955 extern "C"
27956 #endif
27957 char glBegin ();
27958 int
27959 main ()
27960 {
27961 return glBegin ();
27962   ;
27963   return 0;
27964 }
27965 _ACEOF
27966 if ac_fn_c_try_link "$LINENO"; then :
27967   ac_cv_lib_GL_glBegin=yes
27968 else
27969   ac_cv_lib_GL_glBegin=no
27970 fi
27971 rm -f core conftest.err conftest.$ac_objext \
27972     conftest$ac_exeext conftest.$ac_ext
27973 LIBS=$ac_check_lib_save_LIBS
27974 fi
27975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27976 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27977 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27978   ac_find_libraries="std"
27979 fi
27980
27981         fi
27982       fi
27983
27984       if test "x$ac_find_libraries" = "x"; then
27985                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27986 $as_echo_n "checking elsewhere... " >&6; }
27987
27988   ac_find_libraries=
27989   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27990   do
27991     for ac_extension in a so sl dylib dll.a; do
27992       if test -f "$ac_dir/libGL.$ac_extension"; then
27993         ac_find_libraries=$ac_dir
27994         break 2
27995       fi
27996     done
27997   done
27998
27999         if test "x$ac_find_libraries" != "x"; then
28000           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28001 $as_echo "yes" >&6; }
28002         else
28003           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28004 $as_echo "no" >&6; }
28005         fi
28006       fi
28007
28008 elif test $pkg_failed = untried; then
28009
28010       if test "x$ac_find_libraries" = "x"; then
28011                 if test "xglBegin" != "x"; then
28012           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28013 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28014 if ${ac_cv_lib_GL_glBegin+:} false; then :
28015   $as_echo_n "(cached) " >&6
28016 else
28017   ac_check_lib_save_LIBS=$LIBS
28018 LIBS="-lGL  $LIBS"
28019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28020 /* end confdefs.h.  */
28021
28022 /* Override any GCC internal prototype to avoid an error.
28023    Use char because int might match the return type of a GCC
28024    builtin and then its argument prototype would still apply.  */
28025 #ifdef __cplusplus
28026 extern "C"
28027 #endif
28028 char glBegin ();
28029 int
28030 main ()
28031 {
28032 return glBegin ();
28033   ;
28034   return 0;
28035 }
28036 _ACEOF
28037 if ac_fn_c_try_link "$LINENO"; then :
28038   ac_cv_lib_GL_glBegin=yes
28039 else
28040   ac_cv_lib_GL_glBegin=no
28041 fi
28042 rm -f core conftest.err conftest.$ac_objext \
28043     conftest$ac_exeext conftest.$ac_ext
28044 LIBS=$ac_check_lib_save_LIBS
28045 fi
28046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28047 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28048 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
28049   ac_find_libraries="std"
28050 fi
28051
28052         fi
28053       fi
28054
28055       if test "x$ac_find_libraries" = "x"; then
28056                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28057 $as_echo_n "checking elsewhere... " >&6; }
28058
28059   ac_find_libraries=
28060   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28061   do
28062     for ac_extension in a so sl dylib dll.a; do
28063       if test -f "$ac_dir/libGL.$ac_extension"; then
28064         ac_find_libraries=$ac_dir
28065         break 2
28066       fi
28067     done
28068   done
28069
28070         if test "x$ac_find_libraries" != "x"; then
28071           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28072 $as_echo "yes" >&6; }
28073         else
28074           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28075 $as_echo "no" >&6; }
28076         fi
28077       fi
28078
28079 else
28080         GL_CFLAGS=$pkg_cv_GL_CFLAGS
28081         GL_LIBS=$pkg_cv_GL_LIBS
28082         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28083 $as_echo "yes" >&6; }
28084
28085             ac_find_libraries="std"
28086
28087                                                 eval ac_find_cflags=\$GL_CFLAGS
28088       eval fl_libs=\$GL_LIBS
28089
28090                   for fl_path in $fl_libs
28091       do
28092         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28093                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28094         fi
28095       done
28096
28097 fi
28098
28099                 if test "$ac_find_libraries" != "" ; then
28100                     if test "$ac_find_libraries" != "std" ; then
28101
28102     if test "$ac_find_libraries" = "default location"; then
28103     ac_path_to_link=""
28104   else
28105     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28106     result=$?
28107     if test $result = 0; then
28108       ac_path_to_link=""
28109     else
28110       ac_path_to_link=" -L$ac_find_libraries"
28111     fi
28112   fi
28113
28114                       if test "$ac_path_to_link" != " -L/usr/lib" ; then
28115                         LDFLAGS_GL="$ac_path_to_link"
28116                       fi
28117                     fi
28118
28119
28120   ac_find_libraries=
28121
28122     fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
28123
28124
28125 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28126         if test -n "$ac_tool_prefix"; then
28127   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28128 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28130 $as_echo_n "checking for $ac_word... " >&6; }
28131 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28132   $as_echo_n "(cached) " >&6
28133 else
28134   case $PKG_CONFIG in
28135   [\\/]* | ?:[\\/]*)
28136   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28137   ;;
28138   *)
28139   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28140 for as_dir in $PATH
28141 do
28142   IFS=$as_save_IFS
28143   test -z "$as_dir" && as_dir=.
28144     for ac_exec_ext in '' $ac_executable_extensions; do
28145   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28146     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28147     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28148     break 2
28149   fi
28150 done
28151   done
28152 IFS=$as_save_IFS
28153
28154   ;;
28155 esac
28156 fi
28157 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28158 if test -n "$PKG_CONFIG"; then
28159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28160 $as_echo "$PKG_CONFIG" >&6; }
28161 else
28162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28163 $as_echo "no" >&6; }
28164 fi
28165
28166
28167 fi
28168 if test -z "$ac_cv_path_PKG_CONFIG"; then
28169   ac_pt_PKG_CONFIG=$PKG_CONFIG
28170   # Extract the first word of "pkg-config", so it can be a program name with args.
28171 set dummy pkg-config; ac_word=$2
28172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28173 $as_echo_n "checking for $ac_word... " >&6; }
28174 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28175   $as_echo_n "(cached) " >&6
28176 else
28177   case $ac_pt_PKG_CONFIG in
28178   [\\/]* | ?:[\\/]*)
28179   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28180   ;;
28181   *)
28182   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28183 for as_dir in $PATH
28184 do
28185   IFS=$as_save_IFS
28186   test -z "$as_dir" && as_dir=.
28187     for ac_exec_ext in '' $ac_executable_extensions; do
28188   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28189     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28190     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28191     break 2
28192   fi
28193 done
28194   done
28195 IFS=$as_save_IFS
28196
28197   ;;
28198 esac
28199 fi
28200 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28201 if test -n "$ac_pt_PKG_CONFIG"; then
28202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28203 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28204 else
28205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28206 $as_echo "no" >&6; }
28207 fi
28208
28209   if test "x$ac_pt_PKG_CONFIG" = x; then
28210     PKG_CONFIG=""
28211   else
28212     case $cross_compiling:$ac_tool_warned in
28213 yes:)
28214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28216 ac_tool_warned=yes ;;
28217 esac
28218     PKG_CONFIG=$ac_pt_PKG_CONFIG
28219   fi
28220 else
28221   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28222 fi
28223
28224 fi
28225 if test -n "$PKG_CONFIG"; then
28226         _pkg_min_version=0.9.0
28227         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28228 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28229         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28230                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28231 $as_echo "yes" >&6; }
28232         else
28233                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28234 $as_echo "no" >&6; }
28235                 PKG_CONFIG=""
28236         fi
28237
28238 fi 6> /dev/null
28239
28240 pkg_failed=no
28241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28242 $as_echo_n "checking for GLU... " >&6; }
28243
28244 if test -n "$PKG_CONFIG"; then
28245     if test -n "$GLU_CFLAGS"; then
28246         pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28247     else
28248         if test -n "$PKG_CONFIG" && \
28249     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28250   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28251   ac_status=$?
28252   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28253   test $ac_status = 0; }; then
28254   pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28255 else
28256   pkg_failed=yes
28257 fi
28258     fi
28259 else
28260         pkg_failed=untried
28261 fi
28262 if test -n "$PKG_CONFIG"; then
28263     if test -n "$GLU_LIBS"; then
28264         pkg_cv_GLU_LIBS="$GLU_LIBS"
28265     else
28266         if test -n "$PKG_CONFIG" && \
28267     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28268   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28269   ac_status=$?
28270   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28271   test $ac_status = 0; }; then
28272   pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28273 else
28274   pkg_failed=yes
28275 fi
28276     fi
28277 else
28278         pkg_failed=untried
28279 fi
28280
28281
28282
28283 if test $pkg_failed = yes; then
28284
28285 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28286         _pkg_short_errors_supported=yes
28287 else
28288         _pkg_short_errors_supported=no
28289 fi
28290         if test $_pkg_short_errors_supported = yes; then
28291                 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28292         else
28293                 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28294         fi
28295         # Put the nasty error message in config.log where it belongs
28296         echo "$GLU_PKG_ERRORS" >&5
28297
28298
28299       if test "x$ac_find_libraries" = "x"; then
28300                 if test "xgluBeginCurve" != "x"; then
28301           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28302 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28303 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28304   $as_echo_n "(cached) " >&6
28305 else
28306   ac_check_lib_save_LIBS=$LIBS
28307 LIBS="-lGLU  $LIBS"
28308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28309 /* end confdefs.h.  */
28310
28311 /* Override any GCC internal prototype to avoid an error.
28312    Use char because int might match the return type of a GCC
28313    builtin and then its argument prototype would still apply.  */
28314 #ifdef __cplusplus
28315 extern "C"
28316 #endif
28317 char gluBeginCurve ();
28318 int
28319 main ()
28320 {
28321 return gluBeginCurve ();
28322   ;
28323   return 0;
28324 }
28325 _ACEOF
28326 if ac_fn_c_try_link "$LINENO"; then :
28327   ac_cv_lib_GLU_gluBeginCurve=yes
28328 else
28329   ac_cv_lib_GLU_gluBeginCurve=no
28330 fi
28331 rm -f core conftest.err conftest.$ac_objext \
28332     conftest$ac_exeext conftest.$ac_ext
28333 LIBS=$ac_check_lib_save_LIBS
28334 fi
28335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28336 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28337 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28338   ac_find_libraries="std"
28339 fi
28340
28341         fi
28342       fi
28343
28344       if test "x$ac_find_libraries" = "x"; then
28345                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28346 $as_echo_n "checking elsewhere... " >&6; }
28347
28348   ac_find_libraries=
28349   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28350   do
28351     for ac_extension in a so sl dylib dll.a; do
28352       if test -f "$ac_dir/libGLU.$ac_extension"; then
28353         ac_find_libraries=$ac_dir
28354         break 2
28355       fi
28356     done
28357   done
28358
28359         if test "x$ac_find_libraries" != "x"; then
28360           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28361 $as_echo "yes" >&6; }
28362         else
28363           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28364 $as_echo "no" >&6; }
28365         fi
28366       fi
28367
28368 elif test $pkg_failed = untried; then
28369
28370       if test "x$ac_find_libraries" = "x"; then
28371                 if test "xgluBeginCurve" != "x"; then
28372           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28373 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28374 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28375   $as_echo_n "(cached) " >&6
28376 else
28377   ac_check_lib_save_LIBS=$LIBS
28378 LIBS="-lGLU  $LIBS"
28379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28380 /* end confdefs.h.  */
28381
28382 /* Override any GCC internal prototype to avoid an error.
28383    Use char because int might match the return type of a GCC
28384    builtin and then its argument prototype would still apply.  */
28385 #ifdef __cplusplus
28386 extern "C"
28387 #endif
28388 char gluBeginCurve ();
28389 int
28390 main ()
28391 {
28392 return gluBeginCurve ();
28393   ;
28394   return 0;
28395 }
28396 _ACEOF
28397 if ac_fn_c_try_link "$LINENO"; then :
28398   ac_cv_lib_GLU_gluBeginCurve=yes
28399 else
28400   ac_cv_lib_GLU_gluBeginCurve=no
28401 fi
28402 rm -f core conftest.err conftest.$ac_objext \
28403     conftest$ac_exeext conftest.$ac_ext
28404 LIBS=$ac_check_lib_save_LIBS
28405 fi
28406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28407 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28408 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28409   ac_find_libraries="std"
28410 fi
28411
28412         fi
28413       fi
28414
28415       if test "x$ac_find_libraries" = "x"; then
28416                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28417 $as_echo_n "checking elsewhere... " >&6; }
28418
28419   ac_find_libraries=
28420   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28421   do
28422     for ac_extension in a so sl dylib dll.a; do
28423       if test -f "$ac_dir/libGLU.$ac_extension"; then
28424         ac_find_libraries=$ac_dir
28425         break 2
28426       fi
28427     done
28428   done
28429
28430         if test "x$ac_find_libraries" != "x"; then
28431           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28432 $as_echo "yes" >&6; }
28433         else
28434           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28435 $as_echo "no" >&6; }
28436         fi
28437       fi
28438
28439 else
28440         GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28441         GLU_LIBS=$pkg_cv_GLU_LIBS
28442         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28443 $as_echo "yes" >&6; }
28444
28445             ac_find_libraries="std"
28446
28447                                                 eval ac_find_cflags=\$GLU_CFLAGS
28448       eval fl_libs=\$GLU_LIBS
28449
28450                   for fl_path in $fl_libs
28451       do
28452         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28453                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28454         fi
28455       done
28456
28457 fi
28458
28459                     if test "$ac_find_libraries" != "" ; then
28460                       if test "$ac_find_libraries" != "std" ; then
28461
28462     if test "$ac_find_libraries" = "default location"; then
28463     ac_path_to_link=""
28464   else
28465     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28466     result=$?
28467     if test $result = 0; then
28468       ac_path_to_link=""
28469     else
28470       ac_path_to_link=" -L$ac_find_libraries"
28471     fi
28472   fi
28473
28474                         if test "$ac_path_to_link" != " -L/usr/lib" -a \
28475                                 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28476                           LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28477                         fi
28478                       fi
28479
28480                         found_gl=1
28481                         OPENGL_LIBS="-lGL -lGLU"
28482                     fi
28483                 fi
28484
28485                 if test "$found_gl" != 1; then
28486
28487   ac_find_libraries=
28488
28489     fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28490
28491
28492 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28493         if test -n "$ac_tool_prefix"; then
28494   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28495 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28497 $as_echo_n "checking for $ac_word... " >&6; }
28498 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28499   $as_echo_n "(cached) " >&6
28500 else
28501   case $PKG_CONFIG in
28502   [\\/]* | ?:[\\/]*)
28503   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28504   ;;
28505   *)
28506   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28507 for as_dir in $PATH
28508 do
28509   IFS=$as_save_IFS
28510   test -z "$as_dir" && as_dir=.
28511     for ac_exec_ext in '' $ac_executable_extensions; do
28512   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28513     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28514     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28515     break 2
28516   fi
28517 done
28518   done
28519 IFS=$as_save_IFS
28520
28521   ;;
28522 esac
28523 fi
28524 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28525 if test -n "$PKG_CONFIG"; then
28526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28527 $as_echo "$PKG_CONFIG" >&6; }
28528 else
28529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28530 $as_echo "no" >&6; }
28531 fi
28532
28533
28534 fi
28535 if test -z "$ac_cv_path_PKG_CONFIG"; then
28536   ac_pt_PKG_CONFIG=$PKG_CONFIG
28537   # Extract the first word of "pkg-config", so it can be a program name with args.
28538 set dummy pkg-config; ac_word=$2
28539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28540 $as_echo_n "checking for $ac_word... " >&6; }
28541 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28542   $as_echo_n "(cached) " >&6
28543 else
28544   case $ac_pt_PKG_CONFIG in
28545   [\\/]* | ?:[\\/]*)
28546   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28547   ;;
28548   *)
28549   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28550 for as_dir in $PATH
28551 do
28552   IFS=$as_save_IFS
28553   test -z "$as_dir" && as_dir=.
28554     for ac_exec_ext in '' $ac_executable_extensions; do
28555   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28556     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28558     break 2
28559   fi
28560 done
28561   done
28562 IFS=$as_save_IFS
28563
28564   ;;
28565 esac
28566 fi
28567 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28568 if test -n "$ac_pt_PKG_CONFIG"; then
28569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28570 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28571 else
28572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28573 $as_echo "no" >&6; }
28574 fi
28575
28576   if test "x$ac_pt_PKG_CONFIG" = x; then
28577     PKG_CONFIG=""
28578   else
28579     case $cross_compiling:$ac_tool_warned in
28580 yes:)
28581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28583 ac_tool_warned=yes ;;
28584 esac
28585     PKG_CONFIG=$ac_pt_PKG_CONFIG
28586   fi
28587 else
28588   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28589 fi
28590
28591 fi
28592 if test -n "$PKG_CONFIG"; then
28593         _pkg_min_version=0.9.0
28594         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28595 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28596         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28597                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28598 $as_echo "yes" >&6; }
28599         else
28600                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28601 $as_echo "no" >&6; }
28602                 PKG_CONFIG=""
28603         fi
28604
28605 fi 6> /dev/null
28606
28607 pkg_failed=no
28608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28609 $as_echo_n "checking for MesaGL... " >&6; }
28610
28611 if test -n "$PKG_CONFIG"; then
28612     if test -n "$MesaGL_CFLAGS"; then
28613         pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28614     else
28615         if test -n "$PKG_CONFIG" && \
28616     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28617   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28618   ac_status=$?
28619   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28620   test $ac_status = 0; }; then
28621   pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28622 else
28623   pkg_failed=yes
28624 fi
28625     fi
28626 else
28627         pkg_failed=untried
28628 fi
28629 if test -n "$PKG_CONFIG"; then
28630     if test -n "$MesaGL_LIBS"; then
28631         pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28632     else
28633         if test -n "$PKG_CONFIG" && \
28634     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28635   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28636   ac_status=$?
28637   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28638   test $ac_status = 0; }; then
28639   pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28640 else
28641   pkg_failed=yes
28642 fi
28643     fi
28644 else
28645         pkg_failed=untried
28646 fi
28647
28648
28649
28650 if test $pkg_failed = yes; then
28651
28652 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28653         _pkg_short_errors_supported=yes
28654 else
28655         _pkg_short_errors_supported=no
28656 fi
28657         if test $_pkg_short_errors_supported = yes; then
28658                 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28659         else
28660                 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28661         fi
28662         # Put the nasty error message in config.log where it belongs
28663         echo "$MesaGL_PKG_ERRORS" >&5
28664
28665
28666       if test "x$ac_find_libraries" = "x"; then
28667                 if test "xglEnable" != "x"; then
28668           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28669 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28670 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28671   $as_echo_n "(cached) " >&6
28672 else
28673   ac_check_lib_save_LIBS=$LIBS
28674 LIBS="-lMesaGL  $LIBS"
28675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28676 /* end confdefs.h.  */
28677
28678 /* Override any GCC internal prototype to avoid an error.
28679    Use char because int might match the return type of a GCC
28680    builtin and then its argument prototype would still apply.  */
28681 #ifdef __cplusplus
28682 extern "C"
28683 #endif
28684 char glEnable ();
28685 int
28686 main ()
28687 {
28688 return glEnable ();
28689   ;
28690   return 0;
28691 }
28692 _ACEOF
28693 if ac_fn_c_try_link "$LINENO"; then :
28694   ac_cv_lib_MesaGL_glEnable=yes
28695 else
28696   ac_cv_lib_MesaGL_glEnable=no
28697 fi
28698 rm -f core conftest.err conftest.$ac_objext \
28699     conftest$ac_exeext conftest.$ac_ext
28700 LIBS=$ac_check_lib_save_LIBS
28701 fi
28702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28703 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28704 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28705   ac_find_libraries="std"
28706 fi
28707
28708         fi
28709       fi
28710
28711       if test "x$ac_find_libraries" = "x"; then
28712                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28713 $as_echo_n "checking elsewhere... " >&6; }
28714
28715   ac_find_libraries=
28716   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28717   do
28718     for ac_extension in a so sl dylib dll.a; do
28719       if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28720         ac_find_libraries=$ac_dir
28721         break 2
28722       fi
28723     done
28724   done
28725
28726         if test "x$ac_find_libraries" != "x"; then
28727           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28728 $as_echo "yes" >&6; }
28729         else
28730           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28731 $as_echo "no" >&6; }
28732         fi
28733       fi
28734
28735 elif test $pkg_failed = untried; then
28736
28737       if test "x$ac_find_libraries" = "x"; then
28738                 if test "xglEnable" != "x"; then
28739           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28740 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28741 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28742   $as_echo_n "(cached) " >&6
28743 else
28744   ac_check_lib_save_LIBS=$LIBS
28745 LIBS="-lMesaGL  $LIBS"
28746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28747 /* end confdefs.h.  */
28748
28749 /* Override any GCC internal prototype to avoid an error.
28750    Use char because int might match the return type of a GCC
28751    builtin and then its argument prototype would still apply.  */
28752 #ifdef __cplusplus
28753 extern "C"
28754 #endif
28755 char glEnable ();
28756 int
28757 main ()
28758 {
28759 return glEnable ();
28760   ;
28761   return 0;
28762 }
28763 _ACEOF
28764 if ac_fn_c_try_link "$LINENO"; then :
28765   ac_cv_lib_MesaGL_glEnable=yes
28766 else
28767   ac_cv_lib_MesaGL_glEnable=no
28768 fi
28769 rm -f core conftest.err conftest.$ac_objext \
28770     conftest$ac_exeext conftest.$ac_ext
28771 LIBS=$ac_check_lib_save_LIBS
28772 fi
28773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28774 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28775 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28776   ac_find_libraries="std"
28777 fi
28778
28779         fi
28780       fi
28781
28782       if test "x$ac_find_libraries" = "x"; then
28783                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28784 $as_echo_n "checking elsewhere... " >&6; }
28785
28786   ac_find_libraries=
28787   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28788   do
28789     for ac_extension in a so sl dylib dll.a; do
28790       if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28791         ac_find_libraries=$ac_dir
28792         break 2
28793       fi
28794     done
28795   done
28796
28797         if test "x$ac_find_libraries" != "x"; then
28798           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28799 $as_echo "yes" >&6; }
28800         else
28801           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28802 $as_echo "no" >&6; }
28803         fi
28804       fi
28805
28806 else
28807         MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28808         MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28809         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28810 $as_echo "yes" >&6; }
28811
28812             ac_find_libraries="std"
28813
28814                                                 eval ac_find_cflags=\$MesaGL_CFLAGS
28815       eval fl_libs=\$MesaGL_LIBS
28816
28817                   for fl_path in $fl_libs
28818       do
28819         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28820                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28821         fi
28822       done
28823
28824 fi
28825
28826                     if test "$ac_find_libraries" != "" ; then
28827                       if test "$ac_find_libraries" != "std" ; then
28828
28829     if test "$ac_find_libraries" = "default location"; then
28830     ac_path_to_link=""
28831   else
28832     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28833     result=$?
28834     if test $result = 0; then
28835       ac_path_to_link=""
28836     else
28837       ac_path_to_link=" -L$ac_find_libraries"
28838     fi
28839   fi
28840
28841                         if test "$ac_path_to_link" != " -L/usr/lib" ; then
28842                           LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28843                         fi
28844                       fi
28845                       OPENGL_LIBS="-lMesaGL -lMesaGLU"
28846                     fi
28847                 fi
28848
28849 fi
28850
28851
28852
28853 fi
28854
28855
28856
28857         if test "x$OPENGL_LIBS" = "x"; then
28858             if test "$wxUSE_OPENGL" = "yes"; then
28859                 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28860             else
28861                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28862 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28863                 wxUSE_OPENGL=no
28864                 USE_OPENGL=0
28865             fi
28866         fi
28867     else
28868         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28869 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28870         wxUSE_OPENGL="no"
28871     fi
28872
28873     if test "$wxUSE_OPENGL" = "auto"; then
28874                                 wxUSE_OPENGL=yes
28875     fi
28876
28877     if test "$wxUSE_OPENGL" = "yes"; then
28878         USE_OPENGL=1
28879         $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28880
28881         $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28882
28883         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28884     fi
28885 fi
28886
28887
28888 if test -n "$TOOLKIT" ; then
28889     TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28890 fi
28891
28892
28893
28894 if test "$wxUSE_SHARED" = "yes"; then
28895     case "${host}" in
28896       *-pc-msdosdjgpp )
28897                 wxUSE_SHARED=no
28898         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28899 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28900       ;;
28901     esac
28902 fi
28903
28904 if test "$wxUSE_SHARED" = "yes"; then
28905
28906
28907     case "${host}" in
28908         *-*-cygwin* | *-*-mingw* )
28909                                                                                                 wx_cv_version_script=no
28910             ;;
28911
28912         *)
28913             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28914 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28915 if ${wx_cv_version_script+:} false; then :
28916   $as_echo_n "(cached) " >&6
28917 else
28918
28919                 echo "VER_1 { *; };" >conftest.sym
28920                 echo "int main() { return 0; }" >conftest.cpp
28921
28922                 if { ac_try='
28923                         $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28924                         -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28925   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28926   (eval $ac_try) 2>&5
28927   ac_status=$?
28928   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28929   test $ac_status = 0; }; } ; then
28930                   if test -s conftest.stderr ; then
28931                       wx_cv_version_script=no
28932                   else
28933                       wx_cv_version_script=yes
28934                   fi
28935                 else
28936                   wx_cv_version_script=no
28937                 fi
28938
28939                                                                                                                                                                                                 if test $wx_cv_version_script = yes
28940                 then
28941                   echo "struct B { virtual ~B() { } }; \
28942                         struct D : public B { }; \
28943                         void F() { D d; }" > conftest.cpp
28944
28945                   if { ac_try='
28946                         $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28947                         -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28948   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28949   (eval $ac_try) 2>&5
28950   ac_status=$?
28951   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28952   test $ac_status = 0; }; } &&
28953                      { ac_try='
28954                         $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28955                         -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28956   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28957   (eval $ac_try) 2>&5
28958   ac_status=$?
28959   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28960   test $ac_status = 0; }; }
28961                   then
28962                     if { ac_try='
28963                           $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28964                           -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28965   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28966   (eval $ac_try) 2>&5
28967   ac_status=$?
28968   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28969   test $ac_status = 0; }; }
28970                     then
28971                       wx_cv_version_script=yes
28972                     else
28973                       wx_cv_version_script=no
28974                     fi
28975                   fi
28976                 fi
28977
28978                 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28979                 rm -f conftest1.output conftest2.output conftest3.output
28980
28981 fi
28982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28983 $as_echo "$wx_cv_version_script" >&6; }
28984
28985             if test $wx_cv_version_script = yes ; then
28986                 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28987             fi
28988             ;;
28989     esac
28990
28991
28992             if test "$wxUSE_VISIBILITY" != "no"; then
28993
28994
28995   if test -n "$GCC"; then
28996     CFLAGS_VISIBILITY="-fvisibility=hidden"
28997     CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
28998     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28999 $as_echo_n "checking for symbols visibility support... " >&6; }
29000     if ${wx_cv_cc_visibility+:} false; then :
29001   $as_echo_n "(cached) " >&6
29002 else
29003
29004       wx_save_CXXFLAGS="$CXXFLAGS"
29005       CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29006       ac_ext=cpp
29007 ac_cpp='$CXXCPP $CPPFLAGS'
29008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29011
29012       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29013 /* end confdefs.h.  */
29014
29015          /* we need gcc >= 4.0, older versions with visibility support
29016             didn't have class visibility: */
29017          #if defined(__GNUC__) && __GNUC__ < 4
29018          error this gcc is too old;
29019          #endif
29020
29021          /* visibility only makes sense for ELF shared libs: */
29022          #if !defined(__ELF__) && !defined(__APPLE__)
29023          error this platform has no visibility;
29024          #endif
29025
29026          /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
29027          #if defined(__clang__)
29028          clang compiler is still broken w.r.t. visibility;
29029          #endif
29030
29031          extern __attribute__((__visibility__("hidden"))) int hiddenvar;
29032          extern __attribute__((__visibility__("default"))) int exportedvar;
29033          extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
29034          extern __attribute__((__visibility__("default"))) int exportedfunc (void);
29035          class __attribute__((__visibility__("default"))) Foo {
29036            Foo() {}
29037          };
29038
29039 int
29040 main ()
29041 {
29042
29043   ;
29044   return 0;
29045 }
29046 _ACEOF
29047 if ac_fn_cxx_try_compile "$LINENO"; then :
29048   wx_cv_cc_visibility=yes
29049 else
29050   wx_cv_cc_visibility=no
29051 fi
29052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29053       ac_ext=c
29054 ac_cpp='$CPP $CPPFLAGS'
29055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29058
29059       CXXFLAGS="$wx_save_CXXFLAGS"
29060 fi
29061
29062     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
29063 $as_echo "$wx_cv_cc_visibility" >&6; }
29064     if test $wx_cv_cc_visibility = yes; then
29065                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
29066 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
29067       if ${wx_cv_cc_broken_libstdcxx_visibility+:} false; then :
29068   $as_echo_n "(cached) " >&6
29069 else
29070
29071         wx_save_CXXFLAGS="$CXXFLAGS"
29072         wx_save_LDFLAGS="$LDFLAGS"
29073         CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29074         LDFLAGS="$LDFLAGS -shared -fPIC"
29075         ac_ext=cpp
29076 ac_cpp='$CXXCPP $CPPFLAGS'
29077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29080
29081         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29082 /* end confdefs.h.  */
29083
29084             #include <string>
29085
29086 int
29087 main ()
29088 {
29089
29090             std::string s("hello");
29091             return s.length();
29092
29093   ;
29094   return 0;
29095 }
29096 _ACEOF
29097 if ac_fn_cxx_try_link "$LINENO"; then :
29098   wx_cv_cc_broken_libstdcxx_visibility=no
29099 else
29100   wx_cv_cc_broken_libstdcxx_visibility=yes
29101 fi
29102 rm -f core conftest.err conftest.$ac_objext \
29103     conftest$ac_exeext conftest.$ac_ext
29104         ac_ext=c
29105 ac_cpp='$CPP $CPPFLAGS'
29106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29109
29110         CXXFLAGS="$wx_save_CXXFLAGS"
29111         LDFLAGS="$wx_save_LDFLAGS"
29112 fi
29113
29114       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29115 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29116
29117       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29118         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29119 $as_echo_n "checking whether we can work around it... " >&6; }
29120         if ${wx_cv_cc_visibility_workaround+:} false; then :
29121   $as_echo_n "(cached) " >&6
29122 else
29123
29124           ac_ext=cpp
29125 ac_cpp='$CXXCPP $CPPFLAGS'
29126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29129
29130           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29131 /* end confdefs.h.  */
29132
29133               #pragma GCC visibility push(default)
29134               #include <string>
29135               #pragma GCC visibility pop
29136
29137 int
29138 main ()
29139 {
29140
29141               std::string s("hello");
29142               return s.length();
29143
29144   ;
29145   return 0;
29146 }
29147 _ACEOF
29148 if ac_fn_cxx_try_link "$LINENO"; then :
29149   wx_cv_cc_visibility_workaround=no
29150 else
29151   wx_cv_cc_visibility_workaround=yes
29152 fi
29153 rm -f core conftest.err conftest.$ac_objext \
29154     conftest$ac_exeext conftest.$ac_ext
29155           ac_ext=c
29156 ac_cpp='$CPP $CPPFLAGS'
29157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29160
29161
29162 fi
29163
29164         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29165 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29166
29167         if test $wx_cv_cc_visibility_workaround = no; then
29168                     wx_cv_cc_visibility=no
29169         fi
29170       fi
29171     fi
29172
29173     if test $wx_cv_cc_visibility = yes; then
29174       $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29175
29176       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29177         $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29178
29179       fi
29180     else
29181       CFLAGS_VISIBILITY=""
29182       CXXFLAGS_VISIBILITY=""
29183     fi
29184
29185
29186   fi
29187
29188     fi
29189
29190         if test "x$SUNCXX" = xyes; then
29191         SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
29192         WXCONFIG_RPATH="-R\$libdir"
29193     else
29194     case "${host}" in
29195       *-*-linux* | *-*-gnu* )
29196         SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29197         WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29198         ;;
29199
29200       *-*-solaris2* )
29201
29202                         CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
29203
29204                         saveLdflags="$LDFLAGS"
29205         LDFLAGS="$saveLdflags -Wl,-rpath,/"
29206         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29207 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29208         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29209 /* end confdefs.h.  */
29210
29211 int
29212 main ()
29213 {
29214
29215   ;
29216   return 0;
29217 }
29218 _ACEOF
29219 if ac_fn_c_try_link "$LINENO"; then :
29220
29221                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29222 $as_echo "yes" >&6; }
29223                 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29224                 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29225
29226 else
29227
29228                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29229 $as_echo "no" >&6; }
29230                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29231 $as_echo_n "checking if the linker accepts -R... " >&6; }
29232                 LDFLAGS="$saveLdflags -Wl,-R,/"
29233                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29234 /* end confdefs.h.  */
29235
29236 int
29237 main ()
29238 {
29239
29240   ;
29241   return 0;
29242 }
29243 _ACEOF
29244 if ac_fn_c_try_link "$LINENO"; then :
29245
29246                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29247 $as_echo "yes" >&6; }
29248                         SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29249                         WXCONFIG_RPATH="-Wl,-R,\$libdir"
29250
29251 else
29252
29253                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29254 $as_echo "no" >&6; }
29255
29256 fi
29257 rm -f core conftest.err conftest.$ac_objext \
29258     conftest$ac_exeext conftest.$ac_ext
29259
29260 fi
29261 rm -f core conftest.err conftest.$ac_objext \
29262     conftest$ac_exeext conftest.$ac_ext
29263         LDFLAGS="$saveLdflags"
29264       ;;
29265
29266       *-*-darwin* )
29267         install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29268         if test "$install_name_tool" -a -x "$install_name_tool"; then
29269             DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29270             cat <<EOF >change-install-names
29271 #!/bin/sh
29272 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29273 changes=''
29274 for dep in \${libnames} ; do
29275     changes="\${changes} -change \${4}/\${dep} \${3}/\${dep}"
29276 done
29277 for i in \${libnames} ; do
29278     ${HOST_PREFIX}install_name_tool \${changes} -id \${3}/\${i} \${1}/\${i}
29279 done
29280 ${HOST_PREFIX}install_name_tool \${changes} \${2}/wxrc-${WX_RELEASE}
29281 EOF
29282             chmod +x change-install-names
29283             DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \${DESTDIR}\${bindir} \${libdir} \$(wx_top_builddir)/lib"
29284         fi
29285
29286                                         HEADER_PAD_OPTION="-headerpad_max_install_names"
29287       ;;
29288
29289       *-*-cygwin* | *-*-mingw32* )
29290         ;;
29291
29292       *-*-hpux* )
29293         SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29294         WXCONFIG_RPATH="-Wl,+b,\$libdir"
29295         ;;
29296
29297     esac
29298     fi
29299
29300             WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29301
29302     if test $wxUSE_RPATH = "no"; then
29303         SAMPLES_RPATH_FLAG=''
29304         DYLIB_PATH_POSTLINK=''
29305         WXCONFIG_RPATH=''
29306     fi
29307
29308     SHARED=1
29309
29310 else
29311
29312     config_linkage_component="-static"
29313     SHARED=0
29314
29315 fi
29316
29317
29318 UNICODE=0
29319 lib_unicode_suffix=
29320 WX_CHARTYPE="ansi"
29321 if test "$wxUSE_UNICODE" = "yes"; then
29322     lib_unicode_suffix=u
29323     WX_CHARTYPE="unicode"
29324     UNICODE=1
29325 fi
29326
29327 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29328 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29329
29330 DEBUG_INFO=0
29331 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29332     DEBUG_INFO=1
29333 fi
29334
29335 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29336
29337 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29338
29339 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29340
29341
29342 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29343     WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29344 else
29345     WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29346 fi
29347 if test "${TOOLKIT_DIR}" = "os2"; then
29348     WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29349 else
29350     WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29351 fi
29352
29353
29354
29355 if test "$wxUSE_OLD_COCOA" = 1; then
29356
29357     ac_ext=c
29358 ac_cpp='$CPP $CPPFLAGS'
29359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29362
29363 ac_ext=m
29364
29365     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29366 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29367     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29368 /* end confdefs.h.  */
29369 #include <AppKit/NSEvent.h>
29370 #include <CoreFoundation/CoreFoundation.h>
29371
29372 int
29373 main ()
29374 {
29375
29376   ;
29377   return 0;
29378 }
29379 _ACEOF
29380 if ac_fn_c_try_compile "$LINENO"; then :
29381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29382 $as_echo "no" >&6; }
29383 else
29384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29385 $as_echo "yes" >&6; }
29386         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29387 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29388         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29389 /* end confdefs.h.  */
29390 #define __Point__ 1
29391 #include <AppKit/NSEvent.h>
29392 #include <CoreFoundation/CoreFoundation.h>
29393
29394 int
29395 main ()
29396 {
29397
29398   ;
29399   return 0;
29400 }
29401 _ACEOF
29402 if ac_fn_c_try_compile "$LINENO"; then :
29403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29404 $as_echo "yes" >&6; }
29405             $as_echo "#define __Point__ 1" >>confdefs.h
29406
29407
29408 else
29409   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29411 as_fn_error $? "no
29412 See \`config.log' for more details" "$LINENO" 5; }
29413
29414 fi
29415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29416
29417 fi
29418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29419     ac_ext=c
29420 ac_cpp='$CPP $CPPFLAGS'
29421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29424
29425 fi
29426
29427
29428 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29429 if test "x$ac_cv_type_mode_t" = xyes; then :
29430
29431 else
29432
29433 cat >>confdefs.h <<_ACEOF
29434 #define mode_t int
29435 _ACEOF
29436
29437 fi
29438
29439 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29440 if test "x$ac_cv_type_off_t" = xyes; then :
29441
29442 else
29443
29444 cat >>confdefs.h <<_ACEOF
29445 #define off_t long int
29446 _ACEOF
29447
29448 fi
29449
29450 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29451 if test "x$ac_cv_type_pid_t" = xyes; then :
29452
29453 else
29454
29455 cat >>confdefs.h <<_ACEOF
29456 #define pid_t int
29457 _ACEOF
29458
29459 fi
29460
29461 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29462 if test "x$ac_cv_type_size_t" = xyes; then :
29463
29464 else
29465
29466 cat >>confdefs.h <<_ACEOF
29467 #define size_t unsigned int
29468 _ACEOF
29469
29470 fi
29471
29472
29473 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29474 if test "x$ac_cv_type_ssize_t" = xyes; then :
29475
29476 cat >>confdefs.h <<_ACEOF
29477 #define HAVE_SSIZE_T 1
29478 _ACEOF
29479
29480
29481 fi
29482
29483
29484 ac_ext=cpp
29485 ac_cpp='$CXXCPP $CPPFLAGS'
29486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29489  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29490 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29491 if ${wx_cv_size_t_is_uint+:} false; then :
29492   $as_echo_n "(cached) " >&6
29493 else
29494
29495                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29496 /* end confdefs.h.  */
29497 #include <stddef.h>
29498 int
29499 main ()
29500 {
29501
29502             return 0; }
29503
29504             struct Foo { void foo(size_t); void foo(unsigned int); };
29505
29506             int bar() {
29507
29508   ;
29509   return 0;
29510 }
29511 _ACEOF
29512 if ac_fn_cxx_try_compile "$LINENO"; then :
29513   wx_cv_size_t_is_uint=no
29514 else
29515   wx_cv_size_t_is_uint=yes
29516
29517 fi
29518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29519
29520
29521 fi
29522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29523 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29524
29525 if test "$wx_cv_size_t_is_uint" = "yes"; then
29526     $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29527
29528 else
29529     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29530 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29531 if ${wx_cv_size_t_is_ulong+:} false; then :
29532   $as_echo_n "(cached) " >&6
29533 else
29534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29535 /* end confdefs.h.  */
29536 #include <stddef.h>
29537 int
29538 main ()
29539 {
29540
29541                 return 0; }
29542
29543                 struct Foo { void foo(size_t); void foo(unsigned long); };
29544
29545                 int bar() {
29546
29547   ;
29548   return 0;
29549 }
29550 _ACEOF
29551 if ac_fn_cxx_try_compile "$LINENO"; then :
29552   wx_cv_size_t_is_ulong=no
29553 else
29554   wx_cv_size_t_is_ulong=yes
29555
29556 fi
29557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29558
29559 fi
29560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29561 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29562
29563     if test "$wx_cv_size_t_is_ulong" = "yes"; then
29564         $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29565
29566     fi
29567 fi
29568
29569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29570 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29571 if ${wx_cv_wchar_t_is_separate_type+:} false; then :
29572   $as_echo_n "(cached) " >&6
29573 else
29574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29575 /* end confdefs.h.  */
29576 #include <wchar.h>
29577 int
29578 main ()
29579 {
29580
29581             return 0; }
29582
29583             struct Foo { void foo(wchar_t);
29584                          void foo(unsigned short);
29585                          void foo(unsigned int);
29586                          void foo(unsigned long); };
29587
29588             int bar() {
29589
29590   ;
29591   return 0;
29592 }
29593 _ACEOF
29594 if ac_fn_cxx_try_compile "$LINENO"; then :
29595   wx_cv_wchar_t_is_separate_type=yes
29596 else
29597   wx_cv_wchar_t_is_separate_type=no
29598
29599 fi
29600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29601
29602 fi
29603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29604 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29605
29606 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29607     $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29608
29609 else
29610     $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29611
29612 fi
29613
29614 ac_ext=c
29615 ac_cpp='$CPP $CPPFLAGS'
29616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29619
29620
29621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29622 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29623 if ${wx_cv_struct_pw_gecos+:} false; then :
29624   $as_echo_n "(cached) " >&6
29625 else
29626
29627         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29628 /* end confdefs.h.  */
29629 #include <pwd.h>
29630 int
29631 main ()
29632 {
29633
29634                 char *p;
29635                 struct passwd *pw;
29636                 p = pw->pw_gecos;
29637
29638   ;
29639   return 0;
29640 }
29641 _ACEOF
29642 if ac_fn_c_try_compile "$LINENO"; then :
29643
29644                 wx_cv_struct_pw_gecos=yes
29645
29646 else
29647
29648                 wx_cv_struct_pw_gecos=no
29649
29650
29651 fi
29652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29653
29654
29655 fi
29656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29657 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29658
29659 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29660     $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29661
29662 fi
29663
29664
29665 WCSLEN_FOUND=0
29666 WCHAR_LINK=
29667 for ac_func in wcslen
29668 do :
29669   ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29670 if test "x$ac_cv_func_wcslen" = xyes; then :
29671   cat >>confdefs.h <<_ACEOF
29672 #define HAVE_WCSLEN 1
29673 _ACEOF
29674  WCSLEN_FOUND=1
29675 fi
29676 done
29677
29678
29679 if test "$WCSLEN_FOUND" = 0; then
29680     if test "$TOOLKIT" = "MSW"; then
29681         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29682 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29683 if ${ac_cv_lib_msvcrt_wcslen+:} false; then :
29684   $as_echo_n "(cached) " >&6
29685 else
29686   ac_check_lib_save_LIBS=$LIBS
29687 LIBS="-lmsvcrt  $LIBS"
29688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29689 /* end confdefs.h.  */
29690
29691 /* Override any GCC internal prototype to avoid an error.
29692    Use char because int might match the return type of a GCC
29693    builtin and then its argument prototype would still apply.  */
29694 #ifdef __cplusplus
29695 extern "C"
29696 #endif
29697 char wcslen ();
29698 int
29699 main ()
29700 {
29701 return wcslen ();
29702   ;
29703   return 0;
29704 }
29705 _ACEOF
29706 if ac_fn_c_try_link "$LINENO"; then :
29707   ac_cv_lib_msvcrt_wcslen=yes
29708 else
29709   ac_cv_lib_msvcrt_wcslen=no
29710 fi
29711 rm -f core conftest.err conftest.$ac_objext \
29712     conftest$ac_exeext conftest.$ac_ext
29713 LIBS=$ac_check_lib_save_LIBS
29714 fi
29715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29716 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29717 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes; then :
29718   WCHAR_OK=1
29719 fi
29720
29721     else
29722         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29723 $as_echo_n "checking for wcslen in -lw... " >&6; }
29724 if ${ac_cv_lib_w_wcslen+:} false; then :
29725   $as_echo_n "(cached) " >&6
29726 else
29727   ac_check_lib_save_LIBS=$LIBS
29728 LIBS="-lw  $LIBS"
29729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29730 /* end confdefs.h.  */
29731
29732 /* Override any GCC internal prototype to avoid an error.
29733    Use char because int might match the return type of a GCC
29734    builtin and then its argument prototype would still apply.  */
29735 #ifdef __cplusplus
29736 extern "C"
29737 #endif
29738 char wcslen ();
29739 int
29740 main ()
29741 {
29742 return wcslen ();
29743   ;
29744   return 0;
29745 }
29746 _ACEOF
29747 if ac_fn_c_try_link "$LINENO"; then :
29748   ac_cv_lib_w_wcslen=yes
29749 else
29750   ac_cv_lib_w_wcslen=no
29751 fi
29752 rm -f core conftest.err conftest.$ac_objext \
29753     conftest$ac_exeext conftest.$ac_ext
29754 LIBS=$ac_check_lib_save_LIBS
29755 fi
29756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29757 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29758 if test "x$ac_cv_lib_w_wcslen" = xyes; then :
29759
29760                         WCHAR_LINK=" -lw"
29761                         WCSLEN_FOUND=1
29762
29763 fi
29764
29765     fi
29766 fi
29767
29768 if test "$WCSLEN_FOUND" = 1; then
29769     $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29770
29771 fi
29772
29773 for ac_func in wcsftime
29774 do :
29775   ac_fn_c_check_func "$LINENO" "wcsftime" "ac_cv_func_wcsftime"
29776 if test "x$ac_cv_func_wcsftime" = xyes; then :
29777   cat >>confdefs.h <<_ACEOF
29778 #define HAVE_WCSFTIME 1
29779 _ACEOF
29780
29781 fi
29782 done
29783
29784
29785 if test "$wxUSE_MAC" != 1; then
29786     for ac_func in strnlen wcsdup wcsnlen wcscasecmp wcsncasecmp
29787 do :
29788   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29789 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29790 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29791   cat >>confdefs.h <<_ACEOF
29792 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29793 _ACEOF
29794
29795 fi
29796 done
29797
29798 fi
29799
29800 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29801     CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29802 fi
29803
29804 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29805 "
29806 if test "x$ac_cv_type_mbstate_t" = xyes; then :
29807
29808 cat >>confdefs.h <<_ACEOF
29809 #define HAVE_MBSTATE_T 1
29810 _ACEOF
29811
29812 for ac_func in wcsrtombs
29813 do :
29814   ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29815 if test "x$ac_cv_func_wcsrtombs" = xyes; then :
29816   cat >>confdefs.h <<_ACEOF
29817 #define HAVE_WCSRTOMBS 1
29818 _ACEOF
29819
29820 fi
29821 done
29822
29823 fi
29824
29825
29826 for ac_func in snprintf vsnprintf vsscanf
29827 do :
29828   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29829 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29830 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29831   cat >>confdefs.h <<_ACEOF
29832 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29833 _ACEOF
29834
29835 fi
29836 done
29837
29838
29839 ac_ext=cpp
29840 ac_cpp='$CXXCPP $CPPFLAGS'
29841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29844
29845 if test "$ac_cv_func_vsnprintf" = "yes"; then
29846         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29847 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29848 if ${wx_cv_func_vsnprintf_decl+:} false; then :
29849   $as_echo_n "(cached) " >&6
29850 else
29851
29852                                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29853 /* end confdefs.h.  */
29854
29855                     #include <stdio.h>
29856                     #include <stdarg.h>
29857
29858 int
29859 main ()
29860 {
29861
29862                     char *buf;
29863                     va_list ap;
29864                     vsnprintf(buf, 10u, "%s", ap);
29865
29866   ;
29867   return 0;
29868 }
29869 _ACEOF
29870 if ac_fn_cxx_try_compile "$LINENO"; then :
29871   wx_cv_func_vsnprintf_decl=yes
29872 else
29873   wx_cv_func_vsnprintf_decl=no
29874
29875 fi
29876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29877
29878
29879 fi
29880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29881 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29882
29883     if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29884         $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29885
29886
29887                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29888 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29889 if ${wx_cv_func_broken_vsnprintf_decl+:} false; then :
29890   $as_echo_n "(cached) " >&6
29891 else
29892
29893                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29894 /* end confdefs.h.  */
29895
29896                         #include <stdio.h>
29897                         #include <stdarg.h>
29898                         #ifdef __MSL__
29899                         #if __MSL__ >= 0x6000
29900                         namespace std {}
29901                         using namespace std;
29902                         #endif
29903                         #endif
29904
29905 int
29906 main ()
29907 {
29908
29909                         char *buf;
29910                         va_list ap;
29911                         const char *fmt = "%s";
29912                         vsnprintf(buf, 10u, fmt, ap);
29913
29914   ;
29915   return 0;
29916 }
29917 _ACEOF
29918 if ac_fn_cxx_try_compile "$LINENO"; then :
29919   wx_cv_func_broken_vsnprintf_decl=no
29920 else
29921   wx_cv_func_broken_vsnprintf_decl=yes
29922
29923 fi
29924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29925
29926
29927 fi
29928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29929 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29930
29931         if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29932             $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29933
29934         fi
29935     fi
29936 fi
29937
29938 if test "$ac_cv_func_snprintf" = "yes"; then
29939     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29940 $as_echo_n "checking for snprintf declaration... " >&6; }
29941 if ${wx_cv_func_snprintf_decl+:} false; then :
29942   $as_echo_n "(cached) " >&6
29943 else
29944
29945             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29946 /* end confdefs.h.  */
29947
29948                     #include <stdio.h>
29949                     #include <stdarg.h>
29950                     #ifdef __MSL__
29951                     #if __MSL__ >= 0x6000
29952                     namespace std {}
29953                     using namespace std;
29954                     #endif
29955                     #endif
29956
29957 int
29958 main ()
29959 {
29960
29961                     char *buf;
29962                     snprintf(buf, 10u, "%s", "wx");
29963
29964   ;
29965   return 0;
29966 }
29967 _ACEOF
29968 if ac_fn_cxx_try_compile "$LINENO"; then :
29969   wx_cv_func_snprintf_decl=yes
29970 else
29971   wx_cv_func_snprintf_decl=no
29972
29973 fi
29974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29975
29976
29977 fi
29978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29979 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29980
29981     if test "$wx_cv_func_snprintf_decl" = "yes"; then
29982         $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29983
29984     fi
29985
29986     if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29987
29988                                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29989 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29990 if ${wx_cv_func_snprintf_pos_params+:} false; then :
29991   $as_echo_n "(cached) " >&6
29992 else
29993
29994                 if test "$cross_compiling" = yes; then :
29995
29996                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29997 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29998 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29999 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
30000                         wx_cv_func_snprintf_pos_params=no
30001
30002
30003 else
30004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30005 /* end confdefs.h.  */
30006
30007                         #include <stdio.h>
30008
30009                         int main (void)
30010                         {
30011                             char buffer[128];
30012                             snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
30013                             if (strcmp ("2 3 1", buffer) == 0)
30014                                 exit (0);
30015                             exit (1);
30016                         }
30017
30018 _ACEOF
30019 if ac_fn_cxx_try_run "$LINENO"; then :
30020   wx_cv_func_snprintf_pos_params=no
30021 else
30022   wx_cv_func_snprintf_pos_params=yes
30023 fi
30024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30025   conftest.$ac_objext conftest.beam conftest.$ac_ext
30026 fi
30027
30028
30029
30030 fi
30031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
30032 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
30033
30034         if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
30035             $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
30036
30037         fi
30038     fi
30039 fi
30040
30041 if test "$ac_cv_func_vsscanf" = "yes"; then
30042     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
30043 $as_echo_n "checking for vsscanf declaration... " >&6; }
30044 if ${wx_cv_func_vsscanf_decl+:} false; then :
30045   $as_echo_n "(cached) " >&6
30046 else
30047
30048             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30049 /* end confdefs.h.  */
30050
30051                     #include <stdio.h>
30052                     #include <stdarg.h>
30053                     #ifdef __MSL__
30054                     #if __MSL__ >= 0x6000
30055                     namespace std {}
30056                     using namespace std;
30057                     #endif
30058                     #endif
30059
30060 int
30061 main ()
30062 {
30063
30064                     char *buf;
30065                     va_list args;
30066                     vsscanf(buf, "%s", args);
30067
30068   ;
30069   return 0;
30070 }
30071 _ACEOF
30072 if ac_fn_cxx_try_compile "$LINENO"; then :
30073   wx_cv_func_vsscanf_decl=yes
30074 else
30075   wx_cv_func_vsscanf_decl=no
30076
30077 fi
30078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30079
30080
30081 fi
30082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
30083 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
30084
30085     if test "$wx_cv_func_vsscanf_decl" = "yes"; then
30086         $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
30087
30088     fi
30089 fi
30090 ac_ext=c
30091 ac_cpp='$CPP $CPPFLAGS'
30092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30095
30096
30097 if test "$wxUSE_UNICODE" = yes; then
30098
30099             wchar_headers="#include <stdio.h>
30100 #include <wchar.h>"
30101     case "${host}" in
30102         *-*-solaris2* )
30103             for ac_header in widec.h
30104 do :
30105   ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
30106 "
30107 if test "x$ac_cv_header_widec_h" = xyes; then :
30108   cat >>confdefs.h <<_ACEOF
30109 #define HAVE_WIDEC_H 1
30110 _ACEOF
30111
30112 fi
30113
30114 done
30115
30116             if test "$ac_cv_header_widec_h" = "yes"; then
30117                 wchar_headers="$wchar_headers
30118 #include <widec.h>"
30119             fi
30120     esac
30121
30122
30123   for wx_func in putws fputws wprintf vswprintf vswscanf
30124   do
30125     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30126 $as_echo_n "checking for $wx_func... " >&6; }
30127 if eval \${wx_cv_func_$wx_func+:} false; then :
30128   $as_echo_n "(cached) " >&6
30129 else
30130
30131         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30132 /* end confdefs.h.  */
30133
30134
30135                 $wchar_headers
30136                 $ac_includes_default
30137
30138 int
30139 main ()
30140 {
30141
30142                 #ifndef $wx_func
30143                   &$wx_func;
30144                 #endif
30145
30146
30147   ;
30148   return 0;
30149 }
30150
30151 _ACEOF
30152 if ac_fn_c_try_link "$LINENO"; then :
30153   eval wx_cv_func_$wx_func=yes
30154 else
30155   eval wx_cv_func_$wx_func=no
30156 fi
30157 rm -f core conftest.err conftest.$ac_objext \
30158     conftest$ac_exeext conftest.$ac_ext
30159
30160 fi
30161 eval ac_res=\$wx_cv_func_$wx_func
30162                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30163 $as_echo "$ac_res" >&6; }
30164
30165     if eval test \$wx_cv_func_$wx_func = yes
30166     then
30167       cat >>confdefs.h <<_ACEOF
30168 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30169 _ACEOF
30170
30171
30172     else
30173       :
30174
30175     fi
30176   done
30177
30178
30179                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30180 $as_echo_n "checking for _vsnwprintf... " >&6; }
30181     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30182 /* end confdefs.h.  */
30183 #include <wchar.h>
30184 int
30185 main ()
30186 {
30187 &_vsnwprintf;
30188   ;
30189   return 0;
30190 }
30191 _ACEOF
30192 if ac_fn_c_try_compile "$LINENO"; then :
30193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30194 $as_echo "yes" >&6; }
30195                     $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30196
30197 else
30198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30199 $as_echo "no" >&6; }
30200 fi
30201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
30202 fi
30203
30204 if test "$wxUSE_FILE" = "yes"; then
30205
30206   for wx_func in fsync
30207   do
30208     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30209 $as_echo_n "checking for $wx_func... " >&6; }
30210 if eval \${wx_cv_func_$wx_func+:} false; then :
30211   $as_echo_n "(cached) " >&6
30212 else
30213
30214         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30215 /* end confdefs.h.  */
30216
30217
30218
30219                 $ac_includes_default
30220
30221 int
30222 main ()
30223 {
30224
30225                 #ifndef $wx_func
30226                   &$wx_func;
30227                 #endif
30228
30229
30230   ;
30231   return 0;
30232 }
30233
30234 _ACEOF
30235 if ac_fn_c_try_link "$LINENO"; then :
30236   eval wx_cv_func_$wx_func=yes
30237 else
30238   eval wx_cv_func_$wx_func=no
30239 fi
30240 rm -f core conftest.err conftest.$ac_objext \
30241     conftest$ac_exeext conftest.$ac_ext
30242
30243 fi
30244 eval ac_res=\$wx_cv_func_$wx_func
30245                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30246 $as_echo "$ac_res" >&6; }
30247
30248     if eval test \$wx_cv_func_$wx_func = yes
30249     then
30250       cat >>confdefs.h <<_ACEOF
30251 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30252 _ACEOF
30253
30254
30255     else
30256       :
30257
30258     fi
30259   done
30260
30261 fi
30262
30263 ac_ext=cpp
30264 ac_cpp='$CXXCPP $CPPFLAGS'
30265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30268
30269
30270   for wx_func in round
30271   do
30272     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30273 $as_echo_n "checking for $wx_func... " >&6; }
30274 if eval \${wx_cv_func_$wx_func+:} false; then :
30275   $as_echo_n "(cached) " >&6
30276 else
30277
30278         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30279 /* end confdefs.h.  */
30280
30281
30282                 #include <math.h>
30283                 $ac_includes_default
30284
30285 int
30286 main ()
30287 {
30288
30289                 #ifndef $wx_func
30290                   &$wx_func;
30291                 #endif
30292
30293
30294   ;
30295   return 0;
30296 }
30297
30298 _ACEOF
30299 if ac_fn_cxx_try_link "$LINENO"; then :
30300   eval wx_cv_func_$wx_func=yes
30301 else
30302   eval wx_cv_func_$wx_func=no
30303 fi
30304 rm -f core conftest.err conftest.$ac_objext \
30305     conftest$ac_exeext conftest.$ac_ext
30306
30307 fi
30308 eval ac_res=\$wx_cv_func_$wx_func
30309                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30310 $as_echo "$ac_res" >&6; }
30311
30312     if eval test \$wx_cv_func_$wx_func = yes
30313     then
30314       cat >>confdefs.h <<_ACEOF
30315 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30316 _ACEOF
30317
30318
30319     else
30320       :
30321
30322     fi
30323   done
30324
30325 ac_ext=c
30326 ac_cpp='$CPP $CPPFLAGS'
30327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30330
30331
30332 if test "$TOOLKIT" != "MSW"; then
30333
30334 if test "$wxUSE_LIBICONV" != "no" ; then
30335
30336
30337
30338 # Check whether --with-libiconv-prefix was given.
30339 if test "${with_libiconv_prefix+set}" = set; then :
30340   withval=$with_libiconv_prefix;
30341     for dir in `echo "$withval" | tr : ' '`; do
30342       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30343       if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30344     done
30345
30346 fi
30347
30348
30349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30350 $as_echo_n "checking for iconv... " >&6; }
30351 if ${am_cv_func_iconv+:} false; then :
30352   $as_echo_n "(cached) " >&6
30353 else
30354
30355     am_cv_func_iconv="no, consider installing GNU libiconv"
30356     am_cv_lib_iconv=no
30357     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30358 /* end confdefs.h.  */
30359 #include <stdlib.h>
30360 #include <iconv.h>
30361 int
30362 main ()
30363 {
30364 iconv_t cd = iconv_open("","");
30365        iconv(cd,NULL,NULL,NULL,NULL);
30366        iconv_close(cd);
30367   ;
30368   return 0;
30369 }
30370 _ACEOF
30371 if ac_fn_c_try_link "$LINENO"; then :
30372   am_cv_func_iconv=yes
30373 fi
30374 rm -f core conftest.err conftest.$ac_objext \
30375     conftest$ac_exeext conftest.$ac_ext
30376     if test "$am_cv_func_iconv" != yes; then
30377       am_save_LIBS="$LIBS"
30378       LIBS="$LIBS -liconv"
30379       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30380 /* end confdefs.h.  */
30381 #include <stdlib.h>
30382 #include <iconv.h>
30383 int
30384 main ()
30385 {
30386 iconv_t cd = iconv_open("","");
30387          iconv(cd,NULL,NULL,NULL,NULL);
30388          iconv_close(cd);
30389   ;
30390   return 0;
30391 }
30392 _ACEOF
30393 if ac_fn_c_try_link "$LINENO"; then :
30394   am_cv_lib_iconv=yes
30395         am_cv_func_iconv=yes
30396 fi
30397 rm -f core conftest.err conftest.$ac_objext \
30398     conftest$ac_exeext conftest.$ac_ext
30399       LIBS="$am_save_LIBS"
30400     fi
30401
30402 fi
30403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30404 $as_echo "$am_cv_func_iconv" >&6; }
30405   if test "$am_cv_func_iconv" = yes; then
30406
30407 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30408
30409     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30410 $as_echo_n "checking if iconv needs const... " >&6; }
30411 if ${wx_cv_func_iconv_const+:} false; then :
30412   $as_echo_n "(cached) " >&6
30413 else
30414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30415 /* end confdefs.h.  */
30416
30417 #include <stdlib.h>
30418 #include <iconv.h>
30419 extern
30420 #ifdef __cplusplus
30421 "C"
30422 #endif
30423 #if defined(__STDC__) || defined(__cplusplus)
30424 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30425 #else
30426 size_t iconv();
30427 #endif
30428
30429 int
30430 main ()
30431 {
30432
30433   ;
30434   return 0;
30435 }
30436 _ACEOF
30437 if ac_fn_c_try_compile "$LINENO"; then :
30438   wx_cv_func_iconv_const="no"
30439 else
30440   wx_cv_func_iconv_const="yes"
30441
30442 fi
30443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30444
30445 fi
30446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30447 $as_echo "$wx_cv_func_iconv_const" >&6; }
30448
30449     iconv_const=
30450     if test "x$wx_cv_func_iconv_const" = "xyes"; then
30451         iconv_const="const"
30452     fi
30453
30454
30455 cat >>confdefs.h <<_ACEOF
30456 #define ICONV_CONST $iconv_const
30457 _ACEOF
30458
30459   fi
30460   LIBICONV=
30461   if test "$am_cv_lib_iconv" = yes; then
30462     LIBICONV="-liconv"
30463   fi
30464
30465
30466     LIBS="$LIBICONV $LIBS"
30467 fi
30468
30469 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30470     for ac_func in sigaction
30471 do :
30472   ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30473 if test "x$ac_cv_func_sigaction" = xyes; then :
30474   cat >>confdefs.h <<_ACEOF
30475 #define HAVE_SIGACTION 1
30476 _ACEOF
30477
30478 fi
30479 done
30480
30481
30482     if test "$ac_cv_func_sigaction" = "no"; then
30483         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30484 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30485         wxUSE_ON_FATAL_EXCEPTION=no
30486     fi
30487
30488     if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30489       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30490 $as_echo_n "checking for sa_handler type... " >&6; }
30491 if ${wx_cv_type_sa_handler+:} false; then :
30492   $as_echo_n "(cached) " >&6
30493 else
30494
30495                 ac_ext=cpp
30496 ac_cpp='$CXXCPP $CPPFLAGS'
30497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30500
30501         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30502 /* end confdefs.h.  */
30503 #include <signal.h>
30504 int
30505 main ()
30506 {
30507
30508                         extern void testSigHandler(int);
30509
30510                         struct sigaction sa;
30511                         sa.sa_handler = testSigHandler;
30512
30513   ;
30514   return 0;
30515 }
30516 _ACEOF
30517 if ac_fn_cxx_try_compile "$LINENO"; then :
30518
30519                         wx_cv_type_sa_handler=int
30520
30521 else
30522
30523                         wx_cv_type_sa_handler=void
30524
30525 fi
30526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30527         ac_ext=c
30528 ac_cpp='$CPP $CPPFLAGS'
30529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30532
30533
30534 fi
30535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30536 $as_echo "$wx_cv_type_sa_handler" >&6; }
30537
30538       cat >>confdefs.h <<_ACEOF
30539 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30540 _ACEOF
30541
30542     fi
30543 fi
30544
30545 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30546     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30547 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30548 if ${wx_cv_func_backtrace+:} false; then :
30549   $as_echo_n "(cached) " >&6
30550 else
30551
30552             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
30553 $as_echo_n "checking for library containing backtrace... " >&6; }
30554 if ${ac_cv_search_backtrace+:} false; then :
30555   $as_echo_n "(cached) " >&6
30556 else
30557   ac_func_search_save_LIBS=$LIBS
30558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30559 /* end confdefs.h.  */
30560
30561 /* Override any GCC internal prototype to avoid an error.
30562    Use char because int might match the return type of a GCC
30563    builtin and then its argument prototype would still apply.  */
30564 #ifdef __cplusplus
30565 extern "C"
30566 #endif
30567 char backtrace ();
30568 int
30569 main ()
30570 {
30571 return backtrace ();
30572   ;
30573   return 0;
30574 }
30575 _ACEOF
30576 for ac_lib in '' execinfo; do
30577   if test -z "$ac_lib"; then
30578     ac_res="none required"
30579   else
30580     ac_res=-l$ac_lib
30581     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
30582   fi
30583   if ac_fn_c_try_link "$LINENO"; then :
30584   ac_cv_search_backtrace=$ac_res
30585 fi
30586 rm -f core conftest.err conftest.$ac_objext \
30587     conftest$ac_exeext
30588   if ${ac_cv_search_backtrace+:} false; then :
30589   break
30590 fi
30591 done
30592 if ${ac_cv_search_backtrace+:} false; then :
30593
30594 else
30595   ac_cv_search_backtrace=no
30596 fi
30597 rm conftest.$ac_ext
30598 LIBS=$ac_func_search_save_LIBS
30599 fi
30600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
30601 $as_echo "$ac_cv_search_backtrace" >&6; }
30602 ac_res=$ac_cv_search_backtrace
30603 if test "$ac_res" != no; then :
30604   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
30605
30606                     ac_ext=cpp
30607 ac_cpp='$CXXCPP $CPPFLAGS'
30608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30611
30612                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30613 /* end confdefs.h.  */
30614 #include <execinfo.h>
30615 int
30616 main ()
30617 {
30618
30619                             void *trace[1];
30620                             char **messages;
30621                             backtrace(trace, 1);
30622                             messages = backtrace_symbols(trace, 1);
30623
30624   ;
30625   return 0;
30626 }
30627 _ACEOF
30628 if ac_fn_cxx_try_link "$LINENO"; then :
30629   wx_cv_func_backtrace=yes
30630 else
30631   wx_cv_func_backtrace=no
30632
30633 fi
30634 rm -f core conftest.err conftest.$ac_objext \
30635     conftest$ac_exeext conftest.$ac_ext
30636                     ac_ext=c
30637 ac_cpp='$CPP $CPPFLAGS'
30638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30641
30642
30643 else
30644   wx_cv_func_backtrace=no
30645
30646 fi
30647
30648
30649
30650 fi
30651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30652 $as_echo "$wx_cv_func_backtrace" >&6; }
30653
30654     if test "$wx_cv_func_backtrace" = "no"; then
30655         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30656 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30657         wxUSE_STACKWALKER=no
30658     else
30659         if test "$ac_cv_header_cxxabi_h" = "yes"; then
30660             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30661 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30662 if ${wx_cv_func_cxa_demangle+:} false; then :
30663   $as_echo_n "(cached) " >&6
30664 else
30665
30666                     ac_ext=cpp
30667 ac_cpp='$CXXCPP $CPPFLAGS'
30668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30671
30672                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30673 /* end confdefs.h.  */
30674 #include <cxxabi.h>
30675 int
30676 main ()
30677 {
30678
30679                             int rc;
30680                             __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30681
30682   ;
30683   return 0;
30684 }
30685 _ACEOF
30686 if ac_fn_cxx_try_link "$LINENO"; then :
30687   wx_cv_func_cxa_demangle=yes
30688 else
30689   wx_cv_func_cxa_demangle=no
30690
30691 fi
30692 rm -f core conftest.err conftest.$ac_objext \
30693     conftest$ac_exeext conftest.$ac_ext
30694                     ac_ext=c
30695 ac_cpp='$CPP $CPPFLAGS'
30696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30699
30700
30701
30702 fi
30703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30704 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30705         else
30706             wx_cv_func_cxa_demangle=no
30707         fi
30708
30709         if test "$wx_cv_func_cxa_demangle" = "yes"; then
30710             $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30711
30712         fi
30713     fi
30714 fi
30715
30716 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30717     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30718 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30719     wxUSE_STACKWALKER=no
30720 fi
30721
30722
30723 for ac_func in mkstemp mktemp
30724 do :
30725   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30726 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30727 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30728   cat >>confdefs.h <<_ACEOF
30729 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30730 _ACEOF
30731  break
30732 fi
30733 done
30734
30735
30736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30737 $as_echo_n "checking for statfs... " >&6; }
30738 if ${wx_cv_func_statfs+:} false; then :
30739   $as_echo_n "(cached) " >&6
30740 else
30741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30742 /* end confdefs.h.  */
30743
30744              #if defined(__BSD__)
30745              #include <sys/param.h>
30746              #include <sys/mount.h>
30747              #else
30748              #include <sys/vfs.h>
30749              #endif
30750
30751 int
30752 main ()
30753 {
30754
30755              long l;
30756              struct statfs fs;
30757              statfs("/", &fs);
30758              l = fs.f_bsize;
30759              l += fs.f_blocks;
30760              l += fs.f_bavail;
30761
30762   ;
30763   return 0;
30764 }
30765 _ACEOF
30766 if ac_fn_c_try_compile "$LINENO"; then :
30767   wx_cv_func_statfs=yes
30768 else
30769   wx_cv_func_statfs=no
30770
30771 fi
30772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30773
30774 fi
30775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30776 $as_echo "$wx_cv_func_statfs" >&6; }
30777
30778 if test "$wx_cv_func_statfs" = "yes"; then
30779         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30780 $as_echo_n "checking for statfs declaration... " >&6; }
30781 if ${wx_cv_func_statfs_decl+:} false; then :
30782   $as_echo_n "(cached) " >&6
30783 else
30784   ac_ext=cpp
30785 ac_cpp='$CXXCPP $CPPFLAGS'
30786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30789
30790         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30791 /* end confdefs.h.  */
30792
30793                  #if defined(__BSD__)
30794                  #include <sys/param.h>
30795                  #include <sys/mount.h>
30796                  #else
30797                  #include <sys/vfs.h>
30798                  #endif
30799
30800 int
30801 main ()
30802 {
30803
30804                 struct statfs fs;
30805                 statfs("", &fs);
30806
30807   ;
30808   return 0;
30809 }
30810 _ACEOF
30811 if ac_fn_cxx_try_compile "$LINENO"; then :
30812   wx_cv_func_statfs_decl=yes
30813 else
30814   wx_cv_func_statfs_decl=no
30815
30816 fi
30817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30818         ac_ext=c
30819 ac_cpp='$CPP $CPPFLAGS'
30820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30823
30824
30825 fi
30826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30827 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30828
30829     if test "$wx_cv_func_statfs_decl" = "yes"; then
30830         $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30831
30832     fi
30833
30834     wx_cv_type_statvfs_t="struct statfs"
30835     $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30836
30837 else
30838     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30839 $as_echo_n "checking for statvfs... " >&6; }
30840 if ${wx_cv_func_statvfs+:} false; then :
30841   $as_echo_n "(cached) " >&6
30842 else
30843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30844 /* end confdefs.h.  */
30845
30846                 #include <stddef.h>
30847                 #include <sys/statvfs.h>
30848
30849 int
30850 main ()
30851 {
30852
30853                 statvfs("/", NULL);
30854
30855   ;
30856   return 0;
30857 }
30858 _ACEOF
30859 if ac_fn_c_try_compile "$LINENO"; then :
30860   wx_cv_func_statvfs=yes
30861 else
30862   wx_cv_func_statvfs=no
30863
30864 fi
30865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30866
30867 fi
30868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30869 $as_echo "$wx_cv_func_statvfs" >&6; }
30870
30871     if test "$wx_cv_func_statvfs" = "yes"; then
30872                                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30873 $as_echo_n "checking for statvfs argument type... " >&6; }
30874 if ${wx_cv_type_statvfs_t+:} false; then :
30875   $as_echo_n "(cached) " >&6
30876 else
30877   ac_ext=cpp
30878 ac_cpp='$CXXCPP $CPPFLAGS'
30879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30882
30883             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30884 /* end confdefs.h.  */
30885
30886                     #include <sys/statvfs.h>
30887
30888 int
30889 main ()
30890 {
30891
30892                     long l;
30893                     statvfs_t fs;
30894                     statvfs("/", &fs);
30895                     l = fs.f_bsize;
30896                     l += fs.f_blocks;
30897                     l += fs.f_bavail;
30898
30899   ;
30900   return 0;
30901 }
30902 _ACEOF
30903 if ac_fn_cxx_try_compile "$LINENO"; then :
30904   wx_cv_type_statvfs_t=statvfs_t
30905 else
30906
30907                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30908 /* end confdefs.h.  */
30909
30910                             #include <sys/statvfs.h>
30911
30912 int
30913 main ()
30914 {
30915
30916                             long l;
30917                             struct statvfs fs;
30918                             statvfs("/", &fs);
30919                             l = fs.f_bsize;
30920                             l += fs.f_blocks;
30921                             l += fs.f_bavail;
30922
30923   ;
30924   return 0;
30925 }
30926 _ACEOF
30927 if ac_fn_cxx_try_compile "$LINENO"; then :
30928   wx_cv_type_statvfs_t="struct statvfs"
30929 else
30930   wx_cv_type_statvfs_t="unknown"
30931
30932 fi
30933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30934
30935
30936 fi
30937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30938             ac_ext=c
30939 ac_cpp='$CPP $CPPFLAGS'
30940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30943
30944
30945 fi
30946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30947 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30948
30949         if test "$wx_cv_type_statvfs_t" != "unknown"; then
30950             $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30951
30952         fi
30953     else
30954                 wx_cv_type_statvfs_t="unknown"
30955     fi
30956 fi
30957
30958 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30959     cat >>confdefs.h <<_ACEOF
30960 #define WX_STATFS_T $wx_cv_type_statvfs_t
30961 _ACEOF
30962
30963 else
30964     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30965 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30966 fi
30967
30968 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30969     for ac_func in fcntl flock
30970 do :
30971   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30972 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30973 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30974   cat >>confdefs.h <<_ACEOF
30975 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30976 _ACEOF
30977  break
30978 fi
30979 done
30980
30981
30982     if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30983         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30984 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30985         wxUSE_SNGLINST_CHECKER=no
30986     fi
30987 fi
30988
30989 for ac_func in setenv putenv
30990 do :
30991   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30992 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30993 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30994   cat >>confdefs.h <<_ACEOF
30995 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30996 _ACEOF
30997  break
30998 fi
30999 done
31000
31001 if test "$ac_cv_func_setenv" = "yes"; then
31002     for ac_func in unsetenv
31003 do :
31004   ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
31005 if test "x$ac_cv_func_unsetenv" = xyes; then :
31006   cat >>confdefs.h <<_ACEOF
31007 #define HAVE_UNSETENV 1
31008 _ACEOF
31009
31010 fi
31011 done
31012
31013 fi
31014
31015 HAVE_SOME_SLEEP_FUNC=0
31016 if test "$USE_BEOS" = 1; then
31017             $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
31018
31019     HAVE_SOME_SLEEP_FUNC=1
31020 fi
31021
31022 if test "$USE_DARWIN" = 1; then
31023             $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
31024
31025     HAVE_SOME_SLEEP_FUNC=1
31026 fi
31027
31028 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31029         POSIX4_LINK=
31030     for ac_func in nanosleep
31031 do :
31032   ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
31033 if test "x$ac_cv_func_nanosleep" = xyes; then :
31034   cat >>confdefs.h <<_ACEOF
31035 #define HAVE_NANOSLEEP 1
31036 _ACEOF
31037  $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31038
31039 else
31040
31041             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
31042 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
31043 if ${ac_cv_lib_posix4_nanosleep+:} false; then :
31044   $as_echo_n "(cached) " >&6
31045 else
31046   ac_check_lib_save_LIBS=$LIBS
31047 LIBS="-lposix4  $LIBS"
31048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31049 /* end confdefs.h.  */
31050
31051 /* Override any GCC internal prototype to avoid an error.
31052    Use char because int might match the return type of a GCC
31053    builtin and then its argument prototype would still apply.  */
31054 #ifdef __cplusplus
31055 extern "C"
31056 #endif
31057 char nanosleep ();
31058 int
31059 main ()
31060 {
31061 return nanosleep ();
31062   ;
31063   return 0;
31064 }
31065 _ACEOF
31066 if ac_fn_c_try_link "$LINENO"; then :
31067   ac_cv_lib_posix4_nanosleep=yes
31068 else
31069   ac_cv_lib_posix4_nanosleep=no
31070 fi
31071 rm -f core conftest.err conftest.$ac_objext \
31072     conftest$ac_exeext conftest.$ac_ext
31073 LIBS=$ac_check_lib_save_LIBS
31074 fi
31075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
31076 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
31077 if test "x$ac_cv_lib_posix4_nanosleep" = xyes; then :
31078
31079                     $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31080
31081                     POSIX4_LINK=" -lposix4"
31082
31083 else
31084
31085
31086   for wx_func in usleep
31087   do
31088     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31089 $as_echo_n "checking for $wx_func... " >&6; }
31090 if eval \${wx_cv_func_$wx_func+:} false; then :
31091   $as_echo_n "(cached) " >&6
31092 else
31093
31094         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31095 /* end confdefs.h.  */
31096
31097
31098
31099                 $ac_includes_default
31100
31101 int
31102 main ()
31103 {
31104
31105                 #ifndef $wx_func
31106                   &$wx_func;
31107                 #endif
31108
31109
31110   ;
31111   return 0;
31112 }
31113
31114 _ACEOF
31115 if ac_fn_c_try_link "$LINENO"; then :
31116   eval wx_cv_func_$wx_func=yes
31117 else
31118   eval wx_cv_func_$wx_func=no
31119 fi
31120 rm -f core conftest.err conftest.$ac_objext \
31121     conftest$ac_exeext conftest.$ac_ext
31122
31123 fi
31124 eval ac_res=\$wx_cv_func_$wx_func
31125                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31126 $as_echo "$ac_res" >&6; }
31127
31128     if eval test \$wx_cv_func_$wx_func = yes
31129     then
31130       cat >>confdefs.h <<_ACEOF
31131 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31132 _ACEOF
31133
31134
31135     else
31136       :
31137       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
31138 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31139
31140     fi
31141   done
31142
31143
31144
31145 fi
31146
31147
31148
31149 fi
31150 done
31151
31152 fi
31153
31154
31155   for wx_func in uname
31156   do
31157     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31158 $as_echo_n "checking for $wx_func... " >&6; }
31159 if eval \${wx_cv_func_$wx_func+:} false; then :
31160   $as_echo_n "(cached) " >&6
31161 else
31162
31163         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31164 /* end confdefs.h.  */
31165
31166
31167                 #include <sys/utsname.h>
31168                 $ac_includes_default
31169
31170 int
31171 main ()
31172 {
31173
31174                 #ifndef $wx_func
31175                   &$wx_func;
31176                 #endif
31177
31178
31179   ;
31180   return 0;
31181 }
31182
31183 _ACEOF
31184 if ac_fn_c_try_link "$LINENO"; then :
31185   eval wx_cv_func_$wx_func=yes
31186 else
31187   eval wx_cv_func_$wx_func=no
31188 fi
31189 rm -f core conftest.err conftest.$ac_objext \
31190     conftest$ac_exeext conftest.$ac_ext
31191
31192 fi
31193 eval ac_res=\$wx_cv_func_$wx_func
31194                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31195 $as_echo "$ac_res" >&6; }
31196
31197     if eval test \$wx_cv_func_$wx_func = yes
31198     then
31199       cat >>confdefs.h <<_ACEOF
31200 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31201 _ACEOF
31202
31203
31204     else
31205       :
31206
31207     fi
31208   done
31209
31210 if test "$wx_cv_func_uname" != yes; then
31211
31212   for wx_func in gethostname
31213   do
31214     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31215 $as_echo_n "checking for $wx_func... " >&6; }
31216 if eval \${wx_cv_func_$wx_func+:} false; then :
31217   $as_echo_n "(cached) " >&6
31218 else
31219
31220         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31221 /* end confdefs.h.  */
31222
31223
31224
31225                 $ac_includes_default
31226
31227 int
31228 main ()
31229 {
31230
31231                 #ifndef $wx_func
31232                   &$wx_func;
31233                 #endif
31234
31235
31236   ;
31237   return 0;
31238 }
31239
31240 _ACEOF
31241 if ac_fn_c_try_link "$LINENO"; then :
31242   eval wx_cv_func_$wx_func=yes
31243 else
31244   eval wx_cv_func_$wx_func=no
31245 fi
31246 rm -f core conftest.err conftest.$ac_objext \
31247     conftest$ac_exeext conftest.$ac_ext
31248
31249 fi
31250 eval ac_res=\$wx_cv_func_$wx_func
31251                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31252 $as_echo "$ac_res" >&6; }
31253
31254     if eval test \$wx_cv_func_$wx_func = yes
31255     then
31256       cat >>confdefs.h <<_ACEOF
31257 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31258 _ACEOF
31259
31260
31261     else
31262       :
31263
31264     fi
31265   done
31266
31267 fi
31268
31269
31270   for wx_func in strtok_r
31271   do
31272     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31273 $as_echo_n "checking for $wx_func... " >&6; }
31274 if eval \${wx_cv_func_$wx_func+:} false; then :
31275   $as_echo_n "(cached) " >&6
31276 else
31277
31278         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31279 /* end confdefs.h.  */
31280
31281
31282                 #define _REENTRANT
31283                 $ac_includes_default
31284
31285 int
31286 main ()
31287 {
31288
31289                 #ifndef $wx_func
31290                   &$wx_func;
31291                 #endif
31292
31293
31294   ;
31295   return 0;
31296 }
31297
31298 _ACEOF
31299 if ac_fn_c_try_link "$LINENO"; then :
31300   eval wx_cv_func_$wx_func=yes
31301 else
31302   eval wx_cv_func_$wx_func=no
31303 fi
31304 rm -f core conftest.err conftest.$ac_objext \
31305     conftest$ac_exeext conftest.$ac_ext
31306
31307 fi
31308 eval ac_res=\$wx_cv_func_$wx_func
31309                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31310 $as_echo "$ac_res" >&6; }
31311
31312     if eval test \$wx_cv_func_$wx_func = yes
31313     then
31314       cat >>confdefs.h <<_ACEOF
31315 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31316 _ACEOF
31317
31318
31319     else
31320       :
31321
31322     fi
31323   done
31324
31325
31326 INET_LINK=
31327 for ac_func in inet_addr
31328 do :
31329   ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31330 if test "x$ac_cv_func_inet_addr" = xyes; then :
31331   cat >>confdefs.h <<_ACEOF
31332 #define HAVE_INET_ADDR 1
31333 _ACEOF
31334  $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31335
31336 else
31337
31338         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31339 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31340 if ${ac_cv_lib_nsl_inet_addr+:} false; then :
31341   $as_echo_n "(cached) " >&6
31342 else
31343   ac_check_lib_save_LIBS=$LIBS
31344 LIBS="-lnsl  $LIBS"
31345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31346 /* end confdefs.h.  */
31347
31348 /* Override any GCC internal prototype to avoid an error.
31349    Use char because int might match the return type of a GCC
31350    builtin and then its argument prototype would still apply.  */
31351 #ifdef __cplusplus
31352 extern "C"
31353 #endif
31354 char inet_addr ();
31355 int
31356 main ()
31357 {
31358 return inet_addr ();
31359   ;
31360   return 0;
31361 }
31362 _ACEOF
31363 if ac_fn_c_try_link "$LINENO"; then :
31364   ac_cv_lib_nsl_inet_addr=yes
31365 else
31366   ac_cv_lib_nsl_inet_addr=no
31367 fi
31368 rm -f core conftest.err conftest.$ac_objext \
31369     conftest$ac_exeext conftest.$ac_ext
31370 LIBS=$ac_check_lib_save_LIBS
31371 fi
31372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31373 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31374 if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
31375   INET_LINK="nsl"
31376 else
31377
31378                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31379 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31380 if ${ac_cv_lib_resolv_inet_addr+:} false; then :
31381   $as_echo_n "(cached) " >&6
31382 else
31383   ac_check_lib_save_LIBS=$LIBS
31384 LIBS="-lresolv  $LIBS"
31385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31386 /* end confdefs.h.  */
31387
31388 /* Override any GCC internal prototype to avoid an error.
31389    Use char because int might match the return type of a GCC
31390    builtin and then its argument prototype would still apply.  */
31391 #ifdef __cplusplus
31392 extern "C"
31393 #endif
31394 char inet_addr ();
31395 int
31396 main ()
31397 {
31398 return inet_addr ();
31399   ;
31400   return 0;
31401 }
31402 _ACEOF
31403 if ac_fn_c_try_link "$LINENO"; then :
31404   ac_cv_lib_resolv_inet_addr=yes
31405 else
31406   ac_cv_lib_resolv_inet_addr=no
31407 fi
31408 rm -f core conftest.err conftest.$ac_objext \
31409     conftest$ac_exeext conftest.$ac_ext
31410 LIBS=$ac_check_lib_save_LIBS
31411 fi
31412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31413 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31414 if test "x$ac_cv_lib_resolv_inet_addr" = xyes; then :
31415   INET_LINK="resolv"
31416 else
31417
31418                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31419 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31420 if ${ac_cv_lib_socket_inet_addr+:} false; then :
31421   $as_echo_n "(cached) " >&6
31422 else
31423   ac_check_lib_save_LIBS=$LIBS
31424 LIBS="-lsocket  $LIBS"
31425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31426 /* end confdefs.h.  */
31427
31428 /* Override any GCC internal prototype to avoid an error.
31429    Use char because int might match the return type of a GCC
31430    builtin and then its argument prototype would still apply.  */
31431 #ifdef __cplusplus
31432 extern "C"
31433 #endif
31434 char inet_addr ();
31435 int
31436 main ()
31437 {
31438 return inet_addr ();
31439   ;
31440   return 0;
31441 }
31442 _ACEOF
31443 if ac_fn_c_try_link "$LINENO"; then :
31444   ac_cv_lib_socket_inet_addr=yes
31445 else
31446   ac_cv_lib_socket_inet_addr=no
31447 fi
31448 rm -f core conftest.err conftest.$ac_objext \
31449     conftest$ac_exeext conftest.$ac_ext
31450 LIBS=$ac_check_lib_save_LIBS
31451 fi
31452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31453 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31454 if test "x$ac_cv_lib_socket_inet_addr" = xyes; then :
31455   INET_LINK="socket"
31456
31457 fi
31458
31459
31460
31461 fi
31462
31463
31464
31465 fi
31466
31467
31468
31469 fi
31470 done
31471
31472
31473 for ac_func in inet_aton
31474 do :
31475   ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31476 if test "x$ac_cv_func_inet_aton" = xyes; then :
31477   cat >>confdefs.h <<_ACEOF
31478 #define HAVE_INET_ATON 1
31479 _ACEOF
31480  $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31481
31482 else
31483
31484                         as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31486 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31487 if eval \${$as_ac_Lib+:} false; then :
31488   $as_echo_n "(cached) " >&6
31489 else
31490   ac_check_lib_save_LIBS=$LIBS
31491 LIBS="-l$INET_LINK  $LIBS"
31492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31493 /* end confdefs.h.  */
31494
31495 /* Override any GCC internal prototype to avoid an error.
31496    Use char because int might match the return type of a GCC
31497    builtin and then its argument prototype would still apply.  */
31498 #ifdef __cplusplus
31499 extern "C"
31500 #endif
31501 char inet_aton ();
31502 int
31503 main ()
31504 {
31505 return inet_aton ();
31506   ;
31507   return 0;
31508 }
31509 _ACEOF
31510 if ac_fn_c_try_link "$LINENO"; then :
31511   eval "$as_ac_Lib=yes"
31512 else
31513   eval "$as_ac_Lib=no"
31514 fi
31515 rm -f core conftest.err conftest.$ac_objext \
31516     conftest$ac_exeext conftest.$ac_ext
31517 LIBS=$ac_check_lib_save_LIBS
31518 fi
31519 eval ac_res=\$$as_ac_Lib
31520                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31521 $as_echo "$ac_res" >&6; }
31522 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31523   $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31524
31525 fi
31526
31527
31528 fi
31529 done
31530
31531
31532 if test "x$INET_LINK" != "x"; then
31533     $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31534
31535     INET_LINK=" -l$INET_LINK"
31536 fi
31537
31538
31539   for wx_func in fdopen
31540   do
31541     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31542 $as_echo_n "checking for $wx_func... " >&6; }
31543 if eval \${wx_cv_func_$wx_func+:} false; then :
31544   $as_echo_n "(cached) " >&6
31545 else
31546
31547         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31548 /* end confdefs.h.  */
31549
31550
31551
31552                 $ac_includes_default
31553
31554 int
31555 main ()
31556 {
31557
31558                 #ifndef $wx_func
31559                   &$wx_func;
31560                 #endif
31561
31562
31563   ;
31564   return 0;
31565 }
31566
31567 _ACEOF
31568 if ac_fn_c_try_link "$LINENO"; then :
31569   eval wx_cv_func_$wx_func=yes
31570 else
31571   eval wx_cv_func_$wx_func=no
31572 fi
31573 rm -f core conftest.err conftest.$ac_objext \
31574     conftest$ac_exeext conftest.$ac_ext
31575
31576 fi
31577 eval ac_res=\$wx_cv_func_$wx_func
31578                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31579 $as_echo "$ac_res" >&6; }
31580
31581     if eval test \$wx_cv_func_$wx_func = yes
31582     then
31583       cat >>confdefs.h <<_ACEOF
31584 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31585 _ACEOF
31586
31587
31588     else
31589       :
31590
31591     fi
31592   done
31593
31594
31595 if test "$wxUSE_TARSTREAM" = "yes"; then
31596
31597   for wx_func in sysconf
31598   do
31599     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31600 $as_echo_n "checking for $wx_func... " >&6; }
31601 if eval \${wx_cv_func_$wx_func+:} false; then :
31602   $as_echo_n "(cached) " >&6
31603 else
31604
31605         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31606 /* end confdefs.h.  */
31607
31608
31609
31610                 $ac_includes_default
31611
31612 int
31613 main ()
31614 {
31615
31616                 #ifndef $wx_func
31617                   &$wx_func;
31618                 #endif
31619
31620
31621   ;
31622   return 0;
31623 }
31624
31625 _ACEOF
31626 if ac_fn_c_try_link "$LINENO"; then :
31627   eval wx_cv_func_$wx_func=yes
31628 else
31629   eval wx_cv_func_$wx_func=no
31630 fi
31631 rm -f core conftest.err conftest.$ac_objext \
31632     conftest$ac_exeext conftest.$ac_ext
31633
31634 fi
31635 eval ac_res=\$wx_cv_func_$wx_func
31636                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31637 $as_echo "$ac_res" >&6; }
31638
31639     if eval test \$wx_cv_func_$wx_func = yes
31640     then
31641       cat >>confdefs.h <<_ACEOF
31642 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31643 _ACEOF
31644
31645
31646     else
31647       :
31648
31649     fi
31650   done
31651
31652
31653
31654   for wx_func in getpwuid_r
31655   do
31656     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31657 $as_echo_n "checking for $wx_func... " >&6; }
31658 if eval \${wx_cv_func_$wx_func+:} false; then :
31659   $as_echo_n "(cached) " >&6
31660 else
31661
31662         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31663 /* end confdefs.h.  */
31664
31665
31666
31667                     #define _REENTRANT
31668                     #include <pwd.h>
31669
31670                 $ac_includes_default
31671
31672 int
31673 main ()
31674 {
31675
31676                 #ifndef $wx_func
31677                   &$wx_func;
31678                 #endif
31679
31680                     struct passwd pw, *ppw;
31681                     char buf[1024];
31682                     getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31683
31684
31685   ;
31686   return 0;
31687 }
31688
31689 _ACEOF
31690 if ac_fn_c_try_link "$LINENO"; then :
31691   eval wx_cv_func_$wx_func=yes
31692 else
31693   eval wx_cv_func_$wx_func=no
31694 fi
31695 rm -f core conftest.err conftest.$ac_objext \
31696     conftest$ac_exeext conftest.$ac_ext
31697
31698 fi
31699 eval ac_res=\$wx_cv_func_$wx_func
31700                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31701 $as_echo "$ac_res" >&6; }
31702
31703     if eval test \$wx_cv_func_$wx_func = yes
31704     then
31705       cat >>confdefs.h <<_ACEOF
31706 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31707 _ACEOF
31708
31709
31710     else
31711       :
31712
31713     fi
31714   done
31715
31716
31717
31718   for wx_func in getgrgid_r
31719   do
31720     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31721 $as_echo_n "checking for $wx_func... " >&6; }
31722 if eval \${wx_cv_func_$wx_func+:} false; then :
31723   $as_echo_n "(cached) " >&6
31724 else
31725
31726         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31727 /* end confdefs.h.  */
31728
31729
31730
31731                     #define _REENTRANT
31732                     #include <grp.h>
31733
31734                 $ac_includes_default
31735
31736 int
31737 main ()
31738 {
31739
31740                 #ifndef $wx_func
31741                   &$wx_func;
31742                 #endif
31743
31744                     struct group grp, *pgrp;
31745                     char buf[1024];
31746                     getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31747
31748
31749   ;
31750   return 0;
31751 }
31752
31753 _ACEOF
31754 if ac_fn_c_try_link "$LINENO"; then :
31755   eval wx_cv_func_$wx_func=yes
31756 else
31757   eval wx_cv_func_$wx_func=no
31758 fi
31759 rm -f core conftest.err conftest.$ac_objext \
31760     conftest$ac_exeext conftest.$ac_ext
31761
31762 fi
31763 eval ac_res=\$wx_cv_func_$wx_func
31764                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31765 $as_echo "$ac_res" >&6; }
31766
31767     if eval test \$wx_cv_func_$wx_func = yes
31768     then
31769       cat >>confdefs.h <<_ACEOF
31770 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31771 _ACEOF
31772
31773
31774     else
31775       :
31776
31777     fi
31778   done
31779
31780 fi
31781
31782 fi
31783
31784
31785
31786 cat >confcache <<\_ACEOF
31787 # This file is a shell script that caches the results of configure
31788 # tests run on this system so they can be shared between configure
31789 # scripts and configure runs, see configure's option --config-cache.
31790 # It is not useful on other systems.  If it contains results you don't
31791 # want to keep, you may remove or edit it.
31792 #
31793 # config.status only pays attention to the cache file if you give it
31794 # the --recheck option to rerun configure.
31795 #
31796 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31797 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31798 # following values.
31799
31800 _ACEOF
31801
31802 # The following way of writing the cache mishandles newlines in values,
31803 # but we know of no workaround that is simple, portable, and efficient.
31804 # So, we kill variables containing newlines.
31805 # Ultrix sh set writes to stderr and can't be redirected directly,
31806 # and sets the high bit in the cache file unless we assign to the vars.
31807 (
31808   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31809     eval ac_val=\$$ac_var
31810     case $ac_val in #(
31811     *${as_nl}*)
31812       case $ac_var in #(
31813       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31814 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31815       esac
31816       case $ac_var in #(
31817       _ | IFS | as_nl) ;; #(
31818       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31819       *) { eval $ac_var=; unset $ac_var;} ;;
31820       esac ;;
31821     esac
31822   done
31823
31824   (set) 2>&1 |
31825     case $as_nl`(ac_space=' '; set) 2>&1` in #(
31826     *${as_nl}ac_space=\ *)
31827       # `set' does not quote correctly, so add quotes: double-quote
31828       # substitution turns \\\\ into \\, and sed turns \\ into \.
31829       sed -n \
31830         "s/'/'\\\\''/g;
31831           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31832       ;; #(
31833     *)
31834       # `set' quotes correctly as required by POSIX, so do not add quotes.
31835       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31836       ;;
31837     esac |
31838     sort
31839 ) |
31840   sed '
31841      /^ac_cv_env_/b end
31842      t clear
31843      :clear
31844      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31845      t end
31846      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31847      :end' >>confcache
31848 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31849   if test -w "$cache_file"; then
31850     if test "x$cache_file" != "x/dev/null"; then
31851       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31852 $as_echo "$as_me: updating cache $cache_file" >&6;}
31853       if test ! -f "$cache_file" || test -h "$cache_file"; then
31854         cat confcache >"$cache_file"
31855       else
31856         case $cache_file in #(
31857         */* | ?:*)
31858           mv -f confcache "$cache_file"$$ &&
31859           mv -f "$cache_file"$$ "$cache_file" ;; #(
31860         *)
31861           mv -f confcache "$cache_file" ;;
31862         esac
31863       fi
31864     fi
31865   else
31866     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31867 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31868   fi
31869 fi
31870 rm -f confcache
31871
31872
31873 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31874
31875
31876     THREADS_LINK=
31877     THREADS_CFLAGS=
31878
31879     if test "$wxUSE_THREADS" = "yes" ; then
31880         if test "$USE_BEOS" = 1; then
31881             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31882 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31883             wxUSE_THREADS="no"
31884         fi
31885     fi
31886
31887     if test "$wxUSE_THREADS" = "yes" ; then
31888
31889
31890                                 THREAD_OPTS="-pthread"
31891         if test "x$SUNCXX" = xyes; then
31892             THREAD_OPTS="-mt lthread $THREAD_OPTS"
31893         fi
31894
31895         case "${host}" in
31896           *-*-solaris2* | *-*-sunos4* )
31897                 if test "x$GCC" = "xyes"; then
31898                                         THREAD_OPTS="-pthreads $THREAD_OPTS"
31899                 fi
31900                 ;;
31901           *-*-freebsd*)
31902                                                 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31903                 ;;
31904           *-*-darwin* | *-*-cygwin* )
31905                                                 THREAD_OPTS=""
31906                 ;;
31907           *-*-aix*)
31908                                 THREAD_OPTS="pthreads"
31909                 ;;
31910           *-hp-hpux* )
31911                 if test "x$GCC" = "xyes"; then
31912                                         $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
31913                         THREAD_OPTS=""
31914                 else
31915                                                             THREAD_OPTS="-mt"
31916                 fi
31917                 ;;
31918
31919           *-*-irix* )
31920                                                                 if test "x$GCC" = "xyes"; then
31921                     THREAD_OPTS=""
31922                 fi
31923                 ;;
31924
31925           *-*-qnx*)
31926                                                 THREAD_OPTS=""
31927                 ;;
31928
31929           *-*-*UnixWare*)
31930                                 if test "x$GCC" != "xyes"; then
31931                     THREAD_OPTS="-Ethread"
31932                 fi
31933                 ;;
31934         esac
31935
31936         case "${host}" in
31937             *-*-qnx*)
31938                                                                 THREAD_OPTS="none pthread"
31939                 ;;
31940
31941             *)
31942                                                                                 THREAD_OPTS="$THREAD_OPTS pthread none"
31943                 ;;
31944         esac
31945
31946                 THREADS_OK=no
31947         for flag in $THREAD_OPTS; do
31948             case $flag in
31949                 none)
31950                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31951 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31952                     ;;
31953
31954                 -*)
31955                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31956 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31957                     THREADS_CFLAGS="$flag"
31958                     ;;
31959
31960                 *)
31961                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31962 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31963                     THREADS_LINK="-l$flag"
31964                     ;;
31965               esac
31966
31967               save_LIBS="$LIBS"
31968               save_CFLAGS="$CFLAGS"
31969               LIBS="$THREADS_LINK $LIBS"
31970               CFLAGS="$THREADS_CFLAGS $CFLAGS"
31971
31972               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31973 /* end confdefs.h.  */
31974 #include <pthread.h>
31975 int
31976 main ()
31977 {
31978 pthread_create(0,0,0,0);
31979   ;
31980   return 0;
31981 }
31982 _ACEOF
31983 if ac_fn_c_try_link "$LINENO"; then :
31984   THREADS_OK=yes
31985 fi
31986 rm -f core conftest.err conftest.$ac_objext \
31987     conftest$ac_exeext conftest.$ac_ext
31988
31989               LIBS="$save_LIBS"
31990               CFLAGS="$save_CFLAGS"
31991
31992               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31993 $as_echo "$THREADS_OK" >&6; }
31994               if test "x$THREADS_OK" = "xyes"; then
31995                       break;
31996               fi
31997
31998               THREADS_LINK=""
31999               THREADS_CFLAGS=""
32000       done
32001
32002       if test "x$THREADS_OK" != "xyes"; then
32003           wxUSE_THREADS=no
32004           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
32005 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32006       else
32007                                                                                           LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32008           WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
32009           LIBS="$THREADS_LINK $LIBS"
32010
32011           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
32012 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
32013           flag=no
32014           case "${host}" in
32015             *-aix*)
32016                                                                                                                 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32017                 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
32018                 flag="-D_THREAD_SAFE"
32019                 ;;
32020             *-freebsd*)
32021                 flag="-D_THREAD_SAFE"
32022                 ;;
32023             *-hp-hpux* )
32024                 flag="-D_REENTRANT"
32025                 if test "x$GCC" != "xyes"; then
32026                                         flag="$flag -D_RWSTD_MULTI_THREAD"
32027                 fi
32028                 ;;
32029             *solaris* | alpha*-osf*)
32030                 flag="-D_REENTRANT"
32031                 ;;
32032           esac
32033           { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
32034 $as_echo "${flag}" >&6; }
32035           if test "x$flag" != xno; then
32036               THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32037           fi
32038
32039                     WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
32040       fi
32041     fi
32042
32043         if test "$wxUSE_THREADS" = "yes" ; then
32044         for ac_func in pthread_setconcurrency
32045 do :
32046   ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
32047 if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
32048   cat >>confdefs.h <<_ACEOF
32049 #define HAVE_PTHREAD_SETCONCURRENCY 1
32050 _ACEOF
32051  $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
32052
32053 else
32054
32055                 for ac_func in thr_setconcurrency
32056 do :
32057   ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
32058 if test "x$ac_cv_func_thr_setconcurrency" = xyes; then :
32059   cat >>confdefs.h <<_ACEOF
32060 #define HAVE_THR_SETCONCURRENCY 1
32061 _ACEOF
32062  $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
32063
32064 else
32065   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
32066 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
32067 fi
32068 done
32069
32070
32071 fi
32072 done
32073
32074
32075                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
32076 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
32077 if ${wx_cv_func_pthread_cleanup+:} false; then :
32078   $as_echo_n "(cached) " >&6
32079 else
32080
32081                                 ac_ext=cpp
32082 ac_cpp='$CXXCPP $CPPFLAGS'
32083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32086
32087         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32088 /* end confdefs.h.  */
32089 #include <pthread.h>
32090                void ThreadCleanupFunc(void *p);
32091
32092 int
32093 main ()
32094 {
32095
32096                 void *p;
32097                 pthread_cleanup_push(ThreadCleanupFunc, p);
32098                 pthread_cleanup_pop(0);
32099
32100   ;
32101   return 0;
32102 }
32103 _ACEOF
32104 if ac_fn_cxx_try_compile "$LINENO"; then :
32105
32106                wx_cv_func_pthread_cleanup=yes
32107
32108 else
32109
32110                wx_cv_func_pthread_cleanup=no
32111
32112
32113 fi
32114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32115         ac_ext=c
32116 ac_cpp='$CPP $CPPFLAGS'
32117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32120
32121
32122 fi
32123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
32124 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
32125       if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
32126         $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
32127
32128       fi
32129
32130       for ac_header in sched.h
32131 do :
32132   ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
32133 "
32134 if test "x$ac_cv_header_sched_h" = xyes; then :
32135   cat >>confdefs.h <<_ACEOF
32136 #define HAVE_SCHED_H 1
32137 _ACEOF
32138
32139 fi
32140
32141 done
32142
32143       if test "$ac_cv_header_sched_h" = "yes"; then
32144           ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
32145 if test "x$ac_cv_func_sched_yield" = xyes; then :
32146   $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32147
32148 else
32149
32150                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
32151 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
32152 if ${ac_cv_lib_posix4_sched_yield+:} false; then :
32153   $as_echo_n "(cached) " >&6
32154 else
32155   ac_check_lib_save_LIBS=$LIBS
32156 LIBS="-lposix4  $LIBS"
32157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32158 /* end confdefs.h.  */
32159
32160 /* Override any GCC internal prototype to avoid an error.
32161    Use char because int might match the return type of a GCC
32162    builtin and then its argument prototype would still apply.  */
32163 #ifdef __cplusplus
32164 extern "C"
32165 #endif
32166 char sched_yield ();
32167 int
32168 main ()
32169 {
32170 return sched_yield ();
32171   ;
32172   return 0;
32173 }
32174 _ACEOF
32175 if ac_fn_c_try_link "$LINENO"; then :
32176   ac_cv_lib_posix4_sched_yield=yes
32177 else
32178   ac_cv_lib_posix4_sched_yield=no
32179 fi
32180 rm -f core conftest.err conftest.$ac_objext \
32181     conftest$ac_exeext conftest.$ac_ext
32182 LIBS=$ac_check_lib_save_LIBS
32183 fi
32184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32185 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32186 if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
32187   $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32188  POSIX4_LINK=" -lposix4"
32189 else
32190   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32191 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32192
32193 fi
32194
32195
32196
32197 fi
32198
32199       fi
32200
32201                                           HAVE_PRIOR_FUNCS=0
32202       ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32203 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then :
32204   ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32205 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then :
32206   ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32207 if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
32208   HAVE_PRIOR_FUNCS=1
32209 else
32210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32211 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32212 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false; then :
32213   $as_echo_n "(cached) " >&6
32214 else
32215   ac_check_lib_save_LIBS=$LIBS
32216 LIBS="-lposix4  $LIBS"
32217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32218 /* end confdefs.h.  */
32219
32220 /* Override any GCC internal prototype to avoid an error.
32221    Use char because int might match the return type of a GCC
32222    builtin and then its argument prototype would still apply.  */
32223 #ifdef __cplusplus
32224 extern "C"
32225 #endif
32226 char sched_get_priority_max ();
32227 int
32228 main ()
32229 {
32230 return sched_get_priority_max ();
32231   ;
32232   return 0;
32233 }
32234 _ACEOF
32235 if ac_fn_c_try_link "$LINENO"; then :
32236   ac_cv_lib_posix4_sched_get_priority_max=yes
32237 else
32238   ac_cv_lib_posix4_sched_get_priority_max=no
32239 fi
32240 rm -f core conftest.err conftest.$ac_objext \
32241     conftest$ac_exeext conftest.$ac_ext
32242 LIBS=$ac_check_lib_save_LIBS
32243 fi
32244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32245 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32246 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes; then :
32247
32248                                 HAVE_PRIOR_FUNCS=1
32249                                 POSIX4_LINK=" -lposix4"
32250
32251 fi
32252
32253
32254 fi
32255
32256
32257 fi
32258
32259
32260 fi
32261
32262
32263       if test "$HAVE_PRIOR_FUNCS" = 1; then
32264         $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32265
32266       else
32267         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32268 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32269       fi
32270
32271       ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32272 if test "x$ac_cv_func_pthread_cancel" = xyes; then :
32273   $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32274
32275 else
32276   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32277 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32278 fi
32279
32280
32281       ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32282 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then :
32283   $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32284
32285 else
32286   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32287 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32288 fi
32289
32290
32291       ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32292 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then :
32293   $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32294
32295 fi
32296
32297
32298
32299       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32300 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32301 if ${wx_cv_type_pthread_mutexattr_t+:} false; then :
32302   $as_echo_n "(cached) " >&6
32303 else
32304
32305         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32306 /* end confdefs.h.  */
32307 #include <pthread.h>
32308 int
32309 main ()
32310 {
32311
32312                pthread_mutexattr_t attr;
32313                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32314
32315   ;
32316   return 0;
32317 }
32318 _ACEOF
32319 if ac_fn_c_try_compile "$LINENO"; then :
32320   wx_cv_type_pthread_mutexattr_t=yes
32321 else
32322   wx_cv_type_pthread_mutexattr_t=no
32323
32324 fi
32325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32326
32327 fi
32328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32329 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32330
32331       if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32332         $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32333
32334
32335                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32336 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32337 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false; then :
32338   $as_echo_n "(cached) " >&6
32339 else
32340
32341                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32342 /* end confdefs.h.  */
32343 #include <pthread.h>
32344 int
32345 main ()
32346 {
32347
32348                                pthread_mutexattr_t attr;
32349                                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32350
32351   ;
32352   return 0;
32353 }
32354 _ACEOF
32355 if ac_fn_c_try_compile "$LINENO"; then :
32356   wx_cv_func_pthread_mutexattr_settype_decl=yes
32357 else
32358   wx_cv_func_pthread_mutexattr_settype_decl=no
32359
32360 fi
32361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32362
32363 fi
32364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32365 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32366         if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32367             $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32368
32369         fi
32370       else
32371                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32372 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32373 if ${wx_cv_type_pthread_rec_mutex_init+:} false; then :
32374   $as_echo_n "(cached) " >&6
32375 else
32376
32377             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32378 /* end confdefs.h.  */
32379 #include <pthread.h>
32380 int
32381 main ()
32382 {
32383
32384                     pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32385
32386   ;
32387   return 0;
32388 }
32389 _ACEOF
32390 if ac_fn_c_try_compile "$LINENO"; then :
32391
32392                     wx_cv_type_pthread_rec_mutex_init=yes
32393
32394 else
32395
32396                     wx_cv_type_pthread_rec_mutex_init=no
32397
32398
32399 fi
32400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32401
32402 fi
32403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32404 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32405         if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32406           $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32407
32408         else
32409                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32410 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32411         fi
32412       fi
32413
32414       if test "$wxUSE_COMPILER_TLS" = "auto"; then
32415           if test "$USE_NETBSD" = 1; then
32416               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32417 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32418               wxUSE_COMPILER_TLS=no
32419           else
32420               wxUSE_COMPILER_TLS=yes
32421           fi
32422       fi
32423
32424       if test "$wxUSE_COMPILER_TLS" = "yes"; then
32425                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32426 $as_echo_n "checking for __thread keyword... " >&6; }
32427 if ${wx_cv_cc___thread+:} false; then :
32428   $as_echo_n "(cached) " >&6
32429 else
32430
32431                   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32432 /* end confdefs.h.  */
32433 #include <pthread.h>
32434 int
32435 main ()
32436 {
32437
32438                           static __thread int n = 0;
32439                           static __thread int *p = 0;
32440
32441   ;
32442   return 0;
32443 }
32444 _ACEOF
32445 if ac_fn_c_try_compile "$LINENO"; then :
32446   wx_cv_cc___thread=yes
32447 else
32448   wx_cv_cc___thread=no
32449
32450 fi
32451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32452
32453
32454 fi
32455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32456 $as_echo "$wx_cv_cc___thread" >&6; }
32457
32458           if test "$wx_cv_cc___thread" = "yes"; then
32459
32460   GXX_VERSION=""
32461
32462
32463
32464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32465 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32466
32467   if  test "x$GCC" = "xyes" ; then :
32468
32469     if  test -z "" ; then :
32470
32471       ax_gcc_option_test="int main()
32472 {
32473         return 0;
32474 }"
32475
32476 else
32477
32478       ax_gcc_option_test=""
32479
32480 fi
32481
32482     # Dump the test program to file
32483     cat <<EOF > conftest.c
32484 $ax_gcc_option_test
32485 EOF
32486
32487     # Dump back the file to the log, useful for debugging purposes
32488     { ac_try='cat conftest.c 1>&5'
32489   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32490   (eval $ac_try) 2>&5
32491   ac_status=$?
32492   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32493   test $ac_status = 0; }; }
32494
32495     if  { ac_try='$CC  -dumpversion -c conftest.c 1>&5'
32496   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32497   (eval $ac_try) 2>&5
32498   ac_status=$?
32499   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32500   test $ac_status = 0; }; } ; then :
32501
32502                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32503 $as_echo "yes" >&6; }
32504
32505     ax_gcc_version_option=yes
32506
32507
32508 else
32509
32510                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32511 $as_echo "no" >&6; }
32512
32513     ax_gcc_version_option=no
32514
32515
32516 fi
32517
32518 else
32519
32520     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32521 $as_echo "no gcc available" >&6; }
32522
32523 fi
32524
32525   if test "x$GXX" = "xyes"; then :
32526
32527     if test "x$ax_gxx_version_option" != "no"; then :
32528
32529       { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32530 $as_echo_n "checking gxx version... " >&6; }
32531 if ${ax_cv_gxx_version+:} false; then :
32532   $as_echo_n "(cached) " >&6
32533 else
32534
32535         ax_cv_gxx_version="`$CXX -dumpversion`"
32536         if test "x$ax_cv_gxx_version" = "x"; then :
32537
32538           ax_cv_gxx_version=""
32539
32540 fi
32541
32542 fi
32543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32544 $as_echo "$ax_cv_gxx_version" >&6; }
32545       GXX_VERSION=$ax_cv_gxx_version
32546
32547 fi
32548
32549 fi
32550
32551
32552               if test -n "$ax_cv_gxx_version"; then
32553                                                                                                                                                                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32554 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32555                   case "$ax_cv_gxx_version" in
32556                     1.* | 2.* | 3.* )
32557                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32558 $as_echo "no, it's broken" >&6; }
32559                         wx_cv_cc___thread=no
32560                         ;;
32561                     *)
32562                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32563 $as_echo "yes, it works" >&6; }
32564                         ;;
32565                   esac
32566               fi
32567           fi
32568
32569           if test "$wx_cv_cc___thread" = "yes"; then
32570             $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32571
32572           fi
32573         fi
32574
32575         if test "$ac_cv_header_cxxabi_h" = "yes"; then
32576             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
32577 $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
32578 if ${wx_cv_type_abi_forced_unwind+:} false; then :
32579   $as_echo_n "(cached) " >&6
32580 else
32581
32582                     ac_ext=cpp
32583 ac_cpp='$CXXCPP $CPPFLAGS'
32584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32587
32588                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32589 /* end confdefs.h.  */
32590 #include <cxxabi.h>
32591 int
32592 main ()
32593 {
32594
32595                             void foo(abi::__forced_unwind&);
32596
32597   ;
32598   return 0;
32599 }
32600 _ACEOF
32601 if ac_fn_cxx_try_compile "$LINENO"; then :
32602   wx_cv_type_abi_forced_unwind=yes
32603 else
32604   wx_cv_type_abi_forced_unwind=no
32605
32606 fi
32607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32608                     ac_ext=c
32609 ac_cpp='$CPP $CPPFLAGS'
32610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32613
32614
32615
32616 fi
32617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
32618 $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
32619         else
32620             wx_cv_type_abi_forced_unwind=no
32621         fi
32622
32623         if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
32624             $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
32625
32626         fi
32627     fi
32628
32629 else
32630     if test "$wxUSE_THREADS" = "yes" ; then
32631       case "${host}" in
32632         x86_64-*-mingw32* )
32633         ;;
32634         *-*-mingw32* )
32635                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32636 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32637 if ${wx_cv_cflags_mthread+:} false; then :
32638   $as_echo_n "(cached) " >&6
32639 else
32640
32641                     CFLAGS_OLD="$CFLAGS"
32642                     CFLAGS="-mthreads $CFLAGS"
32643                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32644 /* end confdefs.h.  */
32645
32646 int
32647 main ()
32648 {
32649
32650   ;
32651   return 0;
32652 }
32653 _ACEOF
32654 if ac_fn_c_try_compile "$LINENO"; then :
32655   wx_cv_cflags_mthread=yes
32656 else
32657   wx_cv_cflags_mthread=no
32658
32659 fi
32660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32661
32662
32663 fi
32664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32665 $as_echo "$wx_cv_cflags_mthread" >&6; }
32666
32667             if test "$wx_cv_cflags_mthread" = "yes"; then
32668                                 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32669                 LDFLAGS="$LDFLAGS -mthreads"
32670             else
32671                                 CFLAGS="$CFLAGS_OLD"
32672             fi
32673         ;;
32674         *-pc-os2*emx )
32675             WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32676             LDFLAGS="$LDFLAGS -Zmt"
32677         ;;
32678       esac
32679     fi
32680 fi
32681
32682 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32683 if test "x$ac_cv_func_localtime_r" = xyes; then :
32684    $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32685
32686 fi
32687
32688 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32689 if test "x$ac_cv_func_gmtime_r" = xyes; then :
32690    $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32691
32692 fi
32693
32694
32695
32696
32697     ac_ext=c
32698 ac_cpp='$CPP $CPPFLAGS'
32699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32702
32703     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32704 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32705
32706     if ${ac_cv_func_which_gethostbyname_r+:} false; then :
32707   $as_echo_n "(cached) " >&6
32708 else
32709
32710
32711 ################################################################
32712
32713 ac_cv_func_which_gethostbyname_r=unknown
32714
32715 #
32716 # ONE ARGUMENT (sanity check)
32717 #
32718
32719 # This should fail, as there is no variant of gethostbyname_r() that takes
32720 # a single argument. If it actually compiles, then we can assume that
32721 # netdb.h is not declaring the function, and the compiler is thereby
32722 # assuming an implicit prototype. In which case, we're out of luck.
32723 #
32724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32725 /* end confdefs.h.  */
32726 #include <netdb.h>
32727 int
32728 main ()
32729 {
32730
32731             char *name = "www.gnu.org";
32732             (void)gethostbyname_r(name) /* ; */
32733
32734
32735   ;
32736   return 0;
32737 }
32738 _ACEOF
32739 if ac_fn_c_try_compile "$LINENO"; then :
32740   ac_cv_func_which_gethostbyname_r=no
32741
32742 fi
32743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32744
32745 #
32746 # SIX ARGUMENTS
32747 # (e.g. Linux)
32748 #
32749
32750 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32751
32752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32753 /* end confdefs.h.  */
32754 #include <netdb.h>
32755 int
32756 main ()
32757 {
32758
32759             char *name = "www.gnu.org";
32760             struct hostent ret, *retp;
32761             char buf[1024];
32762             int buflen = 1024;
32763             int my_h_errno;
32764             (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32765
32766
32767   ;
32768   return 0;
32769 }
32770 _ACEOF
32771 if ac_fn_c_try_compile "$LINENO"; then :
32772   ac_cv_func_which_gethostbyname_r=six
32773
32774 fi
32775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32776
32777 fi
32778
32779 #
32780 # FIVE ARGUMENTS
32781 # (e.g. Solaris)
32782 #
32783
32784 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32785
32786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32787 /* end confdefs.h.  */
32788 #include <netdb.h>
32789 int
32790 main ()
32791 {
32792
32793             char *name = "www.gnu.org";
32794             struct hostent ret;
32795             char buf[1024];
32796             int buflen = 1024;
32797             int my_h_errno;
32798             (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32799
32800
32801   ;
32802   return 0;
32803 }
32804 _ACEOF
32805 if ac_fn_c_try_compile "$LINENO"; then :
32806   ac_cv_func_which_gethostbyname_r=five
32807
32808 fi
32809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32810
32811 fi
32812
32813 #
32814 # THREE ARGUMENTS
32815 # (e.g. AIX, HP-UX, Tru64)
32816 #
32817
32818 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32819
32820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32821 /* end confdefs.h.  */
32822 #include <netdb.h>
32823 int
32824 main ()
32825 {
32826
32827             char *name = "www.gnu.org";
32828             struct hostent ret;
32829             struct hostent_data data;
32830             (void)gethostbyname_r(name, &ret, &data) /* ; */
32831
32832
32833   ;
32834   return 0;
32835 }
32836 _ACEOF
32837 if ac_fn_c_try_compile "$LINENO"; then :
32838   ac_cv_func_which_gethostbyname_r=three
32839
32840 fi
32841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32842
32843 fi
32844
32845 ################################################################
32846
32847
32848 fi
32849
32850 case "$ac_cv_func_which_gethostbyname_r" in
32851     three)
32852     { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32853 $as_echo "three" >&6; }
32854     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32855
32856     ;;
32857
32858     five)
32859     { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32860 $as_echo "five" >&6; }
32861     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32862
32863     ;;
32864
32865     six)
32866     { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32867 $as_echo "six" >&6; }
32868     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32869
32870     ;;
32871
32872     no)
32873     { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32874 $as_echo "cannot find function declaration in netdb.h" >&6; }
32875     ;;
32876
32877     unknown)
32878     { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32879 $as_echo "can't tell" >&6; }
32880     ;;
32881
32882     *)
32883     as_fn_error $? "internal error" "$LINENO" 5
32884     ;;
32885 esac
32886
32887 ac_ext=c
32888 ac_cpp='$CPP $CPPFLAGS'
32889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32892
32893
32894
32895       if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32896               "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32897           ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32898 if test "x$ac_cv_func_gethostbyname" = xyes; then :
32899    $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32900
32901 fi
32902
32903       fi
32904
32905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32906 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32907 if ${ac_cv_func_which_getservbyname_r+:} false; then :
32908   $as_echo_n "(cached) " >&6
32909 else
32910
32911                 ac_ext=cpp
32912 ac_cpp='$CXXCPP $CPPFLAGS'
32913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32916
32917
32918         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32919 /* end confdefs.h.  */
32920 #include <netdb.h>
32921 int
32922 main ()
32923 {
32924
32925                 char *name;
32926                 char *proto;
32927                 struct servent *se, *res;
32928                 char buffer[2048];
32929                 int buflen = 2048;
32930                 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32931
32932   ;
32933   return 0;
32934 }
32935 _ACEOF
32936 if ac_fn_cxx_try_compile "$LINENO"; then :
32937   ac_cv_func_which_getservbyname_r=six
32938 else
32939
32940                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32941 /* end confdefs.h.  */
32942 #include <netdb.h>
32943 int
32944 main ()
32945 {
32946
32947                         char *name;
32948                         char *proto;
32949                         struct servent *se;
32950                         char buffer[2048];
32951                         int buflen = 2048;
32952                         (void) getservbyname_r(name, proto, se, buffer, buflen)
32953
32954   ;
32955   return 0;
32956 }
32957 _ACEOF
32958 if ac_fn_cxx_try_compile "$LINENO"; then :
32959   ac_cv_func_which_getservbyname_r=five
32960 else
32961
32962                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32963 /* end confdefs.h.  */
32964 #include <netdb.h>
32965 int
32966 main ()
32967 {
32968
32969                                 char *name;
32970                                 char *proto;
32971                                 struct servent *se;
32972                                 struct servent_data data;
32973                                 (void) getservbyname_r(name, proto, se, &data);
32974
32975   ;
32976   return 0;
32977 }
32978 _ACEOF
32979 if ac_fn_cxx_try_compile "$LINENO"; then :
32980   ac_cv_func_which_getservbyname_r=four
32981 else
32982   ac_cv_func_which_getservbyname_r=no
32983
32984 fi
32985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32986
32987
32988 fi
32989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32990
32991
32992 fi
32993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32994         ac_ext=c
32995 ac_cpp='$CPP $CPPFLAGS'
32996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32999
33000
33001
33002 fi
33003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
33004 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
33005
33006 if test $ac_cv_func_which_getservbyname_r = six; then
33007   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
33008
33009 elif test $ac_cv_func_which_getservbyname_r = five; then
33010   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
33011
33012 elif test $ac_cv_func_which_getservbyname_r = four; then
33013   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
33014
33015 fi
33016
33017
33018       if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
33019               "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
33020           for ac_func in getservbyname
33021 do :
33022   ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
33023 if test "x$ac_cv_func_getservbyname" = xyes; then :
33024   cat >>confdefs.h <<_ACEOF
33025 #define HAVE_GETSERVBYNAME 1
33026 _ACEOF
33027   $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
33028
33029 fi
33030 done
33031
33032       fi
33033
33034 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
33035
33036
33037 if test "$wxUSE_THREADS" = "yes"; then
33038   $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
33039
33040
33041   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33042 else
33043       if test "$wx_cv_func_strtok_r" = "yes"; then
33044     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
33045 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
33046     if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33047         WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
33048         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33049 $as_echo "yes" >&6; }
33050     else
33051         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33052 $as_echo "no" >&6; }
33053     fi
33054   fi
33055 fi
33056
33057 if test "$WXGTK3" = 1 ; then
33058     cat >>confdefs.h <<_ACEOF
33059 #define __WXGTK3__ 1
33060 _ACEOF
33061
33062     WXGTK2=1
33063 fi
33064 if test "$WXGTK2" = 1 ; then
33065   cat >>confdefs.h <<_ACEOF
33066 #define __WXGTK20__ $WXGTK2
33067 _ACEOF
33068
33069 fi
33070
33071 if test "$WXGTK127" = 1 ; then
33072   cat >>confdefs.h <<_ACEOF
33073 #define __WXGTK127__ $WXGTK127
33074 _ACEOF
33075
33076 fi
33077
33078 if test "$WXGPE" = 1 ; then
33079   cat >>confdefs.h <<_ACEOF
33080 #define __WXGPE__ $WXGPE
33081 _ACEOF
33082
33083 fi
33084
33085 DEBUG_CFLAGS=
33086 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
33087                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
33088 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
33089 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
33090     DEBUG_CFLAGS="-g"
33091 fi
33092
33093 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33094     wxUSE_DEBUG_INFO=yes
33095     if test "$GCC" = yes; then
33096         DEBUG_CFLAGS="-ggdb"
33097     fi
33098 fi
33099
33100 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
33101     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
33102
33103     if test "$wxUSE_GTK" = 1 ; then
33104         if test "$WXGTK2" = 1 ; then
33105             CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
33106         else
33107             CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
33108         fi
33109     fi
33110 fi
33111
33112 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33113     $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
33114
33115     $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
33116
33117     $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
33118
33119     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33120 fi
33121
33122 if test "$wxUSE_DMALLOC" = "yes" ; then
33123     DMALLOC_LIBS="-ldmallocthcxx"
33124 fi
33125
33126 PROFILE_FLAGS=
33127 if test "$wxUSE_PROFILE" = "yes" ; then
33128     PROFILE_FLAGS=" -pg"
33129 fi
33130
33131 if test "$GCC" = "yes" ; then
33132     if test "$wxUSE_NO_RTTI" = "yes" ; then
33133                                 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
33134     fi
33135     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33136         WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
33137     fi
33138     if test "$wxUSE_PERMISSIVE" = "yes" ; then
33139         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
33140     fi
33141
33142                                                 case "${host}" in
33143       powerpc*-*-aix* )
33144         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
33145         ;;
33146       *-hppa* )
33147         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
33148         ;;
33149     esac
33150 fi
33151
33152 OPTIMISE_CFLAGS=
33153 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
33154                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
33155 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
33156 else
33157     if test "$wxUSE_OPTIMISE" = "no" ; then
33158         if test "$GCC" = yes ; then
33159                                     OPTIMISE_CFLAGS="-O0"
33160         fi
33161     else
33162         if test "$GCC" = yes ; then
33163             case "${host}" in
33164                 *-pc-os2_emx | *-pc-os2-emx )
33165                                                             OPTIMISE_CFLAGS="-O2"
33166                 ;;
33167                 *)
33168                                                                                 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
33169                 ;;
33170             esac
33171         else
33172             OPTIMISE_CFLAGS="-O"
33173         fi
33174     fi
33175 fi
33176
33177
33178 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
33179     $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
33180
33181
33182     WXWIN_COMPATIBILITY_2_8="yes"
33183 fi
33184
33185 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
33186     $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
33187
33188 fi
33189
33190
33191 if test "$wxUSE_GUI" = "yes"; then
33192     $as_echo "#define wxUSE_GUI 1" >>confdefs.h
33193
33194
33195                                             fi
33196
33197
33198 if test "$wxUSE_UNIX" = "yes"; then
33199   $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
33200
33201 fi
33202
33203
33204 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33205
33206     HAVE_DL_FUNCS=0
33207     HAVE_SHL_FUNCS=0
33208     if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33209         if test "$USE_DOS" = 1; then
33210             HAVE_DL_FUNCS=0
33211         else
33212                                                 for ac_func in dlopen
33213 do :
33214   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
33215 if test "x$ac_cv_func_dlopen" = xyes; then :
33216   cat >>confdefs.h <<_ACEOF
33217 #define HAVE_DLOPEN 1
33218 _ACEOF
33219
33220                 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33221
33222                 HAVE_DL_FUNCS=1
33223
33224 else
33225
33226                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33227 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33228 if ${ac_cv_lib_dl_dlopen+:} false; then :
33229   $as_echo_n "(cached) " >&6
33230 else
33231   ac_check_lib_save_LIBS=$LIBS
33232 LIBS="-ldl  $LIBS"
33233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33234 /* end confdefs.h.  */
33235
33236 /* Override any GCC internal prototype to avoid an error.
33237    Use char because int might match the return type of a GCC
33238    builtin and then its argument prototype would still apply.  */
33239 #ifdef __cplusplus
33240 extern "C"
33241 #endif
33242 char dlopen ();
33243 int
33244 main ()
33245 {
33246 return dlopen ();
33247   ;
33248   return 0;
33249 }
33250 _ACEOF
33251 if ac_fn_c_try_link "$LINENO"; then :
33252   ac_cv_lib_dl_dlopen=yes
33253 else
33254   ac_cv_lib_dl_dlopen=no
33255 fi
33256 rm -f core conftest.err conftest.$ac_objext \
33257     conftest$ac_exeext conftest.$ac_ext
33258 LIBS=$ac_check_lib_save_LIBS
33259 fi
33260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33261 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33262 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
33263
33264                                 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33265
33266                                 HAVE_DL_FUNCS=1
33267                                 DL_LINK=" -ldl$DL_LINK"
33268
33269 else
33270
33271                                 for ac_func in shl_load
33272 do :
33273   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
33274 if test "x$ac_cv_func_shl_load" = xyes; then :
33275   cat >>confdefs.h <<_ACEOF
33276 #define HAVE_SHL_LOAD 1
33277 _ACEOF
33278
33279                                                 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33280
33281                                                 HAVE_SHL_FUNCS=1
33282
33283 else
33284
33285                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33286 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33287 if ${ac_cv_lib_shl_load_dld+:} false; then :
33288   $as_echo_n "(cached) " >&6
33289 else
33290   ac_check_lib_save_LIBS=$LIBS
33291 LIBS="-lshl_load  $LIBS"
33292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33293 /* end confdefs.h.  */
33294
33295 /* Override any GCC internal prototype to avoid an error.
33296    Use char because int might match the return type of a GCC
33297    builtin and then its argument prototype would still apply.  */
33298 #ifdef __cplusplus
33299 extern "C"
33300 #endif
33301 char dld ();
33302 int
33303 main ()
33304 {
33305 return dld ();
33306   ;
33307   return 0;
33308 }
33309 _ACEOF
33310 if ac_fn_c_try_link "$LINENO"; then :
33311   ac_cv_lib_shl_load_dld=yes
33312 else
33313   ac_cv_lib_shl_load_dld=no
33314 fi
33315 rm -f core conftest.err conftest.$ac_objext \
33316     conftest$ac_exeext conftest.$ac_ext
33317 LIBS=$ac_check_lib_save_LIBS
33318 fi
33319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33320 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33321 if test "x$ac_cv_lib_shl_load_dld" = xyes; then :
33322
33323                                                                 HAVE_SHL_FUNCS=1
33324                                                                 DL_LINK=" -ldld$DL_LINK"
33325
33326 fi
33327
33328
33329 fi
33330 done
33331
33332
33333 fi
33334
33335
33336 fi
33337 done
33338
33339
33340                         if test "$HAVE_DL_FUNCS" = 1; then
33341                 for ac_func in dlerror
33342 do :
33343   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
33344 if test "x$ac_cv_func_dlerror" = xyes; then :
33345   cat >>confdefs.h <<_ACEOF
33346 #define HAVE_DLERROR 1
33347 _ACEOF
33348  $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33349
33350 else
33351
33352                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33353 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33354 if ${ac_cv_lib_dl_dlerror+:} false; then :
33355   $as_echo_n "(cached) " >&6
33356 else
33357   ac_check_lib_save_LIBS=$LIBS
33358 LIBS="-ldl  $LIBS"
33359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33360 /* end confdefs.h.  */
33361
33362 /* Override any GCC internal prototype to avoid an error.
33363    Use char because int might match the return type of a GCC
33364    builtin and then its argument prototype would still apply.  */
33365 #ifdef __cplusplus
33366 extern "C"
33367 #endif
33368 char dlerror ();
33369 int
33370 main ()
33371 {
33372 return dlerror ();
33373   ;
33374   return 0;
33375 }
33376 _ACEOF
33377 if ac_fn_c_try_link "$LINENO"; then :
33378   ac_cv_lib_dl_dlerror=yes
33379 else
33380   ac_cv_lib_dl_dlerror=no
33381 fi
33382 rm -f core conftest.err conftest.$ac_objext \
33383     conftest$ac_exeext conftest.$ac_ext
33384 LIBS=$ac_check_lib_save_LIBS
33385 fi
33386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33387 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33388 if test "x$ac_cv_lib_dl_dlerror" = xyes; then :
33389   $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33390
33391 fi
33392
33393
33394
33395 fi
33396 done
33397
33398             fi
33399         fi
33400
33401                 if test "$USE_DARWIN" = 1; then
33402                         HAVE_DL_FUNCS=1
33403         fi
33404
33405         if test "$HAVE_DL_FUNCS" = 0; then
33406             if test "$HAVE_SHL_FUNCS" = 0; then
33407               if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33408                   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33409 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33410                   wxUSE_DYNAMIC_LOADER=no
33411                   wxUSE_DYNLIB_CLASS=no
33412               else
33413                   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33414 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33415               fi
33416             fi
33417         fi
33418     fi
33419 fi
33420
33421 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33422     $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33423
33424 fi
33425 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33426     $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33427
33428 fi
33429
33430
33431
33432 if test "$wxUSE_PLUGINS" = "yes" ; then
33433     if test "$wxUSE_SHARED" = "no" ; then
33434         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33435 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33436         wxUSE_PLUGINS=no
33437     fi
33438     if test "$wxUSE_MONOLITHIC" = "yes" ; then
33439         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33440 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33441         wxUSE_PLUGINS=no
33442     fi
33443     if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33444         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33445 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33446         wxUSE_PLUGINS=no
33447     fi
33448     if test "$wxUSE_PLUGINS" = "yes" ; then
33449         $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33450
33451     fi
33452 fi
33453
33454
33455 if test "$wxUSE_FSWATCHER" = "yes"; then
33456                 if test "$wxUSE_MSW" != "1"; then
33457         if test "$wxUSE_UNIX" = "yes"; then
33458             for ac_header in sys/inotify.h
33459 do :
33460   ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33461 "
33462 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
33463   cat >>confdefs.h <<_ACEOF
33464 #define HAVE_SYS_INOTIFY_H 1
33465 _ACEOF
33466
33467 fi
33468
33469 done
33470
33471             if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33472                 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33473
33474             else
33475                 for ac_header in sys/event.h
33476 do :
33477   ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33478 "
33479 if test "x$ac_cv_header_sys_event_h" = xyes; then :
33480   cat >>confdefs.h <<_ACEOF
33481 #define HAVE_SYS_EVENT_H 1
33482 _ACEOF
33483
33484 fi
33485
33486 done
33487
33488                 if test "$ac_cv_header_sys_event_h" = "yes"; then
33489                     $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33490
33491                 else
33492                     wxUSE_FSWATCHER=no
33493                 fi
33494             fi
33495         else
33496             wxUSE_FSWATCHER=no
33497         fi
33498     else
33499         if test "$wxUSE_THREADS" != "yes"; then
33500             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33501 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33502             wxUSE_FSWATCHER=no
33503         fi
33504     fi
33505
33506     if test "$wxUSE_FSWATCHER" = "yes"; then
33507         $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33508
33509         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33510     else
33511         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33512 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33513     fi
33514 fi
33515
33516
33517 if test "$wxUSE_STL" = "yes"; then
33518   $as_echo "#define wxUSE_STL 1" >>confdefs.h
33519
33520 fi
33521
33522 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33523   $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33524
33525 fi
33526
33527 if test "$wxUSE_ANY" = "yes"; then
33528     $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33529
33530 fi
33531
33532 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33533   $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33534
33535 fi
33536
33537 if test "$wxUSE_TIMER" = "yes"; then
33538   $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33539
33540 fi
33541
33542 if test "$USE_UNIX" = 1 ; then
33543                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33544 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33545 if ${ac_cv_header_sys_soundcard+:} false; then :
33546   $as_echo_n "(cached) " >&6
33547 else
33548
33549         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33550 /* end confdefs.h.  */
33551
33552                 #include <sys/ioctl.h>
33553                 #include <sys/soundcard.h>
33554
33555 int
33556 main ()
33557 {
33558
33559                 ioctl(0, SNDCTL_DSP_SPEED, 0);
33560
33561   ;
33562   return 0;
33563 }
33564 _ACEOF
33565 if ac_fn_c_try_link "$LINENO"; then :
33566   ac_cv_header_sys_soundcard=yes
33567 else
33568
33569                 saveLibs="$LIBS"
33570                 LIBS="$saveLibs -lossaudio"
33571                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33572 /* end confdefs.h.  */
33573
33574                         #include <sys/ioctl.h>
33575                         #include <sys/soundcard.h>
33576
33577 int
33578 main ()
33579 {
33580
33581                         ioctl(0, SNDCTL_DSP_SPEED, 0);
33582
33583   ;
33584   return 0;
33585 }
33586 _ACEOF
33587 if ac_fn_c_try_link "$LINENO"; then :
33588   ac_cv_header_sys_soundcard=yes
33589 else
33590
33591                         LIBS="$saveLibs"
33592                         ac_cv_header_sys_soundcard=no
33593
33594
33595 fi
33596 rm -f core conftest.err conftest.$ac_objext \
33597     conftest$ac_exeext conftest.$ac_ext
33598
33599
33600 fi
33601 rm -f core conftest.err conftest.$ac_objext \
33602     conftest$ac_exeext conftest.$ac_ext
33603
33604 fi
33605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33606 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33607
33608     if test "$ac_cv_header_sys_soundcard" = "yes"; then
33609         $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33610
33611     fi
33612 fi
33613
33614 WITH_PLUGIN_SDL=0
33615 if test "$wxUSE_SOUND" = "yes"; then
33616   if test "$USE_UNIX" = 1 ; then
33617     if test "$wxUSE_LIBSDL" != "no"; then
33618
33619 # Check whether --with-sdl-prefix was given.
33620 if test "${with_sdl_prefix+set}" = set; then :
33621   withval=$with_sdl_prefix; sdl_prefix="$withval"
33622 else
33623   sdl_prefix=""
33624 fi
33625
33626
33627 # Check whether --with-sdl-exec-prefix was given.
33628 if test "${with_sdl_exec_prefix+set}" = set; then :
33629   withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33630 else
33631   sdl_exec_prefix=""
33632 fi
33633
33634 # Check whether --enable-sdltest was given.
33635 if test "${enable_sdltest+set}" = set; then :
33636   enableval=$enable_sdltest;
33637 else
33638   enable_sdltest=yes
33639 fi
33640
33641
33642   if test x$sdl_exec_prefix != x ; then
33643     sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33644     if test x${SDL_CONFIG+set} != xset ; then
33645       SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33646     fi
33647   fi
33648   if test x$sdl_prefix != x ; then
33649     sdl_args="$sdl_args --prefix=$sdl_prefix"
33650     if test x${SDL_CONFIG+set} != xset ; then
33651       SDL_CONFIG=$sdl_prefix/bin/sdl-config
33652     fi
33653   fi
33654
33655   if test "x$prefix" != xNONE; then
33656     PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33657   fi
33658   # Extract the first word of "sdl-config", so it can be a program name with args.
33659 set dummy sdl-config; ac_word=$2
33660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33661 $as_echo_n "checking for $ac_word... " >&6; }
33662 if ${ac_cv_path_SDL_CONFIG+:} false; then :
33663   $as_echo_n "(cached) " >&6
33664 else
33665   case $SDL_CONFIG in
33666   [\\/]* | ?:[\\/]*)
33667   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33668   ;;
33669   *)
33670   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33671 for as_dir in $PATH
33672 do
33673   IFS=$as_save_IFS
33674   test -z "$as_dir" && as_dir=.
33675     for ac_exec_ext in '' $ac_executable_extensions; do
33676   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33677     ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33678     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33679     break 2
33680   fi
33681 done
33682   done
33683 IFS=$as_save_IFS
33684
33685   test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33686   ;;
33687 esac
33688 fi
33689 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33690 if test -n "$SDL_CONFIG"; then
33691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33692 $as_echo "$SDL_CONFIG" >&6; }
33693 else
33694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33695 $as_echo "no" >&6; }
33696 fi
33697
33698
33699   min_sdl_version=1.2.0
33700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33701 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33702   no_sdl=""
33703   if test "$SDL_CONFIG" = "no" ; then
33704     no_sdl=yes
33705   else
33706     SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33707     SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33708
33709     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33710            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33711     sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33712            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33713     sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33714            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33715     if test "x$enable_sdltest" = "xyes" ; then
33716       ac_save_CFLAGS="$CFLAGS"
33717       ac_save_CXXFLAGS="$CXXFLAGS"
33718       ac_save_LIBS="$LIBS"
33719       CFLAGS="$CFLAGS $SDL_CFLAGS"
33720       CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33721       LIBS="$LIBS $SDL_LIBS"
33722       rm -f conf.sdltest
33723       if test "$cross_compiling" = yes; then :
33724   echo $ac_n "cross compiling; assumed OK... $ac_c"
33725 else
33726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33727 /* end confdefs.h.  */
33728
33729 #include <stdio.h>
33730 #include <stdlib.h>
33731 #include <string.h>
33732 #include "SDL.h"
33733
33734 char*
33735 my_strdup (char *str)
33736 {
33737   char *new_str;
33738
33739   if (str)
33740     {
33741       new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33742       strcpy (new_str, str);
33743     }
33744   else
33745     new_str = NULL;
33746
33747   return new_str;
33748 }
33749
33750 int main (int argc, char *argv[])
33751 {
33752   int major, minor, micro;
33753   char *tmp_version;
33754
33755   /* This hangs on some systems (?)
33756   system ("touch conf.sdltest");
33757   */
33758   { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33759
33760   /* HP/UX 9 (%@#!) writes to sscanf strings */
33761   tmp_version = my_strdup("$min_sdl_version");
33762   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33763      printf("%s, bad version string\n", "$min_sdl_version");
33764      exit(1);
33765    }
33766
33767    if (($sdl_major_version > major) ||
33768       (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33769       (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33770     {
33771       return 0;
33772     }
33773   else
33774     {
33775       printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33776       printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33777       printf("*** best to upgrade to the required version.\n");
33778       printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33779       printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33780       printf("*** config.cache before re-running configure\n");
33781       return 1;
33782     }
33783 }
33784
33785
33786 _ACEOF
33787 if ac_fn_c_try_run "$LINENO"; then :
33788
33789 else
33790   no_sdl=yes
33791 fi
33792 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33793   conftest.$ac_objext conftest.beam conftest.$ac_ext
33794 fi
33795
33796        CFLAGS="$ac_save_CFLAGS"
33797        CXXFLAGS="$ac_save_CXXFLAGS"
33798        LIBS="$ac_save_LIBS"
33799      fi
33800   fi
33801   if test "x$no_sdl" = x ; then
33802      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33803 $as_echo "yes" >&6; }
33804
33805                     EXTRALIBS_SDL="$SDL_LIBS"
33806                     CFLAGS="$SDL_CFLAGS $CFLAGS"
33807                     CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33808                     $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33809
33810
33811   else
33812      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33813 $as_echo "no" >&6; }
33814      if test "$SDL_CONFIG" = "no" ; then
33815        echo "*** The sdl-config script installed by SDL could not be found"
33816        echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33817        echo "*** your path, or set the SDL_CONFIG environment variable to the"
33818        echo "*** full path to sdl-config."
33819      else
33820        if test -f conf.sdltest ; then
33821         :
33822        else
33823           echo "*** Could not run SDL test program, checking why..."
33824           CFLAGS="$CFLAGS $SDL_CFLAGS"
33825           CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33826           LIBS="$LIBS $SDL_LIBS"
33827           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33828 /* end confdefs.h.  */
33829
33830 #include <stdio.h>
33831 #include "SDL.h"
33832
33833 int main(int argc, char *argv[])
33834 { return 0; }
33835 #undef  main
33836 #define main K_and_R_C_main
33837
33838 int
33839 main ()
33840 {
33841  return 0;
33842   ;
33843   return 0;
33844 }
33845 _ACEOF
33846 if ac_fn_c_try_link "$LINENO"; then :
33847    echo "*** The test program compiled, but did not run. This usually means"
33848           echo "*** that the run-time linker is not finding SDL or finding the wrong"
33849           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33850           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33851           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
33852           echo "*** is required on your system"
33853           echo "***"
33854           echo "*** If you have an old version installed, it is best to remove it, although"
33855           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33856 else
33857    echo "*** The test program failed to compile or link. See the file config.log for the"
33858           echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33859           echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33860           echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33861 fi
33862 rm -f core conftest.err conftest.$ac_objext \
33863     conftest$ac_exeext conftest.$ac_ext
33864           CFLAGS="$ac_save_CFLAGS"
33865           CXXFLAGS="$ac_save_CXXFLAGS"
33866           LIBS="$ac_save_LIBS"
33867        fi
33868      fi
33869      SDL_CFLAGS=""
33870      SDL_LIBS=""
33871      wxUSE_LIBSDL="no"
33872   fi
33873
33874
33875   rm -f conf.sdltest
33876
33877       if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33878         WITH_PLUGIN_SDL=1
33879       fi
33880     fi
33881   fi
33882 fi
33883
33884 if test "$wxUSE_SOUND" = "yes"; then
33885   $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33886
33887   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33888 fi
33889
33890 if test "$WXGTK2" = 1; then
33891
33892
33893 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33894         if test -n "$ac_tool_prefix"; then
33895   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33896 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33898 $as_echo_n "checking for $ac_word... " >&6; }
33899 if ${ac_cv_path_PKG_CONFIG+:} false; then :
33900   $as_echo_n "(cached) " >&6
33901 else
33902   case $PKG_CONFIG in
33903   [\\/]* | ?:[\\/]*)
33904   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33905   ;;
33906   *)
33907   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33908 for as_dir in $PATH
33909 do
33910   IFS=$as_save_IFS
33911   test -z "$as_dir" && as_dir=.
33912     for ac_exec_ext in '' $ac_executable_extensions; do
33913   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33914     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33915     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33916     break 2
33917   fi
33918 done
33919   done
33920 IFS=$as_save_IFS
33921
33922   ;;
33923 esac
33924 fi
33925 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33926 if test -n "$PKG_CONFIG"; then
33927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33928 $as_echo "$PKG_CONFIG" >&6; }
33929 else
33930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33931 $as_echo "no" >&6; }
33932 fi
33933
33934
33935 fi
33936 if test -z "$ac_cv_path_PKG_CONFIG"; then
33937   ac_pt_PKG_CONFIG=$PKG_CONFIG
33938   # Extract the first word of "pkg-config", so it can be a program name with args.
33939 set dummy pkg-config; ac_word=$2
33940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33941 $as_echo_n "checking for $ac_word... " >&6; }
33942 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
33943   $as_echo_n "(cached) " >&6
33944 else
33945   case $ac_pt_PKG_CONFIG in
33946   [\\/]* | ?:[\\/]*)
33947   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33948   ;;
33949   *)
33950   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33951 for as_dir in $PATH
33952 do
33953   IFS=$as_save_IFS
33954   test -z "$as_dir" && as_dir=.
33955     for ac_exec_ext in '' $ac_executable_extensions; do
33956   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33957     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33958     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33959     break 2
33960   fi
33961 done
33962   done
33963 IFS=$as_save_IFS
33964
33965   ;;
33966 esac
33967 fi
33968 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33969 if test -n "$ac_pt_PKG_CONFIG"; then
33970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33971 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33972 else
33973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33974 $as_echo "no" >&6; }
33975 fi
33976
33977   if test "x$ac_pt_PKG_CONFIG" = x; then
33978     PKG_CONFIG=""
33979   else
33980     case $cross_compiling:$ac_tool_warned in
33981 yes:)
33982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33984 ac_tool_warned=yes ;;
33985 esac
33986     PKG_CONFIG=$ac_pt_PKG_CONFIG
33987   fi
33988 else
33989   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33990 fi
33991
33992 fi
33993 if test -n "$PKG_CONFIG"; then
33994         _pkg_min_version=0.9.0
33995         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33996 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33997         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33998                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33999 $as_echo "yes" >&6; }
34000         else
34001                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34002 $as_echo "no" >&6; }
34003                 PKG_CONFIG=""
34004         fi
34005
34006 fi
34007
34008     if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34009
34010         if test "$wxUSE_GTKPRINT" = "yes" ; then
34011             if test "$WXGTK3" = 1; then
34012                 gtk_unix_print="gtk+-unix-print-3.0"
34013             else
34014                 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
34015             fi
34016
34017 pkg_failed=no
34018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
34019 $as_echo_n "checking for GTKPRINT... " >&6; }
34020
34021 if test -n "$PKG_CONFIG"; then
34022     if test -n "$GTKPRINT_CFLAGS"; then
34023         pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
34024     else
34025         if test -n "$PKG_CONFIG" && \
34026     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34027   ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34028   ac_status=$?
34029   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34030   test $ac_status = 0; }; then
34031   pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
34032 else
34033   pkg_failed=yes
34034 fi
34035     fi
34036 else
34037         pkg_failed=untried
34038 fi
34039 if test -n "$PKG_CONFIG"; then
34040     if test -n "$GTKPRINT_LIBS"; then
34041         pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
34042     else
34043         if test -n "$PKG_CONFIG" && \
34044     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34045   ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34046   ac_status=$?
34047   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34048   test $ac_status = 0; }; then
34049   pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
34050 else
34051   pkg_failed=yes
34052 fi
34053     fi
34054 else
34055         pkg_failed=untried
34056 fi
34057
34058
34059
34060 if test $pkg_failed = yes; then
34061
34062 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34063         _pkg_short_errors_supported=yes
34064 else
34065         _pkg_short_errors_supported=no
34066 fi
34067         if test $_pkg_short_errors_supported = yes; then
34068                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
34069         else
34070                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
34071         fi
34072         # Put the nasty error message in config.log where it belongs
34073         echo "$GTKPRINT_PKG_ERRORS" >&5
34074
34075
34076                         { $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
34077 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34078                         wxUSE_GTKPRINT="no"
34079
34080
34081 elif test $pkg_failed = untried; then
34082
34083                         { $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
34084 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34085                         wxUSE_GTKPRINT="no"
34086
34087
34088 else
34089         GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
34090         GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
34091         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34092 $as_echo "yes" >&6; }
34093
34094                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
34095                         CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
34096                         CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
34097                         $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
34098
34099
34100 fi
34101         fi
34102     fi
34103
34104     if test "$wxUSE_MIMETYPE" = "yes" ; then
34105         if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34106
34107
34108 pkg_failed=no
34109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34110 $as_echo_n "checking for GNOMEVFS... " >&6; }
34111
34112 if test -n "$PKG_CONFIG"; then
34113     if test -n "$GNOMEVFS_CFLAGS"; then
34114         pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
34115     else
34116         if test -n "$PKG_CONFIG" && \
34117     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34118   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34119   ac_status=$?
34120   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34121   test $ac_status = 0; }; then
34122   pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34123 else
34124   pkg_failed=yes
34125 fi
34126     fi
34127 else
34128         pkg_failed=untried
34129 fi
34130 if test -n "$PKG_CONFIG"; then
34131     if test -n "$GNOMEVFS_LIBS"; then
34132         pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
34133     else
34134         if test -n "$PKG_CONFIG" && \
34135     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34136   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34137   ac_status=$?
34138   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34139   test $ac_status = 0; }; then
34140   pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34141 else
34142   pkg_failed=yes
34143 fi
34144     fi
34145 else
34146         pkg_failed=untried
34147 fi
34148
34149
34150
34151 if test $pkg_failed = yes; then
34152
34153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34154         _pkg_short_errors_supported=yes
34155 else
34156         _pkg_short_errors_supported=no
34157 fi
34158         if test $_pkg_short_errors_supported = yes; then
34159                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34160         else
34161                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34162         fi
34163         # Put the nasty error message in config.log where it belongs
34164         echo "$GNOMEVFS_PKG_ERRORS" >&5
34165
34166
34167                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34168 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34169                         wxUSE_LIBGNOMEVFS="no"
34170
34171
34172 elif test $pkg_failed = untried; then
34173
34174                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34175 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34176                         wxUSE_LIBGNOMEVFS="no"
34177
34178
34179 else
34180         GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
34181         GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
34182         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34183 $as_echo "yes" >&6; }
34184
34185                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34186                         CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
34187                         CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
34188                         $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34189
34190
34191 fi
34192         fi
34193     fi
34194
34195     if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34196         if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34197             HAVE_LIBNOTIFY=0
34198
34199 pkg_failed=no
34200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34201 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34202
34203 if test -n "$PKG_CONFIG"; then
34204     if test -n "$LIBNOTIFY_CFLAGS"; then
34205         pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34206     else
34207         if test -n "$PKG_CONFIG" && \
34208     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34209   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34210   ac_status=$?
34211   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34212   test $ac_status = 0; }; then
34213   pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34214 else
34215   pkg_failed=yes
34216 fi
34217     fi
34218 else
34219         pkg_failed=untried
34220 fi
34221 if test -n "$PKG_CONFIG"; then
34222     if test -n "$LIBNOTIFY_LIBS"; then
34223         pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34224     else
34225         if test -n "$PKG_CONFIG" && \
34226     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34227   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34228   ac_status=$?
34229   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34230   test $ac_status = 0; }; then
34231   pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34232 else
34233   pkg_failed=yes
34234 fi
34235     fi
34236 else
34237         pkg_failed=untried
34238 fi
34239
34240
34241
34242 if test $pkg_failed = yes; then
34243
34244 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34245         _pkg_short_errors_supported=yes
34246 else
34247         _pkg_short_errors_supported=no
34248 fi
34249         if test $_pkg_short_errors_supported = yes; then
34250                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34251         else
34252                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34253         fi
34254         # Put the nasty error message in config.log where it belongs
34255         echo "$LIBNOTIFY_PKG_ERRORS" >&5
34256
34257
34258
34259 pkg_failed=no
34260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34261 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34262
34263 if test -n "$PKG_CONFIG"; then
34264     if test -n "$LIBNOTIFY_CFLAGS"; then
34265         pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34266     else
34267         if test -n "$PKG_CONFIG" && \
34268     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34269   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34270   ac_status=$?
34271   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34272   test $ac_status = 0; }; then
34273   pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34274 else
34275   pkg_failed=yes
34276 fi
34277     fi
34278 else
34279         pkg_failed=untried
34280 fi
34281 if test -n "$PKG_CONFIG"; then
34282     if test -n "$LIBNOTIFY_LIBS"; then
34283         pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34284     else
34285         if test -n "$PKG_CONFIG" && \
34286     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34287   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34288   ac_status=$?
34289   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34290   test $ac_status = 0; }; then
34291   pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34292 else
34293   pkg_failed=yes
34294 fi
34295     fi
34296 else
34297         pkg_failed=untried
34298 fi
34299
34300
34301
34302 if test $pkg_failed = yes; then
34303
34304 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34305         _pkg_short_errors_supported=yes
34306 else
34307         _pkg_short_errors_supported=no
34308 fi
34309         if test $_pkg_short_errors_supported = yes; then
34310                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34311         else
34312                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34313         fi
34314         # Put the nasty error message in config.log where it belongs
34315         echo "$LIBNOTIFY_PKG_ERRORS" >&5
34316
34317         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34318 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34319
34320 elif test $pkg_failed = untried; then
34321         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34322 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34323
34324 else
34325         LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34326         LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34327         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34328 $as_echo "yes" >&6; }
34329         HAVE_LIBNOTIFY=1
34330 fi
34331
34332
34333 elif test $pkg_failed = untried; then
34334
34335
34336 pkg_failed=no
34337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34338 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34339
34340 if test -n "$PKG_CONFIG"; then
34341     if test -n "$LIBNOTIFY_CFLAGS"; then
34342         pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34343     else
34344         if test -n "$PKG_CONFIG" && \
34345     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34346   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34347   ac_status=$?
34348   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34349   test $ac_status = 0; }; then
34350   pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34351 else
34352   pkg_failed=yes
34353 fi
34354     fi
34355 else
34356         pkg_failed=untried
34357 fi
34358 if test -n "$PKG_CONFIG"; then
34359     if test -n "$LIBNOTIFY_LIBS"; then
34360         pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34361     else
34362         if test -n "$PKG_CONFIG" && \
34363     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34364   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34365   ac_status=$?
34366   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34367   test $ac_status = 0; }; then
34368   pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34369 else
34370   pkg_failed=yes
34371 fi
34372     fi
34373 else
34374         pkg_failed=untried
34375 fi
34376
34377
34378
34379 if test $pkg_failed = yes; then
34380
34381 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34382         _pkg_short_errors_supported=yes
34383 else
34384         _pkg_short_errors_supported=no
34385 fi
34386         if test $_pkg_short_errors_supported = yes; then
34387                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34388         else
34389                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34390         fi
34391         # Put the nasty error message in config.log where it belongs
34392         echo "$LIBNOTIFY_PKG_ERRORS" >&5
34393
34394         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34395 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34396
34397 elif test $pkg_failed = untried; then
34398         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34399 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34400
34401 else
34402         LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34403         LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34404         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34405 $as_echo "yes" >&6; }
34406         HAVE_LIBNOTIFY=1
34407 fi
34408
34409
34410 else
34411         LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34412         LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34413         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34414 $as_echo "yes" >&6; }
34415
34416                     HAVE_LIBNOTIFY=1
34417                     $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34418
34419
34420 fi
34421
34422             if test "$HAVE_LIBNOTIFY" = "1" ; then
34423                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34424                 CFLAGS="$LIBNOTIFY_CFLAGS $CFLAGS"
34425                 CXXFLAGS="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34426                 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34427
34428             fi
34429         fi
34430     fi
34431
34432     if test "$wxUSE_LIBHILDON" = "yes" ; then
34433
34434 pkg_failed=no
34435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34436 $as_echo_n "checking for HILDON... " >&6; }
34437
34438 if test -n "$PKG_CONFIG"; then
34439     if test -n "$HILDON_CFLAGS"; then
34440         pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
34441     else
34442         if test -n "$PKG_CONFIG" && \
34443     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34444   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34445   ac_status=$?
34446   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34447   test $ac_status = 0; }; then
34448   pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34449 else
34450   pkg_failed=yes
34451 fi
34452     fi
34453 else
34454         pkg_failed=untried
34455 fi
34456 if test -n "$PKG_CONFIG"; then
34457     if test -n "$HILDON_LIBS"; then
34458         pkg_cv_HILDON_LIBS="$HILDON_LIBS"
34459     else
34460         if test -n "$PKG_CONFIG" && \
34461     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34462   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34463   ac_status=$?
34464   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34465   test $ac_status = 0; }; then
34466   pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34467 else
34468   pkg_failed=yes
34469 fi
34470     fi
34471 else
34472         pkg_failed=untried
34473 fi
34474
34475
34476
34477 if test $pkg_failed = yes; then
34478
34479 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34480         _pkg_short_errors_supported=yes
34481 else
34482         _pkg_short_errors_supported=no
34483 fi
34484         if test $_pkg_short_errors_supported = yes; then
34485                 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34486         else
34487                 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34488         fi
34489         # Put the nasty error message in config.log where it belongs
34490         echo "$HILDON_PKG_ERRORS" >&5
34491
34492
34493                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34494 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34495                         wxUSE_LIBHILDON="no"
34496                         ac_hildon_lgpl=0
34497
34498
34499 elif test $pkg_failed = untried; then
34500
34501                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34502 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34503                         wxUSE_LIBHILDON="no"
34504                         ac_hildon_lgpl=0
34505
34506
34507 else
34508         HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
34509         HILDON_LIBS=$pkg_cv_HILDON_LIBS
34510         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34511 $as_echo "yes" >&6; }
34512
34513                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON_LIBS"
34514                 CFLAGS="$CFLAGS $HILDON_CFLAGS"
34515                 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
34516                 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34517
34518                 ac_hildon_lgpl=1
34519
34520 fi
34521
34522         if test "$ac_hildon_lgpl" = 0 ; then
34523
34524 pkg_failed=no
34525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34526 $as_echo_n "checking for HILDON2... " >&6; }
34527
34528 if test -n "$PKG_CONFIG"; then
34529     if test -n "$HILDON2_CFLAGS"; then
34530         pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34531     else
34532         if test -n "$PKG_CONFIG" && \
34533     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34534   ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34535   ac_status=$?
34536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34537   test $ac_status = 0; }; then
34538   pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34539 else
34540   pkg_failed=yes
34541 fi
34542     fi
34543 else
34544         pkg_failed=untried
34545 fi
34546 if test -n "$PKG_CONFIG"; then
34547     if test -n "$HILDON2_LIBS"; then
34548         pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34549     else
34550         if test -n "$PKG_CONFIG" && \
34551     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34552   ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34553   ac_status=$?
34554   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34555   test $ac_status = 0; }; then
34556   pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34557 else
34558   pkg_failed=yes
34559 fi
34560     fi
34561 else
34562         pkg_failed=untried
34563 fi
34564
34565
34566
34567 if test $pkg_failed = yes; then
34568
34569 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34570         _pkg_short_errors_supported=yes
34571 else
34572         _pkg_short_errors_supported=no
34573 fi
34574         if test $_pkg_short_errors_supported = yes; then
34575                 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34576         else
34577                 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34578         fi
34579         # Put the nasty error message in config.log where it belongs
34580         echo "$HILDON2_PKG_ERRORS" >&5
34581
34582
34583                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34584 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34585                             wxUSE_LIBHILDON2="no"
34586
34587
34588 elif test $pkg_failed = untried; then
34589
34590                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34591 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34592                             wxUSE_LIBHILDON2="no"
34593
34594
34595 else
34596         HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34597         HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34598         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34599 $as_echo "yes" >&6; }
34600
34601                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON2_LIBS"
34602                     CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34603                     CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34604                     $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34605
34606
34607 fi
34608         fi
34609     fi
34610 fi
34611
34612 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34613   $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34614
34615 fi
34616
34617 if test "$wxUSE_STOPWATCH" = "yes"; then
34618   $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34619
34620 fi
34621
34622 if test "$wxUSE_DATETIME" = "yes"; then
34623   $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34624
34625 fi
34626
34627 if test "$wxUSE_FILE" = "yes"; then
34628   $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34629
34630 fi
34631
34632 if test "$wxUSE_FFILE" = "yes"; then
34633   $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34634
34635 fi
34636
34637 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34638   if test "$wxUSE_STREAMS" != yes; then
34639     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34640 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34641     wxUSE_ARCHIVE_STREAMS=no
34642   else
34643     $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34644
34645   fi
34646 fi
34647
34648 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34649   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34650     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34651 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34652   elif test "$wxUSE_ZLIB" = "no"; then
34653     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34654 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34655   else
34656     $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34657
34658   fi
34659 fi
34660
34661 if test "$wxUSE_TARSTREAM" = "yes"; then
34662   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34663     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34664 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34665   else
34666     $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34667
34668   fi
34669 fi
34670
34671 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34672   $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34673
34674 fi
34675
34676 if test "$wxUSE_FILESYSTEM" = "yes"; then
34677   if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34678     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34679 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34680     wxUSE_FILESYSTEM=no
34681   else
34682     $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34683
34684   fi
34685 fi
34686
34687 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34688   if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34689     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34690 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34691   else
34692     $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34693
34694   fi
34695 fi
34696
34697 if test "$wxUSE_FS_ZIP" = "yes"; then
34698   if test "$wxUSE_FS_ARCHIVE" != yes; then
34699     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34700 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34701   else
34702     $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34703
34704   fi
34705 fi
34706
34707 if test "$wxUSE_FSVOLUME" = "yes"; then
34708   $as_echo "#define wxUSE_FSVOLUME 1" >>confdefs.h
34709
34710 fi
34711
34712 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34713   if test "$USE_UNIX" != 1; then
34714     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34715 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34716     wxUSE_ON_FATAL_EXCEPTION=no
34717   else
34718     $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34719
34720   fi
34721 fi
34722
34723 if test "$wxUSE_STACKWALKER" = "yes"; then
34724     $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34725
34726 fi
34727
34728 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34729     if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34730         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34731 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34732         wxUSE_DEBUGREPORT=no
34733     else
34734         $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34735
34736         if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34737             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34738         fi
34739     fi
34740 fi
34741
34742 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34743   $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34744
34745 fi
34746
34747 if test "$wxUSE_BUSYINFO" = "yes"; then
34748   $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34749
34750 fi
34751
34752 if test "$wxUSE_HOTKEY" = "yes"; then
34753   if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34754     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34755 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34756     wxUSE_HOTKEY=no
34757   fi
34758 elif test "$wxUSE_HOTKEY" = "auto"; then
34759   if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34760     wxUSE_HOTKEY=yes
34761   fi
34762 fi
34763 if test "$wxUSE_HOTKEY" = "yes"; then
34764   $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34765
34766 fi
34767
34768 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34769   $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34770
34771 fi
34772
34773 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34774   $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34775
34776 fi
34777
34778 if test "$wxUSE_STD_STRING" = "yes"; then
34779   $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34780
34781 fi
34782
34783 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34784   $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34785
34786 fi
34787
34788 if test "$wxUSE_STDPATHS" = "yes"; then
34789   $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34790
34791 fi
34792
34793 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34794     $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34795
34796 fi
34797
34798 if test "$wxUSE_TEXTFILE" = "yes"; then
34799   if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34800     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34801 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34802   else
34803     $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34804
34805   fi
34806 fi
34807
34808 if test "$wxUSE_CONFIG" = "yes" ; then
34809   if test "$wxUSE_TEXTFILE" != "yes"; then
34810     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34811 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34812   else
34813     $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34814
34815     $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34816
34817     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34818   fi
34819 fi
34820
34821 if test "$wxUSE_INTL" = "yes" ; then
34822   if test "$wxUSE_FILE" != "yes"; then
34823     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34824 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34825   else
34826     $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34827
34828     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34829     GUIDIST="$GUIDIST INTL_DIST"
34830   fi
34831 fi
34832
34833 if test "$wxUSE_XLOCALE" = "yes" ; then
34834     $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34835
34836     ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34837                     #include <locale.h>
34838 "
34839 if test "x$ac_cv_type_locale_t" = xyes; then :
34840
34841 cat >>confdefs.h <<_ACEOF
34842 #define HAVE_LOCALE_T 1
34843 _ACEOF
34844
34845
34846 fi
34847
34848 fi
34849
34850 if test "$wxUSE_LOG" = "yes"; then
34851   $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34852
34853
34854     if test "$wxUSE_LOGGUI" = "yes"; then
34855       $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34856
34857     fi
34858
34859     if test "$wxUSE_LOGWINDOW" = "yes"; then
34860       $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34861
34862     fi
34863
34864     if test "$wxUSE_LOGDIALOG" = "yes"; then
34865       $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34866
34867     fi
34868
34869         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
34870 fi
34871
34872 if test "$wxUSE_LONGLONG" = "yes"; then
34873   $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34874
34875 fi
34876
34877 if test "$wxUSE_GEOMETRY" = "yes"; then
34878   $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34879
34880 fi
34881
34882 if test "$wxUSE_BASE64" = "yes"; then
34883   $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34884
34885 fi
34886
34887 if test "$wxUSE_STREAMS" = "yes" ; then
34888   $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34889
34890 fi
34891
34892 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34893   $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34894
34895 fi
34896
34897 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34898   $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34899
34900 fi
34901
34902
34903 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34904     $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34905
34906
34907     if test "$wxUSE_UNIX" = "yes"; then
34908         if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34909             $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34910
34911         fi
34912
34913         if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34914             for ac_header in sys/epoll.h
34915 do :
34916   ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34917 "
34918 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
34919   cat >>confdefs.h <<_ACEOF
34920 #define HAVE_SYS_EPOLL_H 1
34921 _ACEOF
34922
34923 fi
34924
34925 done
34926
34927             if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34928                 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34929
34930             else
34931                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34932 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34933             fi
34934         fi
34935     fi
34936 fi
34937
34938
34939 for ac_func in gettimeofday ftime
34940 do :
34941   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34942 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34943 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34944   cat >>confdefs.h <<_ACEOF
34945 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34946 _ACEOF
34947  break
34948 fi
34949 done
34950
34951
34952 if test "$ac_cv_func_gettimeofday" = "yes"; then
34953     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34954 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34955 if ${wx_cv_func_gettimeofday_has_2_args+:} false; then :
34956   $as_echo_n "(cached) " >&6
34957 else
34958
34959                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34960 /* end confdefs.h.  */
34961
34962                 #include <sys/time.h>
34963                 #include <unistd.h>
34964
34965 int
34966 main ()
34967 {
34968
34969                 struct timeval tv;
34970                 gettimeofday(&tv, NULL);
34971
34972   ;
34973   return 0;
34974 }
34975 _ACEOF
34976 if ac_fn_c_try_compile "$LINENO"; then :
34977   wx_cv_func_gettimeofday_has_2_args=yes
34978 else
34979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34980 /* end confdefs.h.  */
34981
34982                     #include <sys/time.h>
34983                     #include <unistd.h>
34984
34985 int
34986 main ()
34987 {
34988
34989                     struct timeval tv;
34990                     gettimeofday(&tv);
34991
34992   ;
34993   return 0;
34994 }
34995 _ACEOF
34996 if ac_fn_c_try_compile "$LINENO"; then :
34997   wx_cv_func_gettimeofday_has_2_args=no
34998 else
34999
35000                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
35001 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35002                     wx_cv_func_gettimeofday_has_2_args=unknown
35003
35004
35005 fi
35006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35007
35008 fi
35009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35010
35011 fi
35012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35013 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
35014
35015     if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35016         $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
35017
35018     fi
35019 fi
35020
35021 if test "$wxUSE_DATETIME" = "yes"; then
35022             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
35023 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
35024 if ${wx_cv_var_timezone+:} false; then :
35025   $as_echo_n "(cached) " >&6
35026 else
35027
35028                         ac_ext=cpp
35029 ac_cpp='$CXXCPP $CPPFLAGS'
35030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35033
35034                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35035 /* end confdefs.h.  */
35036
35037                                 #include <time.h>
35038
35039 int
35040 main ()
35041 {
35042
35043                                 int tz;
35044                                 tz = timezone;
35045
35046   ;
35047   return 0;
35048 }
35049 _ACEOF
35050 if ac_fn_cxx_try_compile "$LINENO"; then :
35051
35052                                 wx_cv_var_timezone=timezone
35053
35054 else
35055
35056                                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35057 /* end confdefs.h.  */
35058
35059                                         #include <time.h>
35060
35061 int
35062 main ()
35063 {
35064
35065                                         int tz;
35066                                         tz = _timezone;
35067
35068   ;
35069   return 0;
35070 }
35071 _ACEOF
35072 if ac_fn_cxx_try_compile "$LINENO"; then :
35073
35074                                         wx_cv_var_timezone=_timezone
35075
35076 else
35077
35078                                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35079 /* end confdefs.h.  */
35080
35081                                                 #include <time.h>
35082
35083 int
35084 main ()
35085 {
35086
35087                                                 int tz;
35088                                                 tz = __timezone;
35089
35090   ;
35091   return 0;
35092 }
35093 _ACEOF
35094 if ac_fn_cxx_try_compile "$LINENO"; then :
35095
35096                                                 wx_cv_var_timezone=__timezone
35097
35098 else
35099
35100                                                 if test "$USE_DOS" = 0 ; then
35101                                                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
35102 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
35103                                                 fi
35104
35105
35106 fi
35107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35108
35109
35110 fi
35111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35112
35113
35114 fi
35115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35116                         ac_ext=c
35117 ac_cpp='$CPP $CPPFLAGS'
35118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35121
35122
35123
35124 fi
35125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
35126 $as_echo "$wx_cv_var_timezone" >&6; }
35127
35128         if test "x$wx_cv_var_timezone" != x ; then
35129         cat >>confdefs.h <<_ACEOF
35130 #define WX_TIMEZONE $wx_cv_var_timezone
35131 _ACEOF
35132
35133     fi
35134
35135         for ac_func in localtime
35136 do :
35137   ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
35138 if test "x$ac_cv_func_localtime" = xyes; then :
35139   cat >>confdefs.h <<_ACEOF
35140 #define HAVE_LOCALTIME 1
35141 _ACEOF
35142
35143 fi
35144 done
35145
35146
35147     if test "$ac_cv_func_localtime" = "yes"; then
35148         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35149 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35150 if ${wx_cv_struct_tm_has_gmtoff+:} false; then :
35151   $as_echo_n "(cached) " >&6
35152 else
35153
35154             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35155 /* end confdefs.h.  */
35156
35157                     #include <time.h>
35158
35159 int
35160 main ()
35161 {
35162
35163                     struct tm tm;
35164                     tm.tm_gmtoff++;
35165
35166   ;
35167   return 0;
35168 }
35169 _ACEOF
35170 if ac_fn_c_try_compile "$LINENO"; then :
35171
35172                     wx_cv_struct_tm_has_gmtoff=yes
35173
35174 else
35175   wx_cv_struct_tm_has_gmtoff=no
35176
35177 fi
35178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35179
35180 fi
35181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35182 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35183     fi
35184
35185     if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35186         $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35187
35188     fi
35189
35190     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35191 fi
35192
35193
35194 for ac_func in setpriority
35195 do :
35196   ac_fn_c_check_func "$LINENO" "setpriority" "ac_cv_func_setpriority"
35197 if test "x$ac_cv_func_setpriority" = xyes; then :
35198   cat >>confdefs.h <<_ACEOF
35199 #define HAVE_SETPRIORITY 1
35200 _ACEOF
35201
35202 fi
35203 done
35204
35205
35206
35207 if test "$wxUSE_SOCKETS" = "yes"; then
35208         if test "$TOOLKIT" != "MSW"; then
35209                 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
35210 if test "x$ac_cv_func_socket" = xyes; then :
35211
35212 else
35213
35214                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35215 $as_echo_n "checking for socket in -lsocket... " >&6; }
35216 if ${ac_cv_lib_socket_socket+:} false; then :
35217   $as_echo_n "(cached) " >&6
35218 else
35219   ac_check_lib_save_LIBS=$LIBS
35220 LIBS="-lsocket  $LIBS"
35221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35222 /* end confdefs.h.  */
35223
35224 /* Override any GCC internal prototype to avoid an error.
35225    Use char because int might match the return type of a GCC
35226    builtin and then its argument prototype would still apply.  */
35227 #ifdef __cplusplus
35228 extern "C"
35229 #endif
35230 char socket ();
35231 int
35232 main ()
35233 {
35234 return socket ();
35235   ;
35236   return 0;
35237 }
35238 _ACEOF
35239 if ac_fn_c_try_link "$LINENO"; then :
35240   ac_cv_lib_socket_socket=yes
35241 else
35242   ac_cv_lib_socket_socket=no
35243 fi
35244 rm -f core conftest.err conftest.$ac_objext \
35245     conftest$ac_exeext conftest.$ac_ext
35246 LIBS=$ac_check_lib_save_LIBS
35247 fi
35248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35249 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35250 if test "x$ac_cv_lib_socket_socket" = xyes; then :
35251   if test "$INET_LINK" != " -lsocket"; then
35252                         INET_LINK="$INET_LINK -lsocket"
35253                     fi
35254 else
35255
35256                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35257 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35258                         wxUSE_SOCKETS=no
35259
35260
35261 fi
35262
35263
35264
35265 fi
35266
35267     fi
35268 fi
35269
35270 if test "$wxUSE_SOCKETS" = "yes" ; then
35271                 if test "$TOOLKIT" != "MSW"; then
35272                                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35273 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35274 if ${wx_cv_type_getsockname3+:} false; then :
35275   $as_echo_n "(cached) " >&6
35276 else
35277
35278                 ac_ext=cpp
35279 ac_cpp='$CXXCPP $CPPFLAGS'
35280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35283
35284                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35285 /* end confdefs.h.  */
35286
35287                         #include <sys/types.h>
35288                         #include <sys/socket.h>
35289
35290 int
35291 main ()
35292 {
35293
35294                         socklen_t len;
35295                         getsockname(0, 0, &len);
35296
35297   ;
35298   return 0;
35299 }
35300 _ACEOF
35301 if ac_fn_cxx_try_compile "$LINENO"; then :
35302   wx_cv_type_getsockname3=socklen_t
35303 else
35304
35305                                                                                                                                                                         CFLAGS_OLD="$CFLAGS"
35306                         if test "$GCC" = yes ; then
35307                             CFLAGS="-Werror $CFLAGS"
35308                         fi
35309
35310                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35311 /* end confdefs.h.  */
35312
35313                                 #include <sys/types.h>
35314                                 #include <sys/socket.h>
35315
35316 int
35317 main ()
35318 {
35319
35320                                 size_t len;
35321                                 getsockname(0, 0, &len);
35322
35323   ;
35324   return 0;
35325 }
35326 _ACEOF
35327 if ac_fn_cxx_try_compile "$LINENO"; then :
35328   wx_cv_type_getsockname3=size_t
35329 else
35330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35331 /* end confdefs.h.  */
35332
35333                                     #include <sys/types.h>
35334                                     #include <sys/socket.h>
35335
35336 int
35337 main ()
35338 {
35339
35340                                     int len;
35341                                     getsockname(0, 0, &len);
35342
35343   ;
35344   return 0;
35345 }
35346 _ACEOF
35347 if ac_fn_cxx_try_compile "$LINENO"; then :
35348   wx_cv_type_getsockname3=int
35349 else
35350   wx_cv_type_getsockname3=unknown
35351
35352 fi
35353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35354
35355 fi
35356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35357
35358                         CFLAGS="$CFLAGS_OLD"
35359
35360
35361 fi
35362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35363                 ac_ext=c
35364 ac_cpp='$CPP $CPPFLAGS'
35365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35368
35369
35370 fi
35371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35372 $as_echo "$wx_cv_type_getsockname3" >&6; }
35373
35374         if test "$wx_cv_type_getsockname3" = "unknown"; then
35375             wxUSE_SOCKETS=no
35376             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35377 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35378         else
35379             cat >>confdefs.h <<_ACEOF
35380 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35381 _ACEOF
35382
35383         fi
35384                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35385 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35386 if ${wx_cv_type_getsockopt5+:} false; then :
35387   $as_echo_n "(cached) " >&6
35388 else
35389
35390                                                                                                 ac_ext=cpp
35391 ac_cpp='$CXXCPP $CPPFLAGS'
35392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35395
35396                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35397 /* end confdefs.h.  */
35398
35399                         #include <sys/types.h>
35400                         #include <sys/socket.h>
35401
35402 int
35403 main ()
35404 {
35405
35406                         socklen_t len;
35407                         getsockopt(0, 0, 0, 0, &len);
35408
35409   ;
35410   return 0;
35411 }
35412 _ACEOF
35413 if ac_fn_cxx_try_compile "$LINENO"; then :
35414   wx_cv_type_getsockopt5=socklen_t
35415 else
35416
35417                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35418 /* end confdefs.h.  */
35419
35420                                 #include <sys/types.h>
35421                                 #include <sys/socket.h>
35422
35423 int
35424 main ()
35425 {
35426
35427                                 size_t len;
35428                                 getsockopt(0, 0, 0, 0, &len);
35429
35430   ;
35431   return 0;
35432 }
35433 _ACEOF
35434 if ac_fn_cxx_try_compile "$LINENO"; then :
35435   wx_cv_type_getsockopt5=size_t
35436 else
35437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35438 /* end confdefs.h.  */
35439
35440                                     #include <sys/types.h>
35441                                     #include <sys/socket.h>
35442
35443 int
35444 main ()
35445 {
35446
35447                                     int len;
35448                                     getsockopt(0, 0, 0, 0, &len);
35449
35450   ;
35451   return 0;
35452 }
35453 _ACEOF
35454 if ac_fn_cxx_try_compile "$LINENO"; then :
35455   wx_cv_type_getsockopt5=int
35456 else
35457   wx_cv_type_getsockopt5=unknown
35458
35459 fi
35460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35461
35462 fi
35463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35464
35465
35466 fi
35467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35468                 ac_ext=c
35469 ac_cpp='$CPP $CPPFLAGS'
35470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35473
35474
35475 fi
35476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35477 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35478
35479         if test "$wx_cv_type_getsockopt5" = "unknown"; then
35480             wxUSE_SOCKETS=no
35481             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35482 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35483         else
35484             cat >>confdefs.h <<_ACEOF
35485 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35486 _ACEOF
35487
35488         fi
35489     fi
35490 fi
35491
35492 if test "$wxUSE_SOCKETS" = "yes" ; then
35493     if test "$wxUSE_IPV6" = "yes"; then
35494         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35495 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35496 if ${wx_cv_type_sockaddr_in6+:} false; then :
35497   $as_echo_n "(cached) " >&6
35498 else
35499
35500                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35501 /* end confdefs.h.  */
35502
35503                         #include <sys/types.h>
35504                         #include <sys/socket.h>
35505                         #include <netinet/in.h>
35506
35507 int
35508 main ()
35509 {
35510
35511                         struct sockaddr_in6 sa6;
35512
35513   ;
35514   return 0;
35515 }
35516 _ACEOF
35517 if ac_fn_c_try_compile "$LINENO"; then :
35518   wx_cv_type_sockaddr_in6=yes
35519 else
35520   wx_cv_type_sockaddr_in6=no
35521
35522 fi
35523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35524
35525
35526 fi
35527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35528 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35529
35530         if test "$wx_cv_type_sockaddr_in6"="yes"; then
35531             $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35532
35533         else
35534             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35535 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35536         fi
35537     fi
35538
35539     $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35540
35541     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35542 fi
35543
35544 if test "$wxUSE_PROTOCOL" = "yes"; then
35545     if test "$wxUSE_SOCKETS" != "yes"; then
35546         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35547 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35548         wxUSE_PROTOCOL=no
35549     fi
35550 fi
35551
35552 if test "$wxUSE_PROTOCOL" = "yes"; then
35553     $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35554
35555
35556     if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35557         $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35558
35559     fi
35560     if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35561         $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35562
35563     fi
35564     if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35565         $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35566
35567     fi
35568 else
35569     if test "$wxUSE_FS_INET" = "yes"; then
35570         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35571 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35572         wxUSE_FS_INET="no"
35573     fi
35574 fi
35575
35576 if test "$wxUSE_URL" = "yes"; then
35577     if test "$wxUSE_PROTOCOL" != "yes"; then
35578         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35579 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35580         wxUSE_URL=no
35581     fi
35582     if test "$wxUSE_URL" = "yes"; then
35583         $as_echo "#define wxUSE_URL 1" >>confdefs.h
35584
35585     fi
35586 fi
35587
35588 if test "$wxUSE_VARIANT" = "yes"; then
35589     $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35590
35591 fi
35592
35593 if test "$wxUSE_FS_INET" = "yes"; then
35594   $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35595
35596 fi
35597
35598
35599 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35600     wxUSE_JOYSTICK=no
35601
35602         if test "$TOOLKIT" = "MSW"; then
35603         wxUSE_JOYSTICK=yes
35604
35605         elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35606         if test "$USE_DARWIN" = 1; then
35607                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35608 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35609             ac_ext=cpp
35610 ac_cpp='$CXXCPP $CPPFLAGS'
35611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35614
35615             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35616 /* end confdefs.h.  */
35617  #include <IOKit/hid/IOHIDLib.h>
35618 int
35619 main ()
35620 {
35621  IOHIDQueueInterface *qi = NULL;
35622                               IOHIDCallbackFunction cb = NULL;
35623                               qi->setEventCallout(NULL, cb, NULL, NULL);
35624   ;
35625   return 0;
35626 }
35627 _ACEOF
35628 if ac_fn_cxx_try_compile "$LINENO"; then :
35629    wxUSE_JOYSTICK=yes
35630
35631 fi
35632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35633             ac_ext=c
35634 ac_cpp='$CPP $CPPFLAGS'
35635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35638
35639             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35640 $as_echo "$wxUSE_JOYSTICK" >&6; }
35641         fi
35642
35643         else
35644                                                         for ac_header in linux/joystick.h
35645 do :
35646   ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35647 "
35648 if test "x$ac_cv_header_linux_joystick_h" = xyes; then :
35649   cat >>confdefs.h <<_ACEOF
35650 #define HAVE_LINUX_JOYSTICK_H 1
35651 _ACEOF
35652  wxUSE_JOYSTICK=yes
35653 fi
35654
35655 done
35656
35657     fi
35658
35659     if test "$wxUSE_JOYSTICK" = "yes"; then
35660         $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35661
35662         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35663     else
35664         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35665 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35666     fi
35667 fi
35668
35669
35670
35671 if test "$wxUSE_FONTENUM" = "yes" ; then
35672   $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35673
35674 fi
35675
35676 if test "$wxUSE_FONTMAP" = "yes" ; then
35677   $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35678
35679 fi
35680
35681 if test "$wxUSE_UNICODE" = "yes" ; then
35682   $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35683
35684
35685   if test "$USE_WIN32" != 1; then
35686       wxUSE_UNICODE_MSLU=no
35687   fi
35688
35689   if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35690         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35691 $as_echo_n "checking for main in -lunicows... " >&6; }
35692 if ${ac_cv_lib_unicows_main+:} false; then :
35693   $as_echo_n "(cached) " >&6
35694 else
35695   ac_check_lib_save_LIBS=$LIBS
35696 LIBS="-lunicows  $LIBS"
35697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35698 /* end confdefs.h.  */
35699
35700
35701 int
35702 main ()
35703 {
35704 return main ();
35705   ;
35706   return 0;
35707 }
35708 _ACEOF
35709 if ac_fn_c_try_link "$LINENO"; then :
35710   ac_cv_lib_unicows_main=yes
35711 else
35712   ac_cv_lib_unicows_main=no
35713 fi
35714 rm -f core conftest.err conftest.$ac_objext \
35715     conftest$ac_exeext conftest.$ac_ext
35716 LIBS=$ac_check_lib_save_LIBS
35717 fi
35718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35719 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35720 if test "x$ac_cv_lib_unicows_main" = xyes; then :
35721
35722                 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35723
35724
35725 else
35726
35727                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35728                              Applications will only run on Windows NT/2000/XP!" >&5
35729 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35730                              Applications will only run on Windows NT/2000/XP!" >&2;}
35731                 wxUSE_UNICODE_MSLU=no
35732
35733 fi
35734
35735     fi
35736 fi
35737
35738 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35739     $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35740
35741
35742     if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35743         $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35744
35745     fi
35746 fi
35747
35748
35749 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35750     $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35751
35752     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35753 fi
35754
35755 if test "$wxUSE_MDI" = "yes"; then
35756     $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35757
35758
35759     if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35760         $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35761
35762         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35763     fi
35764 fi
35765
35766 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35767     $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35768
35769     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35770 fi
35771
35772 if test "$wxUSE_HELP" = "yes"; then
35773     $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35774
35775     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35776
35777     if test "$wxUSE_MSW" = 1; then
35778       if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35779         $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35780
35781       fi
35782     fi
35783
35784     if test "$wxUSE_WXHTML_HELP" = "yes"; then
35785       if test "$wxUSE_HTML" = "yes"; then
35786         $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35787
35788       else
35789         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35790 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35791         wxUSE_WXHTML_HELP=no
35792       fi
35793     fi
35794 fi
35795
35796 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35797     $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35798
35799     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35800 fi
35801
35802 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35803   $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35804
35805 fi
35806
35807 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35808
35809
35810 if test "$wxUSE_SVG" = "yes"; then
35811     $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35812
35813 fi
35814
35815
35816 if test "$wxUSE_METAFILE" = "yes"; then
35817     if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35818         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35819 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35820         wxUSE_METAFILE=no
35821     fi
35822 elif test "$wxUSE_METAFILE" = "auto"; then
35823     if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35824         wxUSE_METAFILE=yes
35825     fi
35826 fi
35827
35828 if test "$wxUSE_METAFILE" = "yes"; then
35829     $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35830
35831     if test "$wxUSE_MSW" = 1; then
35832                 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35833
35834     fi
35835 fi
35836
35837
35838 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ"       = "yes" \
35839                           -o "$wxUSE_CLIPBOARD"     = "yes" \
35840                           -o "$wxUSE_OLE"     = "yes" \
35841                           -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35842     ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35843 "
35844 if test "x$ac_cv_header_ole2_h" = xyes; then :
35845
35846 fi
35847
35848
35849
35850     if test "$ac_cv_header_ole2_h" = "yes" ; then
35851         if test "$GCC" = yes ; then
35852             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35853 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35854             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35855 /* end confdefs.h.  */
35856 #include <windows.h>
35857                             #include <ole2.h>
35858 int
35859 main ()
35860 {
35861
35862   ;
35863   return 0;
35864 }
35865 _ACEOF
35866 if ac_fn_c_try_compile "$LINENO"; then :
35867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35868 $as_echo "no" >&6; }
35869 else
35870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35871 $as_echo "yes" >&6; }
35872                             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35873 fi
35874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35875             LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35876             if test "$wxUSE_OLE" = "yes" ; then
35877                 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35878
35879                 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35880
35881                 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35882
35883                 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
35884             fi
35885         fi
35886
35887                 if test "$wxUSE_DATAOBJ" = "yes" ; then
35888             $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35889
35890         fi
35891     else
35892         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35893 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35894
35895         wxUSE_CLIPBOARD=no
35896         wxUSE_DRAG_AND_DROP=no
35897         wxUSE_DATAOBJ=no
35898         wxUSE_OLE=no
35899     fi
35900 fi
35901
35902 if test "$wxUSE_IPC" = "yes"; then
35903     if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35904         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35905 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35906         wxUSE_IPC=no
35907     fi
35908
35909     if test "$wxUSE_IPC" = "yes"; then
35910         $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35911
35912         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
35913     fi
35914 fi
35915
35916 if test "$wxUSE_DATAOBJ" = "yes"; then
35917     $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35918
35919 else
35920     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35921 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35922     wxUSE_CLIPBOARD=no
35923     wxUSE_DRAG_AND_DROP=no
35924 fi
35925
35926 if test "$wxUSE_CLIPBOARD" = "yes"; then
35927     if test "$wxUSE_DFB" = 1; then
35928         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35929 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35930         wxUSE_CLIPBOARD=no
35931     fi
35932
35933     if test "$wxUSE_CLIPBOARD" = "yes"; then
35934         $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35935
35936     fi
35937 fi
35938
35939 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35940     if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35941         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35942 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35943         wxUSE_DRAG_AND_DROP=no
35944     fi
35945
35946     if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35947         $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35948
35949     fi
35950
35951 fi
35952
35953 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35954     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
35955 fi
35956
35957 if test "$wxUSE_CLIPBOARD" = "yes"; then
35958     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
35959 fi
35960
35961 if test "$wxUSE_SPLINES" = "yes" ; then
35962   $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35963
35964 fi
35965
35966 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35967   $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35968
35969 fi
35970
35971 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35972     $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35973
35974     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
35975 fi
35976
35977 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35978     $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35979
35980 fi
35981
35982
35983 USES_CONTROLS=0
35984 if test "$wxUSE_CONTROLS" = "yes"; then
35985   USES_CONTROLS=1
35986 fi
35987
35988 if test "$wxUSE_MARKUP" = "yes"; then
35989   $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35990
35991 fi
35992
35993 if test "$wxUSE_ACCEL" = "yes"; then
35994   $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35995
35996   USES_CONTROLS=1
35997 fi
35998
35999 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
36000   $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
36001
36002   USES_CONTROLS=1
36003   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
36004 fi
36005
36006 if test "$wxUSE_BANNERWINDOW" = "yes"; then
36007   $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
36008
36009 fi
36010
36011 if test "$wxUSE_BUTTON" = "yes"; then
36012   $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
36013
36014   USES_CONTROLS=1
36015 fi
36016
36017 if test "$wxUSE_BMPBUTTON" = "yes"; then
36018   $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
36019
36020   USES_CONTROLS=1
36021 fi
36022
36023 if test "$wxUSE_CALCTRL" = "yes"; then
36024   $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
36025
36026   USES_CONTROLS=1
36027   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36028 fi
36029
36030 if test "$wxUSE_CARET" = "yes"; then
36031   $as_echo "#define wxUSE_CARET 1" >>confdefs.h
36032
36033   USES_CONTROLS=1
36034   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36035 fi
36036
36037 if test "$wxUSE_COLLPANE" = "yes"; then
36038     $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
36039
36040     USES_CONTROLS=1
36041     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
36042 fi
36043
36044 if test "$wxUSE_COMBOBOX" = "yes"; then
36045   $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
36046
36047   USES_CONTROLS=1
36048 fi
36049
36050 if test "$wxUSE_COMBOCTRL" = "yes"; then
36051   $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
36052
36053   USES_CONTROLS=1
36054 fi
36055
36056 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
36057   $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
36058
36059   USES_CONTROLS=1
36060 fi
36061
36062 if test "$wxUSE_CHOICE" = "yes"; then
36063   $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
36064
36065   USES_CONTROLS=1
36066 fi
36067
36068 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36069     $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
36070
36071     USES_CONTROLS=1
36072 fi
36073
36074 if test "$wxUSE_CHECKBOX" = "yes"; then
36075   $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
36076
36077   USES_CONTROLS=1
36078 fi
36079
36080 if test "$wxUSE_CHECKLST" = "yes"; then
36081   $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
36082
36083   USES_CONTROLS=1
36084 fi
36085
36086 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
36087   $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
36088
36089   USES_CONTROLS=1
36090 fi
36091
36092 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
36093   $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
36094
36095   USES_CONTROLS=1
36096 fi
36097
36098 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
36099   $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
36100
36101   USES_CONTROLS=1
36102 fi
36103
36104 if test "$wxUSE_FILECTRL" = "yes"; then
36105   $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
36106
36107   USES_CONTROLS=1
36108 fi
36109
36110 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
36111   $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
36112
36113   USES_CONTROLS=1
36114 fi
36115
36116 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
36117   $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
36118
36119   USES_CONTROLS=1
36120 fi
36121
36122 if test "$wxUSE_DISPLAY" = "yes"; then
36123     if test "$wxUSE_DFB" = 1; then
36124         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
36125 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
36126         wxUSE_DISPLAY=no
36127     else
36128         $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
36129
36130         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36131     fi
36132 fi
36133
36134 if test "$wxUSE_DETECT_SM" = "yes"; then
36135     $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
36136
36137 fi
36138
36139 if test "$wxUSE_GAUGE" = "yes"; then
36140   $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
36141
36142   USES_CONTROLS=1
36143 fi
36144
36145 if test "$wxUSE_GRID" = "yes"; then
36146   $as_echo "#define wxUSE_GRID 1" >>confdefs.h
36147
36148   USES_CONTROLS=1
36149   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36150 fi
36151
36152 if test "$wxUSE_HEADERCTRL" = "yes"; then
36153   $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36154
36155   USES_CONTROLS=1
36156 fi
36157
36158 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36159   $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36160
36161   USES_CONTROLS=1
36162 fi
36163
36164 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36165   $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36166
36167   USES_CONTROLS=1
36168 fi
36169
36170 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36171   $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36172
36173   USES_CONTROLS=1
36174   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
36175 fi
36176
36177 if test "$wxUSE_IMAGLIST" = "yes"; then
36178     $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36179
36180 fi
36181
36182 if test "$wxUSE_INFOBAR" = "yes"; then
36183     $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36184
36185 fi
36186
36187 if test "$wxUSE_LISTBOOK" = "yes"; then
36188     $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36189
36190     USES_CONTROLS=1
36191 fi
36192
36193 if test "$wxUSE_LISTBOX" = "yes"; then
36194     $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36195
36196     USES_CONTROLS=1
36197 fi
36198
36199 if test "$wxUSE_LISTCTRL" = "yes"; then
36200     if test "$wxUSE_IMAGLIST" = "yes"; then
36201         $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36202
36203         USES_CONTROLS=1
36204         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36205     else
36206         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36207 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36208     fi
36209 fi
36210
36211 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36212     $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36213
36214     USES_CONTROLS=1
36215 fi
36216
36217 if test "$wxUSE_NOTEBOOK" = "yes"; then
36218     $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36219
36220     USES_CONTROLS=1
36221     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36222 fi
36223
36224 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36225     $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36226
36227 fi
36228
36229 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36230   $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36231
36232   USES_CONTROLS=1
36233   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
36234 fi
36235
36236 if test "$wxUSE_RADIOBOX" = "yes"; then
36237     $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36238
36239     USES_CONTROLS=1
36240 fi
36241
36242 if test "$wxUSE_RADIOBTN" = "yes"; then
36243     $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36244
36245     USES_CONTROLS=1
36246 fi
36247
36248 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36249     $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36250
36251 fi
36252
36253 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36254     $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36255
36256 fi
36257
36258 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36259     $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36260
36261 fi
36262
36263 if test "$wxUSE_SASH" = "yes"; then
36264     $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36265
36266     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36267 fi
36268
36269 if test "$wxUSE_SCROLLBAR" = "yes"; then
36270     $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36271
36272     USES_CONTROLS=1
36273     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
36274 fi
36275
36276 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36277     $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36278
36279     USES_CONTROLS=1
36280 fi
36281
36282 if test "$wxUSE_SLIDER" = "yes"; then
36283     $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36284
36285     USES_CONTROLS=1
36286 fi
36287
36288 if test "$wxUSE_SPINBTN" = "yes"; then
36289     $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36290
36291     USES_CONTROLS=1
36292 fi
36293
36294 if test "$wxUSE_SPINCTRL" = "yes"; then
36295     $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36296
36297     USES_CONTROLS=1
36298 fi
36299
36300 if test "$wxUSE_SPLITTER" = "yes"; then
36301     $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36302
36303     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36304 fi
36305
36306 if test "$wxUSE_STATBMP" = "yes"; then
36307     $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36308
36309     USES_CONTROLS=1
36310 fi
36311
36312 if test "$wxUSE_STATBOX" = "yes"; then
36313     $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36314
36315     USES_CONTROLS=1
36316 fi
36317
36318 if test "$wxUSE_STATTEXT" = "yes"; then
36319     $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36320
36321     USES_CONTROLS=1
36322 fi
36323
36324 if test "$wxUSE_STATLINE" = "yes"; then
36325     $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36326
36327     USES_CONTROLS=1
36328 fi
36329
36330 if test "$wxUSE_STATUSBAR" = "yes"; then
36331         $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36332
36333     $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36334
36335     USES_CONTROLS=1
36336
36337     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36338 fi
36339
36340 if test "$wxUSE_TEXTCTRL" = "yes"; then
36341     $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36342
36343     USES_CONTROLS=1
36344     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36345
36346             $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36347
36348     $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36349
36350 fi
36351
36352 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36353   $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36354
36355   USES_CONTROLS=1
36356 fi
36357
36358 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36359     if test "$wxUSE_OLD_COCOA" = 1 ; then
36360         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36361 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36362         wxUSE_TOGGLEBTN=no
36363     fi
36364
36365     if test "$wxUSE_TOGGLEBTN" = "yes"; then
36366         $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36367
36368         USES_CONTROLS=1
36369     fi
36370 fi
36371
36372 if test "$wxUSE_TOOLBAR" = "yes"; then
36373     $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36374
36375     USES_CONTROLS=1
36376
36377     if test "$wxUSE_UNIVERSAL" = "yes"; then
36378         wxUSE_TOOLBAR_NATIVE="no"
36379     else
36380         wxUSE_TOOLBAR_NATIVE="yes"
36381         $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36382
36383     fi
36384
36385     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36386 fi
36387
36388 if test "$wxUSE_TOOLTIPS" = "yes"; then
36389     if test "$wxUSE_MOTIF" = 1; then
36390         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36391 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36392     else
36393         if test "$wxUSE_UNIVERSAL" = "yes"; then
36394             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36395 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36396         else
36397             $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36398
36399         fi
36400     fi
36401 fi
36402
36403 if test "$wxUSE_TREEBOOK" = "yes"; then
36404     $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36405
36406     USES_CONTROLS=1
36407 fi
36408
36409 if test "$wxUSE_TOOLBOOK" = "yes"; then
36410     $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36411
36412     USES_CONTROLS=1
36413 fi
36414
36415 if test "$wxUSE_TREECTRL" = "yes"; then
36416     if test "$wxUSE_IMAGLIST" = "yes"; then
36417         $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36418
36419         USES_CONTROLS=1
36420         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36421     else
36422         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36423 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36424     fi
36425 fi
36426
36427 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36428     $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36429
36430     USES_CONTROLS=1
36431     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
36432 fi
36433
36434 if test "$wxUSE_POPUPWIN" = "yes"; then
36435     if test "$wxUSE_OLD_COCOA" = 1 ; then
36436         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36437 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36438     else
36439         if test "$wxUSE_PM" = 1; then
36440             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36441 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36442         else
36443             $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36444
36445             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
36446
36447             USES_CONTROLS=1
36448         fi
36449     fi
36450 fi
36451
36452 if test "$wxUSE_PREFERENCES_EDITOR" = "yes"; then
36453     $as_echo "#define wxUSE_PREFERENCES_EDITOR 1" >>confdefs.h
36454
36455     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS prefseditor"
36456 fi
36457
36458 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36459     if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36460         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36461 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36462     else
36463         $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36464
36465         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
36466     fi
36467 fi
36468
36469 if test "$wxUSE_TIPWINDOW" = "yes"; then
36470     if test "$wxUSE_PM" = 1; then
36471         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36472 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36473     else
36474         $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36475
36476     fi
36477 fi
36478
36479 if test "$USES_CONTROLS" = 1; then
36480     $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36481
36482 fi
36483
36484
36485 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36486     $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36487
36488     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36489 fi
36490
36491 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36492     $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36493
36494 fi
36495
36496 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36497             if test "$wxUSE_GTK" != 1; then
36498                 if test "$wxUSE_LIBPNG" != no -a \
36499                 "$wxUSE_IMAGE" = yes -a \
36500                 "$wxUSE_STREAMS" = yes; then
36501             wxUSE_ARTPROVIDER_TANGO="yes"
36502         fi
36503     fi
36504 fi
36505
36506 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36507     $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36508
36509 fi
36510
36511 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36512     $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36513
36514     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36515 fi
36516
36517 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36518     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36519         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36520 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36521     else
36522         $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36523
36524         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36525     fi
36526 fi
36527
36528 USE_HTML=0
36529 if test "$wxUSE_HTML" = "yes"; then
36530     $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36531
36532     USE_HTML=1
36533     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36534 fi
36535 if test "$wxUSE_WEBKIT" = "yes"; then
36536     if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36537         old_CPPFLAGS="$CPPFLAGS"
36538         CPPFLAGS="-x objective-c++ $CPPFLAGS"
36539         ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36540                            #include <Carbon/Carbon.h>
36541                            #include <WebKit/WebKit.h>
36542
36543 "
36544 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36545
36546                            $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36547
36548                            WEBKIT_LINK="-framework WebKit"
36549
36550 else
36551
36552                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36553 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36554                            wxUSE_WEBKIT=no
36555
36556 fi
36557
36558
36559         CPPFLAGS="$old_CPPFLAGS"
36560     elif test "$wxUSE_OLD_COCOA" = 1; then
36561         $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36562
36563     else
36564         wxUSE_WEBKIT=no
36565     fi
36566     if test "$wxUSE_WEBKIT" = "yes"; then
36567         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36568     fi
36569 fi
36570
36571 USE_XRC=0
36572 if test "$wxUSE_XRC" = "yes"; then
36573     if test "$wxUSE_XML" != "yes"; then
36574         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36575 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36576         wxUSE_XRC=no
36577     else
36578         $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36579
36580         USE_XRC=1
36581         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36582     fi
36583 fi
36584
36585 USE_AUI=0
36586 if test "$wxUSE_AUI" = "yes"; then
36587    $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36588
36589    USE_AUI=1
36590    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36591 fi
36592
36593 USE_PROPGRID=0
36594 if test "$wxUSE_PROPGRID" = "yes"; then
36595    $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36596
36597    USE_PROPGRID=1
36598    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36599 fi
36600
36601 USE_RIBBON=0
36602 if test "$wxUSE_RIBBON" = "yes"; then
36603    $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36604
36605    USE_RIBBON=1
36606    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36607 fi
36608
36609 USE_STC=0
36610 if test "$wxUSE_STC" = "yes"; then
36611    $as_echo "#define wxUSE_STC 1" >>confdefs.h
36612
36613    USE_STC=1
36614    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36615
36616       # Extract the first word of "python", so it can be a program name with args.
36617 set dummy python; ac_word=$2
36618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36619 $as_echo_n "checking for $ac_word... " >&6; }
36620 if ${ac_cv_path_PYTHON+:} false; then :
36621   $as_echo_n "(cached) " >&6
36622 else
36623   case $PYTHON in
36624   [\\/]* | ?:[\\/]*)
36625   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36626   ;;
36627   *)
36628   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36629 for as_dir in $PATH
36630 do
36631   IFS=$as_save_IFS
36632   test -z "$as_dir" && as_dir=.
36633     for ac_exec_ext in '' $ac_executable_extensions; do
36634   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36635     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36636     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36637     break 2
36638   fi
36639 done
36640   done
36641 IFS=$as_save_IFS
36642
36643   ;;
36644 esac
36645 fi
36646 PYTHON=$ac_cv_path_PYTHON
36647 if test -n "$PYTHON"; then
36648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36649 $as_echo "$PYTHON" >&6; }
36650 else
36651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36652 $as_echo "no" >&6; }
36653 fi
36654
36655
36656    if test "x$PYTHON" = "x"; then
36657      COND_PYTHON="#"
36658    fi
36659
36660 fi
36661
36662 if test "$wxUSE_MENUS" = "yes"; then
36663     $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36664
36665     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36666 fi
36667
36668 if test "$wxUSE_MIMETYPE" = "yes"; then
36669     $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36670
36671 fi
36672
36673 if test "$wxUSE_MINIFRAME" = "yes"; then
36674     $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36675
36676 fi
36677
36678 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36679     $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36680
36681 fi
36682
36683 if test "$wxUSE_TASKBARICON" = "yes"; then
36684     $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36685
36686                 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36687
36688     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36689 fi
36690
36691
36692 if test "$wxUSE_VALIDATORS" = "yes"; then
36693     $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36694
36695     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36696 fi
36697
36698 if test "$wxUSE_PALETTE" = "yes" ; then
36699     if test "$wxUSE_DFB" = 1; then
36700         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36701 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36702         wxUSE_PALETTE=no
36703     else
36704         $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36705
36706     fi
36707 fi
36708
36709 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36710     LIBS=" -lunicows $LIBS"
36711 fi
36712
36713 USE_RICHTEXT=0
36714 if test "$wxUSE_RICHTEXT" = "yes"; then
36715     $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36716
36717     USE_RICHTEXT=1
36718     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36719 fi
36720
36721 if test "$wxUSE_WEBVIEW" = "yes"; then
36722     USE_WEBVIEW_WEBKIT=0
36723     if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36724         if test "$wxUSE_GTK" = 1; then
36725             webkitgtk=webkit-1.0
36726             if test "$WXGTK3" = 1; then
36727                 webkitgtk=webkitgtk-3.0
36728             fi
36729
36730 pkg_failed=no
36731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36732 $as_echo_n "checking for WEBKIT... " >&6; }
36733
36734 if test -n "$PKG_CONFIG"; then
36735     if test -n "$WEBKIT_CFLAGS"; then
36736         pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36737     else
36738         if test -n "$PKG_CONFIG" && \
36739     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36740   ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36741   ac_status=$?
36742   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36743   test $ac_status = 0; }; then
36744   pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36745 else
36746   pkg_failed=yes
36747 fi
36748     fi
36749 else
36750         pkg_failed=untried
36751 fi
36752 if test -n "$PKG_CONFIG"; then
36753     if test -n "$WEBKIT_LIBS"; then
36754         pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36755     else
36756         if test -n "$PKG_CONFIG" && \
36757     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36758   ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36759   ac_status=$?
36760   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36761   test $ac_status = 0; }; then
36762   pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36763 else
36764   pkg_failed=yes
36765 fi
36766     fi
36767 else
36768         pkg_failed=untried
36769 fi
36770
36771
36772
36773 if test $pkg_failed = yes; then
36774
36775 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36776         _pkg_short_errors_supported=yes
36777 else
36778         _pkg_short_errors_supported=no
36779 fi
36780         if test $_pkg_short_errors_supported = yes; then
36781                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36782         else
36783                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36784         fi
36785         # Put the nasty error message in config.log where it belongs
36786         echo "$WEBKIT_PKG_ERRORS" >&5
36787
36788
36789                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36790 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36791
36792 elif test $pkg_failed = untried; then
36793
36794                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36795 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36796
36797 else
36798         WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36799         WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36800         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36801 $as_echo "yes" >&6; }
36802
36803                                 USE_WEBVIEW_WEBKIT=1
36804                                 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36805                                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36806
36807 fi
36808         elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36809                                     old_CPPFLAGS="$CPPFLAGS"
36810             CPPFLAGS="-x objective-c++ $CPPFLAGS"
36811             ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36812                                 #include <Carbon/Carbon.h>
36813                                 #include <WebKit/WebKit.h>
36814
36815 "
36816 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36817
36818                                 USE_WEBVIEW_WEBKIT=1
36819                                 WEBKIT_LINK="-framework WebKit"
36820
36821 else
36822
36823                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36824 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36825
36826 fi
36827
36828
36829             CPPFLAGS="$old_CPPFLAGS"
36830         fi
36831     fi
36832
36833     wxUSE_WEBVIEW="no"
36834     if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36835         if test "$USE_WEBVIEW_WEBKIT" = 1; then
36836             wxUSE_WEBVIEW="yes"
36837             $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36838
36839         else
36840             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36841 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36842         fi
36843     elif test "$wxUSE_MSW" = 1; then
36844         if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36845                                     wxUSE_WEBVIEW="yes"
36846             $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36847
36848         fi
36849     fi
36850 fi
36851
36852 if test "$wxUSE_WEBVIEW" = "yes"; then
36853     USE_WEBVIEW=1
36854     $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36855
36856     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
36857 else
36858     USE_WEBVIEW=0
36859 fi
36860
36861
36862 if test "$wxUSE_IMAGE" = "yes" ; then
36863     $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36864
36865
36866     if test "$wxUSE_GIF" = "yes" ; then
36867       $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36868
36869     fi
36870
36871     if test "$wxUSE_PCX" = "yes" ; then
36872       $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36873
36874     fi
36875
36876     if test "$wxUSE_TGA" = "yes" ; then
36877       $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36878
36879     fi
36880
36881     if test "$wxUSE_IFF" = "yes" ; then
36882       $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36883
36884     fi
36885
36886     if test "$wxUSE_PNM" = "yes" ; then
36887       $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36888
36889     fi
36890
36891     if test "$wxUSE_XPM" = "yes" ; then
36892       $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36893
36894     fi
36895
36896     if test "$wxUSE_ICO_CUR" = "yes" ; then
36897       $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36898
36899     fi
36900 fi
36901
36902
36903 if test "$wxUSE_ABOUTDLG" = "yes"; then
36904     $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36905
36906 fi
36907
36908 if test "$wxUSE_CHOICEDLG" = "yes"; then
36909     $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36910
36911 fi
36912
36913 if test "$wxUSE_COLOURDLG" = "yes"; then
36914     $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36915
36916 fi
36917
36918 if test "$wxUSE_FILEDLG" = "yes"; then
36919     $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36920
36921 fi
36922
36923 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36924     $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36925
36926 fi
36927
36928 if test "$wxUSE_FONTDLG" = "yes"; then
36929     $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36930
36931 fi
36932
36933 if test "$wxUSE_DIRDLG" = "yes"; then
36934     if test "$wxUSE_TREECTRL" != "yes"; then
36935         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36936 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36937     else
36938         $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36939
36940     fi
36941 fi
36942
36943 if test "$wxUSE_MSGDLG" = "yes"; then
36944     $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36945
36946 fi
36947
36948 if test "$wxUSE_NUMBERDLG" = "yes"; then
36949     $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36950
36951 fi
36952
36953 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36954     $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36955
36956 fi
36957
36958 if test "$wxUSE_SPLASH" = "yes"; then
36959     $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36960
36961     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
36962 fi
36963
36964 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36965     $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36966
36967 fi
36968
36969 if test "$wxUSE_TEXTDLG" = "yes"; then
36970     $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36971
36972 fi
36973
36974 if test "$wxUSE_WIZARDDLG" = "yes"; then
36975     $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36976
36977     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
36978 fi
36979
36980
36981 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36982     if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36983         $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36984
36985     fi
36986 fi
36987
36988
36989 if test "$wxUSE_MSW" = 1 ; then
36990
36991     if test "$wxUSE_DC_CACHEING" = "yes"; then
36992         $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36993
36994     fi
36995
36996     if test "$wxUSE_DIB" = "yes"; then
36997         $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36998
36999     fi
37000
37001     if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
37002         $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
37003
37004     fi
37005
37006     if test "$wxUSE_UXTHEME" = "yes"; then
37007         $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
37008
37009     fi
37010
37011 fi
37012
37013 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
37014     $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
37015
37016 fi
37017
37018 if test "$USE_WIN32" = 1 ; then
37019     if test "$wxUSE_INICONF" = "yes"; then
37020         $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
37021
37022     fi
37023
37024     if test "$wxUSE_REGKEY" = "yes"; then
37025         $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
37026
37027     fi
37028 fi
37029
37030
37031 if test "$wxUSE_MAC" = 1; then
37032     wxUSE_GRAPHICS_CONTEXT="yes"
37033 fi
37034
37035 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
37036     wx_has_graphics=0
37037     if test "$wxUSE_MSW" = 1; then
37038         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
37039 $as_echo_n "checking if GDI+ is available... " >&6; }
37040 if ${wx_cv_lib_gdiplus+:} false; then :
37041   $as_echo_n "(cached) " >&6
37042 else
37043
37044                                                 ac_ext=cpp
37045 ac_cpp='$CXXCPP $CPPFLAGS'
37046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37049
37050                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37051 /* end confdefs.h.  */
37052 #include <windows.h>
37053                      #include <gdiplus.h>
37054 int
37055 main ()
37056 {
37057
37058                         using namespace Gdiplus;
37059
37060   ;
37061   return 0;
37062 }
37063 _ACEOF
37064 if ac_fn_cxx_try_compile "$LINENO"; then :
37065   wx_cv_lib_gdiplus=yes
37066 else
37067   wx_cv_lib_gdiplus=no
37068
37069 fi
37070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37071                 ac_ext=c
37072 ac_cpp='$CPP $CPPFLAGS'
37073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37076
37077
37078
37079 fi
37080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
37081 $as_echo "$wx_cv_lib_gdiplus" >&6; }
37082         if test "$wx_cv_lib_gdiplus" = "yes"; then
37083             wx_has_graphics=1
37084         fi
37085     elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
37086
37087 pkg_failed=no
37088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
37089 $as_echo_n "checking for CAIRO... " >&6; }
37090
37091 if test -n "$PKG_CONFIG"; then
37092     if test -n "$CAIRO_CFLAGS"; then
37093         pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
37094     else
37095         if test -n "$PKG_CONFIG" && \
37096     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37097   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37098   ac_status=$?
37099   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37100   test $ac_status = 0; }; then
37101   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
37102 else
37103   pkg_failed=yes
37104 fi
37105     fi
37106 else
37107         pkg_failed=untried
37108 fi
37109 if test -n "$PKG_CONFIG"; then
37110     if test -n "$CAIRO_LIBS"; then
37111         pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
37112     else
37113         if test -n "$PKG_CONFIG" && \
37114     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37115   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37116   ac_status=$?
37117   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37118   test $ac_status = 0; }; then
37119   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
37120 else
37121   pkg_failed=yes
37122 fi
37123     fi
37124 else
37125         pkg_failed=untried
37126 fi
37127
37128
37129
37130 if test $pkg_failed = yes; then
37131
37132 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37133         _pkg_short_errors_supported=yes
37134 else
37135         _pkg_short_errors_supported=no
37136 fi
37137         if test $_pkg_short_errors_supported = yes; then
37138                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
37139         else
37140                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
37141         fi
37142         # Put the nasty error message in config.log where it belongs
37143         echo "$CAIRO_PKG_ERRORS" >&5
37144
37145         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37146 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37147
37148 elif test $pkg_failed = untried; then
37149         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37150 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37151
37152 else
37153         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
37154         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
37155         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37156 $as_echo "yes" >&6; }
37157         wx_has_graphics=1
37158 fi
37159         if test "$wx_has_graphics" = 1; then
37160                                                 save_LIBS="$LIBS"
37161             LIBS="$LIBS $CAIRO_LIBS"
37162             for ac_func in cairo_push_group
37163 do :
37164   ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37165 if test "x$ac_cv_func_cairo_push_group" = xyes; then :
37166   cat >>confdefs.h <<_ACEOF
37167 #define HAVE_CAIRO_PUSH_GROUP 1
37168 _ACEOF
37169
37170 fi
37171 done
37172
37173             LIBS="$save_LIBS"
37174             if test "$ac_cv_func_cairo_push_group" = "no"; then
37175                 wx_has_graphics=0
37176                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37177 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37178             else
37179                 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37180
37181
37182                                                 if test "$wxUSE_GTK" != 1; then
37183                     CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
37184                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
37185                 fi
37186             fi
37187         fi
37188     else
37189                 wx_has_graphics=1
37190     fi
37191
37192     if test "$wx_has_graphics" = 1; then
37193         $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37194
37195     else
37196         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37197 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37198     fi
37199 fi
37200
37201
37202 USE_MEDIA=0
37203
37204 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37205     USE_MEDIA=1
37206
37207                 if test "$wxUSE_GTK" = 1; then
37208         wxUSE_GSTREAMER="no"
37209
37210                                                                 GST_VERSION_MAJOR=0
37211         GST_VERSION_MINOR=10
37212         GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37213
37214         if test "$wxUSE_GSTREAMER8" = "no"; then
37215
37216 pkg_failed=no
37217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37218 $as_echo_n "checking for GST... " >&6; }
37219
37220 if test -n "$PKG_CONFIG"; then
37221     if test -n "$GST_CFLAGS"; then
37222         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37223     else
37224         if test -n "$PKG_CONFIG" && \
37225     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37226   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37227   ac_status=$?
37228   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37229   test $ac_status = 0; }; then
37230   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37231 else
37232   pkg_failed=yes
37233 fi
37234     fi
37235 else
37236         pkg_failed=untried
37237 fi
37238 if test -n "$PKG_CONFIG"; then
37239     if test -n "$GST_LIBS"; then
37240         pkg_cv_GST_LIBS="$GST_LIBS"
37241     else
37242         if test -n "$PKG_CONFIG" && \
37243     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37244   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37245   ac_status=$?
37246   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37247   test $ac_status = 0; }; then
37248   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37249 else
37250   pkg_failed=yes
37251 fi
37252     fi
37253 else
37254         pkg_failed=untried
37255 fi
37256
37257
37258
37259 if test $pkg_failed = yes; then
37260
37261 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37262         _pkg_short_errors_supported=yes
37263 else
37264         _pkg_short_errors_supported=no
37265 fi
37266         if test $_pkg_short_errors_supported = yes; then
37267                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37268         else
37269                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37270         fi
37271         # Put the nasty error message in config.log where it belongs
37272         echo "$GST_PKG_ERRORS" >&5
37273
37274
37275                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37276 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37277                     GST_VERSION_MINOR=8
37278
37279
37280 elif test $pkg_failed = untried; then
37281
37282                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37283 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37284                     GST_VERSION_MINOR=8
37285
37286
37287 else
37288         GST_CFLAGS=$pkg_cv_GST_CFLAGS
37289         GST_LIBS=$pkg_cv_GST_LIBS
37290         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37291 $as_echo "yes" >&6; }
37292
37293                     wxUSE_GSTREAMER="yes"
37294                     GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37295
37296 fi
37297         else
37298                         GST_VERSION_MINOR=8
37299         fi
37300
37301         if test $GST_VERSION_MINOR = "8"; then
37302             GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37303
37304 pkg_failed=no
37305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37306 $as_echo_n "checking for GST... " >&6; }
37307
37308 if test -n "$PKG_CONFIG"; then
37309     if test -n "$GST_CFLAGS"; then
37310         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37311     else
37312         if test -n "$PKG_CONFIG" && \
37313     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37314   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37315   ac_status=$?
37316   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37317   test $ac_status = 0; }; then
37318   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37319 else
37320   pkg_failed=yes
37321 fi
37322     fi
37323 else
37324         pkg_failed=untried
37325 fi
37326 if test -n "$PKG_CONFIG"; then
37327     if test -n "$GST_LIBS"; then
37328         pkg_cv_GST_LIBS="$GST_LIBS"
37329     else
37330         if test -n "$PKG_CONFIG" && \
37331     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37332   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37333   ac_status=$?
37334   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37335   test $ac_status = 0; }; then
37336   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37337 else
37338   pkg_failed=yes
37339 fi
37340     fi
37341 else
37342         pkg_failed=untried
37343 fi
37344
37345
37346
37347 if test $pkg_failed = yes; then
37348
37349 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37350         _pkg_short_errors_supported=yes
37351 else
37352         _pkg_short_errors_supported=no
37353 fi
37354         if test $_pkg_short_errors_supported = yes; then
37355                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37356         else
37357                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37358         fi
37359         # Put the nasty error message in config.log where it belongs
37360         echo "$GST_PKG_ERRORS" >&5
37361
37362
37363                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37364 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37365
37366 elif test $pkg_failed = untried; then
37367
37368                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37369 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37370
37371 else
37372         GST_CFLAGS=$pkg_cv_GST_CFLAGS
37373         GST_LIBS=$pkg_cv_GST_LIBS
37374         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37375 $as_echo "yes" >&6; }
37376         wxUSE_GSTREAMER="yes"
37377 fi
37378         fi
37379
37380
37381         if test "$wxUSE_GSTREAMER" = "yes"; then
37382             CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
37383             EXTRALIBS_MEDIA="$GST_LIBS"
37384
37385             $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37386
37387         else
37388             USE_MEDIA=0
37389         fi
37390
37391     elif test "$wxUSE_MAC" = 1; then
37392                            GST_LIBS="-framework QTKit"
37393     fi
37394
37395     if test $USE_MEDIA = 1; then
37396         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
37397         $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37398
37399     else
37400         if test "$wxUSE_MEDIACTRL" = "yes"; then
37401             as_fn_error $? "GStreamer not available" "$LINENO" 5
37402         else
37403                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37404 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37405         fi
37406     fi
37407 fi
37408
37409
37410 if test "$cross_compiling" != "no"; then
37411         OSINFO="\"$host\""
37412 else
37413         OSINFO=`uname -s -r -m`
37414     OSINFO="\"$OSINFO\""
37415 fi
37416
37417 cat >>confdefs.h <<_ACEOF
37418 #define WXWIN_OS_DESCRIPTION $OSINFO
37419 _ACEOF
37420
37421
37422
37423 if test "x$prefix" != "xNONE"; then
37424     wxPREFIX=$prefix
37425 else
37426     wxPREFIX=$ac_default_prefix
37427 fi
37428
37429 cat >>confdefs.h <<_ACEOF
37430 #define wxINSTALL_PREFIX "$wxPREFIX"
37431 _ACEOF
37432
37433
37434
37435
37436 STD_BASE_LIBS="base"
37437 STD_GUI_LIBS=""
37438 BUILT_WX_LIBS="base"
37439 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
37440
37441 if test "$wxUSE_SOCKETS" = "yes" ; then
37442     STD_BASE_LIBS="net $STD_BASE_LIBS"
37443     BUILT_WX_LIBS="net $BUILT_WX_LIBS"
37444 fi
37445 if test "$wxUSE_XML" = "yes" ; then
37446     STD_BASE_LIBS="xml $STD_BASE_LIBS"
37447     BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
37448 fi
37449
37450 if test "$wxUSE_GUI" = "yes"; then
37451     STD_GUI_LIBS="adv core"
37452     BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
37453
37454     if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37455         STD_GUI_LIBS="qa $STD_GUI_LIBS"
37456         BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
37457     fi
37458     if test "$wxUSE_HTML" = "yes" ; then
37459         STD_GUI_LIBS="html $STD_GUI_LIBS"
37460         BUILT_WX_LIBS="html $BUILT_WX_LIBS"
37461     fi
37462     if test "$wxUSE_MEDIACTRL" = "yes" ; then
37463         BUILT_WX_LIBS="media $BUILT_WX_LIBS"
37464     fi
37465     if test "$wxUSE_OPENGL" = "yes" ; then
37466         BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
37467     fi
37468     if test "$wxUSE_AUI" = "yes" ; then
37469         BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
37470     fi
37471     if test "$wxUSE_PROPGRID" = "yes" ; then
37472         BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
37473     fi
37474     if test "$wxUSE_RIBBON" = "yes" ; then
37475         BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
37476     fi
37477     if test "$wxUSE_RICHTEXT" = "yes" ; then
37478         BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
37479     fi
37480     if test "$wxUSE_STC" = "yes" ; then
37481         BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
37482     fi
37483     if test "$wxUSE_WEBVIEW" = "yes" ; then
37484         STD_GUI_LIBS="webview $STD_GUI_LIBS"
37485         BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
37486     fi
37487     if test "$wxUSE_XRC" = "yes" ; then
37488         STD_GUI_LIBS="xrc $STD_GUI_LIBS"
37489         BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
37490     fi
37491 fi
37492
37493
37494
37495
37496
37497
37498
37499 EXTRA_FRAMEWORKS=
37500 if test "$wxUSE_MAC" = 1 ; then
37501     if test "$USE_DARWIN" = 1; then
37502         if test "$wxUSE_OSX_IPHONE" = 1; then
37503             EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37504         else
37505             EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37506
37507
37508             if test "$cross_compiling" != "no"; then
37509                                                                                                 wx_cv_target_x86_64=no
37510             else
37511                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37512 $as_echo_n "checking if we target only x86_64... " >&6; }
37513 if ${wx_cv_target_x86_64+:} false; then :
37514   $as_echo_n "(cached) " >&6
37515 else
37516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37517 /* end confdefs.h.  */
37518 int main() { return 0; }
37519 _ACEOF
37520 if ac_fn_c_try_link "$LINENO"; then :
37521   if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
37522                             wx_cv_target_x86_64=no
37523                         else
37524                             wx_cv_target_x86_64=yes
37525                         fi
37526
37527 fi
37528 rm -f core conftest.err conftest.$ac_objext \
37529     conftest$ac_exeext conftest.$ac_ext
37530
37531 fi
37532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37533 $as_echo "$wx_cv_target_x86_64" >&6; }
37534             fi
37535
37536             if test "$wx_cv_target_x86_64" != "yes"; then
37537                 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37538             fi
37539         fi
37540     fi
37541 fi
37542 if test "$wxUSE_OLD_COCOA" = 1 ; then
37543     EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
37544     if test "$wxUSE_MEDIACTRL" = "yes"; then
37545         EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37546     fi
37547 fi
37548 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37549     EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37550 fi
37551
37552 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37553 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37554
37555 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37556
37557 if test "$wxUSE_GUI" = "yes"; then
37558
37559
37560         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37561                      erase event exec font image minimal render \
37562                      shaped svg taborder vscroll widgets wrapsizer"
37563
37564     if test "$wxUSE_MONOLITHIC" != "yes"; then
37565         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37566     fi
37567     if test "$TOOLKIT" = "MSW"; then
37568         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37569         if test "$wxUSE_UNIVERSAL" != "yes"; then
37570             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37571         fi
37572     fi
37573     if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37574         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37575     fi
37576 else
37577     SAMPLES_SUBDIRS="console"
37578     if test "$wxUSE_SOCKETS" = "yes" ; then
37579         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37580     fi
37581     if test "$wxUSE_IPC" = "yes" ; then
37582         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37583     fi
37584 fi
37585
37586
37587 if test "x$INTELCC" = "xyes" ; then
37588                                         CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37589 elif test "$GCC" = yes ; then
37590     CWARNINGS="-Wall -Wundef"
37591 fi
37592
37593 if test "x$INTELCXX" = "xyes" ; then
37594                                                                 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37595 elif test "$GXX" = yes ; then
37596     CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37597     { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37598 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37599 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false; then :
37600   $as_echo_n "(cached) " >&6
37601 else
37602   ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37603
37604  ac_ext=cpp
37605 ac_cpp='$CXXCPP $CPPFLAGS'
37606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37609
37610  ac_save_CXXFLAGS="$CXXFLAGS"
37611 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual"     "-pedantic % -Woverloaded-virtual %% no, obsolete"     #
37612 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37613    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37614 /* end confdefs.h.  */
37615
37616 int
37617 main ()
37618 {
37619 return 0;
37620   ;
37621   return 0;
37622 }
37623 _ACEOF
37624 if ac_fn_cxx_try_compile "$LINENO"; then :
37625   ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37626 fi
37627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37628 done
37629  CXXFLAGS="$ac_save_CXXFLAGS"
37630  ac_ext=c
37631 ac_cpp='$CPP $CPPFLAGS'
37632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37635
37636
37637 fi
37638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37639 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37640 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37641      .ok|.ok,*)  ;;
37642    .|.no|.no,*)  ;;
37643    *)
37644    if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37645    then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37646   (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37647   ac_status=$?
37648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37649   test $ac_status = 0; }
37650    else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37651   (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37652   ac_status=$?
37653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37654   test $ac_status = 0; }
37655                       CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37656    fi
37657  ;;
37658 esac
37659
37660
37661                     if test "$wxUSE_MAC" = 1 ; then
37662         CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37663     fi
37664 fi
37665
37666
37667 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37668 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37669
37670
37671 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37672  -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37673  -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37674  $CPPFLAGS `
37675
37676 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37677 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37678 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37679 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37680 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37681
37682 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37683
37684
37685 if test "x$MWCC" = "xyes"; then
37686
37687             CC="$CC -cwd source -I-"
37688     CXX="$CXX -cwd source -I-"
37689 fi
37690
37691
37692 LIBS=`echo $LIBS`
37693 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37694 EXTRALIBS_XML="$EXPAT_LINK"
37695 EXTRALIBS_HTML="$MSPACK_LINK"
37696 EXTRALIBS_MEDIA="$GST_LIBS"
37697 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37698 if test "$wxUSE_GUI" = "yes"; then
37699     EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37700 fi
37701 if test "$wxUSE_OPENGL" = "yes"; then
37702     EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37703 fi
37704
37705 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37706
37707 WXCONFIG_LIBS="$LIBS"
37708
37709 if test "$wxUSE_REGEX" = "builtin" ; then
37710     wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37711 fi
37712 if test "$wxUSE_EXPAT" = "builtin" ; then
37713     wxconfig_3rdparty="expat $wxconfig_3rdparty"
37714 fi
37715 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37716     wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37717 fi
37718 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37719     wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37720 fi
37721 if test "$wxUSE_LIBPNG" = "builtin" ; then
37722     wxconfig_3rdparty="png $wxconfig_3rdparty"
37723 fi
37724 if test "$wxUSE_ZLIB" = "builtin" ; then
37725     wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37726 fi
37727
37728 for i in $wxconfig_3rdparty ; do
37729     WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37730 done
37731
37732
37733 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37734     WXUNIV=1
37735
37736     case "$wxUNIV_THEMES" in
37737         ''|all)
37738             $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37739
37740             ;;
37741
37742         *)
37743             for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37744                 cat >>confdefs.h <<_ACEOF
37745 #define wxUSE_THEME_$t 1
37746 _ACEOF
37747
37748             done
37749     esac
37750 else
37751     WXUNIV=0
37752 fi
37753
37754
37755
37756
37757
37758
37759
37760
37761 if test $wxUSE_MONOLITHIC = "yes" ; then
37762     MONOLITHIC=1
37763 else
37764     MONOLITHIC=0
37765 fi
37766
37767 if test $wxUSE_PLUGINS = "yes" ; then
37768     USE_PLUGINS=1
37769 else
37770     USE_PLUGINS=0
37771 fi
37772
37773 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37774     USE_QA=1
37775 else
37776     USE_QA=0
37777 fi
37778
37779 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37780     OFFICIAL_BUILD=1
37781 else
37782     OFFICIAL_BUILD=0
37783 fi
37784
37785
37786
37787
37788
37789
37790
37791
37792
37793
37794
37795
37796
37797
37798
37799
37800
37801
37802
37803
37804
37805
37806
37807 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37808
37809
37810
37811
37812
37813
37814
37815
37816
37817
37818 case "$TOOLKIT" in
37819     GTK)
37820         TOOLKIT_DESC="GTK+"
37821         if test "$WXGTK2" = 1; then
37822             if test "$WXGTK3" = 1; then
37823                 TOOLKIT_DESC="$TOOLKIT_DESC 3"
37824             else
37825                 TOOLKIT_DESC="$TOOLKIT_DESC 2"
37826             fi
37827             if test "$wxUSE_GTKPRINT" = "yes" ; then
37828                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
37829             fi
37830             if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37831                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
37832             fi
37833             if test "$wxUSE_LIBNOTIFY" = "yes" ; then
37834                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA libnotify"
37835             fi
37836             if test "$wxUSE_LIBHILDON" = "yes"; then
37837                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37838             fi
37839             if test "$wxUSE_LIBHILDON2" = "yes"; then
37840                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37841             fi
37842
37843             if test "$TOOLKIT_EXTRA" != ""; then
37844                 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37845             fi
37846         fi
37847         ;;
37848
37849     ?*)
37850         TOOLKIT_DESC=$TOOLKIT_LOWERCASE
37851         ;;
37852
37853     *)
37854         TOOLKIT_DESC="base only"
37855         ;;
37856 esac
37857
37858 if test "$wxUSE_WINE" = "yes"; then
37859     BAKEFILE_FORCE_PLATFORM=win32
37860 fi
37861
37862 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37863 then
37864     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37865 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37866 if ${wx_cv_gcc_pch_bug+:} false; then :
37867   $as_echo_n "(cached) " >&6
37868 else
37869
37870             echo '#include <stdio.h>
37871                   const wchar_t test_var[] = L"awidetest";' > conftest.h
37872
37873             echo '#include "conftest.h"
37874                   int main()
37875                   {
37876                      printf("%ls", test_var);
37877                      return 0;
37878                   }' > conftest.cpp
37879
37880             wx_cv_gcc_pch_bug="pch not supported"
37881
37882             if $CXX conftest.h >/dev/null 2>&1
37883             then
37884                 wx_cv_gcc_pch_bug=
37885
37886                 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
37887                 then
37888                     if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
37889                         grep awidetest >/dev/null
37890                     then
37891                         wx_cv_gcc_pch_bug=no
37892                     else
37893                         wx_cv_gcc_pch_bug=yes
37894                     fi
37895                 fi
37896             fi
37897
37898             rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
37899
37900 fi
37901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37902 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37903
37904     if test "$wx_cv_gcc_pch_bug" = yes; then
37905                         bk_use_pch=no
37906     fi
37907 fi
37908
37909 # Find a good install program.  We prefer a C program (faster),
37910 # so one script is as good as another.  But avoid the broken or
37911 # incompatible versions:
37912 # SysV /etc/install, /usr/sbin/install
37913 # SunOS /usr/etc/install
37914 # IRIX /sbin/install
37915 # AIX /bin/install
37916 # AmigaOS /C/install, which installs bootblocks on floppy discs
37917 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37918 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37919 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37920 # OS/2's system install, which has a completely different semantic
37921 # ./install, which can be erroneously created by make from ./install.sh.
37922 # Reject install programs that cannot install multiple files.
37923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37924 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37925 if test -z "$INSTALL"; then
37926 if ${ac_cv_path_install+:} false; then :
37927   $as_echo_n "(cached) " >&6
37928 else
37929   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37930 for as_dir in $PATH
37931 do
37932   IFS=$as_save_IFS
37933   test -z "$as_dir" && as_dir=.
37934     # Account for people who put trailing slashes in PATH elements.
37935 case $as_dir/ in #((
37936   ./ | .// | /[cC]/* | \
37937   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37938   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
37939   /usr/ucb/* ) ;;
37940   *)
37941     # OSF1 and SCO ODT 3.0 have their own names for install.
37942     # Don't use installbsd from OSF since it installs stuff as root
37943     # by default.
37944     for ac_prog in ginstall scoinst install; do
37945       for ac_exec_ext in '' $ac_executable_extensions; do
37946         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37947           if test $ac_prog = install &&
37948             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37949             # AIX install.  It has an incompatible calling convention.
37950             :
37951           elif test $ac_prog = install &&
37952             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37953             # program-specific install script used by HP pwplus--don't use.
37954             :
37955           else
37956             rm -rf conftest.one conftest.two conftest.dir
37957             echo one > conftest.one
37958             echo two > conftest.two
37959             mkdir conftest.dir
37960             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
37961               test -s conftest.one && test -s conftest.two &&
37962               test -s conftest.dir/conftest.one &&
37963               test -s conftest.dir/conftest.two
37964             then
37965               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37966               break 3
37967             fi
37968           fi
37969         fi
37970       done
37971     done
37972     ;;
37973 esac
37974
37975   done
37976 IFS=$as_save_IFS
37977
37978 rm -rf conftest.one conftest.two conftest.dir
37979
37980 fi
37981   if test "${ac_cv_path_install+set}" = set; then
37982     INSTALL=$ac_cv_path_install
37983   else
37984     # As a last resort, use the slow shell script.  Don't cache a
37985     # value for INSTALL within a source directory, because that will
37986     # break other packages using the cache if that directory is
37987     # removed, or if the value is a relative name.
37988     INSTALL=$ac_install_sh
37989   fi
37990 fi
37991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37992 $as_echo "$INSTALL" >&6; }
37993
37994 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37995 # It thinks the first close brace ends the variable substitution.
37996 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
37997
37998 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
37999
38000 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38001
38002
38003
38004
38005
38006
38007
38008     if test "x$BAKEFILE_HOST" = "x"; then
38009                if test "x${host}" = "x" ; then
38010                        as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
38011                fi
38012
38013         BAKEFILE_HOST="${host}"
38014     fi
38015
38016     if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38017
38018     if test -n "$ac_tool_prefix"; then
38019   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38020 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
38021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38022 $as_echo_n "checking for $ac_word... " >&6; }
38023 if ${ac_cv_prog_RANLIB+:} false; then :
38024   $as_echo_n "(cached) " >&6
38025 else
38026   if test -n "$RANLIB"; then
38027   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
38028 else
38029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38030 for as_dir in $PATH
38031 do
38032   IFS=$as_save_IFS
38033   test -z "$as_dir" && as_dir=.
38034     for ac_exec_ext in '' $ac_executable_extensions; do
38035   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38036     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38037     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38038     break 2
38039   fi
38040 done
38041   done
38042 IFS=$as_save_IFS
38043
38044 fi
38045 fi
38046 RANLIB=$ac_cv_prog_RANLIB
38047 if test -n "$RANLIB"; then
38048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
38049 $as_echo "$RANLIB" >&6; }
38050 else
38051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38052 $as_echo "no" >&6; }
38053 fi
38054
38055
38056 fi
38057 if test -z "$ac_cv_prog_RANLIB"; then
38058   ac_ct_RANLIB=$RANLIB
38059   # Extract the first word of "ranlib", so it can be a program name with args.
38060 set dummy ranlib; ac_word=$2
38061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38062 $as_echo_n "checking for $ac_word... " >&6; }
38063 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
38064   $as_echo_n "(cached) " >&6
38065 else
38066   if test -n "$ac_ct_RANLIB"; then
38067   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38068 else
38069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38070 for as_dir in $PATH
38071 do
38072   IFS=$as_save_IFS
38073   test -z "$as_dir" && as_dir=.
38074     for ac_exec_ext in '' $ac_executable_extensions; do
38075   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38076     ac_cv_prog_ac_ct_RANLIB="ranlib"
38077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38078     break 2
38079   fi
38080 done
38081   done
38082 IFS=$as_save_IFS
38083
38084 fi
38085 fi
38086 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38087 if test -n "$ac_ct_RANLIB"; then
38088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
38089 $as_echo "$ac_ct_RANLIB" >&6; }
38090 else
38091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38092 $as_echo "no" >&6; }
38093 fi
38094
38095   if test "x$ac_ct_RANLIB" = x; then
38096     RANLIB=":"
38097   else
38098     case $cross_compiling:$ac_tool_warned in
38099 yes:)
38100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38102 ac_tool_warned=yes ;;
38103 esac
38104     RANLIB=$ac_ct_RANLIB
38105   fi
38106 else
38107   RANLIB="$ac_cv_prog_RANLIB"
38108 fi
38109
38110
38111     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
38112 $as_echo_n "checking whether ln -s works... " >&6; }
38113 LN_S=$as_ln_s
38114 if test "$LN_S" = "ln -s"; then
38115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38116 $as_echo "yes" >&6; }
38117 else
38118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
38119 $as_echo "no, using $LN_S" >&6; }
38120 fi
38121
38122
38123     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38124 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
38125 set x ${MAKE-make}
38126 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
38127 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
38128   $as_echo_n "(cached) " >&6
38129 else
38130   cat >conftest.make <<\_ACEOF
38131 SHELL = /bin/sh
38132 all:
38133         @echo '@@@%%%=$(MAKE)=@@@%%%'
38134 _ACEOF
38135 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38136 case `${MAKE-make} -f conftest.make 2>/dev/null` in
38137   *@@@%%%=?*=@@@%%%*)
38138     eval ac_cv_prog_make_${ac_make}_set=yes;;
38139   *)
38140     eval ac_cv_prog_make_${ac_make}_set=no;;
38141 esac
38142 rm -f conftest.make
38143 fi
38144 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
38145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38146 $as_echo "yes" >&6; }
38147   SET_MAKE=
38148 else
38149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38150 $as_echo "no" >&6; }
38151   SET_MAKE="MAKE=${MAKE-make}"
38152 fi
38153
38154
38155
38156     if test "x$SUNCXX" = "xyes"; then
38157                                 AR=$CXX
38158         AROPTIONS="-xar -o"
38159
38160     elif test "x$SGICC" = "xyes"; then
38161                 AR=$CXX
38162         AROPTIONS="-ar -o"
38163
38164     else
38165         if test -n "$ac_tool_prefix"; then
38166   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38167 set dummy ${ac_tool_prefix}ar; ac_word=$2
38168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38169 $as_echo_n "checking for $ac_word... " >&6; }
38170 if ${ac_cv_prog_AR+:} false; then :
38171   $as_echo_n "(cached) " >&6
38172 else
38173   if test -n "$AR"; then
38174   ac_cv_prog_AR="$AR" # Let the user override the test.
38175 else
38176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38177 for as_dir in $PATH
38178 do
38179   IFS=$as_save_IFS
38180   test -z "$as_dir" && as_dir=.
38181     for ac_exec_ext in '' $ac_executable_extensions; do
38182   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38183     ac_cv_prog_AR="${ac_tool_prefix}ar"
38184     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38185     break 2
38186   fi
38187 done
38188   done
38189 IFS=$as_save_IFS
38190
38191 fi
38192 fi
38193 AR=$ac_cv_prog_AR
38194 if test -n "$AR"; then
38195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38196 $as_echo "$AR" >&6; }
38197 else
38198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38199 $as_echo "no" >&6; }
38200 fi
38201
38202
38203 fi
38204 if test -z "$ac_cv_prog_AR"; then
38205   ac_ct_AR=$AR
38206   # Extract the first word of "ar", so it can be a program name with args.
38207 set dummy ar; ac_word=$2
38208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38209 $as_echo_n "checking for $ac_word... " >&6; }
38210 if ${ac_cv_prog_ac_ct_AR+:} false; then :
38211   $as_echo_n "(cached) " >&6
38212 else
38213   if test -n "$ac_ct_AR"; then
38214   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38215 else
38216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38217 for as_dir in $PATH
38218 do
38219   IFS=$as_save_IFS
38220   test -z "$as_dir" && as_dir=.
38221     for ac_exec_ext in '' $ac_executable_extensions; do
38222   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38223     ac_cv_prog_ac_ct_AR="ar"
38224     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38225     break 2
38226   fi
38227 done
38228   done
38229 IFS=$as_save_IFS
38230
38231 fi
38232 fi
38233 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38234 if test -n "$ac_ct_AR"; then
38235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38236 $as_echo "$ac_ct_AR" >&6; }
38237 else
38238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38239 $as_echo "no" >&6; }
38240 fi
38241
38242   if test "x$ac_ct_AR" = x; then
38243     AR="ar"
38244   else
38245     case $cross_compiling:$ac_tool_warned in
38246 yes:)
38247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38249 ac_tool_warned=yes ;;
38250 esac
38251     AR=$ac_ct_AR
38252   fi
38253 else
38254   AR="$ac_cv_prog_AR"
38255 fi
38256
38257         AROPTIONS=rcu
38258     fi
38259
38260
38261     if test -n "$ac_tool_prefix"; then
38262   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38263 set dummy ${ac_tool_prefix}strip; ac_word=$2
38264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38265 $as_echo_n "checking for $ac_word... " >&6; }
38266 if ${ac_cv_prog_STRIP+:} false; then :
38267   $as_echo_n "(cached) " >&6
38268 else
38269   if test -n "$STRIP"; then
38270   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38271 else
38272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38273 for as_dir in $PATH
38274 do
38275   IFS=$as_save_IFS
38276   test -z "$as_dir" && as_dir=.
38277     for ac_exec_ext in '' $ac_executable_extensions; do
38278   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38279     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38280     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38281     break 2
38282   fi
38283 done
38284   done
38285 IFS=$as_save_IFS
38286
38287 fi
38288 fi
38289 STRIP=$ac_cv_prog_STRIP
38290 if test -n "$STRIP"; then
38291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38292 $as_echo "$STRIP" >&6; }
38293 else
38294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38295 $as_echo "no" >&6; }
38296 fi
38297
38298
38299 fi
38300 if test -z "$ac_cv_prog_STRIP"; then
38301   ac_ct_STRIP=$STRIP
38302   # Extract the first word of "strip", so it can be a program name with args.
38303 set dummy strip; ac_word=$2
38304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38305 $as_echo_n "checking for $ac_word... " >&6; }
38306 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
38307   $as_echo_n "(cached) " >&6
38308 else
38309   if test -n "$ac_ct_STRIP"; then
38310   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38311 else
38312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38313 for as_dir in $PATH
38314 do
38315   IFS=$as_save_IFS
38316   test -z "$as_dir" && as_dir=.
38317     for ac_exec_ext in '' $ac_executable_extensions; do
38318   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38319     ac_cv_prog_ac_ct_STRIP="strip"
38320     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38321     break 2
38322   fi
38323 done
38324   done
38325 IFS=$as_save_IFS
38326
38327 fi
38328 fi
38329 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38330 if test -n "$ac_ct_STRIP"; then
38331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38332 $as_echo "$ac_ct_STRIP" >&6; }
38333 else
38334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38335 $as_echo "no" >&6; }
38336 fi
38337
38338   if test "x$ac_ct_STRIP" = x; then
38339     STRIP=":"
38340   else
38341     case $cross_compiling:$ac_tool_warned in
38342 yes:)
38343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38345 ac_tool_warned=yes ;;
38346 esac
38347     STRIP=$ac_ct_STRIP
38348   fi
38349 else
38350   STRIP="$ac_cv_prog_STRIP"
38351 fi
38352
38353     if test -n "$ac_tool_prefix"; then
38354   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38355 set dummy ${ac_tool_prefix}nm; ac_word=$2
38356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38357 $as_echo_n "checking for $ac_word... " >&6; }
38358 if ${ac_cv_prog_NM+:} false; then :
38359   $as_echo_n "(cached) " >&6
38360 else
38361   if test -n "$NM"; then
38362   ac_cv_prog_NM="$NM" # Let the user override the test.
38363 else
38364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38365 for as_dir in $PATH
38366 do
38367   IFS=$as_save_IFS
38368   test -z "$as_dir" && as_dir=.
38369     for ac_exec_ext in '' $ac_executable_extensions; do
38370   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38371     ac_cv_prog_NM="${ac_tool_prefix}nm"
38372     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38373     break 2
38374   fi
38375 done
38376   done
38377 IFS=$as_save_IFS
38378
38379 fi
38380 fi
38381 NM=$ac_cv_prog_NM
38382 if test -n "$NM"; then
38383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38384 $as_echo "$NM" >&6; }
38385 else
38386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38387 $as_echo "no" >&6; }
38388 fi
38389
38390
38391 fi
38392 if test -z "$ac_cv_prog_NM"; then
38393   ac_ct_NM=$NM
38394   # Extract the first word of "nm", so it can be a program name with args.
38395 set dummy nm; ac_word=$2
38396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38397 $as_echo_n "checking for $ac_word... " >&6; }
38398 if ${ac_cv_prog_ac_ct_NM+:} false; then :
38399   $as_echo_n "(cached) " >&6
38400 else
38401   if test -n "$ac_ct_NM"; then
38402   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38403 else
38404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38405 for as_dir in $PATH
38406 do
38407   IFS=$as_save_IFS
38408   test -z "$as_dir" && as_dir=.
38409     for ac_exec_ext in '' $ac_executable_extensions; do
38410   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38411     ac_cv_prog_ac_ct_NM="nm"
38412     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38413     break 2
38414   fi
38415 done
38416   done
38417 IFS=$as_save_IFS
38418
38419 fi
38420 fi
38421 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38422 if test -n "$ac_ct_NM"; then
38423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38424 $as_echo "$ac_ct_NM" >&6; }
38425 else
38426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38427 $as_echo "no" >&6; }
38428 fi
38429
38430   if test "x$ac_ct_NM" = x; then
38431     NM=":"
38432   else
38433     case $cross_compiling:$ac_tool_warned in
38434 yes:)
38435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38437 ac_tool_warned=yes ;;
38438 esac
38439     NM=$ac_ct_NM
38440   fi
38441 else
38442   NM="$ac_cv_prog_NM"
38443 fi
38444
38445
38446         INSTALL_DIR="mkdir -p"
38447
38448
38449     LDFLAGS_GUI=
38450     case ${BAKEFILE_HOST} in
38451         *-*-cygwin* | *-*-mingw32* )
38452         LDFLAGS_GUI="-mwindows"
38453     esac
38454
38455
38456     fi
38457
38458         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38459 $as_echo_n "checking if make is GNU make... " >&6; }
38460 if ${bakefile_cv_prog_makeisgnu+:} false; then :
38461   $as_echo_n "(cached) " >&6
38462 else
38463
38464         if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38465                 egrep -s GNU > /dev/null); then
38466             bakefile_cv_prog_makeisgnu="yes"
38467         else
38468             bakefile_cv_prog_makeisgnu="no"
38469         fi
38470
38471 fi
38472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38473 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38474
38475     if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38476         IF_GNU_MAKE=""
38477     else
38478         IF_GNU_MAKE="#"
38479     fi
38480
38481
38482
38483     PLATFORM_UNIX=0
38484     PLATFORM_WIN32=0
38485     PLATFORM_MSDOS=0
38486     PLATFORM_MAC=0
38487     PLATFORM_MACOS=0
38488     PLATFORM_MACOSX=0
38489     PLATFORM_OS2=0
38490     PLATFORM_BEOS=0
38491
38492     if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38493         case "${BAKEFILE_HOST}" in
38494             *-*-mingw32* )
38495                 PLATFORM_WIN32=1
38496             ;;
38497             *-pc-msdosdjgpp )
38498                 PLATFORM_MSDOS=1
38499             ;;
38500             *-pc-os2_emx | *-pc-os2-emx )
38501                 PLATFORM_OS2=1
38502             ;;
38503             *-*-darwin* )
38504                 PLATFORM_MAC=1
38505                 PLATFORM_MACOSX=1
38506             ;;
38507             *-*-beos* )
38508                 PLATFORM_BEOS=1
38509             ;;
38510             powerpc-apple-macos* )
38511                 PLATFORM_MAC=1
38512                 PLATFORM_MACOS=1
38513             ;;
38514             * )
38515                 PLATFORM_UNIX=1
38516             ;;
38517         esac
38518     else
38519         case "$BAKEFILE_FORCE_PLATFORM" in
38520             win32 )
38521                 PLATFORM_WIN32=1
38522             ;;
38523             msdos )
38524                 PLATFORM_MSDOS=1
38525             ;;
38526             os2 )
38527                 PLATFORM_OS2=1
38528             ;;
38529             darwin )
38530                 PLATFORM_MAC=1
38531                 PLATFORM_MACOSX=1
38532             ;;
38533             unix )
38534                 PLATFORM_UNIX=1
38535             ;;
38536             beos )
38537                 PLATFORM_BEOS=1
38538             ;;
38539             * )
38540                 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38541             ;;
38542         esac
38543     fi
38544
38545
38546
38547
38548
38549
38550
38551
38552
38553
38554
38555     # Check whether --enable-omf was given.
38556 if test "${enable_omf+set}" = set; then :
38557   enableval=$enable_omf; bk_os2_use_omf="$enableval"
38558 fi
38559
38560
38561     case "${BAKEFILE_HOST}" in
38562       *-*-darwin* )
38563                         if test "x$GCC" = "xyes"; then
38564             CFLAGS="$CFLAGS -fno-common"
38565             CXXFLAGS="$CXXFLAGS -fno-common"
38566         fi
38567         if test "x$XLCC" = "xyes"; then
38568             CFLAGS="$CFLAGS -qnocommon"
38569             CXXFLAGS="$CXXFLAGS -qnocommon"
38570         fi
38571         ;;
38572
38573       *-pc-os2_emx | *-pc-os2-emx )
38574         if test "x$bk_os2_use_omf" = "xyes" ; then
38575             AR=emxomfar
38576             RANLIB=:
38577             LDFLAGS="-Zomf $LDFLAGS"
38578             CFLAGS="-Zomf $CFLAGS"
38579             CXXFLAGS="-Zomf $CXXFLAGS"
38580             OS2_LIBEXT="lib"
38581         else
38582             OS2_LIBEXT="a"
38583         fi
38584         ;;
38585
38586       i*86-*-beos* )
38587         LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38588         ;;
38589     esac
38590
38591
38592     SO_SUFFIX="so"
38593     SO_SUFFIX_MODULE="so"
38594     EXEEXT=""
38595     LIBPREFIX="lib"
38596     LIBEXT=".a"
38597     DLLPREFIX="lib"
38598     DLLPREFIX_MODULE=""
38599     DLLIMP_SUFFIX=""
38600     dlldir="$libdir"
38601
38602     case "${BAKEFILE_HOST}" in
38603                         ia64-hp-hpux* )
38604         ;;
38605         *-hp-hpux* )
38606             SO_SUFFIX="sl"
38607             SO_SUFFIX_MODULE="sl"
38608         ;;
38609         *-*-aix* )
38610                                                                         SO_SUFFIX="a"
38611             SO_SUFFIX_MODULE="a"
38612         ;;
38613         *-*-cygwin* )
38614             SO_SUFFIX="dll"
38615             SO_SUFFIX_MODULE="dll"
38616             DLLIMP_SUFFIX="dll.a"
38617             EXEEXT=".exe"
38618             DLLPREFIX="cyg"
38619             dlldir="$bindir"
38620         ;;
38621         *-*-mingw32* )
38622             SO_SUFFIX="dll"
38623             SO_SUFFIX_MODULE="dll"
38624             DLLIMP_SUFFIX="dll.a"
38625             EXEEXT=".exe"
38626             DLLPREFIX=""
38627             dlldir="$bindir"
38628         ;;
38629         *-pc-msdosdjgpp )
38630             EXEEXT=".exe"
38631             DLLPREFIX=""
38632             dlldir="$bindir"
38633         ;;
38634         *-pc-os2_emx | *-pc-os2-emx )
38635             SO_SUFFIX="dll"
38636             SO_SUFFIX_MODULE="dll"
38637             DLLIMP_SUFFIX=$OS2_LIBEXT
38638             EXEEXT=".exe"
38639             DLLPREFIX=""
38640             LIBPREFIX=""
38641             LIBEXT=".$OS2_LIBEXT"
38642             dlldir="$bindir"
38643         ;;
38644         *-*-darwin* )
38645             SO_SUFFIX="dylib"
38646             SO_SUFFIX_MODULE="bundle"
38647         ;;
38648     esac
38649
38650     if test "x$DLLIMP_SUFFIX" = "x" ; then
38651         DLLIMP_SUFFIX="$SO_SUFFIX"
38652     fi
38653
38654
38655
38656
38657
38658
38659
38660
38661
38662
38663
38664
38665         PIC_FLAG=""
38666     if test "x$GCC" = "xyes"; then
38667                 PIC_FLAG="-fPIC"
38668     fi
38669
38670         SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38671     SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38672     WINDOWS_IMPLIB=0
38673
38674     case "${BAKEFILE_HOST}" in
38675       *-hp-hpux* )
38676                 if test "x$GCC" != "xyes"; then
38677                         LDFLAGS="$LDFLAGS -L/usr/lib"
38678
38679             SHARED_LD_CC="${CC} -b -o"
38680             SHARED_LD_CXX="${CXX} -b -o"
38681             PIC_FLAG="+Z"
38682         fi
38683       ;;
38684
38685       *-*-linux* )
38686                         if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38687             PIC_FLAG="-KPIC"
38688         elif test "x$SUNCXX" = "xyes"; then
38689             SHARED_LD_CC="${CC} -G -o"
38690             SHARED_LD_CXX="${CXX} -G -o"
38691             PIC_FLAG="-KPIC"
38692         fi
38693       ;;
38694
38695       *-*-solaris2* )
38696         if test "x$SUNCXX" = xyes ; then
38697             SHARED_LD_CC="${CC} -G -o"
38698             SHARED_LD_CXX="${CXX} -G -o"
38699             PIC_FLAG="-KPIC"
38700         fi
38701       ;;
38702
38703       *-*-darwin* )
38704
38705 D='$'
38706 cat <<EOF >shared-ld-sh
38707 #!/bin/sh
38708 #-----------------------------------------------------------------------------
38709 #-- Name:        distrib/mac/shared-ld-sh
38710 #-- Purpose:     Link a mach-o dynamic shared library for Darwin / Mac OS X
38711 #-- Author:      Gilles Depeyrot
38712 #-- Copyright:   (c) 2002 Gilles Depeyrot
38713 #-- Licence:     any use permitted
38714 #-----------------------------------------------------------------------------
38715
38716 verbose=0
38717 args=""
38718 objects=""
38719 linking_flag="-dynamiclib"
38720 ldargs="-r -keep_private_externs -nostdlib"
38721
38722 if test "x${D}CXX" = "x"; then
38723     CXX="c++"
38724 fi
38725
38726 while test ${D}# -gt 0; do
38727     case ${D}1 in
38728
38729        -v)
38730         verbose=1
38731         ;;
38732
38733        -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38734         # collect these options and values
38735         args="${D}{args} ${D}1 ${D}2"
38736         shift
38737         ;;
38738
38739        -arch|-isysroot)
38740         # collect these options and values
38741         ldargs="${D}{ldargs} ${D}1 ${D}2"
38742         shift
38743         ;;
38744
38745        -s|-Wl,*)
38746         # collect these load args
38747         ldargs="${D}{ldargs} ${D}1"
38748         ;;
38749
38750        -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38751         # collect these options
38752         args="${D}{args} ${D}1"
38753         ;;
38754
38755        -dynamiclib|-bundle)
38756         linking_flag="${D}1"
38757         ;;
38758
38759        -*)
38760         echo "shared-ld: unhandled option '${D}1'"
38761         exit 1
38762         ;;
38763
38764         *.o | *.a | *.dylib)
38765         # collect object files
38766         objects="${D}{objects} ${D}1"
38767         ;;
38768
38769         *)
38770         echo "shared-ld: unhandled argument '${D}1'"
38771         exit 1
38772         ;;
38773
38774     esac
38775     shift
38776 done
38777
38778 status=0
38779
38780 #
38781 # Link one module containing all the others
38782 #
38783 if test ${D}{verbose} = 1; then
38784     echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38785 fi
38786 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38787 status=${D}?
38788
38789 #
38790 # Link the shared library from the single module created, but only if the
38791 # previous command didn't fail:
38792 #
38793 if test ${D}{status} = 0; then
38794     if test ${D}{verbose} = 1; then
38795         echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38796     fi
38797     ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38798     status=${D}?
38799 fi
38800
38801 #
38802 # Remove intermediate module
38803 #
38804 rm -f master.${D}${D}.o
38805
38806 exit ${D}status
38807 EOF
38808
38809         chmod +x shared-ld-sh
38810
38811         SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38812         SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38813
38814
38815                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38816 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38817 if ${bakefile_cv_gcc31+:} false; then :
38818   $as_echo_n "(cached) " >&6
38819 else
38820
38821            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38822 /* end confdefs.h.  */
38823
38824 int
38825 main ()
38826 {
38827
38828                    #if (__GNUC__ < 3) || \
38829                        ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38830                        This is old gcc
38831                    #endif
38832
38833   ;
38834   return 0;
38835 }
38836 _ACEOF
38837 if ac_fn_c_try_compile "$LINENO"; then :
38838
38839                    bakefile_cv_gcc31=yes
38840
38841 else
38842
38843                    bakefile_cv_gcc31=no
38844
38845
38846 fi
38847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38848
38849 fi
38850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38851 $as_echo "$bakefile_cv_gcc31" >&6; }
38852         if test "$bakefile_cv_gcc31" = "no"; then
38853                         SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38854             SHARED_LD_CXX="$SHARED_LD_CC"
38855         else
38856                         SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38857             SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38858         fi
38859
38860         if test "x$GCC" == "xyes"; then
38861             PIC_FLAG="-dynamic -fPIC"
38862         fi
38863         if test "x$XLCC" = "xyes"; then
38864             PIC_FLAG="-dynamic -DPIC"
38865         fi
38866       ;;
38867
38868       *-*-aix* )
38869         if test "x$GCC" = "xyes"; then
38870                                                             PIC_FLAG=""
38871
38872                                                                                     case "${BAKEFILE_HOST}" in
38873                 *-*-aix5* )
38874                     LD_EXPFULL="-Wl,-bexpfull"
38875                     ;;
38876             esac
38877
38878             SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
38879             SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
38880         else
38881                                     # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38882 set dummy makeC++SharedLib; ac_word=$2
38883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38884 $as_echo_n "checking for $ac_word... " >&6; }
38885 if ${ac_cv_prog_AIX_CXX_LD+:} false; then :
38886   $as_echo_n "(cached) " >&6
38887 else
38888   if test -n "$AIX_CXX_LD"; then
38889   ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38890 else
38891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38892 for as_dir in $PATH
38893 do
38894   IFS=$as_save_IFS
38895   test -z "$as_dir" && as_dir=.
38896     for ac_exec_ext in '' $ac_executable_extensions; do
38897   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38898     ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38899     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38900     break 2
38901   fi
38902 done
38903   done
38904 IFS=$as_save_IFS
38905
38906   test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38907 fi
38908 fi
38909 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38910 if test -n "$AIX_CXX_LD"; then
38911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38912 $as_echo "$AIX_CXX_LD" >&6; }
38913 else
38914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38915 $as_echo "no" >&6; }
38916 fi
38917
38918
38919             SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38920             SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38921         fi
38922       ;;
38923
38924       *-*-beos* )
38925                         SHARED_LD_CC="${LD} -nostart -o"
38926         SHARED_LD_CXX="${LD} -nostart -o"
38927       ;;
38928
38929       *-*-irix* )
38930                 if test "x$GCC" != "xyes"; then
38931             PIC_FLAG="-KPIC"
38932         fi
38933       ;;
38934
38935       *-*-cygwin* | *-*-mingw32* )
38936         PIC_FLAG=""
38937         SHARED_LD_CC="\$(CC) -shared -o"
38938         SHARED_LD_CXX="\$(CXX) -shared -o"
38939         WINDOWS_IMPLIB=1
38940       ;;
38941
38942       *-pc-os2_emx | *-pc-os2-emx )
38943         SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38944         SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38945         PIC_FLAG=""
38946
38947 D='$'
38948 cat <<EOF >dllar.sh
38949 #!/bin/sh
38950 #
38951 # dllar - a tool to build both a .dll and an .a file
38952 # from a set of object (.o) files for EMX/OS2.
38953 #
38954 #  Written by Andrew Zabolotny, bit@freya.etu.ru
38955 #  Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38956 #
38957 #  This script will accept a set of files on the command line.
38958 #  All the public symbols from the .o files will be exported into
38959 #  a .DEF file, then linker will be run (through gcc) against them to
38960 #  build a shared library consisting of all given .o files. All libraries
38961 #  (.a) will be first decompressed into component .o files then act as
38962 #  described above. You can optionally give a description (-d "description")
38963 #  which will be put into .DLL. To see the list of accepted options (as well
38964 #  as command-line format) simply run this program without options. The .DLL
38965 #  is built to be imported by name (there is no guarantee that new versions
38966 #  of the library you build will have same ordinals for same symbols).
38967 #
38968 #  dllar is free software; you can redistribute it and/or modify
38969 #  it under the terms of the GNU General Public License as published by
38970 #  the Free Software Foundation; either version 2, or (at your option)
38971 #  any later version.
38972 #
38973 #  dllar is distributed in the hope that it will be useful,
38974 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
38975 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
38976 #  GNU General Public License for more details.
38977 #
38978 #  You should have received a copy of the GNU General Public License
38979 #  along with dllar; see the file COPYING.  If not, write to the Free
38980 #  Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38981 #  02111-1307, USA.
38982
38983 # To successfuly run this program you will need:
38984 #  - Current drive should have LFN support (HPFS, ext2, network, etc)
38985 #    (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38986 #  - gcc
38987 #    (used to build the .dll)
38988 #  - emxexp
38989 #    (used to create .def file from .o files)
38990 #  - emximp
38991 #    (used to create .a file from .def file)
38992 #  - GNU text utilites (cat, sort, uniq)
38993 #    used to process emxexp output
38994 #  - GNU file utilities (mv, rm)
38995 #  - GNU sed
38996 #  - lxlite (optional, see flag below)
38997 #    (used for general .dll cleanup)
38998 #
38999
39000 flag_USE_LXLITE=1;
39001
39002 #
39003 # helper functions
39004 # basnam, variant of basename, which does _not_ remove the path, _iff_
39005 #                              second argument (suffix to remove) is given
39006 basnam(){
39007     case ${D}# in
39008     1)
39009         echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39010         ;;
39011     2)
39012         echo ${D}1 | sed 's/'${D}2'${D}//'
39013         ;;
39014     *)
39015         echo "error in basnam ${D}*"
39016         exit 8
39017         ;;
39018     esac
39019 }
39020
39021 # Cleanup temporary files and output
39022 CleanUp() {
39023     cd ${D}curDir
39024     for i in ${D}inputFiles ; do
39025         case ${D}i in
39026         *!)
39027             rm -rf \`basnam ${D}i !\`
39028             ;;
39029         *)
39030             ;;
39031         esac
39032     done
39033
39034     # Kill result in case of failure as there is just to many stupid make/nmake
39035     # things out there which doesn't do this.
39036     if [ ${D}# -eq 0 ]; then
39037         rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39038     fi
39039 }
39040
39041 # Print usage and exit script with rc=1.
39042 PrintHelp() {
39043  echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39044  echo '       [-name-mangler-script script.sh]'
39045  echo '       [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39046  echo '       [-ord[inals]] -ex[clude] "symbol(s)"'
39047  echo '       [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39048  echo '       [*.o] [*.a]'
39049  echo '*> "output_file" should have no extension.'
39050  echo '   If it has the .o, .a or .dll extension, it is automatically removed.'
39051  echo '   The import library name is derived from this and is set to "name".a,'
39052  echo '   unless overridden by -import'
39053  echo '*> "importlib_name" should have no extension.'
39054  echo '   If it has the .o, or .a extension, it is automatically removed.'
39055  echo '   This name is used as the import library name and may be longer and'
39056  echo '   more descriptive than the DLL name which has to follow the old '
39057  echo '   8.3 convention of FAT.'
39058  echo '*> "script.sh may be given to override the output_file name by a'
39059  echo '   different name. It is mainly useful if the regular make process'
39060  echo '   of some package does not take into account OS/2 restriction of'
39061  echo '   DLL name lengths. It takes the importlib name as input and is'
39062  echo '   supposed to procude a shorter name as output. The script should'
39063  echo '   expect to get importlib_name without extension and should produce'
39064  echo '   a (max.) 8 letter name without extension.'
39065  echo '*> "cc" is used to use another GCC executable.   (default: gcc.exe)'
39066  echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39067  echo '   These flags will be put at the start of GCC command line.'
39068  echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39069  echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39070  echo '   multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39071  echo '   If the last character of a symbol is "*", all symbols beginning'
39072  echo '   with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39073  echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39074  echo '   TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39075  echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
39076  echo '   C runtime DLLs.'
39077  echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
39078  echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39079  echo '   unchanged to GCC at the end of command line.'
39080  echo '*> If you create a DLL from a library and you do not specify -o,'
39081  echo '   the basename for DLL and import library will be set to library name,'
39082  echo '   the initial library will be renamed to 'name'_s.a (_s for static)'
39083  echo '   i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39084  echo '   library will be renamed into gcc_s.a.'
39085  echo '--------'
39086  echo 'Example:'
39087  echo '   dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39088  echo '    -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39089  CleanUp
39090  exit 1
39091 }
39092
39093 # Execute a command.
39094 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39095 # @Uses    Whatever CleanUp() uses.
39096 doCommand() {
39097     echo "${D}*"
39098     eval ${D}*
39099     rcCmd=${D}?
39100
39101     if [ ${D}rcCmd -ne 0 ]; then
39102         echo "command failed, exit code="${D}rcCmd
39103         CleanUp
39104         exit ${D}rcCmd
39105     fi
39106 }
39107
39108 # main routine
39109 # setup globals
39110 cmdLine=${D}*
39111 outFile=""
39112 outimpFile=""
39113 inputFiles=""
39114 renameScript=""
39115 description=""
39116 CC=gcc.exe
39117 CFLAGS="-s -Zcrtdll"
39118 EXTRA_CFLAGS=""
39119 EXPORT_BY_ORDINALS=0
39120 exclude_symbols=""
39121 library_flags=""
39122 curDir=\`pwd\`
39123 curDirS=curDir
39124 case ${D}curDirS in
39125 */)
39126   ;;
39127 *)
39128   curDirS=${D}{curDirS}"/"
39129   ;;
39130 esac
39131 # Parse commandline
39132 libsToLink=0
39133 omfLinking=0
39134 while [ ${D}1 ]; do
39135     case ${D}1 in
39136     -ord*)
39137         EXPORT_BY_ORDINALS=1;
39138         ;;
39139     -o*)
39140         shift
39141         outFile=${D}1
39142         ;;
39143     -i*)
39144         shift
39145         outimpFile=${D}1
39146         ;;
39147     -name-mangler-script)
39148         shift
39149         renameScript=${D}1
39150         ;;
39151     -d*)
39152         shift
39153         description=${D}1
39154         ;;
39155     -f*)
39156         shift
39157         CFLAGS=${D}1
39158         ;;
39159     -c*)
39160         shift
39161         CC=${D}1
39162         ;;
39163     -h*)
39164         PrintHelp
39165         ;;
39166     -ex*)
39167         shift
39168         exclude_symbols=${D}{exclude_symbols}${D}1" "
39169         ;;
39170     -libf*)
39171         shift
39172         library_flags=${D}{library_flags}${D}1" "
39173         ;;
39174     -nocrt*)
39175         CFLAGS="-s"
39176         ;;
39177     -nolxl*)
39178         flag_USE_LXLITE=0
39179         ;;
39180     -* | /*)
39181         case ${D}1 in
39182         -L* | -l*)
39183             libsToLink=1
39184             ;;
39185         -Zomf)
39186             omfLinking=1
39187             ;;
39188         *)
39189             ;;
39190         esac
39191         EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39192         ;;
39193     *.dll)
39194         EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39195         if [ ${D}omfLinking -eq 1 ]; then
39196             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39197         else
39198             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39199         fi
39200         ;;
39201     *)
39202         found=0;
39203         if [ ${D}libsToLink -ne 0 ]; then
39204             EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39205         else
39206             for file in ${D}1 ; do
39207                 if [ -f ${D}file ]; then
39208                     inputFiles="${D}{inputFiles} ${D}file"
39209                     found=1
39210                 fi
39211             done
39212             if [ ${D}found -eq 0 ]; then
39213                 echo "ERROR: No file(s) found: "${D}1
39214                 exit 8
39215             fi
39216         fi
39217       ;;
39218     esac
39219     shift
39220 done # iterate cmdline words
39221
39222 #
39223 if [ -z "${D}inputFiles" ]; then
39224     echo "dllar: no input files"
39225     PrintHelp
39226 fi
39227
39228 # Now extract all .o files from .a files
39229 newInputFiles=""
39230 for file in ${D}inputFiles ; do
39231     case ${D}file in
39232     *.a | *.lib)
39233         case ${D}file in
39234         *.a)
39235             suffix=".a"
39236             AR="ar"
39237             ;;
39238         *.lib)
39239             suffix=".lib"
39240             AR="emxomfar"
39241             EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39242             ;;
39243         *)
39244             ;;
39245         esac
39246         dirname=\`basnam ${D}file ${D}suffix\`"_%"
39247         mkdir ${D}dirname
39248         if [ ${D}? -ne 0 ]; then
39249             echo "Failed to create subdirectory ./${D}dirname"
39250             CleanUp
39251             exit 8;
39252         fi
39253         # Append '!' to indicate archive
39254         newInputFiles="${D}newInputFiles ${D}{dirname}!"
39255         doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39256         cd ${D}curDir
39257         found=0;
39258         for subfile in ${D}dirname/*.o* ; do
39259             if [ -f ${D}subfile ]; then
39260                 found=1
39261                 if [ -s ${D}subfile ]; then
39262                     # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39263                     newInputFiles="${D}newInputFiles ${D}subfile"
39264                 fi
39265             fi
39266         done
39267         if [ ${D}found -eq 0 ]; then
39268             echo "WARNING: there are no files in archive \\'${D}file\\'"
39269         fi
39270         ;;
39271     *)
39272         newInputFiles="${D}{newInputFiles} ${D}file"
39273         ;;
39274     esac
39275 done
39276 inputFiles="${D}newInputFiles"
39277
39278 # Output filename(s).
39279 do_backup=0;
39280 if [ -z ${D}outFile ]; then
39281     do_backup=1;
39282     set outFile ${D}inputFiles; outFile=${D}2
39283 fi
39284
39285 # If it is an archive, remove the '!' and the '_%' suffixes
39286 case ${D}outFile in
39287 *_%!)
39288     outFile=\`basnam ${D}outFile _%!\`
39289     ;;
39290 *)
39291     ;;
39292 esac
39293 case ${D}outFile in
39294 *.dll)
39295     outFile=\`basnam ${D}outFile .dll\`
39296     ;;
39297 *.DLL)
39298     outFile=\`basnam ${D}outFile .DLL\`
39299     ;;
39300 *.o)
39301     outFile=\`basnam ${D}outFile .o\`
39302     ;;
39303 *.obj)
39304     outFile=\`basnam ${D}outFile .obj\`
39305     ;;
39306 *.a)
39307     outFile=\`basnam ${D}outFile .a\`
39308     ;;
39309 *.lib)
39310     outFile=\`basnam ${D}outFile .lib\`
39311     ;;
39312 *)
39313     ;;
39314 esac
39315 case ${D}outimpFile in
39316 *.a)
39317     outimpFile=\`basnam ${D}outimpFile .a\`
39318     ;;
39319 *.lib)
39320     outimpFile=\`basnam ${D}outimpFile .lib\`
39321     ;;
39322 *)
39323     ;;
39324 esac
39325 if [ -z ${D}outimpFile ]; then
39326     outimpFile=${D}outFile
39327 fi
39328 defFile="${D}{outFile}.def"
39329 arcFile="${D}{outimpFile}.a"
39330 arcFile2="${D}{outimpFile}.lib"
39331
39332 #create ${D}dllFile as something matching 8.3 restrictions,
39333 if [ -z ${D}renameScript ] ; then
39334     dllFile="${D}outFile"
39335 else
39336     dllFile=\`${D}renameScript ${D}outimpFile\`
39337 fi
39338
39339 if [ ${D}do_backup -ne 0 ] ; then
39340     if [ -f ${D}arcFile ] ; then
39341         doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39342     fi
39343     if [ -f ${D}arcFile2 ] ; then
39344         doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39345     fi
39346 fi
39347
39348 # Extract public symbols from all the object files.
39349 tmpdefFile=${D}{defFile}_%
39350 rm -f ${D}tmpdefFile
39351 for file in ${D}inputFiles ; do
39352     case ${D}file in
39353     *!)
39354         ;;
39355     *)
39356         doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39357         ;;
39358     esac
39359 done
39360
39361 # Create the def file.
39362 rm -f ${D}defFile
39363 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39364 dllFile="${D}{dllFile}.dll"
39365 if [ ! -z ${D}description ]; then
39366     echo "DESCRIPTION  \\"${D}{description}\\"" >> ${D}defFile
39367 fi
39368 echo "EXPORTS" >> ${D}defFile
39369
39370 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39371 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39372
39373 # Checks if the export is ok or not.
39374 for word in ${D}exclude_symbols; do
39375     grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39376     mv ${D}{tmpdefFile}% ${D}tmpdefFile
39377 done
39378
39379
39380 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39381     sed "=" < ${D}tmpdefFile | \\
39382     sed '
39383       N
39384       : loop
39385       s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39386       t loop
39387     ' > ${D}{tmpdefFile}%
39388     grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39389 else
39390     rm -f ${D}{tmpdefFile}%
39391 fi
39392 cat ${D}tmpdefFile >> ${D}defFile
39393 rm -f ${D}tmpdefFile
39394
39395 # Do linking, create implib, and apply lxlite.
39396 gccCmdl="";
39397 for file in ${D}inputFiles ; do
39398     case ${D}file in
39399     *!)
39400         ;;
39401     *)
39402         gccCmdl="${D}gccCmdl ${D}file"
39403         ;;
39404     esac
39405 done
39406 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39407 touch "${D}{outFile}.dll"
39408
39409 doCommand "emximp -o ${D}arcFile ${D}defFile"
39410 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39411     add_flags="";
39412     if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39413         add_flags="-ynd"
39414     fi
39415     doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39416 fi
39417 doCommand "emxomf -s -l ${D}arcFile"
39418
39419 # Successful exit.
39420 CleanUp 1
39421 exit 0
39422 EOF
39423
39424         chmod +x dllar.sh
39425       ;;
39426
39427       powerpc-apple-macos* | \
39428       *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-gnu* | *-*-k*bsd*-gnu | \
39429       *-*-mirbsd* | \
39430       *-*-sunos4* | \
39431       *-*-osf* | \
39432       *-*-dgux5* | \
39433       *-*-sysv5* | \
39434       *-pc-msdosdjgpp )
39435               ;;
39436
39437       *)
39438         as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
39439     esac
39440
39441     if test "x$PIC_FLAG" != "x" ; then
39442         PIC_FLAG="$PIC_FLAG -DPIC"
39443     fi
39444
39445     if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39446         SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39447     fi
39448     if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39449         SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39450     fi
39451
39452
39453
39454
39455
39456
39457
39458
39459
39460     USE_SOVERSION=0
39461     USE_SOVERLINUX=0
39462     USE_SOVERSOLARIS=0
39463     USE_SOVERCYGWIN=0
39464     USE_SOTWOSYMLINKS=0
39465     USE_MACVERSION=0
39466     SONAME_FLAG=
39467
39468     case "${BAKEFILE_HOST}" in
39469       *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39470       *-*-k*bsd*-gnu | *-*-mirbsd* | *-*-gnu* )
39471         if test "x$SUNCXX" = "xyes"; then
39472             SONAME_FLAG="-h "
39473         else
39474             SONAME_FLAG="-Wl,-soname,"
39475         fi
39476         USE_SOVERSION=1
39477         USE_SOVERLINUX=1
39478         USE_SOTWOSYMLINKS=1
39479       ;;
39480
39481       *-*-solaris2* )
39482         SONAME_FLAG="-h "
39483         USE_SOVERSION=1
39484         USE_SOVERSOLARIS=1
39485       ;;
39486
39487       *-*-darwin* )
39488         USE_MACVERSION=1
39489         USE_SOVERSION=1
39490         USE_SOTWOSYMLINKS=1
39491       ;;
39492
39493       *-*-cygwin* )
39494         USE_SOVERSION=1
39495         USE_SOVERCYGWIN=1
39496       ;;
39497     esac
39498
39499
39500
39501
39502
39503
39504
39505
39506
39507
39508     # Check whether --enable-dependency-tracking was given.
39509 if test "${enable_dependency_tracking+set}" = set; then :
39510   enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
39511 fi
39512
39513
39514     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39515 $as_echo_n "checking for dependency tracking method... " >&6; }
39516
39517     BK_DEPS=""
39518     if test "x$bk_use_trackdeps" = "xno" ; then
39519         DEPS_TRACKING=0
39520         { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39521 $as_echo "disabled" >&6; }
39522     else
39523         DEPS_TRACKING=1
39524
39525         if test "x$GCC" = "xyes"; then
39526             DEPSMODE=gcc
39527             DEPSFLAG="-MMD"
39528             { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39529 $as_echo "gcc" >&6; }
39530         elif test "x$MWCC" = "xyes"; then
39531             DEPSMODE=mwcc
39532             DEPSFLAG="-MM"
39533             { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39534 $as_echo "mwcc" >&6; }
39535         elif test "x$SUNCC" = "xyes"; then
39536             DEPSMODE=unixcc
39537             DEPSFLAG="-xM1"
39538             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39539 $as_echo "Sun cc" >&6; }
39540         elif test "x$SGICC" = "xyes"; then
39541             DEPSMODE=unixcc
39542             DEPSFLAG="-M"
39543             { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39544 $as_echo "SGI cc" >&6; }
39545         elif test "x$HPCC" = "xyes"; then
39546             DEPSMODE=unixcc
39547             DEPSFLAG="+make"
39548             { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39549 $as_echo "HP cc" >&6; }
39550         elif test "x$COMPAQCC" = "xyes"; then
39551             DEPSMODE=gcc
39552             DEPSFLAG="-MD"
39553             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39554 $as_echo "Compaq cc" >&6; }
39555         else
39556             DEPS_TRACKING=0
39557             { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39558 $as_echo "none" >&6; }
39559         fi
39560
39561         if test $DEPS_TRACKING = 1 ; then
39562
39563 D='$'
39564 cat <<EOF >bk-deps
39565 #!/bin/sh
39566
39567 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39568 # script. It is used to track C/C++ files dependencies in portable way.
39569 #
39570 # Permission is given to use this file in any way.
39571
39572 DEPSMODE=${DEPSMODE}
39573 DEPSFLAG="${DEPSFLAG}"
39574 DEPSDIRBASE=.deps
39575
39576 if test ${D}DEPSMODE = gcc ; then
39577     ${D}* ${D}{DEPSFLAG}
39578     status=${D}?
39579
39580     # determine location of created files:
39581     while test ${D}# -gt 0; do
39582         case "${D}1" in
39583             -o )
39584                 shift
39585                 objfile=${D}1
39586             ;;
39587             -* )
39588             ;;
39589             * )
39590                 srcfile=${D}1
39591             ;;
39592         esac
39593         shift
39594     done
39595     objfilebase=\`basename ${D}objfile\`
39596     builddir=\`dirname ${D}objfile\`
39597     depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39598     depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39599     depsdir=${D}builddir/${D}DEPSDIRBASE
39600     mkdir -p ${D}depsdir
39601
39602     # if the compiler failed, we're done:
39603     if test ${D}{status} != 0 ; then
39604         rm -f ${D}depfile
39605         exit ${D}{status}
39606     fi
39607
39608     # move created file to the location we want it in:
39609     if test -f ${D}depfile ; then
39610         sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39611         rm -f ${D}depfile
39612     else
39613         # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39614         depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39615         if test ! -f ${D}depfile ; then
39616             # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39617             depfile="${D}objfile.d"
39618         fi
39619         if test -f ${D}depfile ; then
39620             sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39621             rm -f ${D}depfile
39622         fi
39623     fi
39624     exit 0
39625
39626 elif test ${D}DEPSMODE = mwcc ; then
39627     ${D}* || exit ${D}?
39628     # Run mwcc again with -MM and redirect into the dep file we want
39629     # NOTE: We can't use shift here because we need ${D}* to be valid
39630     prevarg=
39631     for arg in ${D}* ; do
39632         if test "${D}prevarg" = "-o"; then
39633             objfile=${D}arg
39634         else
39635             case "${D}arg" in
39636                 -* )
39637                 ;;
39638                 * )
39639                     srcfile=${D}arg
39640                 ;;
39641             esac
39642         fi
39643         prevarg="${D}arg"
39644     done
39645
39646     objfilebase=\`basename ${D}objfile\`
39647     builddir=\`dirname ${D}objfile\`
39648     depsdir=${D}builddir/${D}DEPSDIRBASE
39649     mkdir -p ${D}depsdir
39650
39651     ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39652     exit 0
39653
39654 elif test ${D}DEPSMODE = unixcc; then
39655     ${D}* || exit ${D}?
39656     # Run compiler again with deps flag and redirect into the dep file.
39657     # It doesn't work if the '-o FILE' option is used, but without it the
39658     # dependency file will contain the wrong name for the object. So it is
39659     # removed from the command line, and the dep file is fixed with sed.
39660     cmd=""
39661     while test ${D}# -gt 0; do
39662         case "${D}1" in
39663             -o )
39664                 shift
39665                 objfile=${D}1
39666             ;;
39667             * )
39668                 eval arg${D}#=\\${D}1
39669                 cmd="${D}cmd \\${D}arg${D}#"
39670             ;;
39671         esac
39672         shift
39673     done
39674
39675     objfilebase=\`basename ${D}objfile\`
39676     builddir=\`dirname ${D}objfile\`
39677     depsdir=${D}builddir/${D}DEPSDIRBASE
39678     mkdir -p ${D}depsdir
39679
39680     eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39681     exit 0
39682
39683 else
39684     ${D}*
39685     exit ${D}?
39686 fi
39687 EOF
39688
39689             chmod +x bk-deps
39690                                     BK_DEPS="`pwd`/bk-deps"
39691         fi
39692     fi
39693
39694
39695
39696
39697
39698     case ${BAKEFILE_HOST} in
39699         *-*-cygwin* | *-*-mingw32* )
39700                         if test -n "$ac_tool_prefix"; then
39701   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39702 set dummy ${ac_tool_prefix}windres; ac_word=$2
39703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39704 $as_echo_n "checking for $ac_word... " >&6; }
39705 if ${ac_cv_prog_WINDRES+:} false; then :
39706   $as_echo_n "(cached) " >&6
39707 else
39708   if test -n "$WINDRES"; then
39709   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39710 else
39711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39712 for as_dir in $PATH
39713 do
39714   IFS=$as_save_IFS
39715   test -z "$as_dir" && as_dir=.
39716     for ac_exec_ext in '' $ac_executable_extensions; do
39717   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39718     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39719     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39720     break 2
39721   fi
39722 done
39723   done
39724 IFS=$as_save_IFS
39725
39726 fi
39727 fi
39728 WINDRES=$ac_cv_prog_WINDRES
39729 if test -n "$WINDRES"; then
39730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39731 $as_echo "$WINDRES" >&6; }
39732 else
39733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39734 $as_echo "no" >&6; }
39735 fi
39736
39737
39738 fi
39739 if test -z "$ac_cv_prog_WINDRES"; then
39740   ac_ct_WINDRES=$WINDRES
39741   # Extract the first word of "windres", so it can be a program name with args.
39742 set dummy windres; ac_word=$2
39743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39744 $as_echo_n "checking for $ac_word... " >&6; }
39745 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
39746   $as_echo_n "(cached) " >&6
39747 else
39748   if test -n "$ac_ct_WINDRES"; then
39749   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39750 else
39751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39752 for as_dir in $PATH
39753 do
39754   IFS=$as_save_IFS
39755   test -z "$as_dir" && as_dir=.
39756     for ac_exec_ext in '' $ac_executable_extensions; do
39757   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39758     ac_cv_prog_ac_ct_WINDRES="windres"
39759     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39760     break 2
39761   fi
39762 done
39763   done
39764 IFS=$as_save_IFS
39765
39766 fi
39767 fi
39768 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39769 if test -n "$ac_ct_WINDRES"; then
39770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39771 $as_echo "$ac_ct_WINDRES" >&6; }
39772 else
39773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39774 $as_echo "no" >&6; }
39775 fi
39776
39777   if test "x$ac_ct_WINDRES" = x; then
39778     WINDRES=""
39779   else
39780     case $cross_compiling:$ac_tool_warned in
39781 yes:)
39782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39784 ac_tool_warned=yes ;;
39785 esac
39786     WINDRES=$ac_ct_WINDRES
39787   fi
39788 else
39789   WINDRES="$ac_cv_prog_WINDRES"
39790 fi
39791
39792          ;;
39793
39794       *-*-darwin* | powerpc-apple-macos* )
39795             # Extract the first word of "Rez", so it can be a program name with args.
39796 set dummy Rez; ac_word=$2
39797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39798 $as_echo_n "checking for $ac_word... " >&6; }
39799 if ${ac_cv_prog_REZ+:} false; then :
39800   $as_echo_n "(cached) " >&6
39801 else
39802   if test -n "$REZ"; then
39803   ac_cv_prog_REZ="$REZ" # Let the user override the test.
39804 else
39805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39806 for as_dir in $PATH
39807 do
39808   IFS=$as_save_IFS
39809   test -z "$as_dir" && as_dir=.
39810     for ac_exec_ext in '' $ac_executable_extensions; do
39811   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39812     ac_cv_prog_REZ="Rez"
39813     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39814     break 2
39815   fi
39816 done
39817   done
39818 IFS=$as_save_IFS
39819
39820   test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
39821 fi
39822 fi
39823 REZ=$ac_cv_prog_REZ
39824 if test -n "$REZ"; then
39825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39826 $as_echo "$REZ" >&6; }
39827 else
39828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39829 $as_echo "no" >&6; }
39830 fi
39831
39832
39833             # Extract the first word of "SetFile", so it can be a program name with args.
39834 set dummy SetFile; ac_word=$2
39835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39836 $as_echo_n "checking for $ac_word... " >&6; }
39837 if ${ac_cv_prog_SETFILE+:} false; then :
39838   $as_echo_n "(cached) " >&6
39839 else
39840   if test -n "$SETFILE"; then
39841   ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39842 else
39843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39844 for as_dir in $PATH
39845 do
39846   IFS=$as_save_IFS
39847   test -z "$as_dir" && as_dir=.
39848     for ac_exec_ext in '' $ac_executable_extensions; do
39849   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39850     ac_cv_prog_SETFILE="SetFile"
39851     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39852     break 2
39853   fi
39854 done
39855   done
39856 IFS=$as_save_IFS
39857
39858   test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39859 fi
39860 fi
39861 SETFILE=$ac_cv_prog_SETFILE
39862 if test -n "$SETFILE"; then
39863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39864 $as_echo "$SETFILE" >&6; }
39865 else
39866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39867 $as_echo "no" >&6; }
39868 fi
39869
39870
39871         ;;
39872     esac
39873
39874
39875
39876
39877
39878
39879
39880
39881
39882     BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
39883
39884
39885 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
39886
39887
39888
39889     # Check whether --enable-precomp-headers was given.
39890 if test "${enable_precomp_headers+set}" = set; then :
39891   enableval=$enable_precomp_headers; bk_use_pch="$enableval"
39892 fi
39893
39894
39895     GCC_PCH=0
39896     ICC_PCH=0
39897     USE_PCH=0
39898     BK_MAKE_PCH=""
39899
39900     case ${BAKEFILE_HOST} in
39901         *-*-cygwin* )
39902                                                 bk_use_pch="no"
39903             ;;
39904     esac
39905
39906     if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39907         if test "x$GCC" = "xyes"; then
39908                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39909 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39910             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39911 /* end confdefs.h.  */
39912
39913 int
39914 main ()
39915 {
39916
39917                     #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39918                         There is no PCH support
39919                     #endif
39920                     #if (__GNUC__ < 3)
39921                         There is no PCH support
39922                     #endif
39923                     #if (__GNUC__ == 3) && \
39924                        ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39925                        ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39926                        ( defined(__INTEL_COMPILER) )
39927                         There is no PCH support
39928                     #endif
39929
39930   ;
39931   return 0;
39932 }
39933 _ACEOF
39934 if ac_fn_c_try_compile "$LINENO"; then :
39935
39936                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39937 $as_echo "yes" >&6; }
39938                     GCC_PCH=1
39939
39940 else
39941
39942                     if test "$INTELCXX8" = "yes"; then
39943                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39944 $as_echo "yes" >&6; }
39945                         ICC_PCH=1
39946                         if test "$INTELCXX10" = "yes"; then
39947                             ICC_PCH_CREATE_SWITCH="-pch-create"
39948                             ICC_PCH_USE_SWITCH="-pch-use"
39949                         else
39950                             ICC_PCH_CREATE_SWITCH="-create-pch"
39951                             ICC_PCH_USE_SWITCH="-use-pch"
39952                         fi
39953                     else
39954                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39955 $as_echo "no" >&6; }
39956                     fi
39957
39958 fi
39959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39960             if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39961                 USE_PCH=1
39962
39963 D='$'
39964 cat <<EOF >bk-make-pch
39965 #!/bin/sh
39966
39967 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39968 # script. It is used to generated precompiled headers.
39969 #
39970 # Permission is given to use this file in any way.
39971
39972 outfile="${D}{1}"
39973 header="${D}{2}"
39974 shift
39975 shift
39976
39977 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39978
39979 compiler=""
39980 headerfile=""
39981
39982 while test ${D}{#} -gt 0; do
39983     add_to_cmdline=1
39984     case "${D}{1}" in
39985         -I* )
39986             incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39987             if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39988                 headerfile="${D}{incdir}/${D}{header}"
39989             fi
39990         ;;
39991         -use-pch|-use_pch|-pch-use )
39992             shift
39993             add_to_cmdline=0
39994         ;;
39995     esac
39996     if test ${D}add_to_cmdline = 1 ; then
39997         compiler="${D}{compiler} ${D}{1}"
39998     fi
39999     shift
40000 done
40001
40002 if test "x${D}{headerfile}" = "x" ; then
40003     echo "error: can't find header ${D}{header} in include paths" >&2
40004 else
40005     if test -f ${D}{outfile} ; then
40006         rm -f ${D}{outfile}
40007     else
40008         mkdir -p \`dirname ${D}{outfile}\`
40009     fi
40010     depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40011     mkdir -p ${D}{builddir}/.deps
40012     if test "x${GCC_PCH}" = "x1" ; then
40013         # can do this because gcc is >= 3.4:
40014         ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40015     elif test "x${ICC_PCH}" = "x1" ; then
40016         filename=pch_gen-${D}${D}
40017         file=${D}{filename}.c
40018         dfile=${D}{filename}.d
40019         cat > ${D}file <<EOT
40020 #include "${D}header"
40021 EOT
40022         # using -MF icc complains about differing command lines in creation/use
40023         ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
40024           sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
40025           rm -f ${D}file ${D}dfile ${D}{filename}.o
40026     fi
40027     exit ${D}{?}
40028 fi
40029 EOF
40030
40031                 chmod +x bk-make-pch
40032                                                                 BK_MAKE_PCH="`pwd`/bk-make-pch"
40033             fi
40034         fi
40035     fi
40036
40037
40038
40039
40040
40041
40042
40043     COND_BUILD_debug="#"
40044     if test "x$BUILD" = "xdebug" ; then
40045         COND_BUILD_debug=""
40046     fi
40047
40048     COND_BUILD_debug_DEBUG_INFO_default="#"
40049     if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40050         COND_BUILD_debug_DEBUG_INFO_default=""
40051     fi
40052
40053     COND_BUILD_release="#"
40054     if test "x$BUILD" = "xrelease" ; then
40055         COND_BUILD_release=""
40056     fi
40057
40058     COND_BUILD_release_DEBUG_INFO_default="#"
40059     if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40060         COND_BUILD_release_DEBUG_INFO_default=""
40061     fi
40062
40063     COND_DEBUG_FLAG_0="#"
40064     if test "x$DEBUG_FLAG" = "x0" ; then
40065         COND_DEBUG_FLAG_0=""
40066     fi
40067
40068     COND_DEBUG_INFO_0="#"
40069     if test "x$DEBUG_INFO" = "x0" ; then
40070         COND_DEBUG_INFO_0=""
40071     fi
40072
40073     COND_DEBUG_INFO_1="#"
40074     if test "x$DEBUG_INFO" = "x1" ; then
40075         COND_DEBUG_INFO_1=""
40076     fi
40077
40078     COND_DEPS_TRACKING_0="#"
40079     if test "x$DEPS_TRACKING" = "x0" ; then
40080         COND_DEPS_TRACKING_0=""
40081     fi
40082
40083     COND_DEPS_TRACKING_1="#"
40084     if test "x$DEPS_TRACKING" = "x1" ; then
40085         COND_DEPS_TRACKING_1=""
40086     fi
40087
40088     COND_GCC_PCH_1="#"
40089     if test "x$GCC_PCH" = "x1" ; then
40090         COND_GCC_PCH_1=""
40091     fi
40092
40093     COND_ICC_PCH_1="#"
40094     if test "x$ICC_PCH" = "x1" ; then
40095         COND_ICC_PCH_1=""
40096     fi
40097
40098     COND_MONOLITHIC_0="#"
40099     if test "x$MONOLITHIC" = "x0" ; then
40100         COND_MONOLITHIC_0=""
40101     fi
40102
40103     COND_MONOLITHIC_0_SHARED_0="#"
40104     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40105         COND_MONOLITHIC_0_SHARED_0=""
40106     fi
40107
40108     COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
40109     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40110         COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
40111     fi
40112
40113     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40114     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40115         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40116     fi
40117
40118     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
40119     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40120         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
40121     fi
40122
40123     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
40124     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40125         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
40126     fi
40127
40128     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
40129     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40130         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
40131     fi
40132
40133     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
40134     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40135         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
40136     fi
40137
40138     COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
40139     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40140         COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
40141     fi
40142
40143     COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
40144     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40145         COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
40146     fi
40147
40148     COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
40149     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40150         COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
40151     fi
40152
40153     COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
40154     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40155         COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
40156     fi
40157
40158     COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40159     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40160         COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40161     fi
40162
40163     COND_MONOLITHIC_0_SHARED_1="#"
40164     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40165         COND_MONOLITHIC_0_SHARED_1=""
40166     fi
40167
40168     COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
40169     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40170         COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
40171     fi
40172
40173     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40174     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40175         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40176     fi
40177
40178     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
40179     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40180         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
40181     fi
40182
40183     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
40184     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40185         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
40186     fi
40187
40188     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
40189     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40190         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
40191     fi
40192
40193     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
40194     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40195         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
40196     fi
40197
40198     COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
40199     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40200         COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
40201     fi
40202
40203     COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
40204     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40205         COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
40206     fi
40207
40208     COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
40209     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40210         COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
40211     fi
40212
40213     COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
40214     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40215         COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
40216     fi
40217
40218     COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40219     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40220         COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40221     fi
40222
40223     COND_MONOLITHIC_0_USE_AUI_1="#"
40224     if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40225         COND_MONOLITHIC_0_USE_AUI_1=""
40226     fi
40227
40228     COND_MONOLITHIC_0_USE_GUI_1="#"
40229     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40230         COND_MONOLITHIC_0_USE_GUI_1=""
40231     fi
40232
40233     COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
40234     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40235         COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
40236     fi
40237
40238     COND_MONOLITHIC_0_USE_HTML_1="#"
40239     if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40240         COND_MONOLITHIC_0_USE_HTML_1=""
40241     fi
40242
40243     COND_MONOLITHIC_0_USE_MEDIA_1="#"
40244     if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40245         COND_MONOLITHIC_0_USE_MEDIA_1=""
40246     fi
40247
40248     COND_MONOLITHIC_0_USE_PROPGRID_1="#"
40249     if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40250         COND_MONOLITHIC_0_USE_PROPGRID_1=""
40251     fi
40252
40253     COND_MONOLITHIC_0_USE_QA_1="#"
40254     if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40255         COND_MONOLITHIC_0_USE_QA_1=""
40256     fi
40257
40258     COND_MONOLITHIC_0_USE_RIBBON_1="#"
40259     if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40260         COND_MONOLITHIC_0_USE_RIBBON_1=""
40261     fi
40262
40263     COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
40264     if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40265         COND_MONOLITHIC_0_USE_RICHTEXT_1=""
40266     fi
40267
40268     COND_MONOLITHIC_0_USE_STC_1="#"
40269     if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40270         COND_MONOLITHIC_0_USE_STC_1=""
40271     fi
40272
40273     COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
40274     if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40275         COND_MONOLITHIC_0_USE_WEBVIEW_1=""
40276     fi
40277
40278     COND_MONOLITHIC_0_USE_XRC_1="#"
40279     if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40280         COND_MONOLITHIC_0_USE_XRC_1=""
40281     fi
40282
40283     COND_MONOLITHIC_1="#"
40284     if test "x$MONOLITHIC" = "x1" ; then
40285         COND_MONOLITHIC_1=""
40286     fi
40287
40288     COND_MONOLITHIC_1_SHARED_0="#"
40289     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40290         COND_MONOLITHIC_1_SHARED_0=""
40291     fi
40292
40293     COND_MONOLITHIC_1_SHARED_1="#"
40294     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40295         COND_MONOLITHIC_1_SHARED_1=""
40296     fi
40297
40298     COND_MONOLITHIC_1_USE_STC_1="#"
40299     if test "x$MONOLITHIC" = "x1" -a "x$USE_STC" = "x1" ; then
40300         COND_MONOLITHIC_1_USE_STC_1=""
40301     fi
40302
40303     COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40304     if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40305         COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40306     fi
40307
40308     COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40309     if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40310         COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40311     fi
40312
40313     COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
40314     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40315         COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
40316     fi
40317
40318     COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40319     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40320         COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40321     fi
40322
40323     COND_PLATFORM_MACOSX_1="#"
40324     if test "x$PLATFORM_MACOSX" = "x1" ; then
40325         COND_PLATFORM_MACOSX_1=""
40326     fi
40327
40328     COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
40329     if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40330         COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
40331     fi
40332
40333     COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
40334     if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40335         COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
40336     fi
40337
40338     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40339     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40340         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40341     fi
40342
40343     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40344     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40345         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40346     fi
40347
40348     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40349     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40350         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40351     fi
40352
40353     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40354     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40355         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40356     fi
40357
40358     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40359     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40360         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40361     fi
40362
40363     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
40364     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40365         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
40366     fi
40367
40368     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40369     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40370         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40371     fi
40372
40373     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
40374     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40375         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
40376     fi
40377
40378     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40379     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40380         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40381     fi
40382
40383     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40384     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40385         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40386     fi
40387
40388     COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40389     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40390         COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40391     fi
40392
40393     COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
40394     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40395         COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
40396     fi
40397
40398     COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40399     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40400         COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40401     fi
40402
40403     COND_PLATFORM_MAC_0="#"
40404     if test "x$PLATFORM_MAC" = "x0" ; then
40405         COND_PLATFORM_MAC_0=""
40406     fi
40407
40408     COND_PLATFORM_MAC_1="#"
40409     if test "x$PLATFORM_MAC" = "x1" ; then
40410         COND_PLATFORM_MAC_1=""
40411     fi
40412
40413     COND_PLATFORM_MSDOS_0="#"
40414     if test "x$PLATFORM_MSDOS" = "x0" ; then
40415         COND_PLATFORM_MSDOS_0=""
40416     fi
40417
40418     COND_PLATFORM_MSDOS_1="#"
40419     if test "x$PLATFORM_MSDOS" = "x1" ; then
40420         COND_PLATFORM_MSDOS_1=""
40421     fi
40422
40423     COND_PLATFORM_OS2_1="#"
40424     if test "x$PLATFORM_OS2" = "x1" ; then
40425         COND_PLATFORM_OS2_1=""
40426     fi
40427
40428     COND_PLATFORM_UNIX_0="#"
40429     if test "x$PLATFORM_UNIX" = "x0" ; then
40430         COND_PLATFORM_UNIX_0=""
40431     fi
40432
40433     COND_PLATFORM_UNIX_1="#"
40434     if test "x$PLATFORM_UNIX" = "x1" ; then
40435         COND_PLATFORM_UNIX_1=""
40436     fi
40437
40438     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40439     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40440         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40441     fi
40442
40443     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40444     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40445         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40446     fi
40447
40448     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40449     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40450         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40451     fi
40452
40453     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40454     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40455         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40456     fi
40457
40458     COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40459     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40460         COND_PLATFORM_UNIX_1_USE_GUI_1=""
40461     fi
40462
40463     COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40464     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40465         COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40466     fi
40467
40468     COND_PLATFORM_WIN32_0="#"
40469     if test "x$PLATFORM_WIN32" = "x0" ; then
40470         COND_PLATFORM_WIN32_0=""
40471     fi
40472
40473     COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40474     if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40475         COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40476     fi
40477
40478     COND_PLATFORM_WIN32_1="#"
40479     if test "x$PLATFORM_WIN32" = "x1" ; then
40480         COND_PLATFORM_WIN32_1=""
40481     fi
40482
40483     COND_PLATFORM_WIN32_1_SHARED_0="#"
40484     if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40485         COND_PLATFORM_WIN32_1_SHARED_0=""
40486     fi
40487
40488     COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40489     if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40490         COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40491     fi
40492
40493     COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40494     if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40495         COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40496     fi
40497
40498     COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40499     if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40500         COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40501     fi
40502
40503     COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40504     if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40505         COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40506     fi
40507
40508     COND_SHARED_0="#"
40509     if test "x$SHARED" = "x0" ; then
40510         COND_SHARED_0=""
40511     fi
40512
40513     COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40514     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40515         COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40516     fi
40517
40518     COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40519     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40520         COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40521     fi
40522
40523     COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40524     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40525         COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40526     fi
40527
40528     COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40529     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40530         COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40531     fi
40532
40533     COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40534     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40535         COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40536     fi
40537
40538     COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40539     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40540         COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40541     fi
40542
40543     COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40544     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40545         COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40546     fi
40547
40548     COND_SHARED_0_USE_STC_1="#"
40549     if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40550         COND_SHARED_0_USE_STC_1=""
40551     fi
40552
40553     COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40554     if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40555         COND_SHARED_0_wxUSE_EXPAT_builtin=""
40556     fi
40557
40558     COND_SHARED_0_wxUSE_REGEX_builtin="#"
40559     if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40560         COND_SHARED_0_wxUSE_REGEX_builtin=""
40561     fi
40562
40563     COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40564     if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40565         COND_SHARED_0_wxUSE_ZLIB_builtin=""
40566     fi
40567
40568     COND_SHARED_1="#"
40569     if test "x$SHARED" = "x1" ; then
40570         COND_SHARED_1=""
40571     fi
40572
40573     COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40574     if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40575         COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40576     fi
40577
40578     COND_TOOLKIT_="#"
40579     if test "x$TOOLKIT" = "x" ; then
40580         COND_TOOLKIT_=""
40581     fi
40582
40583     COND_TOOLKIT_COCOA="#"
40584     if test "x$TOOLKIT" = "xCOCOA" ; then
40585         COND_TOOLKIT_COCOA=""
40586     fi
40587
40588     COND_TOOLKIT_COCOA_USE_GUI_1="#"
40589     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40590         COND_TOOLKIT_COCOA_USE_GUI_1=""
40591     fi
40592
40593     COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40594     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40595         COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40596     fi
40597
40598     COND_TOOLKIT_DFB="#"
40599     if test "x$TOOLKIT" = "xDFB" ; then
40600         COND_TOOLKIT_DFB=""
40601     fi
40602
40603     COND_TOOLKIT_DFB_USE_GUI_1="#"
40604     if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40605         COND_TOOLKIT_DFB_USE_GUI_1=""
40606     fi
40607
40608     COND_TOOLKIT_GTK="#"
40609     if test "x$TOOLKIT" = "xGTK" ; then
40610         COND_TOOLKIT_GTK=""
40611     fi
40612
40613     COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40614     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40615         COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40616     fi
40617
40618     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40619     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40620         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40621     fi
40622
40623     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40624     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40625         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40626     fi
40627
40628     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40629     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40630         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40631     fi
40632
40633     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1="#"
40634     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40635         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1=""
40636     fi
40637
40638     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40639     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40640         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40641     fi
40642
40643     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1="#"
40644     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x1" ; then
40645         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1=""
40646     fi
40647
40648     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40649     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40650         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40651     fi
40652
40653     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40654     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40655         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40656     fi
40657
40658     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40659     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40660         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40661     fi
40662
40663     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40664     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40665         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40666     fi
40667
40668     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40669     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40670         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40671     fi
40672
40673     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40674     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40675         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40676     fi
40677
40678     COND_TOOLKIT_GTK_USE_GUI_1="#"
40679     if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40680         COND_TOOLKIT_GTK_USE_GUI_1=""
40681     fi
40682
40683     COND_TOOLKIT_MAC="#"
40684     if test "x$TOOLKIT" = "xMAC" ; then
40685         COND_TOOLKIT_MAC=""
40686     fi
40687
40688     COND_TOOLKIT_MOTIF="#"
40689     if test "x$TOOLKIT" = "xMOTIF" ; then
40690         COND_TOOLKIT_MOTIF=""
40691     fi
40692
40693     COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40694     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40695         COND_TOOLKIT_MOTIF_USE_GUI_1=""
40696     fi
40697
40698     COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40699     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40700         COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40701     fi
40702
40703     COND_TOOLKIT_MSW="#"
40704     if test "x$TOOLKIT" = "xMSW" ; then
40705         COND_TOOLKIT_MSW=""
40706     fi
40707
40708     COND_TOOLKIT_MSW_USE_GUI_1="#"
40709     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40710         COND_TOOLKIT_MSW_USE_GUI_1=""
40711     fi
40712
40713     COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40714     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40715         COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40716     fi
40717
40718     COND_TOOLKIT_MSW_WXUNIV_0="#"
40719     if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40720         COND_TOOLKIT_MSW_WXUNIV_0=""
40721     fi
40722
40723     COND_TOOLKIT_OSX_CARBON="#"
40724     if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40725         COND_TOOLKIT_OSX_CARBON=""
40726     fi
40727
40728     COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40729     if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40730         COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40731     fi
40732
40733     COND_TOOLKIT_OSX_COCOA="#"
40734     if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40735         COND_TOOLKIT_OSX_COCOA=""
40736     fi
40737
40738     COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40739     if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40740         COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40741     fi
40742
40743     COND_TOOLKIT_OSX_IPHONE="#"
40744     if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40745         COND_TOOLKIT_OSX_IPHONE=""
40746     fi
40747
40748     COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40749     if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40750         COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40751     fi
40752
40753     COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40754     if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40755         COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40756     fi
40757
40758     COND_TOOLKIT_PM="#"
40759     if test "x$TOOLKIT" = "xPM" ; then
40760         COND_TOOLKIT_PM=""
40761     fi
40762
40763     COND_TOOLKIT_PM_USE_GUI_1="#"
40764     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40765         COND_TOOLKIT_PM_USE_GUI_1=""
40766     fi
40767
40768     COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40769     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40770         COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40771     fi
40772
40773     COND_TOOLKIT_WINCE="#"
40774     if test "x$TOOLKIT" = "xWINCE" ; then
40775         COND_TOOLKIT_WINCE=""
40776     fi
40777
40778     COND_TOOLKIT_WINCE_USE_GUI_1="#"
40779     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40780         COND_TOOLKIT_WINCE_USE_GUI_1=""
40781     fi
40782
40783     COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40784     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40785         COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40786     fi
40787
40788     COND_TOOLKIT_WINCE_WXUNIV_0="#"
40789     if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40790         COND_TOOLKIT_WINCE_WXUNIV_0=""
40791     fi
40792
40793     COND_TOOLKIT_X11="#"
40794     if test "x$TOOLKIT" = "xX11" ; then
40795         COND_TOOLKIT_X11=""
40796     fi
40797
40798     COND_TOOLKIT_X11_USE_GUI_1="#"
40799     if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40800         COND_TOOLKIT_X11_USE_GUI_1=""
40801     fi
40802
40803     COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1="#"
40804     if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40805         COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1=""
40806     fi
40807
40808     COND_TOOLKIT_X11_WXUNIV_1="#"
40809     if test "x$TOOLKIT" = "xX11" -a "x$WXUNIV" = "x1" ; then
40810         COND_TOOLKIT_X11_WXUNIV_1=""
40811     fi
40812
40813     COND_UNICODE_1="#"
40814     if test "x$UNICODE" = "x1" ; then
40815         COND_UNICODE_1=""
40816     fi
40817
40818     COND_USE_CAIRO_1="#"
40819     if test "x$USE_CAIRO" = "x1" ; then
40820         COND_USE_CAIRO_1=""
40821     fi
40822
40823     COND_USE_EXCEPTIONS_0="#"
40824     if test "x$USE_EXCEPTIONS" = "x0" ; then
40825         COND_USE_EXCEPTIONS_0=""
40826     fi
40827
40828     COND_USE_EXCEPTIONS_1="#"
40829     if test "x$USE_EXCEPTIONS" = "x1" ; then
40830         COND_USE_EXCEPTIONS_1=""
40831     fi
40832
40833     COND_USE_GUI_0="#"
40834     if test "x$USE_GUI" = "x0" ; then
40835         COND_USE_GUI_0=""
40836     fi
40837
40838     COND_USE_GUI_1="#"
40839     if test "x$USE_GUI" = "x1" ; then
40840         COND_USE_GUI_1=""
40841     fi
40842
40843     COND_USE_GUI_1_USE_OPENGL_1="#"
40844     if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40845         COND_USE_GUI_1_USE_OPENGL_1=""
40846     fi
40847
40848     COND_USE_GUI_1_WXUNIV_0="#"
40849     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40850         COND_USE_GUI_1_WXUNIV_0=""
40851     fi
40852
40853     COND_USE_GUI_1_WXUNIV_1="#"
40854     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40855         COND_USE_GUI_1_WXUNIV_1=""
40856     fi
40857
40858     COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40859     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40860         COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40861     fi
40862
40863     COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40864     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40865         COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40866     fi
40867
40868     COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40869     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40870         COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40871     fi
40872
40873     COND_USE_OPENGL_1="#"
40874     if test "x$USE_OPENGL" = "x1" ; then
40875         COND_USE_OPENGL_1=""
40876     fi
40877
40878     COND_USE_PCH_1="#"
40879     if test "x$USE_PCH" = "x1" ; then
40880         COND_USE_PCH_1=""
40881     fi
40882
40883     COND_USE_PLUGINS_0="#"
40884     if test "x$USE_PLUGINS" = "x0" ; then
40885         COND_USE_PLUGINS_0=""
40886     fi
40887
40888     COND_USE_RTTI_0="#"
40889     if test "x$USE_RTTI" = "x0" ; then
40890         COND_USE_RTTI_0=""
40891     fi
40892
40893     COND_USE_RTTI_1="#"
40894     if test "x$USE_RTTI" = "x1" ; then
40895         COND_USE_RTTI_1=""
40896     fi
40897
40898     COND_USE_SOTWOSYMLINKS_1="#"
40899     if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40900         COND_USE_SOTWOSYMLINKS_1=""
40901     fi
40902
40903     COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
40904     if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40905         COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
40906     fi
40907
40908     COND_USE_SOVERLINUX_1="#"
40909     if test "x$USE_SOVERLINUX" = "x1" ; then
40910         COND_USE_SOVERLINUX_1=""
40911     fi
40912
40913     COND_USE_SOVERSION_0="#"
40914     if test "x$USE_SOVERSION" = "x0" ; then
40915         COND_USE_SOVERSION_0=""
40916     fi
40917
40918     COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
40919     if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40920         COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
40921     fi
40922
40923     COND_USE_SOVERSOLARIS_1="#"
40924     if test "x$USE_SOVERSOLARIS" = "x1" ; then
40925         COND_USE_SOVERSOLARIS_1=""
40926     fi
40927
40928     COND_USE_STC_1="#"
40929     if test "x$USE_STC" = "x1" ; then
40930         COND_USE_STC_1=""
40931     fi
40932
40933     COND_USE_THREADS_0="#"
40934     if test "x$USE_THREADS" = "x0" ; then
40935         COND_USE_THREADS_0=""
40936     fi
40937
40938     COND_USE_THREADS_1="#"
40939     if test "x$USE_THREADS" = "x1" ; then
40940         COND_USE_THREADS_1=""
40941     fi
40942
40943     COND_USE_XRC_1="#"
40944     if test "x$USE_XRC" = "x1" ; then
40945         COND_USE_XRC_1=""
40946     fi
40947
40948     COND_WINDOWS_IMPLIB_1="#"
40949     if test "x$WINDOWS_IMPLIB" = "x1" ; then
40950         COND_WINDOWS_IMPLIB_1=""
40951     fi
40952
40953     COND_WITH_PLUGIN_SDL_1="#"
40954     if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40955         COND_WITH_PLUGIN_SDL_1=""
40956     fi
40957
40958     COND_WXUNIV_0="#"
40959     if test "x$WXUNIV" = "x0" ; then
40960         COND_WXUNIV_0=""
40961     fi
40962
40963     COND_WXUNIV_1="#"
40964     if test "x$WXUNIV" = "x1" ; then
40965         COND_WXUNIV_1=""
40966     fi
40967
40968     COND_wxUSE_EXPAT_builtin="#"
40969     if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40970         COND_wxUSE_EXPAT_builtin=""
40971     fi
40972
40973     COND_wxUSE_LIBJPEG_builtin="#"
40974     if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40975         COND_wxUSE_LIBJPEG_builtin=""
40976     fi
40977
40978     COND_wxUSE_LIBPNG_builtin="#"
40979     if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40980         COND_wxUSE_LIBPNG_builtin=""
40981     fi
40982
40983     COND_wxUSE_LIBTIFF_builtin="#"
40984     if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40985         COND_wxUSE_LIBTIFF_builtin=""
40986     fi
40987
40988     COND_wxUSE_REGEX_builtin="#"
40989     if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40990         COND_wxUSE_REGEX_builtin=""
40991     fi
40992
40993     COND_wxUSE_ZLIB_builtin="#"
40994     if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40995         COND_wxUSE_ZLIB_builtin=""
40996     fi
40997
40998
40999
41000     if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
41001         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
41002     fi
41003
41004     if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41005         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
41006     fi
41007
41008
41009 case ${INSTALL} in
41010   /* ) # Absolute
41011      ;;
41012   ?:* ) # Drive letter, considered as absolute.
41013      ;;
41014   *)
41015      INSTALL=`pwd`/${INSTALL} ;;
41016 esac
41017
41018 if test "$wxUSE_GUI" = "yes"; then
41019
41020 if test "$wxUSE_MSW" = 1 ; then
41021     if test "x$WINDRES" = "x"; then
41022         as_fn_error $? "Required windres program not found" "$LINENO" 5
41023     fi
41024
41025     RESCOMP="$WINDRES"
41026 fi
41027
41028 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
41029             WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
41030     WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
41031
41032         LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
41033
41034     # Extract the first word of "DeRez", so it can be a program name with args.
41035 set dummy DeRez; ac_word=$2
41036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41037 $as_echo_n "checking for $ac_word... " >&6; }
41038 if ${ac_cv_prog_DEREZ+:} false; then :
41039   $as_echo_n "(cached) " >&6
41040 else
41041   if test -n "$DEREZ"; then
41042   ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
41043 else
41044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41045 for as_dir in $PATH
41046 do
41047   IFS=$as_save_IFS
41048   test -z "$as_dir" && as_dir=.
41049     for ac_exec_ext in '' $ac_executable_extensions; do
41050   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41051     ac_cv_prog_DEREZ="DeRez"
41052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41053     break 2
41054   fi
41055 done
41056   done
41057 IFS=$as_save_IFS
41058
41059   test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
41060 fi
41061 fi
41062 DEREZ=$ac_cv_prog_DEREZ
41063 if test -n "$DEREZ"; then
41064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
41065 $as_echo "$DEREZ" >&6; }
41066 else
41067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41068 $as_echo "no" >&6; }
41069 fi
41070
41071
41072
41073     MACSETFILE="\$(SETFILE)"
41074
41075             if test "$wxUSE_OSX_CARBON" = 1; then
41076         POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
41077         RESCOMP="$REZ"
41078         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
41079     else
41080         POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
41081         RESCOMP="cat /dev/null \| $REZ"
41082         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41083     fi
41084
41085 else
41086         MACSETFILE="@true"
41087
41088     if test "$wxUSE_PM" = 1; then
41089         RESCOMP="emxbind"
41090         WXCONFIG_RESFLAGS="-ep"
41091
41092                 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
41093     else
41094         POSTLINK_COMMAND="@true"
41095     fi
41096 fi
41097
41098 fi
41099
41100
41101 if test $GCC_PCH = 1
41102 then
41103     if test "$wx_cv_gcc_pch_bug" = yes; then
41104         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41105 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41106         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41107 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41108         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41109 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41110     fi
41111
41112     # Our WX_PRECOMP flag does not make sense for any language except C++ because
41113     # the headers that benefit from precompilation are mostly C++ headers.
41114     CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41115     # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41116     #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41117 fi
41118
41119
41120 if test "$DEPS_TRACKING" = 1 -a "$wxUSE_MAC" = 1 ; then
41121     if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41122         if test "x$disable_macosx_deps" = "xyes"; then
41123             sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
41124             mv temp bk-deps
41125             chmod +x bk-deps
41126         fi
41127     fi
41128 fi
41129
41130 if test "$wxUSE_SHARED" = "yes"; then
41131                 case "${host}" in
41132       *-pc-os2_emx | *-pc-os2-emx )
41133         SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41134         SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41135         cp -p ${srcdir}/src/os2/dllnames.sh .
41136         cp -p ${srcdir}/src/os2/dllar.sh .
41137       ;;
41138     esac
41139 fi
41140 if test "$wxUSE_OMF" = "yes"; then
41141     case "${host}" in
41142       *-pc-os2_emx | *-pc-os2-emx )
41143         LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
41144         LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41145         WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41146       ;;
41147     esac
41148 fi
41149
41150 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41151
41152
41153 case "${host}" in
41154     *-*-solaris2* )
41155                         if test "$GCC" = yes; then
41156             CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
41157             LIBS=`echo $LIBS | sed 's/-mt//g'`
41158             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41159         fi
41160         ;;
41161
41162     *-*-linux* )
41163                         if test "x$SUNCXX" = xyes; then
41164             CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
41165             LIBS=`echo $LIBS | sed 's/-pthread//g'`
41166             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41167         fi
41168         ;;
41169 esac
41170
41171 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
41172 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41173 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
41174 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41175
41176 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41177
41178
41179
41180
41181
41182
41183
41184
41185
41186
41187
41188
41189
41190
41191
41192
41193
41194
41195
41196
41197
41198
41199
41200
41201
41202
41203
41204
41205
41206
41207
41208
41209
41210
41211
41212
41213
41214
41215
41216
41217
41218
41219
41220
41221
41222
41223
41224
41225
41226
41227
41228
41229
41230
41231
41232
41233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41234 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41235 set x ${MAKE-make}
41236 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41237 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
41238   $as_echo_n "(cached) " >&6
41239 else
41240   cat >conftest.make <<\_ACEOF
41241 SHELL = /bin/sh
41242 all:
41243         @echo '@@@%%%=$(MAKE)=@@@%%%'
41244 _ACEOF
41245 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41246 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41247   *@@@%%%=?*=@@@%%%*)
41248     eval ac_cv_prog_make_${ac_make}_set=yes;;
41249   *)
41250     eval ac_cv_prog_make_${ac_make}_set=no;;
41251 esac
41252 rm -f conftest.make
41253 fi
41254 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
41255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41256 $as_echo "yes" >&6; }
41257   SET_MAKE=
41258 else
41259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41260 $as_echo "no" >&6; }
41261   SET_MAKE="MAKE=${MAKE-make}"
41262 fi
41263
41264
41265
41266 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41267
41268
41269 if test "$USE_WIN32" = 1; then
41270     ac_config_commands="$ac_config_commands rcdefs.h"
41271
41272 fi
41273
41274 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41275
41276
41277 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41278
41279
41280 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
41281
41282
41283 if test "$wx_cv_version_script" = "yes"; then
41284     ac_config_files="$ac_config_files version-script"
41285
41286 fi
41287 ac_config_files="$ac_config_files Makefile"
41288
41289
41290 ac_config_commands="$ac_config_commands wx-config"
41291
41292
41293
41294 if test "$wxWITH_SUBDIRS" != "no"; then
41295 if test "$wxUSE_GUI" = "yes"; then
41296     SUBDIRS="samples demos utils"
41297 else
41298             SUBDIRS="samples utils"
41299 fi
41300
41301
41302
41303 # Check whether --with-cppunit-prefix was given.
41304 if test "${with_cppunit_prefix+set}" = set; then :
41305   withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
41306 else
41307   cppunit_config_prefix=""
41308 fi
41309
41310
41311 # Check whether --with-cppunit-exec-prefix was given.
41312 if test "${with_cppunit_exec_prefix+set}" = set; then :
41313   withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
41314 else
41315   cppunit_config_exec_prefix=""
41316 fi
41317
41318
41319   if test x$cppunit_config_exec_prefix != x ; then
41320      cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41321      if test x${CPPUNIT_CONFIG+set} != xset ; then
41322         CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41323      fi
41324   fi
41325   if test x$cppunit_config_prefix != x ; then
41326      cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41327      if test x${CPPUNIT_CONFIG+set} != xset ; then
41328         CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41329      fi
41330   fi
41331
41332   # Extract the first word of "cppunit-config", so it can be a program name with args.
41333 set dummy cppunit-config; ac_word=$2
41334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41335 $as_echo_n "checking for $ac_word... " >&6; }
41336 if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
41337   $as_echo_n "(cached) " >&6
41338 else
41339   case $CPPUNIT_CONFIG in
41340   [\\/]* | ?:[\\/]*)
41341   ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41342   ;;
41343   *)
41344   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41345 for as_dir in $PATH
41346 do
41347   IFS=$as_save_IFS
41348   test -z "$as_dir" && as_dir=.
41349     for ac_exec_ext in '' $ac_executable_extensions; do
41350   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41351     ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41352     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41353     break 2
41354   fi
41355 done
41356   done
41357 IFS=$as_save_IFS
41358
41359   test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41360   ;;
41361 esac
41362 fi
41363 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41364 if test -n "$CPPUNIT_CONFIG"; then
41365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41366 $as_echo "$CPPUNIT_CONFIG" >&6; }
41367 else
41368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41369 $as_echo "no" >&6; }
41370 fi
41371
41372
41373   cppunit_version_min=1.8.0
41374
41375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41376 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41377   no_cppunit=""
41378   if test "$CPPUNIT_CONFIG" = "no" ; then
41379     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41380 $as_echo "no" >&6; }
41381     no_cppunit=yes
41382   else
41383     CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41384     CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41385     cppunit_version=`$CPPUNIT_CONFIG --version`
41386
41387     cppunit_major_version=`echo $cppunit_version | \
41388            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41389     cppunit_minor_version=`echo $cppunit_version | \
41390            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41391     cppunit_micro_version=`echo $cppunit_version | \
41392            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41393
41394     cppunit_major_min=`echo $cppunit_version_min | \
41395            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41396     cppunit_minor_min=`echo $cppunit_version_min | \
41397            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41398     cppunit_micro_min=`echo $cppunit_version_min | \
41399            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41400
41401     cppunit_version_proper=`expr \
41402         $cppunit_major_version \> $cppunit_major_min \| \
41403         $cppunit_major_version \= $cppunit_major_min \& \
41404         $cppunit_minor_version \> $cppunit_minor_min \| \
41405         $cppunit_major_version \= $cppunit_major_min \& \
41406         $cppunit_minor_version \= $cppunit_minor_min \& \
41407         $cppunit_micro_version \>= $cppunit_micro_min `
41408
41409     if test "$cppunit_version_proper" = "1" ; then
41410       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41411 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41412     else
41413       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41414 $as_echo "no" >&6; }
41415       no_cppunit=yes
41416     fi
41417   fi
41418
41419   if test "x$no_cppunit" = x ; then
41420      SUBDIRS="$SUBDIRS tests"
41421   else
41422      CPPUNIT_CFLAGS=""
41423      CPPUNIT_LIBS=""
41424      :
41425   fi
41426
41427
41428
41429
41430
41431 for subdir in $SUBDIRS; do
41432     if test -d ${srcdir}/${subdir} ; then
41433         if test "$wxUSE_GUI" = "yes"; then
41434             if test ${subdir} = "samples"; then
41435                                                 makefiles="samples/Makefile.in $makefiles"
41436                 for sample in $SAMPLES_SUBDIRS; do
41437                     if test -d $srcdir/samples/$sample; then
41438                         makefiles="samples/$sample/Makefile.in $makefiles"
41439                     fi
41440                 done
41441             else
41442                                                                 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
41443                 eval "disabled=\$$disabled_var"
41444                 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
41445                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41446             fi
41447         else
41448                                     if test ${subdir} = "samples"; then
41449                                                 makefiles="samples/Makefile.in $makefiles"
41450                 for sample in `echo $SAMPLES_SUBDIRS`; do
41451                     if test -d $srcdir/samples/$sample; then
41452                         makefiles="samples/$sample/Makefile.in $makefiles"
41453                     fi
41454                 done
41455             elif test ${subdir} = "utils"; then
41456                 makefiles=""
41457                 for util in ifacecheck ; do
41458                     if test -d $srcdir/utils/$util ; then
41459                         makefiles="utils/$util/src/Makefile.in \
41460                                    $makefiles"
41461                     fi
41462                 done
41463             else
41464                                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41465             fi
41466         fi
41467
41468         for mkin in $makefiles ; do
41469             mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41470             ac_config_files="$ac_config_files $mk"
41471
41472         done
41473     fi
41474 done
41475 fi
41476 cat >confcache <<\_ACEOF
41477 # This file is a shell script that caches the results of configure
41478 # tests run on this system so they can be shared between configure
41479 # scripts and configure runs, see configure's option --config-cache.
41480 # It is not useful on other systems.  If it contains results you don't
41481 # want to keep, you may remove or edit it.
41482 #
41483 # config.status only pays attention to the cache file if you give it
41484 # the --recheck option to rerun configure.
41485 #
41486 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41487 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41488 # following values.
41489
41490 _ACEOF
41491
41492 # The following way of writing the cache mishandles newlines in values,
41493 # but we know of no workaround that is simple, portable, and efficient.
41494 # So, we kill variables containing newlines.
41495 # Ultrix sh set writes to stderr and can't be redirected directly,
41496 # and sets the high bit in the cache file unless we assign to the vars.
41497 (
41498   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41499     eval ac_val=\$$ac_var
41500     case $ac_val in #(
41501     *${as_nl}*)
41502       case $ac_var in #(
41503       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41504 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41505       esac
41506       case $ac_var in #(
41507       _ | IFS | as_nl) ;; #(
41508       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41509       *) { eval $ac_var=; unset $ac_var;} ;;
41510       esac ;;
41511     esac
41512   done
41513
41514   (set) 2>&1 |
41515     case $as_nl`(ac_space=' '; set) 2>&1` in #(
41516     *${as_nl}ac_space=\ *)
41517       # `set' does not quote correctly, so add quotes: double-quote
41518       # substitution turns \\\\ into \\, and sed turns \\ into \.
41519       sed -n \
41520         "s/'/'\\\\''/g;
41521           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41522       ;; #(
41523     *)
41524       # `set' quotes correctly as required by POSIX, so do not add quotes.
41525       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41526       ;;
41527     esac |
41528     sort
41529 ) |
41530   sed '
41531      /^ac_cv_env_/b end
41532      t clear
41533      :clear
41534      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41535      t end
41536      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41537      :end' >>confcache
41538 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41539   if test -w "$cache_file"; then
41540     if test "x$cache_file" != "x/dev/null"; then
41541       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41542 $as_echo "$as_me: updating cache $cache_file" >&6;}
41543       if test ! -f "$cache_file" || test -h "$cache_file"; then
41544         cat confcache >"$cache_file"
41545       else
41546         case $cache_file in #(
41547         */* | ?:*)
41548           mv -f confcache "$cache_file"$$ &&
41549           mv -f "$cache_file"$$ "$cache_file" ;; #(
41550         *)
41551           mv -f confcache "$cache_file" ;;
41552         esac
41553       fi
41554     fi
41555   else
41556     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41557 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41558   fi
41559 fi
41560 rm -f confcache
41561
41562 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41563 # Let make expand exec_prefix.
41564 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41565
41566 DEFS=-DHAVE_CONFIG_H
41567
41568 ac_libobjs=
41569 ac_ltlibobjs=
41570 U=
41571 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41572   # 1. Remove the extension, and $U if already installed.
41573   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41574   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41575   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
41576   #    will be set to the directory where LIBOBJS objects are built.
41577   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41578   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41579 done
41580 LIBOBJS=$ac_libobjs
41581
41582 LTLIBOBJS=$ac_ltlibobjs
41583
41584
41585
41586 : "${CONFIG_STATUS=./config.status}"
41587 ac_write_fail=0
41588 ac_clean_files_save=$ac_clean_files
41589 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41590 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41591 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41592 as_write_fail=0
41593 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41594 #! $SHELL
41595 # Generated by $as_me.
41596 # Run this file to recreate the current configuration.
41597 # Compiler output produced by configure, useful for debugging
41598 # configure, is in config.log if it exists.
41599
41600 debug=false
41601 ac_cs_recheck=false
41602 ac_cs_silent=false
41603
41604 SHELL=\${CONFIG_SHELL-$SHELL}
41605 export SHELL
41606 _ASEOF
41607 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41608 ## -------------------- ##
41609 ## M4sh Initialization. ##
41610 ## -------------------- ##
41611
41612 # Be more Bourne compatible
41613 DUALCASE=1; export DUALCASE # for MKS sh
41614 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41615   emulate sh
41616   NULLCMD=:
41617   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41618   # is contrary to our usage.  Disable this feature.
41619   alias -g '${1+"$@"}'='"$@"'
41620   setopt NO_GLOB_SUBST
41621 else
41622   case `(set -o) 2>/dev/null` in #(
41623   *posix*) :
41624     set -o posix ;; #(
41625   *) :
41626      ;;
41627 esac
41628 fi
41629
41630
41631 as_nl='
41632 '
41633 export as_nl
41634 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41635 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41636 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41637 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41638 # Prefer a ksh shell builtin over an external printf program on Solaris,
41639 # but without wasting forks for bash or zsh.
41640 if test -z "$BASH_VERSION$ZSH_VERSION" \
41641     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41642   as_echo='print -r --'
41643   as_echo_n='print -rn --'
41644 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41645   as_echo='printf %s\n'
41646   as_echo_n='printf %s'
41647 else
41648   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41649     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41650     as_echo_n='/usr/ucb/echo -n'
41651   else
41652     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41653     as_echo_n_body='eval
41654       arg=$1;
41655       case $arg in #(
41656       *"$as_nl"*)
41657         expr "X$arg" : "X\\(.*\\)$as_nl";
41658         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41659       esac;
41660       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41661     '
41662     export as_echo_n_body
41663     as_echo_n='sh -c $as_echo_n_body as_echo'
41664   fi
41665   export as_echo_body
41666   as_echo='sh -c $as_echo_body as_echo'
41667 fi
41668
41669 # The user is always right.
41670 if test "${PATH_SEPARATOR+set}" != set; then
41671   PATH_SEPARATOR=:
41672   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41673     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41674       PATH_SEPARATOR=';'
41675   }
41676 fi
41677
41678
41679 # IFS
41680 # We need space, tab and new line, in precisely that order.  Quoting is
41681 # there to prevent editors from complaining about space-tab.
41682 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41683 # splitting by setting IFS to empty value.)
41684 IFS=" ""        $as_nl"
41685
41686 # Find who we are.  Look in the path if we contain no directory separator.
41687 as_myself=
41688 case $0 in #((
41689   *[\\/]* ) as_myself=$0 ;;
41690   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41691 for as_dir in $PATH
41692 do
41693   IFS=$as_save_IFS
41694   test -z "$as_dir" && as_dir=.
41695     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41696   done
41697 IFS=$as_save_IFS
41698
41699      ;;
41700 esac
41701 # We did not find ourselves, most probably we were run as `sh COMMAND'
41702 # in which case we are not to be found in the path.
41703 if test "x$as_myself" = x; then
41704   as_myself=$0
41705 fi
41706 if test ! -f "$as_myself"; then
41707   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41708   exit 1
41709 fi
41710
41711 # Unset variables that we do not need and which cause bugs (e.g. in
41712 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
41713 # suppresses any "Segmentation fault" message there.  '((' could
41714 # trigger a bug in pdksh 5.2.14.
41715 for as_var in BASH_ENV ENV MAIL MAILPATH
41716 do eval test x\${$as_var+set} = xset \
41717   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41718 done
41719 PS1='$ '
41720 PS2='> '
41721 PS4='+ '
41722
41723 # NLS nuisances.
41724 LC_ALL=C
41725 export LC_ALL
41726 LANGUAGE=C
41727 export LANGUAGE
41728
41729 # CDPATH.
41730 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41731
41732
41733 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41734 # ----------------------------------------
41735 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41736 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41737 # script with STATUS, using 1 if that was 0.
41738 as_fn_error ()
41739 {
41740   as_status=$1; test $as_status -eq 0 && as_status=1
41741   if test "$4"; then
41742     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41743     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41744   fi
41745   $as_echo "$as_me: error: $2" >&2
41746   as_fn_exit $as_status
41747 } # as_fn_error
41748
41749
41750 # as_fn_set_status STATUS
41751 # -----------------------
41752 # Set $? to STATUS, without forking.
41753 as_fn_set_status ()
41754 {
41755   return $1
41756 } # as_fn_set_status
41757
41758 # as_fn_exit STATUS
41759 # -----------------
41760 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41761 as_fn_exit ()
41762 {
41763   set +e
41764   as_fn_set_status $1
41765   exit $1
41766 } # as_fn_exit
41767
41768 # as_fn_unset VAR
41769 # ---------------
41770 # Portably unset VAR.
41771 as_fn_unset ()
41772 {
41773   { eval $1=; unset $1;}
41774 }
41775 as_unset=as_fn_unset
41776 # as_fn_append VAR VALUE
41777 # ----------------------
41778 # Append the text in VALUE to the end of the definition contained in VAR. Take
41779 # advantage of any shell optimizations that allow amortized linear growth over
41780 # repeated appends, instead of the typical quadratic growth present in naive
41781 # implementations.
41782 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41783   eval 'as_fn_append ()
41784   {
41785     eval $1+=\$2
41786   }'
41787 else
41788   as_fn_append ()
41789   {
41790     eval $1=\$$1\$2
41791   }
41792 fi # as_fn_append
41793
41794 # as_fn_arith ARG...
41795 # ------------------
41796 # Perform arithmetic evaluation on the ARGs, and store the result in the
41797 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41798 # must be portable across $(()) and expr.
41799 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41800   eval 'as_fn_arith ()
41801   {
41802     as_val=$(( $* ))
41803   }'
41804 else
41805   as_fn_arith ()
41806   {
41807     as_val=`expr "$@" || test $? -eq 1`
41808   }
41809 fi # as_fn_arith
41810
41811
41812 if expr a : '\(a\)' >/dev/null 2>&1 &&
41813    test "X`expr 00001 : '.*\(...\)'`" = X001; then
41814   as_expr=expr
41815 else
41816   as_expr=false
41817 fi
41818
41819 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41820   as_basename=basename
41821 else
41822   as_basename=false
41823 fi
41824
41825 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41826   as_dirname=dirname
41827 else
41828   as_dirname=false
41829 fi
41830
41831 as_me=`$as_basename -- "$0" ||
41832 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41833          X"$0" : 'X\(//\)$' \| \
41834          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41835 $as_echo X/"$0" |
41836     sed '/^.*\/\([^/][^/]*\)\/*$/{
41837             s//\1/
41838             q
41839           }
41840           /^X\/\(\/\/\)$/{
41841             s//\1/
41842             q
41843           }
41844           /^X\/\(\/\).*/{
41845             s//\1/
41846             q
41847           }
41848           s/.*/./; q'`
41849
41850 # Avoid depending upon Character Ranges.
41851 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41852 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41853 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41854 as_cr_digits='0123456789'
41855 as_cr_alnum=$as_cr_Letters$as_cr_digits
41856
41857 ECHO_C= ECHO_N= ECHO_T=
41858 case `echo -n x` in #(((((
41859 -n*)
41860   case `echo 'xy\c'` in
41861   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
41862   xy)  ECHO_C='\c';;
41863   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
41864        ECHO_T=' ';;
41865   esac;;
41866 *)
41867   ECHO_N='-n';;
41868 esac
41869
41870 rm -f conf$$ conf$$.exe conf$$.file
41871 if test -d conf$$.dir; then
41872   rm -f conf$$.dir/conf$$.file
41873 else
41874   rm -f conf$$.dir
41875   mkdir conf$$.dir 2>/dev/null
41876 fi
41877 if (echo >conf$$.file) 2>/dev/null; then
41878   if ln -s conf$$.file conf$$ 2>/dev/null; then
41879     as_ln_s='ln -s'
41880     # ... but there are two gotchas:
41881     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41882     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41883     # In both cases, we have to default to `cp -pR'.
41884     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
41885       as_ln_s='cp -pR'
41886   elif ln conf$$.file conf$$ 2>/dev/null; then
41887     as_ln_s=ln
41888   else
41889     as_ln_s='cp -pR'
41890   fi
41891 else
41892   as_ln_s='cp -pR'
41893 fi
41894 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
41895 rmdir conf$$.dir 2>/dev/null
41896
41897
41898 # as_fn_mkdir_p
41899 # -------------
41900 # Create "$as_dir" as a directory, including parents if necessary.
41901 as_fn_mkdir_p ()
41902 {
41903
41904   case $as_dir in #(
41905   -*) as_dir=./$as_dir;;
41906   esac
41907   test -d "$as_dir" || eval $as_mkdir_p || {
41908     as_dirs=
41909     while :; do
41910       case $as_dir in #(
41911       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41912       *) as_qdir=$as_dir;;
41913       esac
41914       as_dirs="'$as_qdir' $as_dirs"
41915       as_dir=`$as_dirname -- "$as_dir" ||
41916 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41917          X"$as_dir" : 'X\(//\)[^/]' \| \
41918          X"$as_dir" : 'X\(//\)$' \| \
41919          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41920 $as_echo X"$as_dir" |
41921     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41922             s//\1/
41923             q
41924           }
41925           /^X\(\/\/\)[^/].*/{
41926             s//\1/
41927             q
41928           }
41929           /^X\(\/\/\)$/{
41930             s//\1/
41931             q
41932           }
41933           /^X\(\/\).*/{
41934             s//\1/
41935             q
41936           }
41937           s/.*/./; q'`
41938       test -d "$as_dir" && break
41939     done
41940     test -z "$as_dirs" || eval "mkdir $as_dirs"
41941   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
41942
41943
41944 } # as_fn_mkdir_p
41945 if mkdir -p . 2>/dev/null; then
41946   as_mkdir_p='mkdir -p "$as_dir"'
41947 else
41948   test -d ./-p && rmdir ./-p
41949   as_mkdir_p=false
41950 fi
41951
41952
41953 # as_fn_executable_p FILE
41954 # -----------------------
41955 # Test if FILE is an executable regular file.
41956 as_fn_executable_p ()
41957 {
41958   test -f "$1" && test -x "$1"
41959 } # as_fn_executable_p
41960 as_test_x='test -x'
41961 as_executable_p=as_fn_executable_p
41962
41963 # Sed expression to map a string onto a valid CPP name.
41964 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41965
41966 # Sed expression to map a string onto a valid variable name.
41967 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41968
41969
41970 exec 6>&1
41971 ## ----------------------------------- ##
41972 ## Main body of $CONFIG_STATUS script. ##
41973 ## ----------------------------------- ##
41974 _ASEOF
41975 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
41976
41977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41978 # Save the log message, to keep $0 and so on meaningful, and to
41979 # report actual input values of CONFIG_FILES etc. instead of their
41980 # values after options handling.
41981 ac_log="
41982 This file was extended by wxWidgets $as_me 3.0.0, which was
41983 generated by GNU Autoconf 2.69.  Invocation command line was
41984
41985   CONFIG_FILES    = $CONFIG_FILES
41986   CONFIG_HEADERS  = $CONFIG_HEADERS
41987   CONFIG_LINKS    = $CONFIG_LINKS
41988   CONFIG_COMMANDS = $CONFIG_COMMANDS
41989   $ $0 $@
41990
41991 on `(hostname || uname -n) 2>/dev/null | sed 1q`
41992 "
41993
41994 _ACEOF
41995
41996 case $ac_config_files in *"
41997 "*) set x $ac_config_files; shift; ac_config_files=$*;;
41998 esac
41999
42000 case $ac_config_headers in *"
42001 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
42002 esac
42003
42004
42005 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42006 # Files that config.status was made for.
42007 config_files="$ac_config_files"
42008 config_headers="$ac_config_headers"
42009 config_commands="$ac_config_commands"
42010
42011 _ACEOF
42012
42013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42014 ac_cs_usage="\
42015 \`$as_me' instantiates files and other configuration actions
42016 from templates according to the current configuration.  Unless the files
42017 and actions are specified as TAGs, all are instantiated by default.
42018
42019 Usage: $0 [OPTION]... [TAG]...
42020
42021   -h, --help       print this help, then exit
42022   -V, --version    print version number and configuration settings, then exit
42023       --config     print configuration, then exit
42024   -q, --quiet, --silent
42025                    do not print progress messages
42026   -d, --debug      don't remove temporary files
42027       --recheck    update $as_me by reconfiguring in the same conditions
42028       --file=FILE[:TEMPLATE]
42029                    instantiate the configuration file FILE
42030       --header=FILE[:TEMPLATE]
42031                    instantiate the configuration header FILE
42032
42033 Configuration files:
42034 $config_files
42035
42036 Configuration headers:
42037 $config_headers
42038
42039 Configuration commands:
42040 $config_commands
42041
42042 Report bugs to <wx-dev@lists.wxwidgets.org>."
42043
42044 _ACEOF
42045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42046 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42047 ac_cs_version="\\
42048 wxWidgets config.status 3.0.0
42049 configured by $0, generated by GNU Autoconf 2.69,
42050   with options \\"\$ac_cs_config\\"
42051
42052 Copyright (C) 2012 Free Software Foundation, Inc.
42053 This config.status script is free software; the Free Software Foundation
42054 gives unlimited permission to copy, distribute and modify it."
42055
42056 ac_pwd='$ac_pwd'
42057 srcdir='$srcdir'
42058 INSTALL='$INSTALL'
42059 test -n "\$AWK" || AWK=awk
42060 _ACEOF
42061
42062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42063 # The default lists apply if the user does not specify any file.
42064 ac_need_defaults=:
42065 while test $# != 0
42066 do
42067   case $1 in
42068   --*=?*)
42069     ac_option=`expr "X$1" : 'X\([^=]*\)='`
42070     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
42071     ac_shift=:
42072     ;;
42073   --*=)
42074     ac_option=`expr "X$1" : 'X\([^=]*\)='`
42075     ac_optarg=
42076     ac_shift=:
42077     ;;
42078   *)
42079     ac_option=$1
42080     ac_optarg=$2
42081     ac_shift=shift
42082     ;;
42083   esac
42084
42085   case $ac_option in
42086   # Handling of the options.
42087   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42088     ac_cs_recheck=: ;;
42089   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42090     $as_echo "$ac_cs_version"; exit ;;
42091   --config | --confi | --conf | --con | --co | --c )
42092     $as_echo "$ac_cs_config"; exit ;;
42093   --debug | --debu | --deb | --de | --d | -d )
42094     debug=: ;;
42095   --file | --fil | --fi | --f )
42096     $ac_shift
42097     case $ac_optarg in
42098     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42099     '') as_fn_error $? "missing file argument" ;;
42100     esac
42101     as_fn_append CONFIG_FILES " '$ac_optarg'"
42102     ac_need_defaults=false;;
42103   --header | --heade | --head | --hea )
42104     $ac_shift
42105     case $ac_optarg in
42106     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42107     esac
42108     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
42109     ac_need_defaults=false;;
42110   --he | --h)
42111     # Conflict between --help and --header
42112     as_fn_error $? "ambiguous option: \`$1'
42113 Try \`$0 --help' for more information.";;
42114   --help | --hel | -h )
42115     $as_echo "$ac_cs_usage"; exit ;;
42116   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42117   | -silent | --silent | --silen | --sile | --sil | --si | --s)
42118     ac_cs_silent=: ;;
42119
42120   # This is an error.
42121   -*) as_fn_error $? "unrecognized option: \`$1'
42122 Try \`$0 --help' for more information." ;;
42123
42124   *) as_fn_append ac_config_targets " $1"
42125      ac_need_defaults=false ;;
42126
42127   esac
42128   shift
42129 done
42130
42131 ac_configure_extra_args=
42132
42133 if $ac_cs_silent; then
42134   exec 6>/dev/null
42135   ac_configure_extra_args="$ac_configure_extra_args --silent"
42136 fi
42137
42138 _ACEOF
42139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42140 if \$ac_cs_recheck; then
42141   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42142   shift
42143   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42144   CONFIG_SHELL='$SHELL'
42145   export CONFIG_SHELL
42146   exec "\$@"
42147 fi
42148
42149 _ACEOF
42150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42151 exec 5>>config.log
42152 {
42153   echo
42154   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42155 ## Running $as_me. ##
42156 _ASBOX
42157   $as_echo "$ac_log"
42158 } >&5
42159
42160 _ACEOF
42161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42162 #
42163 # INIT-COMMANDS
42164 #
42165
42166             CPP="$CPP"
42167             infile="$srcdir/include/wx/msw/genrcdefs.h"
42168             outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42169
42170
42171  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42172  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42173  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42174                      LN_S="${LN_S}"
42175
42176
42177 _ACEOF
42178
42179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42180
42181 # Handling of arguments.
42182 for ac_config_target in $ac_config_targets
42183 do
42184   case $ac_config_target in
42185     "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42186     "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
42187     "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42188     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42189     "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42190     "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
42191     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42192     "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42193     "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
42194
42195   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42196   esac
42197 done
42198
42199
42200 # If the user did not use the arguments to specify the items to instantiate,
42201 # then the envvar interface is used.  Set only those that are not.
42202 # We use the long form for the default assignment because of an extremely
42203 # bizarre bug on SunOS 4.1.3.
42204 if $ac_need_defaults; then
42205   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42206   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42207   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42208 fi
42209
42210 # Have a temporary directory for convenience.  Make it in the build tree
42211 # simply because there is no reason against having it here, and in addition,
42212 # creating and moving files from /tmp can sometimes cause problems.
42213 # Hook for its removal unless debugging.
42214 # Note that there is a small window in which the directory will not be cleaned:
42215 # after its creation but before its name has been assigned to `$tmp'.
42216 $debug ||
42217 {
42218   tmp= ac_tmp=
42219   trap 'exit_status=$?
42220   : "${ac_tmp:=$tmp}"
42221   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42222 ' 0
42223   trap 'as_fn_exit 1' 1 2 13 15
42224 }
42225 # Create a (secure) tmp directory for tmp files.
42226
42227 {
42228   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42229   test -d "$tmp"
42230 }  ||
42231 {
42232   tmp=./conf$$-$RANDOM
42233   (umask 077 && mkdir "$tmp")
42234 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
42235 ac_tmp=$tmp
42236
42237 # Set up the scripts for CONFIG_FILES section.
42238 # No need to generate them if there are no CONFIG_FILES.
42239 # This happens for instance with `./config.status config.h'.
42240 if test -n "$CONFIG_FILES"; then
42241
42242
42243 ac_cr=`echo X | tr X '\015'`
42244 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42245 # But we know of no other shell where ac_cr would be empty at this
42246 # point, so we can use a bashism as a fallback.
42247 if test "x$ac_cr" = x; then
42248   eval ac_cr=\$\'\\r\'
42249 fi
42250 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42251 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42252   ac_cs_awk_cr='\\r'
42253 else
42254   ac_cs_awk_cr=$ac_cr
42255 fi
42256
42257 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42258 _ACEOF
42259
42260
42261 {
42262   echo "cat >conf$$subs.awk <<_ACEOF" &&
42263   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42264   echo "_ACEOF"
42265 } >conf$$subs.sh ||
42266   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42267 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42268 ac_delim='%!_!# '
42269 for ac_last_try in false false false false false :; do
42270   . ./conf$$subs.sh ||
42271     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42272
42273   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
42274   if test $ac_delim_n = $ac_delim_num; then
42275     break
42276   elif $ac_last_try; then
42277     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42278   else
42279     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42280   fi
42281 done
42282 rm -f conf$$subs.sh
42283
42284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42285 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
42286 _ACEOF
42287 sed -n '
42288 h
42289 s/^/S["/; s/!.*/"]=/
42290 p
42291 g
42292 s/^[^!]*!//
42293 :repl
42294 t repl
42295 s/'"$ac_delim"'$//
42296 t delim
42297 :nl
42298 h
42299 s/\(.\{148\}\)..*/\1/
42300 t more1
42301 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
42302 p
42303 n
42304 b repl
42305 :more1
42306 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42307 p
42308 g
42309 s/.\{148\}//
42310 t nl
42311 :delim
42312 h
42313 s/\(.\{148\}\)..*/\1/
42314 t more2
42315 s/["\\]/\\&/g; s/^/"/; s/$/"/
42316 p
42317 b
42318 :more2
42319 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42320 p
42321 g
42322 s/.\{148\}//
42323 t delim
42324 ' <conf$$subs.awk | sed '
42325 /^[^""]/{
42326   N
42327   s/\n//
42328 }
42329 ' >>$CONFIG_STATUS || ac_write_fail=1
42330 rm -f conf$$subs.awk
42331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42332 _ACAWK
42333 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
42334   for (key in S) S_is_set[key] = 1
42335   FS = "\a"
42336
42337 }
42338 {
42339   line = $ 0
42340   nfields = split(line, field, "@")
42341   substed = 0
42342   len = length(field[1])
42343   for (i = 2; i < nfields; i++) {
42344     key = field[i]
42345     keylen = length(key)
42346     if (S_is_set[key]) {
42347       value = S[key]
42348       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42349       len += length(value) + length(field[++i])
42350       substed = 1
42351     } else
42352       len += 1 + keylen
42353   }
42354
42355   print line
42356 }
42357
42358 _ACAWK
42359 _ACEOF
42360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42361 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42362   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
42363 else
42364   cat
42365 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
42366   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
42367 _ACEOF
42368
42369 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42370 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
42371 # trailing colons and then remove the whole line if VPATH becomes empty
42372 # (actually we leave an empty line to preserve line numbers).
42373 if test "x$srcdir" = x.; then
42374   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
42375 h
42376 s///
42377 s/^/:/
42378 s/[      ]*$/:/
42379 s/:\$(srcdir):/:/g
42380 s/:\${srcdir}:/:/g
42381 s/:@srcdir@:/:/g
42382 s/^:*//
42383 s/:*$//
42384 x
42385 s/\(=[   ]*\).*/\1/
42386 G
42387 s/\n//
42388 s/^[^=]*=[       ]*$//
42389 }'
42390 fi
42391
42392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42393 fi # test -n "$CONFIG_FILES"
42394
42395 # Set up the scripts for CONFIG_HEADERS section.
42396 # No need to generate them if there are no CONFIG_HEADERS.
42397 # This happens for instance with `./config.status Makefile'.
42398 if test -n "$CONFIG_HEADERS"; then
42399 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
42400 BEGIN {
42401 _ACEOF
42402
42403 # Transform confdefs.h into an awk script `defines.awk', embedded as
42404 # here-document in config.status, that substitutes the proper values into
42405 # config.h.in to produce config.h.
42406
42407 # Create a delimiter string that does not exist in confdefs.h, to ease
42408 # handling of long lines.
42409 ac_delim='%!_!# '
42410 for ac_last_try in false false :; do
42411   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
42412   if test -z "$ac_tt"; then
42413     break
42414   elif $ac_last_try; then
42415     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
42416   else
42417     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42418   fi
42419 done
42420
42421 # For the awk script, D is an array of macro values keyed by name,
42422 # likewise P contains macro parameters if any.  Preserve backslash
42423 # newline sequences.
42424
42425 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42426 sed -n '
42427 s/.\{148\}/&'"$ac_delim"'/g
42428 t rset
42429 :rset
42430 s/^[     ]*#[    ]*define[       ][      ]*/ /
42431 t def
42432 d
42433 :def
42434 s/\\$//
42435 t bsnl
42436 s/["\\]/\\&/g
42437 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
42438 D["\1"]=" \3"/p
42439 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
42440 d
42441 :bsnl
42442 s/["\\]/\\&/g
42443 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
42444 D["\1"]=" \3\\\\\\n"\\/p
42445 t cont
42446 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
42447 t cont
42448 d
42449 :cont
42450 n
42451 s/.\{148\}/&'"$ac_delim"'/g
42452 t clear
42453 :clear
42454 s/\\$//
42455 t bsnlc
42456 s/["\\]/\\&/g; s/^/"/; s/$/"/p
42457 d
42458 :bsnlc
42459 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
42460 b cont
42461 ' <confdefs.h | sed '
42462 s/'"$ac_delim"'/"\\\
42463 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42464
42465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42466   for (key in D) D_is_set[key] = 1
42467   FS = "\a"
42468 }
42469 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42470   line = \$ 0
42471   split(line, arg, " ")
42472   if (arg[1] == "#") {
42473     defundef = arg[2]
42474     mac1 = arg[3]
42475   } else {
42476     defundef = substr(arg[1], 2)
42477     mac1 = arg[2]
42478   }
42479   split(mac1, mac2, "(") #)
42480   macro = mac2[1]
42481   prefix = substr(line, 1, index(line, defundef) - 1)
42482   if (D_is_set[macro]) {
42483     # Preserve the white space surrounding the "#".
42484     print prefix "define", macro P[macro] D[macro]
42485     next
42486   } else {
42487     # Replace #undef with comments.  This is necessary, for example,
42488     # in the case of _POSIX_SOURCE, which is predefined and required
42489     # on some systems where configure will not decide to define it.
42490     if (defundef == "undef") {
42491       print "/*", prefix defundef, macro, "*/"
42492       next
42493     }
42494   }
42495 }
42496 { print }
42497 _ACAWK
42498 _ACEOF
42499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42500   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42501 fi # test -n "$CONFIG_HEADERS"
42502
42503
42504 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
42505 shift
42506 for ac_tag
42507 do
42508   case $ac_tag in
42509   :[FHLC]) ac_mode=$ac_tag; continue;;
42510   esac
42511   case $ac_mode$ac_tag in
42512   :[FHL]*:*);;
42513   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
42514   :[FH]-) ac_tag=-:-;;
42515   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42516   esac
42517   ac_save_IFS=$IFS
42518   IFS=:
42519   set x $ac_tag
42520   IFS=$ac_save_IFS
42521   shift
42522   ac_file=$1
42523   shift
42524
42525   case $ac_mode in
42526   :L) ac_source=$1;;
42527   :[FH])
42528     ac_file_inputs=
42529     for ac_f
42530     do
42531       case $ac_f in
42532       -) ac_f="$ac_tmp/stdin";;
42533       *) # Look for the file first in the build tree, then in the source tree
42534          # (if the path is not absolute).  The absolute path cannot be DOS-style,
42535          # because $ac_f cannot contain `:'.
42536          test -f "$ac_f" ||
42537            case $ac_f in
42538            [\\/$]*) false;;
42539            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42540            esac ||
42541            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42542       esac
42543       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42544       as_fn_append ac_file_inputs " '$ac_f'"
42545     done
42546
42547     # Let's still pretend it is `configure' which instantiates (i.e., don't
42548     # use $as_me), people would be surprised to read:
42549     #    /* config.h.  Generated by config.status.  */
42550     configure_input='Generated from '`
42551           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42552         `' by configure.'
42553     if test x"$ac_file" != x-; then
42554       configure_input="$ac_file.  $configure_input"
42555       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42556 $as_echo "$as_me: creating $ac_file" >&6;}
42557     fi
42558     # Neutralize special characters interpreted by sed in replacement strings.
42559     case $configure_input in #(
42560     *\&* | *\|* | *\\* )
42561        ac_sed_conf_input=`$as_echo "$configure_input" |
42562        sed 's/[\\\\&|]/\\\\&/g'`;; #(
42563     *) ac_sed_conf_input=$configure_input;;
42564     esac
42565
42566     case $ac_tag in
42567     *:-:* | *:-) cat >"$ac_tmp/stdin" \
42568       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42569     esac
42570     ;;
42571   esac
42572
42573   ac_dir=`$as_dirname -- "$ac_file" ||
42574 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42575          X"$ac_file" : 'X\(//\)[^/]' \| \
42576          X"$ac_file" : 'X\(//\)$' \| \
42577          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42578 $as_echo X"$ac_file" |
42579     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42580             s//\1/
42581             q
42582           }
42583           /^X\(\/\/\)[^/].*/{
42584             s//\1/
42585             q
42586           }
42587           /^X\(\/\/\)$/{
42588             s//\1/
42589             q
42590           }
42591           /^X\(\/\).*/{
42592             s//\1/
42593             q
42594           }
42595           s/.*/./; q'`
42596   as_dir="$ac_dir"; as_fn_mkdir_p
42597   ac_builddir=.
42598
42599 case "$ac_dir" in
42600 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42601 *)
42602   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42603   # A ".." for each directory in $ac_dir_suffix.
42604   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42605   case $ac_top_builddir_sub in
42606   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42607   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42608   esac ;;
42609 esac
42610 ac_abs_top_builddir=$ac_pwd
42611 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42612 # for backward compatibility:
42613 ac_top_builddir=$ac_top_build_prefix
42614
42615 case $srcdir in
42616   .)  # We are building in place.
42617     ac_srcdir=.
42618     ac_top_srcdir=$ac_top_builddir_sub
42619     ac_abs_top_srcdir=$ac_pwd ;;
42620   [\\/]* | ?:[\\/]* )  # Absolute name.
42621     ac_srcdir=$srcdir$ac_dir_suffix;
42622     ac_top_srcdir=$srcdir
42623     ac_abs_top_srcdir=$srcdir ;;
42624   *) # Relative name.
42625     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42626     ac_top_srcdir=$ac_top_build_prefix$srcdir
42627     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42628 esac
42629 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42630
42631
42632   case $ac_mode in
42633   :F)
42634   #
42635   # CONFIG_FILE
42636   #
42637
42638   case $INSTALL in
42639   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42640   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42641   esac
42642 _ACEOF
42643
42644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42645 # If the template does not know about datarootdir, expand it.
42646 # FIXME: This hack should be removed a few years after 2.60.
42647 ac_datarootdir_hack=; ac_datarootdir_seen=
42648 ac_sed_dataroot='
42649 /datarootdir/ {
42650   p
42651   q
42652 }
42653 /@datadir@/p
42654 /@docdir@/p
42655 /@infodir@/p
42656 /@localedir@/p
42657 /@mandir@/p'
42658 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42659 *datarootdir*) ac_datarootdir_seen=yes;;
42660 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42661   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42662 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42663 _ACEOF
42664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42665   ac_datarootdir_hack='
42666   s&@datadir@&$datadir&g
42667   s&@docdir@&$docdir&g
42668   s&@infodir@&$infodir&g
42669   s&@localedir@&$localedir&g
42670   s&@mandir@&$mandir&g
42671   s&\\\${datarootdir}&$datarootdir&g' ;;
42672 esac
42673 _ACEOF
42674
42675 # Neutralize VPATH when `$srcdir' = `.'.
42676 # Shell code in configure.ac might set extrasub.
42677 # FIXME: do we really want to maintain this feature?
42678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42679 ac_sed_extra="$ac_vpsub
42680 $extrasub
42681 _ACEOF
42682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42683 :t
42684 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42685 s|@configure_input@|$ac_sed_conf_input|;t t
42686 s&@top_builddir@&$ac_top_builddir_sub&;t t
42687 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42688 s&@srcdir@&$ac_srcdir&;t t
42689 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42690 s&@top_srcdir@&$ac_top_srcdir&;t t
42691 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42692 s&@builddir@&$ac_builddir&;t t
42693 s&@abs_builddir@&$ac_abs_builddir&;t t
42694 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42695 s&@INSTALL@&$ac_INSTALL&;t t
42696 $ac_datarootdir_hack
42697 "
42698 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
42699   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42700
42701 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42702   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
42703   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
42704       "$ac_tmp/out"`; test -z "$ac_out"; } &&
42705   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42706 which seems to be undefined.  Please make sure it is defined" >&5
42707 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42708 which seems to be undefined.  Please make sure it is defined" >&2;}
42709
42710   rm -f "$ac_tmp/stdin"
42711   case $ac_file in
42712   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42713   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42714   esac \
42715   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42716  ;;
42717   :H)
42718   #
42719   # CONFIG_HEADER
42720   #
42721   if test x"$ac_file" != x-; then
42722     {
42723       $as_echo "/* $configure_input  */" \
42724       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42725     } >"$ac_tmp/config.h" \
42726       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42727     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42728       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42729 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42730     else
42731       rm -f "$ac_file"
42732       mv "$ac_tmp/config.h" "$ac_file" \
42733         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42734     fi
42735   else
42736     $as_echo "/* $configure_input  */" \
42737       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42738       || as_fn_error $? "could not create -" "$LINENO" 5
42739   fi
42740  ;;
42741
42742   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42743 $as_echo "$as_me: executing $ac_file commands" >&6;}
42744  ;;
42745   esac
42746
42747
42748   case $ac_file$ac_mode in
42749     "rcdefs.h":C)
42750             mkdir -p $outdir &&
42751             $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42752          ;;
42753     "lib/wx/config/${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME}  ;;
42754     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}  ;;
42755     "utils/ifacecheck/rungccxml.sh":F)  chmod +x utils/ifacecheck/rungccxml.sh  ;;
42756     "wx-config":C)  rm -f wx-config
42757                      ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42758                     ;;
42759
42760   esac
42761 done # for ac_tag
42762
42763
42764 as_fn_exit 0
42765 _ACEOF
42766 ac_clean_files=$ac_clean_files_save
42767
42768 test $ac_write_fail = 0 ||
42769   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42770
42771
42772 # configure is writing to config.log, and then calls config.status.
42773 # config.status does its own redirection, appending to config.log.
42774 # Unfortunately, on DOS this fails, as config.log is still kept open
42775 # by configure, so config.status won't be able to write to it; its
42776 # output is simply discarded.  So we exec the FD to /dev/null,
42777 # effectively closing config.log, so it can be properly (re)opened and
42778 # appended to by config.status.  When coming back to configure, we
42779 # need to make the FD available again.
42780 if test "$no_create" != yes; then
42781   ac_cs_success=:
42782   ac_config_status_args=
42783   test "$silent" = yes &&
42784     ac_config_status_args="$ac_config_status_args --quiet"
42785   exec 5>/dev/null
42786   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42787   exec 5>>config.log
42788   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42789   # would make configure fail if this is the last instruction.
42790   $ac_cs_success || as_fn_exit 1
42791 fi
42792
42793 #
42794 # CONFIG_SUBDIRS section.
42795 #
42796 if test "$no_recursion" != yes; then
42797
42798   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42799   # so they do not pile up.
42800   ac_sub_configure_args=
42801   ac_prev=
42802   eval "set x $ac_configure_args"
42803   shift
42804   for ac_arg
42805   do
42806     if test -n "$ac_prev"; then
42807       ac_prev=
42808       continue
42809     fi
42810     case $ac_arg in
42811     -cache-file | --cache-file | --cache-fil | --cache-fi \
42812     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42813       ac_prev=cache_file ;;
42814     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42815     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42816     | --c=*)
42817       ;;
42818     --config-cache | -C)
42819       ;;
42820     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42821       ac_prev=srcdir ;;
42822     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42823       ;;
42824     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42825       ac_prev=prefix ;;
42826     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42827       ;;
42828     --disable-option-checking)
42829       ;;
42830     *)
42831       case $ac_arg in
42832       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42833       esac
42834       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
42835     esac
42836   done
42837
42838   # Always prepend --prefix to ensure using the same prefix
42839   # in subdir configurations.
42840   ac_arg="--prefix=$prefix"
42841   case $ac_arg in
42842   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42843   esac
42844   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
42845
42846   # Pass --silent
42847   if test "$silent" = yes; then
42848     ac_sub_configure_args="--silent $ac_sub_configure_args"
42849   fi
42850
42851   # Always prepend --disable-option-checking to silence warnings, since
42852   # different subdirs can have different --enable and --with options.
42853   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
42854
42855   ac_popdir=`pwd`
42856   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42857
42858     # Do not complain, so a configure script can configure whichever
42859     # parts of a large source tree are present.
42860     test -d "$srcdir/$ac_dir" || continue
42861
42862     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42863     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42864     $as_echo "$ac_msg" >&6
42865     as_dir="$ac_dir"; as_fn_mkdir_p
42866     ac_builddir=.
42867
42868 case "$ac_dir" in
42869 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42870 *)
42871   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42872   # A ".." for each directory in $ac_dir_suffix.
42873   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42874   case $ac_top_builddir_sub in
42875   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42876   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42877   esac ;;
42878 esac
42879 ac_abs_top_builddir=$ac_pwd
42880 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42881 # for backward compatibility:
42882 ac_top_builddir=$ac_top_build_prefix
42883
42884 case $srcdir in
42885   .)  # We are building in place.
42886     ac_srcdir=.
42887     ac_top_srcdir=$ac_top_builddir_sub
42888     ac_abs_top_srcdir=$ac_pwd ;;
42889   [\\/]* | ?:[\\/]* )  # Absolute name.
42890     ac_srcdir=$srcdir$ac_dir_suffix;
42891     ac_top_srcdir=$srcdir
42892     ac_abs_top_srcdir=$srcdir ;;
42893   *) # Relative name.
42894     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42895     ac_top_srcdir=$ac_top_build_prefix$srcdir
42896     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42897 esac
42898 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42899
42900
42901     cd "$ac_dir"
42902
42903     # Check for guested configure; otherwise get Cygnus style configure.
42904     if test -f "$ac_srcdir/configure.gnu"; then
42905       ac_sub_configure=$ac_srcdir/configure.gnu
42906     elif test -f "$ac_srcdir/configure"; then
42907       ac_sub_configure=$ac_srcdir/configure
42908     elif test -f "$ac_srcdir/configure.in"; then
42909       # This should be Cygnus configure.
42910       ac_sub_configure=$ac_aux_dir/configure
42911     else
42912       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42913 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42914       ac_sub_configure=
42915     fi
42916
42917     # The recursion is here.
42918     if test -n "$ac_sub_configure"; then
42919       # Make the cache file name correct relative to the subdirectory.
42920       case $cache_file in
42921       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
42922       *) # Relative name.
42923         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
42924       esac
42925
42926       { $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
42927 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42928       # The eval makes quoting arguments work.
42929       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42930            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42931         as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42932     fi
42933
42934     cd "$ac_popdir"
42935   done
42936 fi
42937 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
42938   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42939 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42940 fi
42941
42942
42943 echo
42944 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42945 echo ""
42946 echo "  Which GUI toolkit should wxWidgets use?                 ${TOOLKIT_DESC}"
42947 echo "  Should wxWidgets be compiled into single library?       ${wxUSE_MONOLITHIC:-yes}"
42948 echo "  Should wxWidgets be linked as a shared library?         ${wxUSE_SHARED:-no}"
42949 echo $ECHO_N "  Should wxWidgets support Unicode?                       ${wxUSE_UNICODE:-no}$ECHO_C"
42950 if test "$wxUSE_UNICODE" = "yes"; then
42951     if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42952         echo " (using UTF-8)"
42953     else
42954         echo " (using wchar_t)"
42955     fi
42956 else
42957     echo
42958 fi
42959
42960 echo "  What level of wxWidgets compatibility should be enabled?"
42961 echo "                                       wxWidgets 2.6      ${WXWIN_COMPATIBILITY_2_6:-no}"
42962 echo "                                       wxWidgets 2.8      ${WXWIN_COMPATIBILITY_2_8:-yes}"
42963
42964 echo "  Which libraries should wxWidgets use?"
42965 echo "                                       STL                ${wxUSE_STL}"
42966 echo "                                       jpeg               ${wxUSE_LIBJPEG-none}"
42967 echo "                                       png                ${wxUSE_LIBPNG-none}"
42968 echo "                                       regex              ${wxUSE_REGEX}"
42969 echo "                                       tiff               ${wxUSE_LIBTIFF-none}"
42970 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42971 echo "                                       xpm                ${wxUSE_LIBXPM-none}"
42972 fi
42973 echo "                                       zlib               ${wxUSE_ZLIB}"
42974 echo "                                       expat              ${wxUSE_EXPAT}"
42975 echo "                                       libmspack          ${wxUSE_LIBMSPACK}"
42976 echo "                                       sdl                ${wxUSE_LIBSDL}"
42977
42978 echo ""
42979